@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "Poppins", serif;
    font-style: normal;
    width: 100%;
    margin: 0;
    background-image: url("images/Recurso5.png");
    background-size: cover;
    background-position: center;
}

header {
    height: 900px;
    background-image: url("/assets/images/Recurso1.png");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: left;
    display: flex;
    justify-content: flex-end;

    nav {
        width: 60%;
        height: 50%;
        align-items: flex-end;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 30px;
        padding-top: 40px;
        font-size: 20px;
        font-weight: 500;

        ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 20px;
            width: 100%;
            justify-content: space-around;
            letter-spacing: 3px;

            a {
                color: #939598;
                text-decoration: none;
                transition: transform 0.2s ease;
            }

            li:hover {
                transform: scale(1.1);
                color: #476e23;

                a {
                    color: #476e23;
                    transition: box-shadow 0.2s ease;
                }
            }
        }

        .content-img {
            width: 80%;
            display: flex;
            justify-content: flex-end;
            align-content: end;

            img {
                width: 40%;
                height: auto;
                transition: opacity 0.2s ease;
            }
        }


    }


}

.form-about {
    width: 100%;
    height: 80vh;
    display: flex;
    padding-top: 70px;

    .content-form-one {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        align-items: center;

        h1 {
            width: 60%;
            color: #2A4114;
            font-size: 30px;
            font-weight: 300;
            font-style: italic;
        }

        span {
            width: 60%;
            color: #2A4114;
            font-size: 18px;
            font-weight: 300;
        }

        form {
            width: 55%;
            margin-top: 20px;
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 10px;

            input,
            textarea {
                width: 100%;
                padding: 10px;
                border: none;
                border-radius: 12px;
                outline: #476e23;
                transition: border 0.2s ease;
                border: 1px solid #ebebeb;
                box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
            }

            input:hover,
            textarea:hover {
                border: 1px solid #c6d1bb;
                box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
                background-color: #ecece4af;
                transition: background-color 0.2s ease;
            }
        }

        .text-terminos {
            margin-top: 20px;
            font-size: 16px;
        }

        .politicas {
            width: 100%;
            font-size: 13px;
            font-weight: 300;
            color: #2A4114;

            a {
                color: #2A4114;
                text-decoration: underline;
            }
        }

        .politicas input[type="checkbox"] {
            accent-color: #2A4114;
            /* Cambia el color del checkmark y borde en navegadores modernos */
            width: 12px;
            height: 12px;
            cursor: pointer;
        }

        .politicas input[type="checkbox"]:checked+label {
            text-decoration: line-through;
            color: #939598;
        }

        .btn-submit {
            width: 200px;
            font-size: 17px;
            margin-top: 20px;
            padding: 10px 20px;
            background-color: #2A4114;
            color: #fff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.2s ease;
            box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
        }

        .btn-submit:hover {
            background-color: #35631d;
            box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
        }
    }

}

.info-videos {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    h2 {
        color: #2A4114;
        font-size: 30px;
        font-weight: 600;
        font-style: italic;
        margin-bottom: 20px;
    }

    iframe {
        border-radius: 10px;
        margin-right: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }
}

.ganar-video {
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
        margin-right: 20px;
    }

    .container-slider {
        width: 22%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        overflow: hidden;
        -ms-overflow-style: none;
        scrollbar-width: none;

        ::-webkit-scrollbar {
            display: none;
        }

    }

    .slider-content {
        width: 100%;
        display: flex;
        gap: 0px;
        transition: transform 0.3s ease-in-out;
        overflow: hidden;
        scroll-snap-type: x mandatory;
        position: relative;
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    iframe {
        flex: 0 0 auto;
        border-radius: 10px;
        width: 300px;
        height: 200px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    .flecha-slider {
        width: 40px;
        height: auto;
        cursor: pointer;
        z-index: 10;
    }

}

.container-cards {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;

    h2 {
        color: #2A4114;
        font-size: 30px;
        font-weight: 600;
        font-style: italic;
        margin-bottom: 10px;
    }

    .all-cards {
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;

        .card {
            width: 250px;
            height: 320px;
            margin-right: 10px;
            border-radius: 10px 0 10px 0;
            display: flex;
            flex-direction: column;
            padding: 0;

            img {
                width: 100%;
                height: 50%;
                border-radius: 10px 0 0 0;
                position: relative;
                transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            }

            .card-desc {
                height: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                align-content: center;
                border-radius: 10px;
                padding: 15px;
                position: relative;
                top: -10px;
                display: grid;
                gap: 10px;
                background: #fff;
                border-radius: 0 10px 10px 0;
                box-shadow: 0 2px 4px rgba(122, 122, 122, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
            }

            .text-card {
                width: 100%;
                height: 100%;
                text-align: center;
                color: #2A4114;
                font-size: 20px;
                border-radius: 0 10px 10px 0;
                font-style: italic;
                font-weight: 400;
            }
        }

        .card:hover img {
            transform: translateY(1em);
        }
    }
}

.footer-icons {
    width: 100%;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;

    button {
        width: 60px;
        height: 50px;
        background-color: transparent;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        margin-right: 15px;
        font-style: italic;

        img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }
    }
}

.footer {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2A4114;
    color: #fff;
    font-weight: 300;
}


/* Estilos específicos para móviles pequeños 320px */
@media (max-width: 320px) {
    body {
        width: 100%;
        height: 100%;
        font-size: 14px;
        margin: 0;
    }

    header {
        height: 60%;

        ul {
            flex-direction: column;
            align-items: center;
        }

        .content-img {
            display: none;

            img {
                display: none;
            }
        }

    }

    .form-about {
        width: 100%;

        .content-form-one {
            padding: 40px 0 40px 0;

            h1 {
                width: 90%;
            }
        }

        .politicas {
            width: 100%;
        }

        .content-form-two img {
            width: 70%;
            height: 90%;
            padding-top: 30px;
            display: flex;
            margin: 0 auto;
        }
    }

    .ganar-video {
        img {
            width: 85%;
            margin-bottom: 20px;
        }

        .container-slider {
            width: 100%;
            display: none;

        }
    }

    .container-cards h2 {
        width: 80%;
        font-size: 14px;
    }

    .all-cards {
        height: 100%;
        flex-direction: column;
    }

    .card {
        margin: 0;
        /* Quita el margen lateral */
        margin-bottom: 10px;

    }

    .footer-icons {

        button {
            width: 45px;
            height: 35px;
            margin-right: 8px;
        }
    }
}

@media (min-width: 321px) and (max-width: 479px) {

    /* Estilos para pantallas entre 321px y 480px */
    body {
        width: 100%;
        height: 100%;
        font-size: 14px;
        margin: 0;
    }

    header {
        height: 50%;

        ul {
            flex-direction: column;
            align-items: center;
        }

        .content-img {
            display: none;

            img {
                display: none;
            }
        }

    }

    .form-about {
        width: 100%;

        .content-form-one {
            padding: 40px 0 40px 0;

            h1 {
                width: 90%;
            }
        }

        .politicas {
            width: 100%;
        }

        .content-form-two img {
            width: 70%;
            height: 90%;
            padding-top: 30px;
            display: flex;
            margin: 0 auto;
        }
    }

    .ganar-video {
        display: none;
    }

    .container-cards {
        height: 100vh;
    }

    .container-cards h2 {
        width: 90%;
        font-size: 14px;
    }

    .all-cards {
        height: 90%;
        flex-direction: column;
    }

    .card {
        margin: 0;
        /* Quita el margen lateral */
        margin-bottom: 10px;
    }

    .footer-icons {
        button {
            width: 45px;
            height: 35px;
            margin-right: 8px;
        }
    }
}

/* Estilos específicos para móviles pequeños 480px */
@media (max-width: 480px) {
    body {
        width: 100%;
        height: 100vh;
        font-size: 14px;
        margin: 0;
    }

    header {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        align-content: center;
        background-image: none;
        background-position: center;
        margin: 0;
        gap: 0;


        nav {
            border-bottom: 1px solid #cacaca;
            height: 100px;

            ul {
                width: 100%;
            }
        }


        .content-img {
            display: none;

            img {
                display: none;
            }
        }

    }

    li {
        font-size: 13px;
    }


    .form-about {
        width: 100%;
        height: 145vh;
        flex-direction: column;
        padding: 0;

        .content-form-one {
            padding: 40px 0 40px 0;

            h1 {
                width: 80%;
                font-size: 24px;
            }
        }

        .content-form-two img {
            width: 70%;
            height: 90%;
            padding-top: 30px;
            display: flex;
            margin: 0 auto;
        }
    }

    .info-videos {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 65vh;

        .videoS-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            iframe {
                width: 65%;
                margin-bottom: 20px;
                height: 80%;
            }
        }
    }

    .ganar-video {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        height: 80vh;

        img {
            width: 80%;
            height: 30%;
            margin-bottom: 20px;
        }

        iframe {
            width: 65%;
            height: 30%;
            margin-bottom: 20px;
            padding: 0;
        }
    }

    .container-cards {
        height: 180vh;

        h2 {
            font-size: 22px;
            width: 70%;
            text-align: center;
        }
    }

    .all-cards {
        height: 100%;
        flex-direction: column;
    }

    .card {
        margin: 0;
        /* Quita el margen lateral */
        margin-bottom: 10px;

    }

    .footer-icons {
        width: 100%;
        height: 15vh;
        display: flex;
        justify-content: center;
        align-items: center;

        button {
            width: 50px;
            height: 40px;
            background-color: transparent;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            margin-right: 15px;
            font-style: italic;

            img {
                width: 100%;
                height: 100%;
                border-radius: 50%;
            }
        }
    }

    .footer {
        width: 100%;
    }
}

/* Estilos específicos para móviles grandes 768px */
@media (min-width: 481px) and (max-width: 768px) {
    body {
        width: 100%;
        height: 100vh;
        font-size: 14px;
        margin: 0;
    }

    header {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        align-content: center;
        background-image: none;
        background-position: center;
        margin: 0;
        gap: 0;


        nav {
            border-bottom: 1px solid #cacaca;
            height: 10%;

            ul {
                width: 100%;
            }
        }


        .content-img {
            display: none;

            img {
                display: none;
            }
        }

    }

    li {
        font-size: 13px;
    }


    .form-about {
        width: 100%;
        height: 145vh;
        flex-direction: column;
        padding: 0;

        .content-form-one {
            padding: 40px 0 40px 0;

            h1 {
                width: 80%;
                font-size: 24px;
            }
        }

        .content-form-two img {
            width: 70%;
            height: 90%;
            padding-top: 30px;
            display: flex;
            margin: 0 auto;
        }
    }

    .info-videos {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 65vh;

        .videoS-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            iframe {
                width: 50%;
                margin-bottom: 20px;
                height: 95%;
            }
        }
    }

    .ganar-video {
        display: none;
    }

    .container-cards {
        height: 100vh;

        h2 {
            font-size: 22px;
            width: 70%;
            text-align: center;
        }
    }

    .all-cards {
        height: 50%;
        flex-wrap: wrap;
    }

    .card {
        margin: 0;
        /* Quita el margen lateral */
        margin-bottom: 10px;

    }

    .footer-icons {
        width: 100%;
        height: 15vh;
        display: flex;
        justify-content: center;
        align-items: center;

        button {
            width: 50px;
            height: 40px;
            background-color: transparent;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            margin-right: 15px;
            font-style: italic;

            img {
                width: 100%;
                height: 100%;
                border-radius: 50%;
            }
        }
    }

    .footer {
        width: 100%;
    }
}

/*908 - 970*/
@media (max-width: 970px) {
    header {
        width: 100%;
        background-size: 60%;
        height: 50vh;
    }

    nav {
        width: 0%;
    }

    nav ul {
        width: 50%;
        align-items: center;
        font-size: 13px;
    }

    nav .content-img img {
        width: 50%;
    }
}

/* Media Queries 1024 - 971 */
@media (max-width: 907px) {
    header {
        width: 100%;
        background-size: 60%;
        height: 50vh;
    }

    nav {
        width: 0%;
    }

    nav ul {
        width: 50%;
        align-items: center;
        font-size: 13px;
    }

    nav .content-img img {
        width: 50%;
    }
}

/* Media Queries 768 -971 */
@media (min-width: 768px) and (max-width: 970px) {
    body {
        width: 100%;
        height: 100vh;
        font-size: 14px;
        margin: 0;
    }

    header {
        width: 100%;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        align-content: center;
        background-image: none;
        background-position: center;
        margin: 0;
        gap: 0;

        nav {
            border-bottom: 1px solid #cacaca;
            height: 10%;

            ul {
                width: 100%;
            }
        }


        .content-img {
            display: none;

            img {
                display: none;
            }
        }

    }

    li {
        font-size: 13px;
    }

    .form-about {
        width: 100%;
        height: 145vh;
        flex-direction: column;
        padding: 0;

        .content-form-one {
            padding: 40px 0 40px 0;

            h1 {
                width: 80%;
                font-size: 24px;
            }
        }

        .content-form-two img {
            width: 70%;
            height: 90%;
            padding-top: 30px;
            display: flex;
            margin: 0 auto;
        }
    }

    .info-videos {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 65vh;

        .videoS-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            iframe {
                width: 50%;
                margin-bottom: 20px;
                height: 95%;
            }
        }
    }

    .ganar-video {
        display: none;
    }

    .container-cards {
        height: 90vh;

        h2 {
            font-size: 22px;
            width: 70%;
            text-align: center;
        }
    }

    .all-cards {
        height: 50%;
        display: flex;
        margin-top: 30px;
    }

    .card {
        margin: 0;
        /* Quita el margen lateral */
        margin-bottom: 10px;

    }

    .footer-icons {
        width: 100%;
        height: 15vh;
        display: flex;
        justify-content: center;
        align-items: center;

        button {
            width: 50px;
            height: 40px;
            background-color: transparent;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            margin-right: 15px;
            font-style: italic;

            img {
                width: 100%;
                height: 100%;
                border-radius: 50%;
            }
        }
    }

    .footer {
        width: 100%;
    }
}

/*Media Queries 971 -1024*/
@media (min-width: 971px) and (max-width: 1023px) {


    header {
        background-size: 50%;
        height: 50vh;
    }

    nav {
        width: 50%;
    }

    .form-about {
        width: 100%;
        height: 145vh;
        flex-direction: column;
        padding: 0;

        .content-form-one {
            padding: 40px 0 40px 0;

            h1 {
                width: 80%;
                font-size: 24px;
            }
        }

        .content-form-two img {
            width: 70%;
            height: 90%;
            padding-top: 30px;
            display: flex;
            margin: 0 auto;
        }
    }

    .info-videos {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 65vh;

        .videoS-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            iframe {
                width: 50%;
                margin-bottom: 20px;
                height: 95%;
            }
        }
    }

    .ganar-video {
        display: none;
    }

    .container-cards {
        height: 50vh;

        h2 {
            font-size: 22px;
            width: 70%;
            text-align: center;
        }
    }

    .all-cards {
        height: 50%;
        display: flex;
        margin-top: 30px;
    }

    .card {
        margin: 0;
        /* Quita el margen lateral */
        margin-bottom: 10px;

    }

    .footer-icons {
        width: 100%;
        height: 15vh;
        display: flex;
        justify-content: center;
        align-items: center;

        button {
            width: 50px;
            height: 40px;
            background-color: transparent;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            margin-right: 15px;
            font-style: italic;

            img {
                width: 100%;
                height: 100%;
                border-radius: 50%;
            }
        }
    }

    .footer {
        width: 100%;
    }
}

@media (min-width: 1024px) and (max-width: 1156px) {

    body {
        width: 100%;
    }

    header {
        background-size: 50%;
        height: 400px;
    }

    .form-about {
        width: 100%;
        height: 900px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

    .info-videos {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 600px;

        .videoS-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            iframe {
                width: 50%;
                margin-bottom: 20px;
                height: 95%;
            }
        }
    }

    .container-cards{
        width: 100%;
        height: 500px;
    }

    .content-form-one {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .content-form-two {
        img {
            width: 400px;
            padding-top: 30px;
        }

    }

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

    nav ul {
        display: flex;
        gap: 10px;
        font-size: 13px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    nav ul li {
        padding: 5px 10px;
    }

    nav .content-img img {
        width: 100px;
        /* ajusta si es muy grande */
    }

    nav .content-img img {
        width: 40%;
    }

    .ganar-video {
        display: none;
    }



}

/* Media Queries 1024 - 971 */
@media (min-width: 1157px) and (max-width: 1440px) {
    body {
        width: 100%;
    }

    header {
        background-size: 20%;
    }

    .form-about {
        width: 100%;
        height: 1200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .info-videos {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 600px;

        .videoS-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            iframe {
                width: 50%;
                margin-bottom: 20px;
                height: 95%;
            }
        }
    }

    .ganar-video {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        height: 600px;


        .container-slider {
            width: 70%;
        }

        .slider-content {
            height: 100%;
            display: flex;
            justify-content: space-between;
        }

        img {
            width: 700px;
            height: 300px;
            margin-bottom: 20px;
        }

        iframe {
            width: 50%;
            height: 100%;
            margin-bottom: 40px;
            padding: 0;
        }

        .flecha-slider {
            display: none;
        }
    }

    .container-cards {
        width: 100%;
        height: 500px;
    }

    nav {
        width: 60%;
    }

    nav ul {
        align-items: center;
        font-size: 13px;
    }

    nav .content-img img {
        width: 50%;
    }
}

@media (min-width: 1200px) and (max-width: 1440px) {
        body {
        width: 100%;
        height: 100vh;
        font-size: 14px;
        margin: 0;
    }
    header {
        background-size: 60%;
        height: 80vh;
    }
}