:root {
    /*--back-ground-color: #e09f3e; */
    --back-ground-color: black;
    --back-ground2-color: rgba(72, 34, 72, 0.5);
    --colorLetters: aliceblue;

    --viewport-threshold: 769px;

}

* {
    margin: 0;
    box-sizing: border-box;
}

body {
    /* font-family: 'Spartan', sans-serif; */
    /* <weight>: Use a value from 200 to 900   */

    font-family: "Literata", serif;
    /* font-optical-sizing: auto; */
    font-weight: 500;
    font-style: normal;
}

a {
    font-size: 15px;
}

h1 {
    color: var(--back-ground-color);
    font-size: 0.1rem;
    font-weight: lighter;
}

h2 {
    color: var(--colorLetters);
    font-size: 20px;
}

p {
    color: var(--colorLetters);

    font-size: 18px;
    justify-content: center;
    padding: 20px;
}

.main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, max-content);
    /* grid-gap: 1rem; */
    grid-template-areas:
        "header"
        "text"
        "main"
        "footer";
    align-items: center;

    margin: 0 auto;
    background-color: var(--back-ground-color);
}

/* SECCION HEADER */
.main__header {
    grid-area: header;
    border-left: 0;
    width: 100vw;
    height: 15vh;
    /* max-width: 1400px;
    min-height: 100px; */
}

.header__container {
    position: fixed;
    width: 100vw;
    height: 15vh;
    margin: 0 auto;
    padding: 0px 0;
    /* overflow: hidden; */

    display: flex;
    /* border-width: 5px; */
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    background-color: var(--back-ground-color);
    /* border-color: red;
    border-style: solid;      */
}

.header__logo {
    /* height: 200px; Ajusta la altura según sea necesario */

    object-fit: cover;
    /* Ajusta el logo dentro del contenedor sin recortar */
    width: 30vw;
    /* Mantiene la proporción del logo */
    /* padding: 20px; */
    /* margin: 20px; */
    margin-top: 40px;

    /* max-width: 100%  Ajusta el tamaño máximo del logo; */
    /* border-style: solid;
    border-color: aliceblue; */
}

.header__nav {
    display: none;
    /* Oculto inicialmente para móviles */
}


.header__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.header__nav li {
    margin: 0 10px;
}

.header__nav a {
    text-decoration: none;
    color: var(--colorLetters);
}

.header__hamburger {
    display: grid;
    height: 40%;
    padding: 10px;
}

.header__lang-selector select {
    padding: 5px;
    background-color: var(--back-ground-color);
    color: var(--colorLetters);
    /* border: 1px solid #ccc;
    border-radius: 5px; */
    position: fixed;
    top: 0;
    right: 5px;

    /* left: 300px; */
}

/* SECCION SIDEBAR */
.main__sidebar {
    position: absolute;
    /* grid-area: main; */
    top: 100px;
    right: 400px;
    /* Initially offscreen */
    width: 190px;
    height: 76vh;
    font-size: 100%;
    background-color: var(--back-ground-color);
    transition: right 1.5s ease;
    /* Smooth transition */
    z-index: 30;
    /* border-style: dotted;
    border-width: 1px;
    border-color: white;
    border-radius: 10%; */
}

.main__sidebar.show {
    right: 0;
    /* Slide in */
}

.sidebar__links {
    margin: 90px 0;
}

.sidebar__link {
    margin: 20px 0;
    color: var(--colorLetters);
    text-decoration: none;
}

.sidebar__list {
    list-style: none;
    padding: 0;
    margin: 20px;
    display: flex;
}

/* SECCION HERO */
.main__texts {
    display: none;
    grid-area: text;
    overflow: hidden;
    height: 20vh;
}

#text__events,
#text__performances,
#text__cinematography,
#text__costumes,
#text__about-us {
    grid-area: text;
    overflow: hidden;
}

#text__events {
    height: 40vh;
}

#text__performances {
    height: 44vh;
}

#text__cinematography {
    height: 45vh;
}

#text__costumes {
    height: 30vh;
}

#text__about-us {
    height: 70vh;
}

#text__about-us p {
    font-size: 70%;
}

#about-us {
    height: 4vh;
}


.main__hero {
    grid-area: main;
    border-left: 0;
    height: 74vh;
    overflow: hidden;
    background-image: url("../images/Hero.jpg");
    background-size: cover;
    background-position: left;
    padding: 0;
    /* background-repeat: repeat-y; */
    /* background-color: var(--back-ground-color); */
    /* background-position-y: 70px;    //muevo la imagen */
}

.hero__gallery {
    display: none;
}

/* SECCION CONTROLES */
.main__controls,
.main__controls2,
.main__controls3 {
    grid-area: main;
    /* color: whitesmoke;  */
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-direction: row;
    z-index: 5;
    width: 100%;
    height: 80px;
    align-items: center;
}


.main__controls__Child:first-child,
.main__controls2__Child:first-child,
.main__controls3__Child:first-child {
    background-color: var(--back-ground-color);
    z-index: 5;
    /* justify-self: flex-start; */
}

.main__controls__Child:last-child,
.main__controls2__Child:last-child,
.main__controls3__Child:last-child {
    background-color: var(--back-ground-color);
    z-index: 5;
    /* justify-self: flex-end; */
}


/* El contenedor general NO intercepta clics */
.main__controls3 {
    z-index: 5;
    pointer-events: none;
    /* Este no interfiere con el iframe */
}

/* Pero los íconos SÍ reciben clics */
.main__controls3__Child {
    pointer-events: auto;
    /* Este sí permite el clic */
    cursor: pointer;
}

.main__controls2,
.main__controls3 {
    display: none;
}

.main__arrows {
    height: 100%;
}

.hero__texts {
    display: flex;
    flex-direction: column;
    background-color: var(--back-ground-color);
    width: 100vw;
    height: 0vh;
    padding-top: 5px;
    justify-content: flex-start;
    text-align: center;
    text-wrap: wrap;
    font-size: 20px;
    /* background: rgba(255, 255, 255, 0); // Fondo semitransparente  */
    /* background: rgba(255, 255, 255, 0.2); // Fondo semitransparente  */

    /* backdrop-filter: blur(10px); // Desenfoque del fondo  */
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    /*
      position: relative;
    */
}

@keyframes beat {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(0.2, 0.2)
    }
}

.beat {
    animation: beat 0.5s ease-in-out;
    animation-iteration-count: 1;

}

/* SECCIONES EVENTS AND OTHERS */
.main__section {
    display: none;
    grid-area: main;
    border-left: 0;
    height: 75vh;

    /* background-image: url("../images/Hero.jpg"); */
    background-size: cover;
    background-position: top;
    background-repeat: repeat-y;
    z-index: 1;
}

#eventsVideoContainer,
#performancesVideoContainer,
#cinematographyVideoContainer,
#costumesVideoContainer {
    display: block;
    position: relative;
    background: var(--back-ground-color);
    /* Fondo semitransparente */
    /* backdrop-filter: blur(10px); */
    /* Desenfoque del fondo */
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0;
    width: 100vw;
    z-index: 10;
}

/* #cinematographyVideo,*/
#eventsVideo {
    display: block;
    margin: 0px 0;
    /* border-color: whitesmoke;
    border-radius: 10px;
    border-style: solid;
    border-width: 3px; */
}


#performancesVideo,
#costumesVideo {
    display: flex;
    margin: 0px 0;
    align-items: center;
    border-radius: 10px;
    width: 100vw;
    height: 40vh;
}

video {
    border-radius: 10px;
    width: 100vw;
    height: max-content;
}



#events,
#performances,
#cinematography,
#costumes {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

#events,
#cinematography {
    height: 45vh;
    /* Asegura que la sección ocupe toda la altura de la ventana */
}

#costumes {
    height: 55vh;
    /* Asegura que la sección ocupe toda la altura de la ventana */
}

#performances {
    height: 40vh;
    /* Asegura que la sección ocupe toda la altura de la ventana */
}

.frame {
    margin: 4vw;
    color: var(--colorLetters);
    /* border-color: black;
    border-radius: 10px; */
    /* border-style: solid; */
    /* border-width: 3px; */
    /*background: rgba(255, 255, 255, 0.2); */
    background: var(--back-ground-color);
    /* Fondo semitransparente */
    /* backdrop-filter: blur(10px); */
    /* Desenfoque del fondo */
}

.eventsVideo__gallery,
.performancesVideo__gallery,
.cinematographyVideo__gallery,
.costumesVideo__gallery {
    display: none;
}

/*  #cinematographyVideoItem, */
.cine__video-item {
    flex: 1 1 100%;
    max-width: 100%;
}

/* Contenedor del video de cinematography */
#cinematographyVideoItem {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: visible;
}

/* Iframe dentro del contenedor */
#cinematographyVideoItem iframe {
    position: relative;
    z-index: 20;
    width: 100%;
    height: auto;
    pointer-events: auto;
    /* Muy importante */
    display: block;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}


.cineVPLarge {
    display: none;
}

/* SECCION FOOTER */
footer {
    grid-area: footer;
    width: 100vw;
    height: 11vh;
    /* border: 1px solid #ccc;
    border-radius: 5px; */
    /* position: sticky; */
    overflow: hidden;
    text-align: center;
    padding: 5px 0;
    /* display: block; */
    /*position:fixed; */
    font-size: 75%;
    background-color: var(--back-ground-color);
}

.contact-info p {
    color: var(--colorLetters);
    font-size: 90%;
    justify-content: center;
    padding: 0;
}

.copywrite p {
    padding: 5px;
    font-size: 75%;
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/*                           RESPONSIVE                                                  */
/* Celulares pequeños */
/* @media (max-width: 480px) { ... }
/* Celulares medianos */
/* @media (max-width: 767px) { ... }
/* Tablets */
/* @media (min-width: 768px) and (max-width: 1024px) { ... }
/* Laptops */
/* @media (min-width: 1025px) and (max-width: 1440px) { ... }
/* Pantallas grandes */
/* @media (min-width: 1441px) { ... }
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* @media (min-width: xxx px) and (min-height: yyy px) { */
/* Estilos para viewports con ancho de al menos xxx px y altura al menos yyy px */

@media (min-width: 360px) and (min-height: 740px) {
    .main__sidebar {
        height: 74vh;

    }
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media (min-width: 390px) and (min-height: 667px) {
    .main__hero {
        height: 74vh;
    }

    .main__sidebar {
        top: 126px;
        right: 800px;
        width: 190px;
        height: 74vh;
    }
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media (min-width: 412px) and (min-height: 915px) {
    .main__sidebar {
        top: 100px;
        right: 800px;
        width: 190px;
        height: 78vh;
    }
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media (min-width: 414px) and (min-height: 896px) {
    .main__sidebar {
        top: 100px;
        right: 800px;
        width: 190px;
        height: 78vh;
    }
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media (min-width: 430px) and (min-height: 932px) {
    .main__hero {
        height: 74vh;
    }

    .main__sidebar {
        top: 138px;
        right: 800px;
        width: 190px;
        height: 74vh;
    }
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxx viewport-threshold =451 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media (min-width: var(--viewport-threshold)) {


    h2 {
        font-size: 1rem;
        padding-top: 0vh;
        /* Agrandar los títulos */
    }

    a {
        font-size: 0.7rem;
    }

    p {
        font-size: 1.2em;
        /* Agrandar los textos */
        padding: 15px;
    }

    .main__header {
        width: 100vw;
        height: 12vh;
    }

    .header__conteiner {
        width: 100vw;
        height: 10vh;
        padding: 0;
    }

    .header__nav {
        display: block;
        /* Mostrar navegación en escritorio */
        width: 75vw;
    }

    .header__hamburger {
        display: none;
    }

    .header__lang-selector select {
        font-size: 0.9em;
        /* Agrandar el selector de idioma */
    }

    select>option {
        font-size: 0.8rem;
    }

    .main__controls {
        display: none;
    }

    .main__controls2 {
        display: flex;
    }

    .main__sidebar {
        display: none;
    }

    /* SECCION HERO */
    .main__texts {
        height: 20vh;
    }

    #text__events,
    #text__performances {
        height: 30vh;
    }

    #text__cinematography {
        height: 30vh;
    }

    #text__costumes {
        height: 30vh;
    }

    #text__about-us {
        height: 70vh;
    }

    #text__about-us p {
        font-size: 80%;
    }

    #about-us {
        height: 9vh;
    }

    #events,
    #performances,
    #cinematography,
    #costumes {
        height: 78vh;
        /* Asegura que la sección ocupe toda la altura de la ventana */
    }

    .main__hero,
    .main__section {
        background-image: none;
        background-color: var(--back-ground-color);
        height: 48vh;
    }

    .hero__figureCB,
    .hero__figureCT,
    .hero__figureCL,
    .hero__figureCR,
    .hero__figure20,
    .hero__figure40,
    .hero__figure60,
    .hero__figure80 {
        width: 300px;
        overflow: hidden;
        margin: 0;
        /* opcional, para quitar margen */
    }

    .hero__figureCB img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
    }

    .hero__figureCT img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .hero__figureCL img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center left;
    }

    .hero__figureCR img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center right;
    }

    .hero__figureC20 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
    }

    .hero__figureC40 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 40%;
    }

    .hero__figureC60 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 60%;
    }

    .hero__figureC80 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 80%;
    }

    .hero__texts {
        height: 30vw;
        background-color: var(--back-ground-color);

    }

    #eventsVideoContainer,
    #performancesVideoContainer,
    #cinematographyVideoContainer,
    #costumesVideoContainer {
        display: none;
    }

    #eventsVideo__gallery,
    #performancesVideo__gallery,
    #costumesVideo__gallery {
        position: relative;
        background: rgba(255, 255, 255, 0.2);
        /* Fondo semitransparente */
        /* backdrop-filter: blur(10px); */
        /* Desenfoque del fondo */
        padding: 0px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        margin: 0;
        width: 100vw;
    }

    #cinematographyVideo__gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
    }

    #events2Video,
    #performances2Video,
    #cinematography2Video,
    #costumes2Video {
        display: block;
        margin: 0px 0;

    }

    video {
        border-radius: 10px;
        width: 100vw;
        height: max-content;
    }

    #cinematographyVideoItem,
    .cine__video-item {
        flex: 1 1 45%;
        max-width: 45%;
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 aspect ratio */
        height: 0;
    }

    #cinematographyVideoItem iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .cine__video-item iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .hero__gallery {
        display: flex;
        /* overflow: hidden; */
        /* Ocultar el contenido que no cabe en el contenedor */
        flex-direction: row;
        width: 100vw;
        height: 100vh;
        /* max-width: 1200px;
        max-width: 1200px; */
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        scroll-behavior: smooth;
        /* Añadir un comportamiento de desplazamiento suave */
    }

    .hero__gallery img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        /* para asegurar que el contenedor tenga una relación de aspecto específica */
        object-fit: cover;
        /* o "contain" si quieres que la imagen se ajuste dentro del contenedor sin recortarse */
        aspect-ratio: 4 / 3;
        /* Puedes ajustar esto según la proporción deseada */
    }

    .flex-item {
        flex-grow: 1;
        flex-shrink: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    figure {
        /* min-width: 100%; Mostrar una imagen a la vez */
        transition: transform 0.5s ease;
        /* Transición suave para el desplazamiento */
        height: 45vh;
        /* border-style: solid;
        border-color: #ccc;
        border-width: 5px; */
    }

    .main__controls2 img {
        cursor: pointer;
        width: 40px;
        height: 40px;
        opacity: 0.6;
        transition: opacity 0.3s;
    }


    .eventsVideo__gallery,
    .performancesVideo__gallery,
    .cinematographyVideo__gallery,
    .costumesVideo__gallery {
        display: flex;
        height: 100vh;
        justify-content: center;
        align-items: flex-start;
        margin-top: 10px;
        height: 10vh;
        gap: 20px;
    }

    .events2Video__gallery,
    .performances2Video__gallery,
    .cinematography2Video__gallery,
    .costumes2Video__gallery {
        display: flex;
        height: 100vh;
        justify-content: center;
        align-items: flex-start;
        margin-top: 40px;
        height: 10vh;
        gap: 10px;
    }

    video {
        /* width: 100%; */
        border-radius: 10px;
        /* border-style: solid;
        border-color: #ccc;
        border-width: 5px; */
        width: 40%;
        height: auto;
        /* height: auto; */
    }

    footer {
        height: 75px;
        font-size: 2rem;

    }

    .contact-info p {
        font-size: 2rem;
    }

    .copywrite p {
        font-size: 80%;
    }

}




/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media (min-width: 820px) {


    h2 {
        font-size: 1.5rem;
        padding-top: 1, 5vh;
    }

    p {
        font-size: 1em;
        padding: 10px;
    }


    .main__header {
        height: 22vh;
    }

    .header__nav {
        width: 70vw;
    }

    .header__nav ul {
        display: flex;
    }

    .header__nav li {
        margin: 0 10px;
        font-size: 0.6em;
    }

    .header__nav a {
        text-decoration: none;
        color: var(--colorLetters);
    }

    .header__links {
        align-items: flex-start;
    }

    .main__sidebar {
        top: 150px;
        right: 900px;
        width: 190px;
        height: 64vh;
    }

    /* SECCION HERO */
    .main__texts {
        height: 20vh;
        padding: 10px;
    }

    #text__events,
    #text__performances {
        height: 30vh;
    }

    #text__cinematography {
        height: 30vh;
    }

    #text__costumes {
        height: 30vh;
    }

    #text__about-us {
        height: 72vh;
    }

    #text__about-us p {
        font-size: 80%;
    }

    #about-us {
        height: 8vh;
    }

    #events,
    #performances,
    #cinematography,
    #costumes {
        height: 80vh;
    }

    .main__hero,
    .main__section {
        height: 60vh;
        width: 100vw;
    }

    .hero__texts {
        height: 40vh;
    }

    .hero__gallery {
        height: 10vh;
        margin-top: 40px;
    }

    .eventsVideo__gallery,
    .performancesVideo__gallery,
    .cinematographyVideo__gallery,
    .costumesVideo__gallery {
        margin-top: 0px;
        height: 30vh;
    }


    video {
        width: 40%;
        height: auto;
    }

    footer {
        height: 85px;
    }
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media (min-width: 1024px) {

    h2 {
        font-size: 2rem;
        padding-top: 0vh;
        /* Agrandar los títulos */
    }

    a {
        font-size: 1.5rem;
    }

    p {
        font-size: 1.5em;
        /* Agrandar los textos */
        padding: 15px;
    }

    .header__logo {
        margin-top: 80px;
    }

    .main__sidebar {
        display: none;
    }

    .header__hamburger {
        display: none;
    }

    .main__header {
        width: 100vw;
        height: 18vh;
    }

    .header__nav {
        display: block;
        /* Mostrar navegación en escritorio */
        width: 100vw;
    }

    .header__nav li {
        margin: 0 10px;
    }

    .header__nav a {
        text-decoration: solid;
        font-size: 2em;
    }

    .header__links {
        align-items: flex-start;
    }

    .header__lang-selector select {
        padding: 3px;
        right: 30px;

    }

    .header__lang-selector select {
        font-size: 1.5em;
        /* Agrandar el selector de idioma */
    }

    select>option {
        font-size: 0.8rem;
    }
    
    .main__controls2 img ,
    .main__controls3 img {
        cursor: pointer;
        width: 40px;
        height: 40px;
        opacity: 0.6;
        transition: opacity 0.3s;
    }


    .main__hero,
    .main__section {
        background-image: none;
        background-color: var(--back-ground-color);
        height: 74vh;
        width: 100vw;
    }

    .hero__texts {
        height: 30vh;
    }

    .hero__gallery {
        display: flex;
        /* overflow: hidden; */
        /* Ocultar el contenido que no cabe en el contenedor */
        flex-direction: row;
        width: 100vw;
        height: 100vh;
        /* max-width: 1200px; */
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        scroll-behavior: smooth;
        /* Añadir un comportamiento de desplazamiento suave */
    }

    .hero__gallery img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        /* para asegurar que el contenedor tenga una relación de aspecto específica */
        object-fit: cover;
        /* o "contain" si quieres que la imagen se ajuste dentro del contenedor sin recortarse */
        aspect-ratio: 4 / 3;
        /* Puedes ajustar esto según la proporción deseada */
        object-fit: cover;
        object-position: center left;
    }

    .flex-item {
        flex-grow: 1;
        flex-shrink: 1;
        max-width: 900px;
        margin: 0 auto;
    }

    .hero__figureCB,
    .hero__figureCT,
    .hero__figureCL,
    .hero__figureCR,
    .hero__figure20,
    .hero__figure40,
    .hero__figure60,
    .hero__figure80 {
        width: 100%;
        max-width: 900px;
        overflow: hidden;
        margin: 0;
        /* opcional, para quitar margen */
    }

    .hero__figureCB img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
    }

    .hero__figureCT img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .hero__figureCL img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center left;
    }

    .hero__figureCR img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center right;
    }

    .hero__figureC20 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
    }

    .hero__figureC40 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 40%;
    }

    .hero__figureC60 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 60%;
    }

    .hero__figureC80 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 80%;
    }


    .main__texts {
        height: 20vh;
    }

    #text__events,
    #text__performances {
        height: 25vh;
    }

    #text__cinematography {
        height: 25vh;
    }

    #text__costumes {
        height: 20vh;
    }

    #text__about-us {
        height: 50vh;
    }

    #text__about-us p {
        font-size: 2rem;
    }

    #about-us {
        height: 24vh;
    }

    #events,
    #performances,
    #cinematography,
    #costumes {
        height: 57vh;
        /* Asegura que la sección ocupe toda la altura de la ventana */
    }

    #eventsVideoContainer,
    #performancesVideoContainer,
    #cinematographyVideoContainer,
    #costumesVideoContainer {
        display: none;
    }


    #eventsVideo__gallery,
    #performancesVideo__gallery,
    #costumesVideo__gallery {
        position: relative;
        background: rgba(255, 255, 255, 0.2);
        /* Fondo semitransparente */
        /* backdrop-filter: blur(10px); */
        /* Desenfoque del fondo */
        padding: 0px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        margin: 0;
        width: 100vw;
    }

    .eventsVideo__gallery,
    .performancesVideo__gallery,
    .cinematographyVideo__gallery,
    .costumesVideo__gallery {
        display: flex;
        height: 100vh;
        justify-content: center;
        align-items: flex-start;
        margin-top: 10px;
        height: 10vh;
        gap: 20px;
    }

    .events2Video__gallery,
    .performances2Video__gallery,
    .cinematography2Video__gallery,
    .costumes2Video__gallery {
        display: flex;
        height: 100vh;
        justify-content: center;
        align-items: flex-start;
        margin-top: 40px;
        height: 10vh;
        gap: 10px;
    }

    video {
        border-radius: 10px;
        width: 100vw;
        height: max-content;
    }

    .cine__video-item iframe {
        margin:0;
        width: 100vw;
        height: 100vw;
        border: none;
    }

    footer {
        height: 10vw;
        font-size: 1rem;
    }

    .contact-info p {
        font-size: 1.2rem;
    }

    .copywrite p {
        font-size: 80%;
    }


}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media (min-width: 1278px) {

    a {
        font-size: large;
    }

    .header__nav {
        width: 80vw;
    }

    .header__nav li {
        margin: 0 30px;
        font-size: 3em;
    }

    .header__lang-selector select {
        font-size: 1em;
    }

    select>option {
        font-size: 0.9rem;
    }

    video {
        width: 19%;
    }
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media (min-width: 1478px) {

    /* Estilos para viewports con ancho de al menos 768px y altura mayor a 600px */

    p {
        font-size: 1.5em;
        /* Agrandar los textos */
        padding: 8px;
    }

    .main__header {
        height: 13vh;
    }

    .header__conteiner {
        height: 70vh;
    }

    .header__logo {
        max-width: 300px;
    }

    select>option {
        font-size: 0.8rem;
    }

    .frame {
        margin: 1vw;
    }

    figure {
        height: 55vh;
    }

    video {
        width: 20%;
    }

    footer {
        height: 10vh;
    }

    .contact-info p {
        font-size: 150%;
        padding: 1px;
    }

    .copywrite p {
        font-size: 100%;
    }

}