/* -------- header__background ----------- */

.header__evento{
    container-type: inline-size;
    container-name: header;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.header__background-photos{
    width: 100%;
    height: 90vh;
    max-width: 1300px;
    position: relative;
}

.header__background-photos picture img{
    width: 100%;
    height: 100%;
    margin-left: -3px;
}


@container header (min-width:400px){

    .header__background-photos{
        width: 100%;
        height: 110vh;
        max-width: 1300px;
    }
    
    .header__background-photos picture img{
        width: 100%;
        height: 100%;
    }
}

@container header (min-width:500px){
    .header__background-photos{
        width: 100%;
        height: 140vh;
        max-width: 1300px;
    }
    
    .header__background-photos picture img{
        width: 100%;
        height: 100%;
    }
}

@container header (min-width:649px){
    .header__background-photos{
        width: 100%;
        height: 80vh;
        max-width: 1300px;
    }
    
    .header__background-photos picture img{
        width: 100%;
        height: 100%;
        margin-left: 0;
    }
    
    .container-header-backgroundd{
        display: none;
    }
}


@container header (min-width:56.25rem){

    .header__background-photos{
        width: 100%;
        height: 100vh;
        max-width: 1300px;
        margin-bottom: 20px;
    }
    
    .header__background-photos picture img{
        width: 100%;
        height: 100%;
    }
}

@container header (min-width:1100px){
    .header__background-photos{
        width: 100%;
        height: 115vh;
        max-width: 1300px;
        margin-bottom: 20px;
    }
    
    .header__background-photos picture img{
        width: 100%;
        height: 100%;
    }
}


/* --------- inicio evento__exhibition -------- */

.evento__exhibition{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    max-width: 100%;
    padding: 0px 10px 20px 10px;
    gap: 30px;
    box-shadow: 0 0 10px #0003;
    background-color: #fff;
    color: #07134e;
    position: relative;
    border-bottom: 2px solid #fff;
}

.header-img-container{
    position: absolute;
    top: 40px;
    right: -60px;
    width: 256px;
    height: 256px;
    transform: rotate(-90deg);
    z-index: 0;
}

.header-img-container img{
    width: 100%;
    transition: transform 1.5s ease, opacity 1.5s ease;
    opacity: 0;
    transform: translateY(100%);
}

.evento__exhibition img.visible{
    transform: translateY(0);
    opacity: 1;
}

.evento__exhibition-title{
    font-size: 1.9rem;
    background-color: #5881be;
    color: #fff;
    padding: 10px;
    width: 110%;
    text-align: center;
    animation: aparicionArribaP 2s ease both;
}

@keyframes aparicionArribaP{
    from{
        opacity: 0;
        transform: translateY(-100%);
    }

    to{
        opacity: 1;
        transform: translateY(0%);
    }
}

.exhibition-text-container{
    display: grid;
    grid-template-columns: repeat(1, minmax(150px, 600px));
    gap: 30px;
    position: relative;
}

.evento__exhibition-text{
    opacity: 0;
    transition: transform 1.5s ease, opacity 1.5s ease;
}

.evento__exhibition-text:nth-child(odd){
    transform: translateX(-100%);
}

.evento__exhibition-text:nth-child(even){
    transform: translateX(100%);
}

.exhibition-text-container.visible .evento__exhibition-text {
    opacity: 1;
    transform: translateX(0);
}

.exhibition-text-container::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    bottom: -20px;
    width: 80%;
    margin: 0 auto;
    border-bottom: 3px solid #fff;
}

.evento__exhibition-text{
    margin: 0;
    padding: 0 10px;
    text-align: justify;
    text-wrap: balance;
    hyphens: auto;
}

.evento__exhibition-textend{
    font-size: 1.1rem;
    margin: 0;
    padding: 0 10px;
    text-align: center;
    text-wrap: pretty;
    font-weight: 600;
}

.exhibition-grid{
    display: grid;
    grid-template-columns: repeat(1, minmax(100px,1fr));
    justify-content: center;
    justify-items: center;
    gap: 10px;
}

.exhibition-grid img{
    width: 100%;
    position: relative;
    aspect-ratio: 16/9;
    max-height: 260px;
    padding-bottom: 10px;
    border-bottom: 2px solid #07134e;
    opacity: 0;
    transition: opacity 1s ease, transform .8s ease;
}

.exhibition-grid img:nth-child(1) {
    transform: translateX(100%);
}

.exhibition-grid img:nth-child(2) {
    transform: translateX(-100%);
}

.exhibition-grid img:nth-child(3) {
    transform: translateX(100%);
}

.exhibition-grid img.visible {
    transform: translateX(0);
    opacity: 1;
}

.evento__exhibition-button{
    font-size: 1.4rem;
    font-weight: bold;
    padding: 10px;
    background-color:#07134e;
    color: #fff;
    border-radius: 24px;
    text-decoration: none;
    text-align: center;
    animation: llamada 1s ease infinite alternate-reverse;
    box-shadow: 0 0 10px #07134e6f;
    margin: 15px 0;
}

@keyframes llamada{
    from{
        transform: scale(1);
    }

    to{
        transform: scale(1.15);
    }
}

h4{
    margin: 0;
}

.evento__exhibition-subtitle{
    font-size: 1.3rem;
    text-align: center;
    background-color: #5881be;
    color: #fff;
    padding: 10px;
    width: 110%;
    margin: 0;
}

/* -------- evento__exhibition queries--------- */

@container evento (min-width:700px){
    .exhibition-grid{
        display: grid;
        grid-template-columns: repeat(3, minmax(150px,1fr));
        justify-content: center;
        justify-items: center;
        gap: 10px;
    }

    .exhibition-text-container{
        display: grid;
        grid-template-columns: repeat(3, minmax(200px, 1fr));
    }

    .evento__exhibition-text:nth-child(even){
        transform: translateY(100%);
    }   
    
    .evento__exhibition-text:nth-child(3){
        transform: translateX(100%);
    }    

    .evento__exhibition-textend{
        font-size: 1.2rem;
    }

    .exhibition-grid img:nth-child(1) {
        transform: translateX(-100%);
    }
    
    .exhibition-grid img:nth-child(2) {
        transform: translateY(-30%);
    }
    
    .exhibition-grid img:nth-child(3) {
        transform: translateX(100%);
    }

    .exhibition-grid img.visible {
        transform: translateX(0);
        transform: translateY(0);
    }

    
}
/* -------- fin evento__exhibition ------------- */


/* ------ inicio evento__us ------------ */

.evento{
    display: flex;
    flex-direction: column;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    container-type: inline-size;
    container-name: evento;
    background-color: #fff;
    overflow: hidden;
}

.evento__us{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    max-width: 100%;
    padding: 40px 10px;
    gap: 20px;
    position: relative;
}

.evento__us::before{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    border-bottom: 5px solid #ff904d;
}

.evento__us-img-container{
    position: relative;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 1.5s ease, opacity 1.5s ease;
}

.evento__us-img-container.visible{
    transform: translateX(0);
    opacity: 1;
}

.evento__us-img-container img{
    width: 100%;
    aspect-ratio: 16/9;
}

.evento__us-text-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    position: relative;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1.5s ease, opacity 1.5s ease;
}

.evento__us-text-container.visible{
    transform: translateX(0);
    opacity: 1;
}


.evento__us-text-title{
    font-size: 1.9rem;
    color: #fff;
    background-color: #ff904d;
    position: relative;
    width: 150%;
    text-align: center;
    padding: 5px 0;
}

.evento__us-text-p{
    margin: 0;
    text-align: left;
    text-wrap: pretty;
    max-width: 500px;
    padding: 0 10px;
    color: #07134e;
}

.evento__us-text-p span{
    font-weight: 500;
    color: #ff904d;
}

/* ---------- evento__us queries --------- */

@container evento (min-width:700px){
    .evento__us{
        display: flex;
        flex-direction: row;
        max-width: 1300px;
        margin: 0 auto;
        padding: 20px 10px 30px 10px;
        position: relative;
        gap: 0 40px;
    }

    .evento__us > *{
        flex: 1;
    }

    .evento__us-text-title{
        width: 100%;
        padding: 10px 0;
        max-width: 600px;
    }
}
/* -------- fin evento__us --------- */

/* --------- inicio evento__video ---------- */

.evento__video{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    max-width: 100%;
    padding: 30px 10px 20px 10px;
    gap: 20px;
    color: #fff;
    position: relative;
}

.evento__video-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(30%);
    transition: transform 2s ease;
}

.evento__video-container.visible{
    opacity: 1;
    transform: translateX(0%);
}

.evento__video-title{
    background-color: #ff904d;
    width: 110%;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 1.6rem;
    max-width: 600px;
}

.evento__video-container video{
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
}

.evento__video-sponsors{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    justify-items: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    transform: translateX(-100%);
    transition: transform 1.5s ease;
}

.evento__video-sponsors.visible{
    opacity: 1;
    transform: translateX(0%);
}

.evento__video-sponsors-title{
    background-color: #ff904d;
    width: 110%;
    color: #fff;
    padding: 10px 0;
    font-size: 1.6rem;
    text-align: center;
    max-width: 600px;
}

.evento__video-sponsors img{
    width: 128px;
    height: 150px;
    mix-blend-mode: multiply;
}

.evento__video-sponsors img:nth-child(3) {
    width: 150px;
    height: 180px;
}

.evento__video-sponsors img:nth-child(4) {
    width: 240px;
    height: 100px;
}


/* ---------- evento__video queries --------- */

@container evento (min-width:450px){
    .evento__video-sponsors{
        display: grid;
        grid-template-columns: repeat(2, minmax(150px, 250px));
        grid-template-areas: "titulo titulo"
        "imagen1 imagen2"
        "imagen3 imagen3";
    }

    .evento__video-sponsors-title{
        grid-area: titulo;
    }

    .evento__video-sponsors img:first-child{
        grid-area: imagen1;
    }

    .evento__video-sponsors img:last-child{
        grid-area: imagen3;
    }

    .evento__video-sponsors img:nth-child(3) {
        grid-area: imagen2;
    }
}
@container evento (min-width:56.25rem){

    .evento__video{
        flex-direction: row-reverse;
        align-items: start;
        gap: 40px;
    }

    .evento__video-container{
        flex: 1;
        align-items: center;
    }

    .evento__video-title{
        width: 100%;
    }

    .evento__video-sponsors{
        display: grid;
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        grid-template-areas: "titulo"
        "imagen1"
        "imagen2"
        "imagen3";
        flex: 1;
    }

    .evento__video-sponsors-title{
        width: 100%;
    }

}

/* --------- Fin evento__video ---------- */

/* ----------- evento__orgVideos ------------- */

.evento__orgVideos{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    max-width: 100%;
    padding: 30px 10px 20px 10px;
    gap: 20px;
    position: relative;
}

.evento__orgVideos-title{
    background-color: #5881be;
    width: 110%;
    color: #fff;
    padding: 10px 5px;
    font-size: 1.6rem;
    text-align: center;
}

.evento__orgVideos-grid{
    display: grid;
    grid-template-columns: repeat(1, minmax(275px, 400px));
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
    padding: 30px;
}

.evento__orgVideos-grid-item{
    width: 100%;
    display: flex;
    align-items: center;
    justify-self: center;
    padding: 0 10px;
    transform: translateY(40%);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.evento__orgVideos-grid-item.visible{
    transform: translateY(0);
    opacity: 1;
}

.evento__orgVideos-grid video{
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 1/1;
    max-height: 350px;
    background: radial-gradient(#004, #100);
}

/* ---------- evento__orgVideos queries ---------- */

@container evento (min-width:725px){
    .evento__orgVideos-grid{
        grid-template-columns: repeat(2, minmax(300px, 550px));
    }

    .evento__orgVideos-grid-item{
        padding: 0;
    }
}

/* ----------- evento__orgVideos fin */