@import url('https://fonts.googleapis.com/css2?family=Rubik+Dirt&display=swap');

/* @font-face {
    font-family: '28 Days Later';
    src: url('28DaysLater.woff2') format('woff2'),
        url('28DaysLater.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} */


@font-face {
    font-family: 'Ciudadana';
    src: url('ciudadana-regular.woff2') format('woff2'),
        url('ciudadana-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ciudadana-bold';
    src: url('ciudadana-bold.woff2') format('woff2'),
        url('ciudadana-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ciudadana-light';
    src: url('ciudadana-light.woff2') format('woff2'),
        url('ciudadana-light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}




:root {
    --progress1: 0;
    --ancho: 1280px;
    /* --v0: #c5abce;  */
    /* --v1: #ae88bb; */

    --v0: #c74933;
    --v1: #e5352d;

    --v2: #4f9ad5;
    --v3: #fff;
    --v4: #b81818;

    --v5: #f44336;
    --v6: #f81100;
    --v7: #fff;
    --v8: #fff;
    --v9: #ffffff;
    --v10: #000;

}

body {
    margin: 0;
    padding: 0;
    font-family: 'Ciudadana', sans-serif;
    font-size: 18px;
    overflow-x: hidden;
    background: #f4f4f4;

}

a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

h1 {
    /* font-family: "Rubik Dirt", sans-serif; */
    font-weight: 100;
    font-style: normal;
    text-align: center;
    line-height: 0.9em;
    text-transform: uppercase;
    font-size: 2em;
}

h2 {
    font-size: 3em;
    /* text-align: left; */
    /* padding-left: 1em; */
    line-height: 1em;
    text-align: center;
    font-weight: 100;
    line-height: 1em;
    /* font-weight: bold; */
    /* font-family: "Rubik Dirt", sans-serif; */
}

h3 {
    /* font-family: "Rubik Dirt", sans-serif; */
    font-size: 2.3em;
    text-align: left;
    /* padding-left: 1em; */
    line-height: 1em;
    text-align: center;
    font-weight: 100;
}

h5 {
    font-size: 0.8em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    font-weight: 400;
}

h5 a {
    font-weight: 400;
    transition: 0.5s;
}

h5 a:hover {
    color: var(--v5);
}

.accordion-body__contents h3 {
    font-family: "Rubik Dirt", sans-serif;
    text-align: left;
}


#back-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1001;
    /* display: none; Oculto hasta que el usuario navegue */
}

#backButton {

    display: none;
    /* Oculto por defecto */
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 989;
    /* padding: 10px 20px; */
    /* font-size: 16px; */
    /* background-color: var(--v5); */
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    /* border-radius: 5px; */
}

#backButton img {
    width: 100%;
    height: auto;
    max-width: 40px;

}

li {
    font-family: 'Ciudadana-light', sans-serif;
}

.grunge-hr {
    border: none;
    height: 8px;
    /* Grosor de la línea */
    background: url('../../img/hr.svg');
    /* Textura tipo grunge */
    background-size: cover;
    background-repeat: no-repeat;
    margin: 10px 0;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    /* Sombra para un toque de profundidad */
}


.conquistas h1 {
    font-size: 2.53em;
    /* text-align: left; */
    /* padding-left: 1em; */
    text-align: left;
    font-weight: 400;
}

.creditos,
.bibliografia {
    color: #000;
}



/* #period3 h1 {
  color: var(--v5);
} */

/************************************************************************************
Accordion
*************************************************************************************/
.acordion-seccion {
    position: relative;

}

.accordion {
    font-size: 1rem;
    /* width: 60vw; */
    margin: 0 auto;
    border-radius: 2em;
    margin-top: 1em;
    /* padding-left: 2em; */
    width: fit-content;
}

.accordion-header,
.accordion-body {
    background: #fcfcfccf;
}

.accordion-header {
    border-radius: 1em 1em 0 0;

    padding: 0.5em 1.5em;
    padding-right: 3em;
    /* background: #a175ad;
  color: #622180;
  color: #fff; */
    background: #ffffffab;
    color: #622180;
    cursor: pointer;
    font-size: .7em;
    letter-spacing: .1em;
    transition: all .3s;
    text-align: left;
    text-transform: uppercase;
    transition: .9s;
}

.accordion-header:hover {
    background: #622180;
    position: relative;
    color: #fff;
    z-index: 5;
    padding-left: 2em;
}

.accordion-header:hover h2 {

    color: #fff;
}

.accordion-body {
    background: #fcfcfc;
    color: #622180;
    display: none;
}

.accordion-body__contents {
    padding: 1.5em 1.5em;
    font-size: 1.1em;
    text-align: left;
    /* width: 90%; */
    margin: 0 auto;
    /* -webkit-columns: 2;
  -moz-columns: 2em;
  column-count: 2;
  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  column-gap: 2em;
  column-rule: 2px dotted #622180; */
}

.accordion-body__contents p {
    margin-block-start: 0em;
    font-family: 'Ciudadana-light';

}


.accordion__item.active:last-child .accordion-header {
    border-radius: none;
}

.accordion:first-child>.accordion__item>.accordion-header {
    border-bottom: 1px solid transparent;
}

.accordion__item>.accordion-header:after {
    content: "\f3d0";
    font-family: IonIcons;
    font-size: 1.2em;
    float: right;
    right: -20px;
    position: relative;
    top: -35px;
    transition: .3s all;
    transform: rotate(0deg);
}

.accordion__item.active>.accordion-header:after {
    transform: rotate(-180deg);
}

.accordion__item.active .accordion-header {
    background: #622180;
    color: #fff;
    padding-left: 4em;
    /* border-radius: 0% 0% 10% 10%; */
}

.accordion__item .accordion__item .accordion-header {
    background: #e2e1e1;
    color: black;
    padding-left: 2em;

}



/* #period1 {
    color: var(--v4);
} */

@media screen and (max-width: 1000px) {

    .accordion {
        width: 100%;
    }

    .accordion-body__contents {
        columns: 1;
    }


    .accordion__item.active .accordion-header {
        padding-left: 1em;
    }

}

/************************************************************************************
Fin Accordion
*************************************************************************************/


.anios {
    font-size: 5em;
    /* font-family: 'Ciudadana-bold', sans-serif; */
    /* font-family: "Rubik Dirt", sans-serif; */

    margin: 0.2em;
    visibility: hidden;
}

.bibliografia {
    font-family: 'Ciudadana-light', "sans-serif";
    font-size: 0.8em;
    /* font-style: italic; */
}

.bibliografia p {
    line-height: 1.2em;

}

.bibliografia a {
    color: #fff;
    background-color: var(--v3);
    /* color: var(--v5); */
    transition: 0.5s;
    text-decoration: underline;
    padding: 0.4em;
    line-height: 2em;
}

.bibliografia a:hover {
    color: var(--v5);
    transition: 0.5s;
}

.conquistas,
.publicaciones {
    position: relative;
    /* min-height: 100vh; */
    padding: 1em;
    /* background: #622180; */
    text-align: left;
    max-width: var(--ancho);
    margin: 0 auto;
    /* height: fit-content; */

}

.conquistas img {
    width: 100%;
    height: auto;
}

.conquistas h1 {
    color: #fff;
    font-size: 3.5em;
    text-align: center;

}

.conquistas h2 {
    font-family: 'Ciudadana';
    font-size: 1.5em;
    display: flex;
    /* align-content: center; */
    align-items: center;
    text-align: center;
}

.conquistas span {
    font-family: 'Ciudadana-bold';
    font-size: 1.4em;
    color: #b390bd;
    /* color: #fff; */
    /* width: fit-content; */

    padding-right: 0.5em;
}

#creditos,
#bibliografia {
    color: #000;
    margin-bottom: 6em;
    font-size: 0.9em;
}

#bibliografia {
    font-size: 0.8em;

}

#creditos a,
#bibliografia a {
    color: #b81818;

}

.experience {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 10;
    overflow: hidden;
    color: #622180;
    /* background-image: url(../img/collage.webp); */

}

.extraBox {
    position: absolute;
    top: 0;
    left: 50%;
    background-color: white;
    opacity: 1;
    width: 2%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    /* background-image: url(../img/collage.webp); */
}

.experience .experience-top {
    position: absolute;
    top: 1%;
    left: 2%;
    font-size: 3rem;
    background-color: #fff;
}

.experience .experience-middle-container {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;


}

.experience .experience-middle {
    transform: scale(calc(var(--progress1) * 30)) !important;
    transform-origin: 48.2%;
    /* font-size: 15rem; */
    white-space: nowrap;
    background-color: #fff;

}


.experience-middle img {
    min-width: 250px;
    height: 60vh;
    z-index: 999;
    position: relative;
}


.experience .experience-bottom {
    position: absolute;
    bottom: 1%;
    right: 2%;
    font-size: 3rem;
    background-color: #fff;
    z-index: -1;


}

.experience .experience-bottom_left {
    position: absolute;
    bottom: 3%;
    left: 2%;
}

.experience .experience-bottom_left img {
    width: 150px;
    height: auto;

}


.footer {
    position: relative;
    color: #fff;
    /* margin: 0 auto; */
    /* width: fit-content; */
    /* border-top-left-radius: 3rem; */
    z-index: 989;
    width: 100%;
    margin-top: 2em;

}

.footer_nav {
    position: relative;
    background-color: var(--v4);
    color: #fff;
    text-align: left;
    padding: 2em;
    margin-top: 4EM;
    /* margin: 0 auto; */
    /* width: fit-content; */

    /* border-top-left-radius: 3rem; */
    z-index: 999;
}

.footer_nav img {
    max-width: 250px;
}

.footer_nav_items {
    padding-top: 0.5em;
    display: flex;
}

.intro {
    /* The image used */
    /* background-image: url("../img/collage2.webp"); */

    /* Full height */
    height: 100%;
    position: relative;
    z-index: 990;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.intro_logo {
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: 990;
    position: absolute;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.intro_logo img {
    height: 50vh;
    width: auto;
}



.logo_im {
    position: fixed;
    z-index: 999;
    background-color: #fff;
    padding: 0.8em;
    border-radius: 0 0 5px 0;
    left: 0;
}

.logo_im img {
    max-width: 160px;
}

.nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* background: rgb(197, 171, 206); */
    /* Color inicial (se actualizará dinámicamente) */
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* padding: 10px 0; */
    z-index: 10;
    transition: background 0.5s ease;
    z-index: 990;
}

.nav button {
    font-family: "Rubik Dirt", sans-serif;
    width: 20%;
    background: none;
    border: 0px solid white;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 1em 1em 0 0;
}

.nav button:hover {
    background: white;
    font-weight: bold;
}





.nav_footer {
    webkit-box-flex: 0;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    position: relative;
    width: 100%;
    min-height: 1px;
}

.publicaciones h1 {
    color: #fff;
    font-size: 3.5em;
    text-align: center;

}


.publicaciones p {
    color: #fff;
}

.publicaciones h2 {
    font-family: 'Ciudadana';
    font-size: 1.5em;
    display: flex;
    color: var(--v5);
    /* align-content: center; */
    align-items: center;
    text-align: center;
}


.titulo-descubri {
    color: #b81818;
}

/* ////MAPA */

#info {
    position: absolute;
    top: 0;
    right: -400px;
    /* Inicialmente fuera del mapa */
    width: 50%;
    height: 550px;
    padding: 15px;
    z-index: 1000;
    overflow-y: auto;
    /* Scroll para descripciones largas */
    opacity: 0;
    /* Ocultar inicialmente */
    visibility: hidden;
    /* Ocultar accesiblemente */
    background-color: var(--v4);
    color: #fff;
    font-family: 'Ciudadana';
    text-align: left;
}

#info h3 {
    margin-top: 0;
    text-align: left;
    width: 90%;
}

#close-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.features {
    margin: 0 auto;
    max-width: 250px;
    margin: 0.5em;
    margin-bottom: 0.5em;
    color: #000;
}

.poi {
    max-width: 300px;
    font-size: 1.52em;
    font-weight: bold;
    margin: 0.5em;
    margin-bottom: 0.5em;
}

.gm-style .gm-style-iw-d {
    color: var(--v4);
}

.gm-ui-hover-effect>span {
    background-color: var(--v4);
}

.titulo {
    /* font-family: "Germania One", system-ui; */
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: 0.5em;
    color: var(--v3);
}

.btn_mapa {
    background-color: var(--v6);
    color: #fff;
    border-radius: 5px;
    padding: 0.8em;
    width: 100%;
    border-radius: 0.51em;
    cursor: pointer;
    margin-top: 0.2em;
    font-size: 0.8em;
    font-weight: bold;
    transition: 0.5s;
    border: 0;
}

.btn_mapa a:hover {
    background-color: red;
}

.cierre_mapa {
    display: block;
    /* max-width: 95%; */
    /* max-height: 95px; */
    width: 85%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    /* padding-top: 3.5%; */
    padding-bottom: 3.5%;
    max-width: 980px;
}

.icono_contenidos {
    margin-bottom: 5em;
    z-index: 150;
}

.icono {
    padding-top: 0em;
}

.icono img,
.icono_guia img {
    max-width: 70px;
    padding: 10em;
}

.icono_guia {
    padding-top: 0em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icono_referencias {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /* gap: 2em; */
    flex-wrap: nowrap;
    width: fit-content;
    margin: 0 auto;
    background: var(--v0);
    padding: 2em;
    color: #fff;
    z-index: 1;
}

.logo_footer {
    display: flex;
    position: relative;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 999;
}

.logo_footer img {
    width: 30%;
    max-width: 250px;
    padding-left: 1em;
    padding-right: 1em;
    height: auto;
}

/* .icono_referencias {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 2em;
    flex-wrap: nowrap;
    width: fit-content;
    margin: 0 auto;
    background: var(--v0);
    padding: 2em;
    color: #fff;
} */

.mapa {
    width: 100%;
    /* height: 800px; */
    /* display: flex
; */
    flex-direction: row;
    align-content: center;
    justify-content: center;
    margin: 0 auto;
    /* background-color: #0283a1; */
    flex-wrap: nowrap;
    align-items: center;
    /* border-radius: 4em; */
    margin-bottom: 6em;
    max-width: var(--ancho);
    position: relative;
    overflow: hidden;
}

#map {
    height: 600px;
    width: 100%;
    /* max-width: 1400px; */
    border: solid 3px #dbcde3;
    border-radius: 0.51em;
    overflow: hidden;
}

/* ////MAPA */

.timeline {
    position: relative;
    margin: 0 auto;
    /* padding-left: 120px; */
    /* Space for the nav */
    /* width: 80%; */
}

/* .period {
    padding: 20px;
    color: white;
    border-radius: 5px;
    margin-bottom: 50px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} */
.period {
    padding: 20px;
    color: white;
    border-radius: 5px;
    margin-bottom: 50px;
    text-align: center;
    min-height: 100vh;
}

/* .footer img {
    max-width: 250px;
}

.footer_nav {
    padding-top: 0.5em;
    display: flex;
}

.footer_nav a {
    color: #622180;
    line-height: 1.45em;
    clear: both;
    transition: 0.5s;
    text-decoration: none;
}

.footer_nav a:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: -0.25em;
    right: -0.25em;
    background-color: #622180;
    transform-origin: bottom center;
    transform: scaleY(0.1);
    transition: all 0.2s ease-in-out;
}


.footer_nav a:hover {
    color: #fff;
    transform: scaleY(1);
}

.footer a {
    background-color: transparent;
    text-decoration: none;
} */



.linea_tiempo {
    /* background-color: #622180; */
    /* color: #fff; */
    text-align: center;
    font-size: 1.2em;
    max-width: var(--ancho);
    margin: 0 auto;
    font-family: 'Ciudadana-light', sans-serif;
    padding: 1em;
}

.linea_tiempo p {
    text-align: justify;
}


.link_externo {
    position: relative;
    z-index: 1;
}

.link_externo::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: -0.25em;
    right: -0.25em;
    background-color: #622180;
    transform-origin: bottom center;
    transform: scaleY(0.1);
    transition: all 0.2s ease-in-out;
}

.link_externo:hover::before {
    transform: scaleY(1);
    /* background-color: #88569a; */
}

.mas_info {
    position: relative;
    font-family: 'Ciudadana-bold';
    color: #fff;
    text-align: right;
    font-size: 0.8em;
    display: block;

}

.path {
    position: fixed;
    z-index: 999;
    width: 100%;
}


section {
    min-height: 100vh;
    width: 100%;
    /* font-size: 5rem; */
    /* background-color: #622180; */


    /* display: flex;
  align-items: center;
  justify-content: center; */

}

.section5 p {
    /* color: #622180; */
}



.content {
    z-index: 100;
}


/* //////////// videos */
.buttons {
    margin-bottom: 20px;
}

.icono button {
    cursor: pointer;
    background: none;
    border: 0;
}

.video-container_local {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
    /* Relación de aspecto 16:9 */
}

.video-container_local video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background-color: transparent;
}

.video-container {
    /* width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%; */
    /* Relación de aspecto 16:9 */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background-color: transparent;
}




.video-container {
    position: fixed;
    top: -120vh;
    display: flex;
    /* top: -80vh; */
    width: 100%;
    height: 96vh;
    /* margin: 1%; */
    background: var(--v4);
    padding: 20px;
    /* border-radius: 10px; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    z-index: 999;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.video-container iframe {
    width: 90%;
    height: 80vh;
}

.close {
    display: block;
    margin-top: 10px;
    color: white;
    background: red;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.close_video {
    position: absolute;
    top: 26px;
    right: 70px;
    display: block;
    margin-top: 10px;
    background-color: transparent;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.close_video img {
    width: 50px;
    height: auto;

}

@media only screen and (max-width: 768px) {
    .anios {
        font-size: 5em;

    }

    .linea_tiempo {
        padding: 2em;
    }

    .year::before {
        font-size: 5em;
    }
}


@media only screen and (max-width: 580px) {
    .accordion-body__contents {
        width: 90%;
        padding: 2%;
    }

    .accordion {
        padding: 0;
    }

    .anios {
        font-size: 2em;

    }

    .conquistas h2 {
        text-align: left;
    }

    h5 {
        font-size: 0.65em;
    }

    .logo_footer {
        flex-direction: column;
        width: 100%;

    }


    .linea_tiempo {
        padding: 0.1em;
    }

    .conquistas,
    .publicaciones {
        padding: 0;
    }

    .conquistas h1 {
        font-size: 1.5em;
    }

    .conquistas span {
        font-size: 1.2em;
        padding: 0;
    }

    .experience-middle img {
        /* width: 70%; */
    }

    .experience .experience-top {

        font-size: 2rem;
    }

    .experience .experience-bottom {
        position: absolute;
        bottom: 0%;
        font-size: 2rem;
    }

    .experience .experience-bottom_left img {
        width: 100px;
    }

    h1 {
        font-size: 1.52em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.8em;
    }

    #info {
        width: 94%;
    }

    #info h3 {

        width: 80%;
    }

    .intro_logo img {
        max-width: 90%;
    }

    .linea_tiempo p {
        text-align: left;
    }

    #lugares {
        width: 95%;
        margin: 0 auto;

    }

    .nav button {
        font-size: 0.75em
    }

    nav a {
        text-align: center;
        padding: 0.4em;
    }

    nav a::after {
        visibility: hidden;
    }

    .publicaciones h2 {
        text-align: left;
        font-size: 1em;
    }

    .publicaciones h1 {
        font-size: 1.5em;
    }

    .section {
        width: 90%;
    }

    .year::before {
        font-size: 3em;
    }
}

@media only screen and (max-width: 400px) {
    .nav button {
        font-size: 0.65em;
    }

}





#grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    /* 8 columnas en pantallas grandes */
    grid-template-rows: auto;
    /* Altura adaptativa */
    width: 100vw;
    height: 100vh;
    gap: 0px;
    /* Espaciado opcional entre elementos */
    margin-bottom: 4em;
}

.square {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Mantiene la proporción cuadrada en todos los tamaños */
}

.square img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Asegura que las imágenes llenen su celda sin distorsión */
}

.square .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Media Queries para versiones móviles */
@media (max-width: 768px) {
    #grid {
        grid-template-columns: repeat(6, 1fr);
        /* Reducir a 4 columnas */
    }
}

@media (max-width: 480px) {
    #grid {
        grid-template-columns: repeat(4, 1fr);
        /* 2 columnas en pantallas pequeñas */
    }
}

/* LANG */


.language-selector {
    position: fixed;
    width: fit-content;
    min-width: 100px;
    cursor: pointer;
    z-index: 999;
    right: 4.5em;
    top: 0.8em;
}

.main-lang {
    background-color: #fff;
    color: #b81818;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
}

.lang-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lang-options div {
    padding: 10px;
    border-top: 1px solid #ddd;
    color: #333;
}

.lang-options div a {
    color: #000;
    font-weight: normal;
}

.lang-options div a:hover {
    color: #b81818;
}

.language-selector:hover .lang-options {
    max-height: 500px;
    /* suficientemente alto para mostrar todos */
}

.lang-options div:hover {
    background-color: #eee;
}

/* NAV */

.menu-button {
    border: 0;
    background-color: #b81818;
    padding: 15px;
    border-radius: 50px;
    /* margin: 10px; */
    width: 60px;
    height: 60px;
    position: fixed;
    right: 0.5em;
    top: 0.5em;
    z-index: 998;
    outline: none;
    cursor: pointer;

}

.menu-button:hover,
.menu-button.active {
    transition: all 0.3s ease-out;
    background-color: #ffffff;
}



.menu-button:hover .menu-bar,
.menu-button.active .menu-bar {

    background-color: #b81818;

}

.menu-button .menu-bar {
    width: 30px;
    height: 2px;
    background-color: #fff;
    position: relative;
    margin: 4px 0;
    -webkit-transform-origin: center center;
    transform-origin: center center;
}

#menu {
    width: 0%;
    height: 100%;
    position: fixed;
    background-color: #b81818e3;
    top: 0%;
    left: 100%;
    -webkit-transform: translate(-100%, 0%);
    transform: translate(-100%, 0%);
    z-index: 997;
}

.menu-nav {
    display: flex;
    width: fit-content;
    height: 100%;
    list-style: none;
    margin: 0 auto;
    /* padding: 30px 0; */
    text-align: center;
    /* position: absolute; */
    top: 5em;
    /* left: 50%; */
    /* -webkit-transform: translate(-50%, -50%); */
    /* transform: translate(-50%, -50%); */
    /* width: fit-content; */
    font-size: 3em;
    overflow: hidden;
    flex-direction: column;
    align-content: center;
    justify-content: center;

}


.menu-nav a {
    text-decoration: none;
    color: #fff;
    padding: 0.2em;
    /* display: block; */
    opacity: 0;
    transition: 0.5s;
    width: 100%;
    /* border-bottom: 2px solid #fff; */
    font-weight: normal;
}

.menu-nav a:hover {
    background-color: #fff;
    color: #000;
    border-radius: 0.1em;
    /* text-decoration: line-through; */
    /* background: linear-gradient(-45deg, #efee2d, #ee7752, #e73c7e, #23a6d5, #23d5ab); */
    /* background-color: #d4b2fe; */
    /* background-size: 400% 400%;
	animation: gradient 15s ease infinite; */
    /* -webkit-animation: random 1s infinite;
  animation: random 5s infinite ; */
    /* -webkit-animation: gradient 5s infinite;
  animation: gradient 5s  infinite; */


}

.menu-nav li {
    width: 100%;
    text-transform: uppercase;
    margin: 0.2em;
    /* font-family: "Rubik Dirt", sans-serif; */

    /* width: fit-content; */
}

.prod_titulo {
    width: 100%;
    display: block;
}

.lang {
    position: fixed;
    left: 0em;
    top: 1em;
    background-color: #120f12;
    width: fit-content;
    z-index: 99;
    color: #fff;
    padding: 0.5em;
    padding-left: 1em;
    border-top-right-radius: 1rem;
    padding-right: 1em;
    text-transform: uppercase;
}


.dropbtn {
    background-color: rgba(0, 0, 0, 0);
    color: white;
    padding: 0px;
    border: none;
    cursor: none;
    font-size: 1em;
}

.dropdown {
    position: relative;
    display: inline-block;
    transition: 0.5s;
    text-transform: uppercase;
    text-align: right;
    z-index: 999;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: -16px;
    /* background-color: #000; */
    min-width: 160px;
    z-index: 1;
    padding-bottom: 2em;
    padding-top: 1em;
    border-top-right-radius: 1rem;
}

.dropdown-content a {
    color: #fff;
    padding: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav_pais {
    right: 3vw;
    top: 3vh;
}

@media only screen and (max-width: 768px) {

    .menu-button {
        right: 1em;
    }

    .menu-nav {
        width: 100%;
        font-size: 1.6rem;
        margin: 0;
        padding-left: 2em;
        text-align: left;
    }
}

@media only screen and (max-width: 468px) {

    .menu-button {
        margin: 0;
    }
}


/* TITULOS DEMO */


.floating-text {
    position: fixed;
    /* top: 50%; */
    bottom: 15%;
    left: 15%;
    width: 25%;
    /* width: 65%; */
    /* transform: translate(-5%, -50%); */
    font-size: 1.2em;
    /* font-weight: bold; */
    background-color: #b81818;
    color: #f4f4f4;
    /* color: #e5352d; */
    padding: 50px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 99;
    /* border: 5px solid #f4f4f4;*/
}

.intro {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    background: #f4f4f4;
    /* background:#000; */
}

.intro p span {
    color: #b81818;
    font-weight: bold;
    font-size: 1.2em;
}

.intro_secciones {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f4f4f4;
    /* background:#d20a11; */
}

.titulos {
    width: 60%;
    margin: 0 auto;
    z-index: 100;
    background-color: #f4f4f4;
    opacity: 0;
    transform: translateY(-50px);

}

.titulos h1 {
    width: fit-content;
    /* background-color: #000; */
    font-size: 3em;
    color: #000;

}

.titulos h1 span {
    width: fit-content;
    /* background-color: #000; */
    font-size: 2em;
    color: #b81818;
    line-height: 0.6em;
    opacity: 0;

}

section {
    width: 60%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 5vh;
    margin-bottom: 10vh;
    border-radius: 8px;
    color: white;
    min-height: auto;
    border: 10px solid white;
}

/* .section-1 { background: #FF5733; }
.section-2 { background: #33FF57; }
.section-3 { background: #3357FF; }
.section-4 { background: #F3FF33; } */

.section-1,
.section-2,
.section-3,
.section-4,
.section-5,
.section-6,
.section-7,
.section-8,
.section-9,
.section-10,
.section-11,
.section-12,
.section-13,
.section-14,
.section-15,
.section-16,
.section-17,
.section-18,
.section-19,
.section-20 {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.section-1 {
    background: url(../img/i1.webp);
}

.section-2 {
    background: url(../img/i2_2.webp);
}

.section-3 {
    background: url(../img/i3.webp);
}

.section-4 {
    background: url(../img/i4.webp);
}

.section-5 {
    background: url(../img/i5_2.webp);
}

.section-6 {
    background: url(../img/i6_2.webp);
}

.section-7 {
    background: url(../img/i7.webp);
}

.section-8 {
    background: url(../img/i8.webp);
}

.section-9 {
    background: url(../img/i9.webp);
}

.section-10 {
    background: url(../img/i10.webp);
}

.section-11 {
    background: url(../img/i11.webp);
}

.section-12 {
    background: url(../img/i12.webp);
}

.section-13 {
    background: url(../img/i13_2.webp);
}

.section-14 {
    background: url(../img/i14.webp);
}

.section-15 {
    background: url(../img/i15.webp);
}

.section-16 {
    background: url(../img/i16_3.webp);
}

.section-17 {
    background: url(../img/i17.webp);
}

.section-18 {
    background: url(../img/i18.webp);
}

.section-19 {
    background: url(../img/i19.webp);
}

.section-20 {
    background: url(../img/i20_3.webp);
}

.section-21 {
    visibility: hidden;
    height: 0px;
}


@media only screen and (max-width: 980px) {
    .floating-text {
        width: 80%;
        font-size: 1.2em;
        padding: 1em;
        left: 10%;
    }

    .titulos {
        width: 80%;
        margin: 0 auto;
    }

    .titulos h1 {
        font-size: 2em;
    }

    section {
        width: 80%;
        margin: 2em;
    }
}


@media only screen and (max-width: 580px) {
    .floating-text {
        width: 80%;
        font-size: 1em;
        padding: 1em;
        left: 2%;
    }

    .close_video {
        top: 10px;
        right: 10px;
    }

    .close_video img {
        width: 30px;
        height: auto;
    }

    .titulos {
        width: 80%;
        margin: 0 auto;
    }

    .titulos h1 {
        font-size: 1.2em;
    }

    .titulos h1 span {
        line-height: 0.9em;
    }

    .video-container {
        padding: 0;
    }

    .video-container iframe {
        width: 90%;
        height: 80vh;
    }

    section {
        width: 90%;
        margin: 1em;
    }

    .logo_footer img {
        width: 50%;
    }

}