@import url('https://fonts.googleapis.com/css2?family=Arsenal+SC:ital,wght@0,400;0,700;1,400;1,700&family=Fredoka:wght@300..700&display=swap');

/* Resetear estilos y aplicar fuentes */
body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    overflow-x: hidden;
    /* Evitar el desplazamiento horizontal */
}

/* Fondo de pantalla global */
body {
    background: url(images/fondo.jpg.jpeg) no-repeat center center fixed;
    background-size: cover;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    body {
        background: none;
        /* Eliminar el fondo del body en dispositivos móviles */
    }

    .background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(images/fondo.jpg.jpeg) no-repeat center center;
        background-size: cover;
        z-index: -1;
        /* Enviar el fondo detrás de otros elementos */
    }

    .content {
        position: relative;
        z-index: 1;
        /* Elevar el contenido por encima del fondo */
        width: 100%;
        height: 100%;
        overflow: auto;
        /* Permitir el scroll del contenido */
    }
}

/* Estilo general del contenedor principal */
#pagina-tromboncito .main-content {
    max-width: 1500px;
    /*alcance de la barra menu*/
    padding: 0px;
    /*puro aagrandar xd*/
    text-align: center;
}

/* Estilo del encabezado y navegación */
nav {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background-color: rgba(43, 50, 92, 0.874);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 60px;
    padding: 1px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Estilo de las imágenes en la navegación */
nav img {
    cursor: pointer;
    border-radius: 20px;
}

nav img:hover {
    transform: scale(1.06);
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Estilo de los enlaces en la navegación */
nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 23px;
    margin: 0 50px;
    transition: color 0.1s ease, transform 0.1s ease;
}

nav a:hover {
    text-shadow: 3px 3px 6px black;
    transform: scale(1.06);
}

/* Ajustes del body y html */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}

/* Ajusta el contenido principal para evitar superposición */
body {
    padding-top: 130px;
    overflow-x: hidden;
}

/* Estilo para dispositivos móviles */
/* En pantallas grandes, el nav será fijo */
@media (min-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        left: 0;
    }

    /* Ajusta el contenido principal para evitar superposición en pantallas grandes */
    body {
        padding-top: 130px;
        overflow: auto;
    }
}

/* En pantallas pequeñas (dispositivos móviles), el nav NO será fijo */
@media (max-width: 767px) {
    nav {
        position: relative;
    }

    body {
        padding-top: 0;
    }
}

/* Ajustes adicionales para pantallas muy pequeñas (máximo 600px) */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
    }

    nav a {
        margin: 10px 0;
    }
}

/* Estilo del contenedor de los SVG */
.svg-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Centra los elementos horizontalmente */
    align-items: center;
    /* Centra los elementos verticalmente */
    margin-top: -10px;
    /* Ajusta el margen superior según sea necesario */
    margin-bottom: 60px;
}

.svg-container img {
    margin-left: 25px;
    /* Añade un margen entre las imágenes si es necesario */
    border-radius: 0px;
    /* Bordes redondeados */
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    /* Transición suave */
}

.svg-container img:hover {
    transform: scale(1.2);
    /* Efecto de escala al pasar el mouse */
    cursor: pointer;
}

.responsive-img {
    width: 100%;
    max-width: 80px;
    height: auto;
}

@media (max-width: 768px) {
    .responsive-img {
        max-width: 60px;
    }
}

@media (max-width: 480px) {
    .responsive-img {
        max-width: 50px;
    }
}

/*fotoooss*/
.swiper {
    width: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 100%;
    /* Cambiado de 400px a 100% para ser más responsivo */
    max-width: 400px;
    /* Máximo ancho en pantallas grandes */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* Mantiene la proporción cuadrada */
    overflow: hidden;
    border: 0px solid #000;
    box-sizing: border-box;
    margin: 5px;
    /* Reducido el margen para dispositivos más pequeños */
}

.image-container img {
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    display: block;
    background-color: #d4d0d096;
}

/* Media queries para ajustes responsivos */
@media screen and (max-width: 768px) {
    .swiper-slide {
        max-width: 300px;
        /* Reduce el tamaño máximo en tablets */
    }

    .image-container {
        margin: 3px;
        /* Reduce aún más el margen */
    }
}

@media screen and (max-width: 480px) {
    .swiper-slide {
        max-width: 250px;
        /* Reduce el tamaño máximo en móviles */
    }

    .image-container {
        margin: 2px;
        /* Margen mínimo en dispositivos muy pequeños */
    }

    .image-container img {
        border-radius: 5px;
        /* Reduce el radio del borde para pantallas pequeñas */
    }
}

/* Estilo del título CONOCE MAS*/
h1 {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;



    text-align: center;
    margin-bottom: 70px;
    font-size: 2.5em;
    color: #ffffffec;
    cursor: pointer;
    background-color: rgba(43, 50, 92, 0.842);

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Agrega una sombra al texto */
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
        /* Ajusta el tamaño de la fuente para pantallas más pequeñas */
        margin-bottom: 50px;
        /* Ajusta el margen inferior */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
        /* Ajusta el tamaño de la fuente para pantallas aún más pequeñas */
        margin-bottom: 30px;
        /* Ajusta el margen inferior */
    }
}

/* Estilo de cada elemento de información adicional */
.infoadicional {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animación para las imágenes */
.infoadicional:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(247, 246, 246, 0.89);
}

/* Estilo de las barras de imágenes */
.barra img {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animación para las imágenes al pasar el mouse */
.barra img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Estilo de los pies de foto */
.pie p {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;

    text-align: center;
    margin-top: 10px;

    color: #ffffff;
    cursor: pointer;
    background-color: #00000080;

}

/* Estilo del pie de página opcional */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 2px solid #fff;
    /* Borde superior */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    /* Sombra para darle un efecto elevado */
}

footer p {
    margin: 0;
    font-weight: bold;
}

/* Consultas de medios para dispositivos móviles */
@media (max-width: 768px) {

    /* Ajustes para pantallas más pequeñas */
    .infoadicional {
        flex-direction: column;
        align-items: center;
        transform: none;
    }

    .barra img {
        width: 100%;
        /* Ajustar el ancho de las imágenes */
        border-radius: 5px;
        /* Ajustar el radio de borde */
    }

    .pie p {
        font-size: 14px;
        /* Reducir el tamaño de la fuente */
        margin-top: 5px;
        /* Reducir el margen superior */
    }

    footer {
        padding: 5px;
        /* Reducir el padding del pie de página */
    }

    footer p {
        font-size: 12px;
        /* Reducir el tamaño de la fuente */
    }
}

@media (max-width: 480px) {

    /* Ajustes adicionales para pantallas muy pequeñas */
    .pie p {
        font-size: 12px;
        /* Reducir aún más el tamaño de la fuente */
    }

    footer {
        padding: 3px;
        /* Reducir aún más el padding del pie de página */
    }

    footer p {
        font-size: 10px;
        /* Reducir aún más el tamaño de la fuente */
    }
}


/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*HISOTIRAAAAAAA*/
.cuerpo1 {
    background: url(images/music.jpg) no-repeat center center fixed;
    background-size: cover;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .cuerpo1 {
        background: none;
        /* Eliminar el fondo del body en dispositivos móviles */
    }

    .background1 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(images/music.jpg) no-repeat center center;
        background-size: cover;
        z-index: -1;
        /* Enviar el fondo detrás de otros elementos */
    }

    .content1 {
        position: relative;
        z-index: 1;
        /* Elevar el contenido por encima del fondo */
        width: 100%;
        height: 100%;
        overflow: auto;
        /* Permitir el scroll del contenido */
    }
}




.titulohistoria {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;

    text-align: center;
    margin-bottom: 70px;
    font-size: 2.5em;
    color: #ffffffec;
    cursor: pointer;
    background-color: rgba(43, 50, 92, 0.452);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Agrega una sombra al texto */
}

.contenedorhistoria {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    flex-direction: column;
    /* Apila los contenedores verticalmente */
}


/*hisotoria1*/
/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
.piedepaginahistoria {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;



    background-color: rgba(255, 255, 255, 0.8);
    /* Fondo blanco semi-transparente */
    padding: 20px;
    border-radius: 10px;
    /* Bordes redondeados opcionales */
    max-width: 800px;
    text-align: justify;
    /* Justificar el texto */
    color: #111111;
    /* Cambiar el color del texto a gris oscuro */
    line-height: 1.6;
    /* Espaciado entre líneas */
    font-size: 20px;
    /* Tamaño de fuente */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra opcional */
    margin: 0 auto;
    /* Centra el contenedor horizontalmente */
}

/* Para tabletas */
@media screen and (max-width: 768px) {
    .piedepaginahistoria {
        max-width: 90%;
        padding: 15px;
        font-size: 14px;
    }
}

/* Para smartphones */
@media screen and (max-width: 480px) {
    .piedepaginahistoria {
        max-width: 95%;
        padding: 10px;
        font-size: 13px;
        text-align: left;
        /* Cambiar a alineación izquierda en pantallas muy pequeñas */
    }
}

.slider-container2\.0 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider2\.0 {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-imagen {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/* Estilos para pantallas grandes (por defecto) */
.piedepaginahistoria2 {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;

    background-color: rgba(255, 255, 255, 0.8);
    /* Fondo blanco semi-transparente */
    padding: 20px;
    border-radius: 10px;
    /* Bordes redondeados opcionales */
    max-width: 800px;
    text-align: justify;
    /* Justificar el texto */
    color: #111111;
    /* Cambiar el color del texto a gris oscuro */
    line-height: 1.6;
    /* Espaciado entre líneas */
    font-size: 20px;
    /* Tamaño de fuente */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra opcional */
    margin: 0 auto;
    /* Centra el contenedor horizontalmente */
}

/* Para tabletas */
@media screen and (max-width: 768px) {
    .piedepaginahistoria2 {
        max-width: 90%;
        padding: 15px;
        font-size: 14px;
    }
}

/* Para smartphones */
@media screen and (max-width: 480px) {
    .piedepaginahistoria2 {
        max-width: 95%;
        padding: 10px;
        font-size: 13px;
        text-align: left;
        /* Cambiar a alineación izquierda en pantallas muy pequeñas */
    }
}


.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100vw;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.slider {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(99, 105, 101, 0);
}

.slider img {
    background-color: rgba(116, 107, 107, 0.493);
    /* Fondo blanco semi-transparente */
    border-radius: 28px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.caption {
    position: absolute;
    border-radius: 100px;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 8px;
    margin: 0;
    font-size: calc(0.8em + 1vw);
    color: #ffffffec;
    cursor: pointer;
    background-color: #000000c4;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    /* Añade una transición suave */
}

.caption:hover {
    box-shadow: inset 0 0 0 3px #ffffffbb;
    /* Crea un borde interno blanco */
    background-color: #000000;
    /* Oscurece un poco el fondo al pasar el mouse */
    color: #ffffff;
    /* Hace el texto completamente blanco */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.336);
    /* Aumenta la sombra del texto */
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(179, 179, 179, 0);
    color: white;
    border: none;
    padding: calc(5px + 0.5vw);
    border-radius: 10px;
    cursor: pointer;
    font-size: calc(12px + 0.5vw);
    z-index: 1;
    transition: transform 0.3s, background-color 0.3s;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    transform: translateY(-50%) scale(1.2);
    background-color: #00000000;

}

@media (max-width: 600px) {
    .caption {
        font-size: calc(0.7em + 1vw);
    }

    .prev,
    .next {
        padding: calc(3px + 0.5vw);
        font-size: calc(10px + 0.5vw);
    }
}

/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
.piedepaginahistoria3 {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;



    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    text-align: justify;
    color: #111111;
    line-height: 1.6;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

/* Para tabletas */
@media screen and (max-width: 768px) {
    .piedepaginahistoria3 {
        max-width: 90%;
        padding: 15px;
        font-size: 14px;
    }
}

/* Para smartphones */
@media screen and (max-width: 480px) {
    .piedepaginahistoria3 {
        max-width: 95%;
        padding: 10px;
        font-size: 13px;
        text-align: left;
        /* Cambiar a alineación izquierda en pantallas muy pequeñas */
    }
}

.slider-container3 {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100vw;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.slider3 {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(99, 105, 101, 0);
}

.slider3 img {
    background-color: rgba(116, 107, 107, 0.493);
    /* Fondo blanco semi-transparente */
    border-radius: 28px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.caption3 {
    position: absolute;
    border-radius: 100px;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 8px;
    margin: 0;
    font-size: calc(0.8em + 1vw);
    color: #ffffffec;
    cursor: pointer;
    background-color: #000000c4;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    /* Añade una transición suave */
}

.caption3:hover {
    box-shadow: inset 0 0 0 3px #ffffffbb;
    /* Crea un borde interno blanco */
    background-color: #000000;
    /* Oscurece un poco el fondo al pasar el mouse */
    color: #ffffff;
    /* Hace el texto completamente blanco */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.336);
    /* Aumenta la sombra del texto */
}

.prev3,
.next3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(179, 179, 179, 0);
    color: white;
    border: none;
    padding: calc(5px + 0.5vw);
    border-radius: 10px;
    cursor: pointer;
    font-size: calc(12px + 0.5vw);
    z-index: 1;
    transition: transform 0.3s, background-color 0.3s;
}

.prev3 {
    left: 10px;
}

.next3 {
    right: 10px;
}

.prev3:hover,
.next3:hover {
    transform: translateY(-50%) scale(1.2);
    background-color: #00000000;
}

@media (max-width: 600px) {
    .caption3 {
        font-size: calc(0.7em + 1vw);
    }

    .prev3,
    .next3 {
        padding: calc(3px + 0.5vw);
        font-size: calc(10px + 0.5vw);
    }
}

/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
.piedepaginahistoria4 {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;





    background-color: rgba(255, 255, 255, 0.8);
    /* Fondo blanco semi-transparente */
    padding: 20px;
    border-radius: 10px;
    /* Bordes redondeados opcionales */
    max-width: 800px;
    text-align: justify;
    /* Justificar el texto */
    color: #111111;
    /* Cambiar el color del texto a gris oscuro */
    line-height: 1.6;
    /* Espaciado entre líneas */
    font-size: 20px;
    /* Tamaño de fuente */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra opcional */
    margin: 0 auto;
    /* Centra el contenedor horizontalmente */
}

/* Para tabletas */
@media screen and (max-width: 768px) {
    .piedepaginahistoria4 {
        max-width: 90%;
        padding: 15px;
        font-size: 14px;
    }
}

/* Para smartphones */
@media screen and (max-width: 480px) {
    .piedepaginahistoria4 {
        max-width: 95%;
        padding: 10px;
        font-size: 13px;
        text-align: left;
        /* Cambiar a alineación izquierda en pantallas muy pequeñas */
    }
}

.slider-container4 {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100vw;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.slider4 {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(99, 105, 101, 0);
}

.slider4 img {
    background-color: rgba(116, 107, 107, 0.493);
    /* Fondo blanco semi-transparente */
    border-radius: 28px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.caption4 {
    position: absolute;
    border-radius: 100px;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 8px;
    margin: 0;
    font-size: calc(0.8em + 1vw);
    color: #ffffffec;
    cursor: pointer;
    background-color: #000000c4;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    /* Añade una transición suave */
}

.caption4:hover {
    box-shadow: inset 0 0 0 3px #ffffffbb;
    /* Crea un borde interno blanco */
    background-color: #000000;
    /* Oscurece un poco el fondo al pasar el mouse */
    color: #ffffff;
    /* Hace el texto completamente blanco */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.336);
    /* Aumenta la sombra del texto */
}

.prev4,
.next4 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(179, 179, 179, 0);
    color: white;
    border: none;
    padding: calc(5px + 0.5vw);
    border-radius: 10px;
    cursor: pointer;
    font-size: calc(12px + 0.5vw);
    z-index: 1;
    transition: transform 0.3s, background-color 0.3s;
}

.prev4 {
    left: 10px;
}

.next4 {
    right: 10px;
}

.prev4:hover,
.next4:hover {
    transform: translateY(-50%) scale(1.2);
    background-color: #00000000;
}

@media (max-width: 600px) {
    .caption4 {
        font-size: calc(0.7em + 1vw);
    }

    .prev4,
    .next4 {
        padding: calc(3px + 0.5vw);
        font-size: calc(10px + 0.5vw);
    }
}

/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
.piedepaginahistoria5 {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;





    background-color: rgba(255, 255, 255, 0.8);
    /* Fondo blanco semi-transparente */
    padding: 20px;
    border-radius: 10px;
    /* Bordes redondeados opcionales */
    max-width: 800px;
    text-align: justify;
    /* Justificar el texto */
    color: #111111;
    /* Cambiar el color del texto a gris oscuro */
    line-height: 1.6;
    /* Espaciado entre líneas */
    font-size: 20px;
    /* Tamaño de fuente */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra opcional */
    margin: 0 auto;
    /* Centra el contenedor horizontalmente */
}

/* Para tabletas */
@media screen and (max-width: 768px) {
    .piedepaginahistoria5 {
        max-width: 90%;
        padding: 15px;
        font-size: 14px;
    }
}

/* Para smartphones */
@media screen and (max-width: 480px) {
    .piedepaginahistoria5 {
        max-width: 95%;
        padding: 10px;
        font-size: 13px;
        text-align: left;
        /* Cambiar a alineación izquierda en pantallas muy pequeñas */
    }
}

.slider-container5 {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100vw;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.slider5 {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(99, 105, 101, 0);
}

.slider5 img {
    background-color: rgba(116, 107, 107, 0.493);
    /* Fondo blanco semi-transparente */
    border-radius: 28px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.caption5 {
    position: absolute;
    border-radius: 100px;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 8px;
    margin: 0;
    font-size: calc(0.8em + 1vw);
    color: #ffffffec;
    cursor: pointer;
    background-color: #000000c4;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    /* Añade una transición suave */
}

.caption5:hover {
    box-shadow: inset 0 0 0 3px #ffffffbb;
    /* Crea un borde interno blanco */
    background-color: #000000;
    /* Oscurece un poco el fondo al pasar el mouse */
    color: #ffffff;
    /* Hace el texto completamente blanco */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.336);
    /* Aumenta la sombra del texto */
}

.prev5,
.next5 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(179, 179, 179, 0);
    color: white;
    border: none;
    padding: calc(5px + 0.5vw);
    border-radius: 10px;
    cursor: pointer;
    font-size: calc(12px + 0.5vw);
    z-index: 1;
    transition: transform 0.3s, background-color 0.3s;
}

.prev5 {
    left: 10px;
}

.next5 {
    right: 10px;
}

.prev5:hover,
.next5:hover {
    transform: translateY(-50%) scale(1.2);
    background-color: #00000000;
}

@media (max-width: 600px) {
    .caption5 {
        font-size: calc(0.7em + 1vw);
    }

    .prev5,
    .next5 {
        padding: calc(3px + 0.5vw);
        font-size: calc(10px + 0.5vw);
    }
}

/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------*/
/*EVENTOS*/
.cuerpo3 {
    background: url(images/fondoeventos.jpg) no-repeat center center fixed;
    background-size: cover;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .cuerpo3 {
        background: none;
        /* Eliminar el fondo del body en dispositivos móviles */
    }

    .background3 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(images/fondoeventos.jpg) no-repeat center center;
        background-size: cover;
        z-index: -1;
        /* Enviar el fondo detrás de otros elementos */
    }

    .content {
        position: relative;
        z-index: 1;
        /* Elevar el contenido por encima del fondo */
        width: 100%;
        height: 100%;
        overflow: auto;
        /* Permitir el scroll del contenido */
    }
}

.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Usa toda la altura de la ventana */
    max-height: 1000px;
    /* Máximo de 800px en pantallas grandes */
    position: relative;
    background-color: #ffffff34;
    overflow: hidden;
    /* Previene desbordamiento */
}

.gallery-image {
    border-radius: 10px;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(50px);
    object-fit: contain;
    /* Mantiene la proporción de la imagen */
}

.gallery-image.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.gallery-image.fade-in {
    animation: fadeInMove 0.5s ease-in-out;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 40.15px;
    /* Reducido para dispositivos móviles */
    cursor: pointer;
    font-size: 18px;
    /* Tamaño de fuente más pequeño */
    z-index: 10;
    /* Asegura que los botones estén sobre las imágenes */
}

.gallery-btn.prev {
    left: 20px;
}

.gallery-btn.next {
    right: 20px;
}

@keyframes fadeInMove {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Media queries para ajustes responsivos */
@media screen and (max-width: 768px) {
    .gallery-container {
        height: 50vh;
        /* Reduce la altura en tablets */
    }

    .gallery-btn {
        padding: 10px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-container {
        height: 71vh;
        /* Reduce aún más la altura en móviles */
    }

    .gallery-btn {
        padding: 8px;
        font-size: 14px;
    }

    .gallery-image {
        transform: translateX(20px);
        /* Reduce la distancia de la animación */
    }

    @keyframes fadeInMove {
        from {
            transform: translateX(20px);
        }

        to {
            transform: translateX(0);
        }
    }
}


/*PRESENTACIONESSS*/
.cuerpo4 {
    background: url(images/fondopresentaciones.jpeg) no-repeat center center fixed;
    background-size: cover;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .cuerpo4 {
        background: none;
        /* Eliminar el fondo del body en dispositivos móviles */
    }

    .background4 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(images/fondopresentaciones.jpeg) no-repeat center center;
        background-size: cover;
        z-index: -1;
        /* Enviar el fondo detrás de otros elementos */
    }

    .content {
        position: relative;
        z-index: 1;
        /* Elevar el contenido por encima del fondo */
        width: 100%;
        height: 100%;
        overflow: auto;
        /* Permitir el scroll del contenido */
    }
}

/* Contenedor de videos */
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    background-color: rgba(43, 50, 92, 0.842);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1.2em;
    margin-bottom: px;
    color: rgba(255, 255, 255, 0.884);
    border-radius: 10px;

    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;



}

.video-description {
    font-size: 1em;
    margin-bottom: px;
    color: rgb(255, 255, 255);
    border-radius: 10px;

    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos responsivos */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav a {
        margin-top: 10px;
    }

    .titulohistoria {
        font-size: 2em;
    }
}

.video-wrapper {
    position: relative;
}

.video-wrapper video {
    width: 100%;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/*|||||||||||||||||| LUGARES ||||||||||||||||||||||||*/

.cuerpo5 {
    background: url(images/background_place.webp) no-repeat center center fixed;
    background-size: cover;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .cuerpo5 {
        background: none;
    }

    .background5 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(images/background_place.webp) no-repeat center center;
        background-size: cover;
        z-index: -1;
    }

    .content {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        overflow: auto;
    }
}

/* Contenedor de los cuadros */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #2b325c;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.card-info {
    padding: 20px;
    color: white;
}

.card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: "Fredoka", sans-serif;
}

.card-description {
    font-size: 1em;
    font-weight: 400;
    font-family: "Fredoka", sans-serif;
}

/* Estilos para la modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.modal-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    padding: 20px;
    max-width: 600px;
    width: 80%;
    text-align: center;
    font-size: 1.5em;
    font-family: "Fredoka", sans-serif;
    color: #000000;
    max-height: 80vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Personalización del scrollbar */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f100;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-item img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.image-description {
    font-size: 1em;
    color: #eeeeee;
    text-shadow:
        -2px -2px 0 #000,
        /* Sombra arriba izquierda */
        2px -2px 0 #000,
        /* Sombra arriba derecha */
        -2px 2px 0 #000,
        /* Sombra abajo izquierda */
        2px 2px 0 #000;
    /* Sombra abajo derecha */
    margin-top: 10px;
}

/* Botón de cerrar */
.close {
    position: absolute;
    color: #ffffff;
    top: 10px;
    right: 20px;
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: rgb(255, 2, 2);
    text-decoration: none;
    cursor: pointer;
}