@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" 75px
        "aside main side" 1fr
        "footer footer footer" 40px / 12% 1fr 12%;
    /* background-image: url(bg_5_mejora.jpg); */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


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

header {
    grid-area: header;
    background-image: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/nuevo_lastoo/vistas/elrecurso/bg_lastoo.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.logo {
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 100%;
}

.regresar {
    border: 2px solid transparent;
    text-decoration: none;
    color: #7361FF;
    font-weight: bolder;
    border-radius: 8px;
    padding: 5px 10px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.regresar:hover{
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.06);
}

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

main {
    grid-area: main;
    padding: 20px 0;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.info {
    background-color: transparent;
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 20px;
    flex-direction: column;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 15px -4px rgba(0, 0, 0, 0.275);
}

.activity_name {
    text-align: center;
    width: 100%;
    font-size: 25px;
    padding: 8px 10px;
    background-color: #7361FF;
    border-radius: 8px;
    color: #fff;
    font-weight: bolder;
}

form {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 20px;
    flex-direction: column;   
}

input {
    border: none;
    border-bottom: 2px solid grey;
    background-color: transparent;
    outline: none;
    font-size: 17px;
    padding: 5px 0;
}

label {
    font-size: 14px;
    color: grey;
}

.video {
    padding: 10px;
    box-shadow: 0px 4px 10px 4px rgba(22, 22, 22, 0.183);
    border-radius: 8px;

    display: flex;
    justify-content: center;
    align-items: center;
}

video {
    max-width: 500px;
    min-width: 400px;
    max-height: 450px;
    border-radius: 8px;
}

.inputs {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
    gap: 20px;
}

.enviar {
    border: 2px solid transparent;
    background-color: #7361FF;
    color: #fff;
    border-radius: 8px;
    padding: 5px 10px;
    font-weight: bolder;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 17px;
}

.enviar:hover {
    background-color: #fff;
    color: #7361FF;
    border-color: #7361FF;
}

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

.nombre {
    font-size: 18px;
}

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

footer {
    grid-area: footer;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    background-image: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/nuevo_lastoo/vistas/elrecurso/bg_lastoo.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;


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

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

@media screen and (max-width: 1150px) {
    body {
        grid-template:
            "header header header" 100px
            "aside main side" 1fr
            "footer footer footer" 40px / 8% 1fr 8%;
    }

    video {
        max-width: 450px;
    }
}

@media screen and (max-width: 980px) {
    body {
        grid-template:
            "header header header" 100px
            "aside main side" 1fr
            "footer footer footer" 40px / 3% 1fr 3%;
    }

    video {
        max-width: 400px;
    }
}

@media screen and (max-width: 800px) {
    body {
        grid-template:
            "header header header" 70px
            "aside main side" 1fr
            "footer footer footer" 35px / 10% 1fr 10%;
    }

    .logo {
        width: 180px;
    }

    header {
        padding: 0 20px;
    }

    main {
        flex-direction: column;
    }

    .info {
        max-width: 500px;
    }

    video {
        max-width: 500px;
        max-height: 350px;
    }
}

@media screen and (max-width: 670px) {
    body {
        grid-template:
            "header header header" 70px
            "aside main side" 1fr
            "footer footer footer" 35px / 5% 1fr 5%;
    }

    main {
        flex-direction: column;
    }

    .info {
        max-width: 400px;
    }

    video {
        max-width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        width: 150px;
    }

    .info {
        max-width: 300px;
        font-size: 14px;
    }

    .activity_name {
        font-size: 18px;
    }

    video {
        max-width: 300px;
        min-width: 300px;
    }
}

@media screen and (max-width: 360px) {
    .regresar {
        padding: 5px 10px;
    }

    .info {
        max-width: 250px;
    }

    video {
        max-width: 250px;
        min-width: 250px;
    }
}