@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: grid;
    grid-template:
        "header header header" 80px
        "aside main side" 1fr
        "footer footer footer" 35px / 12% 1fr 12%; 
    background-image: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/postnoticias/elrecurso/bg_dos.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*--------------------------HEADER--------------------------------*/

header {
    grid-area: header;
    background-color: #0e2e50;
}

/*---------------------------MAIN--------------------------------*/

main {
    grid-area: main;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

form {
    width: 50%;
    padding: 50px 30px;
    border-radius: 10px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0px 4px 15px -3px #73737386;
}

h2 {
    font-size: 35px;
    text-align: center;
    color: #0e2e50;
}

.inputs {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

label {
    font-size: 21px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #0e2e50;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #b9b9b9;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
    background-color: #fff;
}

input:hover {
    box-shadow: 0px 3px 11px -7px #000; 
}

input:focus {
    box-shadow: 0px 3px 11px -7px #000; 
}

button {
    width: 60%;
    font-size: 17px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: #0e2e50;
    color: #fff;
    font-weight: bolder;
    margin-top: 30px;
    outline: none;
    transition: all 0.2s;
}

button:hover {
    color: #0e2e50;
    background-color: #fff;
    border: 1px solid #0e2e50;
    box-shadow: 0px 4px 15px -7px #000; 
}

button:focus {
    color: #0e2e50;
    background-color: #fff;
    border: 1px solid #0e2e50;
    box-shadow: 0px 4px 15px -7px #000; 
}

/*--------------------------FOOTER--------------------------------*/

footer {
    grid-area: footer;
    background-color: #0e2e50;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 13px;


    p {
        span {
            color: #3db5ff;
        }
    }
}

/*-----------------------MEDIAS QUERY----------------------------*/

@media screen and (max-width: 1040px) {
    
    form {
        width: 65%;
    }

}

@media screen and (max-width: 730px) {
    
    form {
        width: 80%;
    }

}

@media screen and (max-width: 480px) {

    body {
        grid-template:
            "header header header" 80px
            "aside main side" 1fr
            "footer footer footer" 35px / 5% 1fr 5%; 
    }
    
    form {
        width: 90%;
    }

}

@media screen and (max-width: 360px) {
    
    form {
        width: 100%;
    }

}