/* Limpiadores: resetean los valores predefinidos de la página*/
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body{
    height: 100vh;
    background-image: url(./img/fondo.jpg);
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    padding-bottom: 0px;
}
    .logo{
        width: 400px;
        height: 140px;
    }

main{
    /* height: 60vh; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 250px;
}

    .form{
        border: 2px solid black;
        border-radius: 20px;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 500px;
        height: 200px;
    }
        .form_title{
            color: white;
            text-shadow: 1px 1px 5px black;
        }
        .form_input{
            width: 400px;
            height: 50px;
            text-align: center;
        }
        .form_input::placeholder{
            text-align: center;
        }
        .form_input:focus{
            text-align: center;
        }
        .form_button{
            width: 400px;
            height: 30px;
            border: none;
            border-radius: 5px;
            background-color: red;
            color: white;
            font-weight: bolder;
            box-shadow: 2px 2px 5px black;
        }
        .form_button:active{
            transform: translateY(4px);
            box-shadow: 2px 2px 5px gray;
        }
    .card{
        border: 2px solid black;
        border-radius: 20px;
        background-color: rgba(240, 248, 255, 0.678);
        padding: 10px 50px 10px 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
        .table{
            font-size: 20px;
            text-align: center;
        }
        .msg_error{
            color: red;
            font-weight: bold;
            text-align: center;
        }
footer{
    display: flex;
    flex-direction: row;
    justify-content: end;
    font-weight: bolder;
}

/*----------Media-Queries---------*/
@media screen and (width <= 768px) {
    main{
        flex-direction: column;
        gap: 150px;
    }
}

@media screen and (width <= 390px) {
    main{
        gap: 70px;
    }
    .form{
        width: 330px;
        height: 200px;
        padding-bottom: 10px;
    }
    .form_title{
        text-align: center;
    }
    .form_input{
        width: 300px;
    }
    .form_button{
        width: 300px;
    }

    .card{
        padding: 0px;
    }
}