@font-face {
    font-family: "Astrud";
    src: url("/work/models/memorica/recursos/Type/Astrud.ttf");
}

@font-face {
    font-family: "Sansation-Regular";
    src: url("/work/models/memorica/recursos/Type/Sansation-Regular.ttf");
}

@font-face {
    font-family: "Sansation-Bold";
    src: url("/work/models/memorica/recursos/Type/Sansation-Bold.ttf");
}

@font-face {
    font-family: "Sansation-Italic";
    src: url("/work/models/memorica/recursos/Type/Sansation-Italic.ttf");
}

@font-face {
    font-family: "Sansation-BoldItalic";
    src: url("/work/models/memorica/recursos/Type/Sansation-BoldItalic.ttf");
}


:root {
    --blue: #242347;
    --beige-light: #FFF9E8;
    --green-blue: #435956;
    --green-gray: #839794;
    --golden: #D4B046;
    --red: #9C001C;
    --gray-light: #A5AFC7;
}


/* barra de navegacion */
#mainNav {

    background-color: var(--blue);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    opacity: .98;
    transition: background-color 0.2s ease;
    z-index: 100;
}

#mainNav .navbar-brand {
    color: var(--golden);
}

svg.btnShare>path,
svg.btnShare>rect {
    fill: var(--golden);
}

svg.btnShare:hover>path,
svg.btnShare>rect {
    fill: var(--golden);
    transition: .35s;
}

svg.btnDescarga:hover>path {
    fill: var(--golden);
    transition: .35s;
}


/* ----------------------- MENU ----------------------- */
.mini {
    width: 5.3%;
}

.modal-header h5 {
    color: var(--golden);
    font-family: "Astrud", sans-serif;
    font-size: 1.5rem;
}

.button-facebook,
.button-twitter {
    color: var(--green-blue);
    font-family: "Astrud", sans-serif;
    font-size: 1.3rem;
}

svg.button-facebook>path,
svg.button-twitter path {
    fill: var(--dark-green);
}

.button-container {
    position: relative;
    width: 35px;
    height: 27px;
    cursor: pointer;
    transition: opacity .25s ease;
    z-index: 1;
}

.button-container:hover span {
    /* opacity: .7; */
    background: var(--golden);

}

.button-container.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: var(--golden);
}

.button-container.active .middle {
    opacity: 0;
    background: var(--golden);
}

.button-container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: var(--golden);
}

.button-container span {
    background: var(--golden);
    border: none;
    height: 5px;
    width: 35px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}

.button-container span:nth-of-type(2) {
    top: 11px;
}

.button-container span:nth-of-type(3) {
    top: 22px;
}


/* LOADER */

#loader {
    z-index: 200;
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--beige-light);
    margin: 0;
}

.loader {
    color: #ffffff;
    font-size: 20px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.3s infinite linear;
    animation: load4 1.3s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

#loader h1 {
    color: #FFF;
}

/**/
.overlay {
  
    position: fixed;
    background-color: var(--golden);
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 50;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
    /* overflow-y: scroll; */
}

.overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: .5s;
}

.overlay.open li:nth-of-type(5) {
    animation-delay: .55s;
}

.overlay.open li:nth-of-type(6) {
    animation-delay: .6s;
}

.overlay.open li:nth-of-type(7) {
    animation-delay: .65s;
}

.overlay.open li:nth-of-type(8) {
    animation-delay: .7s;
}

.overlay nav {
    position: relative;
    height: 50%;
    top: 40%;
    transform: translateY(-50%);
    /* font-size: 50px;
    font-weight: 450; */
    text-align: center;
    margin: 0 auto;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: block;
    position: relative;
    height: 100%;
}

.overlay ul li {
    display: flex;
    /* height: 7%; */
    /* min-height: 50px; */
    position: relative;
    opacity: 0;
    justify-content: center;
    margin: .5rem;
}

.overlay ul li a {
    font-family: "Astrud", serif;
    color: var(--blue);
    font-size: 1.5rem;
    /* text-align: left; */
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    line-height: 1;
    padding: .5rem;
    transition: 1s;
    width: 100%;
}

.overlay ul li a:hover {
    color: var(--red);
}

.overlay ul li {
    border-top: 1px dotted var(--beige-light);
    border-left: 1px dotted var(--beige-light);
    border-right: 1px dotted var(--beige-light);
    border-radius: .5rem .5rem 0 0rem;
    border-width: 0.8rem;
}



.overlay ul li:last-child {
    border-bottom: 1px dotted var(--beige-light);
    border-radius: .5rem .5rem 0 0rem;
    border-width: 0.8rem;
}

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
    width: 100%;
}

.overlay-menu {
    z-index: 4;
}

a:hover {
    text-decoration: none;
}

.close {
    float: right;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    opacity: 1;
    border: 0;
    background: none;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}


a.btnMenu:hover,
a.btnMenu_activo {
    color: var(--white);
    transition: .35s;
}

a {
    text-decoration: none;
    color: var(--black);
}

a.share:focus {
    outline: none;
}

/**/
.green-gray {
    background-color: var(--green-gray);
}

.gray {
    background-color: var(--gray-light);
}

.bg-white {
    background-color: #ffffff;
}

.beige {
    color: var(--beige-light);
}

strong {
    font-weight: bold;
}

/**/
body {
    background-color: var(--beige-light);
}

.box-titulo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 60%; */
    z-index: 1;
}

.portada-landing {
    background-image: url("/work/models/memorica/recursos/exposiciones/musica_cine_exilio/img/teatro.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 5;
}

.portada-landing {
    /* position: absolute; */
    width: auto;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--blue);
}

.portada-landing video {
    width: 64vw;
    height: 56vh;
    object-fit: cover;
    overflow: hidden;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

/*efecto cine*/

#box-video {
    overflow: hidden;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 65vw;
    height: 58vh;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    filter: sepia(30%);
    border: solid 6px #222;
    /**/

}

#box-video:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: inset 0px 0px 150px 20px black;
    mix-blend-mode: multiply;
}

#pic {
    opacity: 0.7;
}

.pic {
    position: absolute;
}

.line {
    position: absolute;
    height: 100%;
    width: 1px;
    opacity: 0.1;
    background-color: #000;
}

/**/

:root {
    --trsn: all 0.5s ease 0s;
    --black: #000;
}


.film,
.effect {
    width: 100%;
    height: 100%;
    filter: blur(0.45px) drop-shadow(0px 0px 0px #fff1);
}

.film:after,
.effect:after {
    content: '';
    width: 120%;
    height: 100%;
    top: 0;
    left: 0;
    padding-left: 100px;
    opacity: 0.5;
    animation: film-scratch 0.45s steps(1) infinite;
    background: repeating-linear-gradient(90deg, #0002 0 2px, transparent 4px 37vmin);
    position: absolute;
}

.effect:after {
    left: 30%;
    animation: effect-scratch 2s infinite;
    position: absolute;
}

.grain {
    width: 100%;
    height: 100%;
}

.grain:after {
    content: '';
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    opacity: .25;
    background-image:
        repeating-conic-gradient(var(--black) 0%, transparent .00003%, transparent .0005%, transparent .00095%),
        repeating-conic-gradient(var(--black) 0%, transparent .00005%, transparent 0.00015%, transparent 0.0009%);
    animation: grain 0.5s steps(1) infinite;
    filter: drop-shadow(0px 0px 1px black);
    position: absolute;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-1%, -1%);
    }

    20% {
        transform: translate(1%, 1%);
    }

    30% {
        transform: translate(-2%, -2%);
    }

    40% {
        transform: translate(3%, 3%);
    }

    50% {
        transform: translate(-3%, -3%);
    }

    60% {
        transform: translate(4%, 4%);
    }

    70% {
        transform: translate(-4%, -4%);
    }

    80% {
        transform: translate(2%, 2%);
    }

    90% {
        transform: translate(-3%, -3%);
    }
}

@keyframes film-scratch {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.5;
    }

    10% {
        transform: translateX(-1%);
    }

    20% {
        transform: translateX(1%);
    }

    30% {
        transform: translateX(-2%);
        opacity: 0.75;
    }

    40% {
        transform: translateX(3%);
    }

    50% {
        transform: translateX(-3%);
        opacity: 0.5;
    }

    60% {
        transform: translateX(8%);
    }

    70% {
        transform: translateX(-3%);
    }

    80% {
        transform: translateX(10%);
        opacity: 0.25;
    }

    90% {
        transform: translateX(-2%);
    }
}

@keyframes effect-scratch {
    0% {
        transform: translateX(0);
        opacity: 0.75;
    }

    10% {
        transform: translateX(-1%);
    }

    20% {
        transform: translateX(1%);
    }

    30% {
        transform: translateX(-2%);
    }

    40% {
        transform: translateX(3%);
    }

    50% {
        transform: translateX(-3%);
        opacity: 0.5;
    }

    60% {
        transform: translateX(8%);
    }

    70% {
        transform: translateX(-3%);
    }

    80% {
        transform: translateX(10%);
        opacity: 0.25;
    }

    90% {
        transform: translateX(20%);
    }

    100% {
        transform: translateX(30%);
    }
}

/**/

h1 {
    font-family: "Astrud", serif;
    color: var(--blue);
}


p {
    font-family: "Sansation-Regular", sans-serif;
    color: var(--green-blue);
}

p.pie-foto {
    font-family: "Sansation-Regular", sans-serif;
    color: var(--green-blue);
    line-height: normal;
}

a.link-radio:hover{
font-weight: bold;
}

.pleca-foto {
    background-color: var(--green-blue);
    width: 80%;
    height: .6rem;
}

.bg-collapse {
    background-image: url("/work/models/memorica/recursos/exposiciones/musica_cine_exilio/img/fondo-banner.png");

}

p.vermas {
    color: var(--red);
    font-family: "Sansation-Bold", sans-serif;
}

.banner-collapse {
    border-bottom: solid 2px #435956;
}

.banner-collapse,
.banner-collapse-vermas {
    background-position: center;
    background-size: cover;
    transition: .5s ease-in-out 10ms;
    -webkit-transition: .5s ease-in-out 10ms;
    -moz-transition: .5s ease-in-out 10ms;
    -o-transition: .5s ease-in-out 10ms;
    cursor: pointer;

}

.banner-collapse {
    filter: drop-shadow(1px 4px 4px rgba(0, 0, 0, 0.5));

}

.banner-collapse:hover {
    transform: scale(1.02);
}


.btn-audio {
    animation: pulso 3s infinite;
    /*  Velocidad de la animación */
    cursor: pointer;
}

@keyframes pulso {
    0% {
        transform: scale(1);
        /*  Tamaño inicial */
    }

    50% {
        transform: scale(1.05);
        /*  Aumento de tamaño */
    }

    100% {
        transform: scale(1);
        /*  Regreso al tamaño inicial */
    }
}

.foto-hover {
    transition: all 0.4s;

}

.foto-hover:hover {
    filter: sepia(.25);
    transition: all 0.4s;

}


/* .efecto-hover:hover {
    transform: scale(1.020);
    -webkit-transform: scale(1.020);
    -moz-transform: scale(1.020);
    -ms-transform: scale(1.020);
    -o-transform: scale(1.020);
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    cursor: pointer;
}

.efecto-hover {
    transition: 1s;
} */

.efectoboton {
    transform: scale(1);
    transition: 300ms;
}

.efectoboton:hover {
    transform: scale(1.1);
    transition: 300ms;
}

:focus {
    outline: none;
}

a.input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

*:focus {
    outline: none;
}


a.link-biblio {
    color: var(--arena);
    font-weight: bold;
}

a.link-biblio:hover {
    text-decoration: underline;
}

a.link-recurso {
    color: var(--dark-green);
}

a.link-recurso:hover {
    color: white;
}

.versalitas {
    font-variant: small-caps;

}

.modal-uno {
    font-weight: bold;
    color: var(--red);
    cursor: pointer;
}

/*carrusel*/

.movie-carousel {
    max-width: 480px;
    margin: 10px auto;
    /* Reducimos margen superior */
    padding: 15px;
    border-radius: 8px;
}

.main-display {
    background: var(--green-gray);
    overflow: hidden;

}

/* NUEVO: Estilos para el enlace principal */
.main-link {
    display: block;
    width: 100%;
    /* height: 100%; */
    text-decoration: none;
    /* Quitar subrayado si lo hubiera */
    color: inherit;
    cursor: pointer;
    /* Asegurar que el fade afecte al enlace también si es necesario */
    transition: opacity 0.35s ease-in-out;
}


.current-img {
    width: 100%;
    /* aspect-ratio: 2/3; */
    object-fit: cover;
    transition: opacity 0.35s ease-in-out;
}

.caption {
    background-color: var(--green-gray);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    display: flex;
    align-items: center;
    margin-top: 15px;
    gap: 5px;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    padding: 5px 0;
}

/* Ocultar scrollbar */
.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnails {
    scrollbar-width: none;
}

.thumb {
    flex: 0 0 70px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    scroll-snap-align: center;
    border: 3px solid transparent;
}

.thumb.active {
    opacity: 1;
    border-color: var(--green-blue);
    transform: scale(1.05);
}

/*carusel*/
.nav-btn {
    background: none;
    border: none;
    font-size: 4rem;
    color: var(--green-gray);
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
}

/* Responsividad para móviles */
@media (max-width: 576px) {
    .nav-btn {
        display: none;
    }

    .movie-carousel {
        max-width: 100%;
    }
}



/*============media queries=====================*/

@media(max-width:991px) {

    .box-titulo {
        transform: translate(-50%, -50%);
        width: 85%;
    }

    .teatro-top {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
    }

    .teatro-top {
        background-image: url("/work/models/memorica/recursos/exposiciones/musica_cine_exilio/img/teatro-top_mb.png");
        background-position: top;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 5;
    }

    .teatro-bottom {
        background-image: url("/work/models/memorica/recursos/exposiciones/musica_cine_exilio/img/teatro-bottom_mb.png");
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 5;
    }

    .portada-landing video {
        width: 90vw;
    }

    #box-video {
        width: 90vw;
    }
}


@media(max-width:320px) {
    /* .overlay ul li {
        height: auto;
    }

    .overlay ul li a {
        padding: .65rem 1rem;
        font-size: 1rem;
    }

    */

    /**/
    .iconos-salas {
        max-width: 80px;
    }

    h1 {
        font-size: 2.8rem;
    }

    p {
        font-size: 1.1rem;
    }

    p.pie-foto {
        font-size: .9rem;
    }

 p.vermas {
        font-size: 1.6rem;
    }

}

@media (min-width:320.98px) and (max-width: 576.98px) {

    /*    
    .overlay ul li {
        height: auto;
    }

    .overlay ul li a {
        padding: .65rem 1rem;
        font-size: 1rem;
    } */

    nav.overlay-menu {
        width: 90%;
    }

    /**/
    .iconos-salas {
        max-width: 80px;
    }


    h1 {
        font-size: 2.8rem;
    }

    p {
        font-size: 1.1rem;
    }


    p.pie-foto {
        font-size: .9rem;
    }
     p.vermas {
        font-size: 1.6rem;
    }


}

@media (min-width: 577px) and (max-width: 767.98px) {

    /* .overlay ul li a {
        font-size: 1.3rem;
        padding: 1rem;
    }

    .overlay ul {
        margin: 0 1rem;
    }

    .overlay ul li {
        height: auto;
    }

     */


    nav.overlay-menu {
        width: 90%;
    }

    /**/

    h1 {
        font-size: 3rem;
    }

    p {
        font-size: 1.1rem;
    }



    p.pie-foto {
        font-size: .9rem;
    }

 p.vermas {
        font-size: 1.6rem;
    }


}



@media (min-width: 768px) and (max-width: 992.98px) {

    /* .overlay ul li a {
        font-size: 1.5rem;
        padding: 1rem;
    }

    .overlay ul {
        margin: 0 1rem;
    }

    .overlay ul li:hover {
        width: 100%;

    }

    .overlay-menu {
        margin: 0rem 2.5rem;
    } */
    nav.overlay-menu {
        width: 80%;
    }

    /**/

    h1 {
        font-size: 3.6rem;
    }

    p {
        font-size: 1.1rem;
    }



    p.pie-foto {
        font-size: .9rem;
    }
     p.vermas {
        font-size: 1.6rem;
    }

}


@media (min-width: 993px) and (max-width:1199.98px) {

    /* .overlay ul li a {
        font-size: 1.5rem;
        padding: 1rem;
    }

    .overlay-menu {
        margin: 0rem 6rem;
    }

    .overlay ul li:hover {
        width: 100%;

    } */

    nav.overlay-menu {
        width: 80%;
    }

    /**/
    h1 {
        font-size: 3.8rem;
    }

    p {
        font-size: 1.1rem;
    }


    p.pie-foto {
        font-size: .9rem;
    }
     p.vermas {
        font-size: 1.6rem;
    }
}



@media (min-width: 1200px) and (max-width:1919px) {

    /* .overlay ul li a {
        font-size: 1.8rem;
        padding: 1rem;
    }

    .page-section {
        padding: 1.5rem 0;
    }

    .overlay ul li:hover {
        width: 100%;

    }

    .overlay-menu {
        margin: 0rem 8rem;
    } */
    nav.overlay-menu {
        width: 60%;
    }

    /**/
    h1 {
        font-size: 3.8rem;
    }

    p {
        font-size: 1.1rem;
    }

    p.pie-foto {
        font-size: .9rem;
    }
    p.vermas {
        font-size: 1.6rem;
    }
}


@media (min-width: 1920px) {
    .overlay ul li a {
        font-size: 2rem;
        padding: 1.5rem;
    }

    nav.overlay-menu {
        width: 45%;
    }


    h1 {
        font-size: 4rem;
    }

    p {
        font-size: 1.5rem;
    }

    p.pie-foto {
        font-size: 1.2rem;
    }

    p.vermas {
        font-size: 1.8rem;
    }

}