@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: #7762af;
    --v1: #7762af;

    --v2: #a175ad;
    --v3: #88569a;
    --v4: #4e306d;

    --v5: #350361;
    --v6: #5602a0;
    --v7: #d4b2fe;
    --v8: #9a4afc;
    --v9: #ffffff;

}

body {
    margin: 0;
    font-family: 'Ciudadana-light', sans-serif;
    font-size: 18px;
    overflow-x: hidden;
    background-color: var(--v0);

}

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;
}

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;
}

/* #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;
}

.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: 12em;

}

.intro {
    /* The image used */
    /* background-image: url("../img/collage2.webp"); */

    /* Full height */
    height: 100%;

    /* 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: 55vh;
    width: auto;
}



.logo_im {
    position: fixed;
    z-index: 999;
    background-color: #fff;
    padding: 0.8em;
    border-radius: 0 0 5px 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: #350361;
    /* align-content: center; */
    align-items: center;
    text-align: center;
}

/* ////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(--v5);
    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;
}

.gm-style .gm-style-iw-d {
    color: var(--v4);
}

.gm-ui-hover-effect>span {
    background-color: var(--v2);
}

.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;
}

.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: 12em;
    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; */

}

.section0 {
    background-color: #622180;
}

.section1 {
    background-color: #70378a;
}

.section2 {
    background-color: #88569a;
}

.section3 {
    background-color: #a175ad;
}

.section4 {
    background-color: #b390bd;
    color: #70378a;
    ;
}

.section5 {
    background-color: #b390bd;
    /* background-color: #e2d6e8; */

}

.section5 p {
    /* color: #622180; */
}

.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::-webkit-media-controls-panel {
    background-image: linear-gradient(0deg,#70378a80, #b390bdaf, #88569a8c, #62218000) !important;
         filter: brightness(1);
         
         box-shadow: none !important;
        }
.year {
    font-family: 'Ciudadana-bold', sans-serif;
    font-family: "Rubik Dirt", sans-serif;
    font-weight: 400;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* position: relative; */
    z-index: -1;
    margin-bottom: 5em;
}


.year::before {
    content: attr(data-background);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--v1);
    /* background: linear-gradient(180deg, rgba(53, 3, 97, 0.7), rgba(86, 2, 160, 0.7)); */
    color: rgba(255, 255, 255, 0.2);
    font-size: 150px;
    /* font-weight: bold; */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, background 0.5s ease-in-out;
}

.year[data-color="#c5abce"]::before {
    /* background: linear-gradient(90deg, red, orange); */
    background: var(--v1);
}

.year[data-color="#a175ad"]::before {
    /* background: linear-gradient(90deg, blue, lightblue); */
    background: var(--v2);
}

.year[data-color="#88569a"]::before {
    /* background: linear-gradient(90deg, green, limegreen); */
    background: var(--v3);
}

.year[data-color="#4e306d"]::before {
    /* background: linear-gradient(90deg, purple, violet); */
    background: var(--v4);
}

.year[data-color="#9a4afc"]::before {
    /* background: linear-gradient(90deg, gold, yellow); */
    background: var(--v5);
}

.active::before {
    opacity: 1;
}


.content {
    z-index: 100;
}


@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;
    }

    .linea_tiempo {
        padding: 0.1em;
    }

    .conquistas, .publicaciones {
        padding: 0;
    }

    .conquistas h1 {
        font-size: 1.5em;
    }


    .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.3em;
    }

    h3 {
        font-size: 1.3em;
    }
    #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;
    }

    .publicaciones h1 {
        font-size: 1.5em;   
    }

    .year::before {
        font-size: 3em;
    }
}