body.triunfan {
    font-family: 'Roboto Slab', serif;
}

.hero-img {
    width: 100%;
}

img {
    max-width: 100%;
}


.triunfan-play-here {
    background-color: #FFFFFF;
    color: black;
    font-family: 'Roboto Slab', serif;
    margin-bottom: -20px;
}

.article-triunfan {
    margin: 0 auto;
    overflow: auto;
    margin-top: -5px;
}

.article-triunfan .desktop-tablet {
    display: block;
}

.article-triunfan h2 {
    margin: 0 auto;
    max-width: 1000px;
    text-align: center;
    font-size: 40px;
    padding-top: 65px;
}

.article-triunfan p {
    font-size: 25px;
    margin: 40px;
}

.article-triunfan ol {
    display: flex;
    flex-wrap: wrap;
    max-width: 1350px;
    margin: 0 auto;
    justify-content: center;
}

.article-triunfan ol p {
    font-size: 20px;
    margin: 0px;
}

.article-triunfan ol li {
    display: inline;
    display: inline-block;
    zoom: 1;
    margin: 80px;
    max-width: 270PX;
}

section.hero-section {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

section.hero-section h1 {
    font-family: 'Roboto Slab';
    font-weight: bold;
    text-transform: initial;
    color: #232323;
}

section.hero-section picture {
    width: 100%;
}

section.triunfan-section-links {
    background-color: #E6E6E6;
    padding-bottom: 80px;
    display: flex;
    justify-content: space-around;
    align-items: baseline;
}

section.triunfan-section-links figure {
    text-align: center;
    display: inline-block;
}

section.triunfan-section-links figure figcaption {
    font-size: 25px;
    text-align: center;
    /* margin-top: 67px; */
    font-weight: bold;
}

section.triunfan-section-links figure img {
    max-width: 207px;
    margin: 0 auto;
    /* margin-top: 62px; */
}

section.triunfan-section-links figure figcaption a {
    background-color: #59E15A;
    border: solid 1px;
    margin-top: 39px;
    text-decoration: none;
    color: black;
    padding: 22px 20px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.triunfan-section-links figure figcaption a:active {
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
    background-color: #232323;
    border: solid 1px;
    margin-top: 39px;
    color: #FFFFFF;
    text-decoration: underline;
    padding: 22px 20px;
    display: block;
}

section.triunfan-section-countries {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    text-align: center;
}

section.triunfan-section-countries figure {
    margin: 0 auto;
    height: 300px;
    width: 146px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

section.triunfan-section-countries figure img {
    width: fit-content;
}

section.triunfan-section-countries figure.peru-guatemala {
    width: 110px;
}

section.triunfan-section-countries figure figcaption span {
    font-weight: bold;
    font-size: 20px;
}

section.triunfan-section-countries figure figcaption p {
    font-size: 16px;
    margin: 0;
}

section.triunfan-section-world {
    padding: 50px 50px 0px 50px;
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    background-color: #EFC900;
}


section.triunfan-section-timeline {
    font-size: 60px;
    text-align: center;
    position: relative;
}

section.triunfan-section-timeline div.horizontal-timeline {
    position: relative;
}

section.triunfan-section-timeline div.horizontal-timeline ol {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    column-gap: 90px;
    list-style: none;
    padding-left: 0;
}

section.triunfan-section-timeline div.horizontal-timeline ol img.timeline-line {
    position: absolute;
    z-index: 0;
    bottom: 100px;
}

section.triunfan-section-timeline div.horizontal-timeline ol li {
    z-index: 2;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

section.triunfan-section-timeline div.horizontal-timeline ol li p.desktop-show {
    display: none;
}

section.triunfan-section-timeline div.horizontal-timeline ol li div {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 80px;
    height: 80px;
    /* display: block; */
    background-size: cover;
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-rojo {
    background-image: url('../assets/img/triunfan/timeline-circulo-rojo.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-rojo:hover,
section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-rojo.active {
    background-image: url('../assets/img/triunfan/timeline-cruzroja.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-azul {
    background-image: url('../assets/img/triunfan/timeline-circulo-azul.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-azul:hover,
section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-azul.active {
    background-image: url('../assets/img/triunfan/timeline-cidh.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-azulclaro {
    background-image: url('../assets/img/triunfan/timeline-circulo-azulclaro.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-azulclaro:hover,
section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-azulclaro.active {
    background-image: url('../assets/img/triunfan/timeline-onu.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-amarillo {
    background-image: url('../assets/img/triunfan/timeline-circulo-amarillo.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-amarillo:hover,
section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-amarillo.active {
    background-image: url('../assets/img/triunfan/timeline-amarillo.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-verde {
    background-image: url('../assets/img/triunfan/timeline-circulo-verde.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-verde:hover,
section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-verde.active {
    background-image: url('../assets/img/triunfan/timeline-estrellitas.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li div.circulo-celeste {
    background-image: url('../assets/img/triunfan/timeline-circulo-celeste.svg');
}

section.triunfan-section-timeline div.horizontal-timeline ol li h3 {
    font-weight: bold;
    color: #D8D8D8;
    font-size: 40px;
    margin-top: 0px;
}

section.triunfan-section-timeline div.horizontal-timeline ol li div:hover~h3:nth-child(n),
section.triunfan-section-timeline div.horizontal-timeline ol li div.active~h3:nth-child(n) {
    color: #232323;
}

section.triunfan-section-timeline div.horizontal-timeline ol li p {
    display: none;
    position: absolute;
    font-size: 20px;
    left: 0;
    right: 0;
    /* margin: 0 auto; */
    margin: 0 200px 0 200px;
}

section.triunfan-section-timeline div.horizontal-timeline ol li p span,
section.triunfan-section-timeline div.timeline-text-mobile p span {
    color: #7E72F3;
}

section.triunfan-section-justice {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    overflow: hidden;
}

section.triunfan-section-justice marquee {
    font-size: 30px;
    font-weight: bold;
}

section.triunfan-section-justice marquee span {
    margin-left: 20px;
    margin-right: 20px;
    letter-spacing: 0.2px;
}

section.triunfan-section-justice h4 {
    font-size: 40px;
    text-align: center;
}

section.triunfan-section-justice article figure {
    display: flex;
    justify-content: space-around;
    align-items: center;
    column-gap: 40px;
    margin-bottom: 60px;
}

section.triunfan-section-justice article figure figcaption {
    font-size: 40px;
    max-width: 568px;
}

section.triunfan-section-justice article figure picture img {
    max-width: 534px;
}

section.footer-triunfan {
    background-color: #7E72F3;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 30px;
}

section.footer-triunfan article {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: baseline;
    align-content: center;
    margin: 20px;
}

section.footer-triunfan article p {
    font-size: 60px;
    color: #FFFFFF;
    font-weight: bold;
    align-self: center;
    max-width: 628px;
    margin: 0;
}

section.footer-triunfan article div a {
    text-decoration: none;
    font-size: 20px;
    color: #FFFFFF;
    max-width: 256px;
}

section.footer-triunfan article div {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    column-gap: 10px;
}

section.footer-triunfan picture {
    margin: 30px 0px 5px 0px;
    max-width: 467px;
}

.green-footer {
    width: 100%;
    background-color: #143929;
    font-size: 12px;
}

#slider {
    display: none;
}

/* Media Query Mobile */
@media screen and (max-width: 768px) {
    .desktop-tablet {
        display: none;
    }

    section.hero-section h1 {
        font-size: 50px;
    }

    section.triunfan-section-links {
        background-color: #E6E6E6;
        padding-bottom: 80px;
        display: flex;
        flex-flow: column wrap;
        justify-content: space-around;
        align-items: baseline;
    }

    section.triunfan-section-countries {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-evenly;
        align-items: baseline;
        text-align: center;
        max-width: 365px;
        margin: 0 auto;
        padding: 32px 0 55px;
    }

    section.triunfan-section-world {
        padding: 20px 30px;
        text-align: center;
        font-weight: bold;
        font-size: 20px;
        background-color: #EFC900;
    }

    section.triunfan-section-timeline {
        font-size: 35px;
        text-align: center;
    }

    /* Linea del tiempo */

    section.triunfan-section-timeline div.horizontal-timeline ol img.timeline-line {
        height: 50px;
        max-width: none;
        z-index: 0;
    }

    /* Con esto hacemos que la linea del tiempo sea scrolleable */
    section.triunfan-section-timeline div.horizontal-timeline ol {
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        white-space: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    /* Ocultar scrollbar for Chrome, Safari and Opera */
    section.triunfan-section-timeline div.horizontal-timeline ol::-webkit-scrollbar {
        display: none;
    }

    section.triunfan-section-timeline div.horizontal-timeline ol li {
        display: inline-block;
        flex: 0 0 auto;
        position: relative;
    }

    /* section.triunfan-section-timeline div.horizontal-timeline ol li p {
    display: none;
    position: absolute;
    font-size: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    white-space: normal;
} */

    section.triunfan-section-timeline div.horizontal-timeline ol li p {
        display: none;
    }

    /* Agrego margen izquierdo solo al círculo rojo del principio */
    #margin-left-red div,
    #margin-left-red h3 {
        margin-left: 120px;
    }

    section.triunfan-section-timeline div.timeline-text-mobile p {
        font-family: 'Roboto Slab';
        font-size: 20px;
        line-height: 26px;
        display: none;
    }

    section.triunfan-section-justice marquee {
        margin-bottom: 140px;
        margin-top: 125px;
    }

    section.triunfan-section-justice h4 {
        font-size: 30px;
        text-align: center;
    }

    section.triunfan-section-justice article figure {
        display: flex;
        flex-flow: column nowrap;
    }

    section.triunfan-section-justice article figure.mobile-reverse {
        display: flex;
        flex-flow: column-reverse nowrap;
    }

    section.triunfan-section-justice article figure figcaption {
        font-size: 20px;
        margin-bottom: 50px;
    }

    section.triunfan-section-justice article figure picture img {
        max-width: 300px;
    }

    section.footer-triunfan {
        background-color: #7E72F3;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        align-content: center;
    }

    section.footer-triunfan article {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        align-content: center;
    }

    section.footer-triunfan article p {
        font-size: 40px;
        color: #FFFFFF;
        font-weight: bold;
        align-self: center;
        max-width: 331px;
    }

    section.footer-triunfan article div a {
        text-decoration: none;
        font-size: 20px;
        color: #FFFFFF;
        max-width: 256px;
    }

    section.footer-triunfan article div {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        column-gap: 10px;
    }

    section.footer-triunfan picture {
        margin: 30px 0px 5px 0px;
    }

    /*SLIDER MOBILE */
    #slider {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: block;
        position: relative;
    }

    #slider input[type=radio] {
        display: none;
    }

    #slider label {
        cursor: pointer;
        text-decoration: none;
    }

    #slider h2 {
        font-size: 26px;
    }

    #slides {
        padding: 10px;
        background: #fff;
        position: relative;
        z-index: 1;
    }

    #overflow {
        width: 100%;
        overflow: hidden;
    }

    #slide1:checked~#slides .inner {
        margin-left: 0;
    }

    #slide2:checked~#slides .inner {
        margin-left: -100%;
    }

    #slide3:checked~#slides .inner {
        margin-left: -200%;
    }

    #slide4:checked~#slides .inner {
        margin-left: -300%;
    }

    #slide5:checked~#slides .inner {
        margin-left: -400%;
    }

    #slide6:checked~#slides .inner {
        margin-left: -500%;
    }

    #slides .inner {
        transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
        width: 600%;
        /* Antes era 400%, ahora 600% para 6 tarjetas */
        height: 300px;
        color: #3B3B3B;
    }

    #slides .inner p {
        text-align: left;
        font-size: 20px;
    }

    #slides .slide {
        width: 16.666%;
        /* Cambia a 1/6 (100% dividido por 6) */
        float: left;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* #controls {
        margin: -370px 0 0 0;
        width: 100%;
        height: 50px;
        z-index: 3;
        position: absolute;
        top: 480px;
    }
    
    #controls label {
        display: none;
        width: 40px;
        height: 50px;
    } */

    #controls label {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 50px;
        z-index: 2;
        background-size: contain;
        background-repeat: no-repeat;
        cursor: pointer;
    }
    
    /* Flecha izquierda */
    #slide1:checked~#controls label[for="slide6"],
    #slide2:checked~#controls label[for="slide1"],
    #slide3:checked~#controls label[for="slide2"],
    #slide4:checked~#controls label[for="slide3"],
    #slide5:checked~#controls label[for="slide4"],
    #slide6:checked~#controls label[for="slide5"] {
        left: 10px; /* Ajuste para estar cerca del borde izquierdo */
        background-image: url('../assets/img/triunfan/flecha-izquierda.svg');
        display: block; /* Aseguramos que sea visible */
    }
    
    /* Flecha derecha */
    #slide1:checked~#controls label[for="slide2"],
    #slide2:checked~#controls label[for="slide3"],
    #slide3:checked~#controls label[for="slide4"],
    #slide4:checked~#controls label[for="slide5"],
    #slide5:checked~#controls label[for="slide6"],
    #slide6:checked~#controls label[for="slide1"] {
        right: 10px; /* Ajuste para estar cerca del borde derecho */
        background-image: url('../assets/img/triunfan/flecha-derecha.svg');
        display: block; /* Aseguramos que sea visible */
    }
    


    #bullets {
        margin: 50px;
        text-align: center;
    }

    #bullets label {
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 100%;
        background: #ccc;
        margin: 0 10px;
    }

    #slide1:checked~#bullets label:nth-child(1),
    #slide2:checked~#bullets label:nth-child(2),
    #slide3:checked~#bullets label:nth-child(3),
    #slide4:checked~#bullets label:nth-child(4),
    #slide5:checked~#bullets label:nth-child(5),
    #slide6:checked~#bullets label:nth-child(6) {
        background: #59E15A;
        border: 1px solid #232323;
    }

    #slides {
        max-width: calc(100% - 140px);
        margin: 0 auto;
    }

}

/*Media Query Tablet*/
@media (min-width: 769px) and (max-width: 1019px) {
    .article-triunfan h2 {
        text-align: center;
    }

    .article-triunfan p {
        text-align: left;
    }

    iframe {
        float: left;
        margin: 0 25px 0 0;

    }

    .article-triunfan ol li {
        margin: 40px;
    }

    section.hero-section h1 {
        font-size: 40px;
        top: 100px !important;
    }

    section.triunfan-section-links figure figcaption {
        font-size: 20px;
    }

    section.triunfan-section-links figure img {
        max-width: 135px;
        margin: 0 auto;
    }

    section.triunfan-section-world {
        padding: 50px;
        text-align: center;
        font-weight: bold;
        font-size: 30px;
        background-color: #EFC900;
    }

    section.triunfan-section-timeline {
        font-size: 60px;
        text-align: center;
    }

    section.triunfan-section-timeline div.horizontal-timeline ol {
        column-gap: 40px;
    }

    section.triunfan-section-timeline div.timeline-text-mobile p {
        font-family: 'Roboto Slab';
        font-size: 20px;
        line-height: 26px;
        display: none;
    }

    section.triunfan-section-justice {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        align-content: center;
    }

    section.triunfan-section-justice marquee {
        margin-bottom: 50px;
        margin-top: 110px;
    }

    section.triunfan-section-justice h4 {
        font-size: 30px;
        text-align: center;
    }

    section.triunfan-section-justice article figure {
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 40px;
        margin-bottom: 60px;
    }

    section.triunfan-section-justice article figure figcaption {
        font-size: 40px;
        max-width: 448px;
    }

    section.triunfan-section-justice article figure picture img {
        max-width: 328px;
    }

    section.footer-triunfan {
        background-color: #7E72F3;
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        align-content: center;
    }

    section.footer-triunfan article {
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: baseline;
        align-content: center;
        margin: 20px;
    }

    section.footer-triunfan article p {
        font-size: 40px;
        color: #FFFFFF;
        font-weight: bold;
        align-self: center;
        max-width: 408px;
        margin: 0;
    }

    section.footer-triunfan article div a {
        text-decoration: none;
        font-size: 20px;
        color: #FFFFFF;
        max-width: 251px;
    }

    section.footer-triunfan article div {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        column-gap: 10px;
    }

    section.footer-triunfan picture {
        margin: 30px 0px 5px 0px;
        max-width: 309px;
    }
}


/* Media Query Desktop */
@media (min-width: 1020px) {
    section.hero-section h1 {
        font-size: 80px;
    }

    section.triunfan-section-countries figure img {
        max-width: none;
    }

    section.triunfan-section-countries {
        margin-top: 150px;
        margin-bottom: 270px;
    }

    section.triunfan-section-justice marquee {
        margin-bottom: 145px;
        margin-top: 145px;
    }

    section.triunfan-section-timeline div.horizontal-timeline ol li div:hover~p:nth-child(n) {
        display: block;
        top: 150px;
        margin-bottom: 10px;
    }

    section.triunfan-section-countries figure figcaption {
        margin-top: 35px;
    }

    section.triunfan-section-countries figure figcaption span {
        font-size: 30px;
    }

    section.triunfan-section-countries figure figcaption p {
        font-size: 20px;
    }

    div.timeline-text-mobile {
        display: none;
    }
}

section.triunfan-section-countries figure figcaption p.quote-peru {
    font-size: 12px;
    color: gray;
}