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

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

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


:root {
    --white: #FFFF;
    --blue-light: #0d82a8;
    --navy-blue: #021e4c;
    --yellow: #ffb400;
}

#presentacion, #sala1, #sala2, #sala3, #sala4, #creditos {
  padding-top: 70px !important;   /* Modifica este número según el alto de tu menú superior */
    margin-top: -70px !important;  /* Debe ser el mismo número que arriba pero en negativo */
    display: block;
}

/* barra de navegacion */
#mainNav {

    background-color: var(--navy-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(--yellow);
}

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

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

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


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

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

.button-facebook,
.button-twitter {
    color: var(--green-blue);
    font-family: "Fredoka-SemiBold", 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(--yellow);

}

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

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

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

.button-container span {
    background: var(--yellow);
    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(--yellow);
    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(--blue-light);
    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: "Goudysto", serif;
    color: var(--navy-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(--white);
}

.overlay ul li:hover {
    background-color: var(--yellow);
}


.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(--yellow);
    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;
}
a{
    cursor: pointer;
}
/**/
.bg-yellow {
    background-color: var(--yellow);
}

.bg-navy-blue {
    background-color: var(--navy-blue);
}

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

.white {
    color: #ffffff;
}

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

.yellow {
    color: var(--yellow);
}


strong {
    font-weight: bold;
}

.bg-sala1{
      background-image: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/madera.png");
      background-size: cover;
      background-repeat: repeat;
      background-attachment: fixed;
}

.bg-sala2{
      background-image: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/piedra.png");
      background-size: cover;
      background-repeat: repeat;
      background-attachment: fixed;
}
.bg-sala3{
      background-image: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/ladrillo.png");
      background-size: cover;
      background-repeat: repeat;
      background-attachment: fixed;
}
.bg-sala4{
      background-image: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/concreto.png");
      background-size: cover;
      background-repeat: repeat;
      background-attachment: fixed;
}
/**/
.portada-landing {
    background-image: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/landing-gif.gif");
    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;
}

.portada-landing-responsivo {
    background-image: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/landing-gif-responsivo.gif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: auto;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Goudysto";
    color: var(--navy-blue);
    
}
h2{
    margin-bottom: 0;
}

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

p.txt-recursos {
    font-weight: bold;
}

p.txt-recursos:hover {
    color: var(--blue-light);
}

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

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

.box-subtitle {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.circle-y {
    border-radius: 50%;
    background-color: var(--yellow);
    width: 2.5rem;
    height: 2.5rem;
}

.circle-b {
    border-radius: 50%;
    background-color: var(--navy-blue);
    width: 2.5rem;
    height: 2.5rem;
}

.subtitle {
    position: absolute;
}

span.modal-intro{
    background-color: #ffb400;
    cursor: pointer;
    font-weight: bold;
}
/***************************************/
h4.subtitle-container {
  display: block; 
  margin: 0; 
  font-family: "Goudysto", serif; 
  color: var(--navy-blue);
  /* font-size: clamp(1.5rem, 4vw, 3.5rem);  */
  line-height: 1.3; 
  text-wrap: balance; 
}

/*círculo amarillo */
.letra-circulo-y {
  background-color: var(--yellow);
  color: var(--navy-blue);
  width: 1.7em;
  height: 1.65em;
  border-radius: 50%;
  display: inline-flex;
  align-items: end;
  justify-content: end;
  vertical-align: middle; 
  margin-top: -0.1em; 
  margin-right: -0.15em; 
}

.letra-circulo-b {
 background-color: var(--navy-blue);
  color: var(--blue-light);
  width: 1.7em;
  height: 1.65em;
  border-radius: 50%;
  display: inline-flex;
  align-items: end;
  justify-content: end;
  vertical-align: middle; 
  margin-top: -0.1em; 
  margin-right: -0.15em; 
}



/*****************************/

.banner-collapse {
    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,
.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);
}

.border-blue {
    border-style: solid;
    border-width: 15px;
    border-image-source: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/borde-banner-blue.png");
    border-image-slice: 12% 1%;
    border-image-repeat: repeat;
}

.border-yellow {
    border-style: solid;
    border-width: 15px;
    border-image-source: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/borde-banner-yellow.png");
    border-image-slice: 12% 1%;
    border-image-repeat: repeat;
}

/* .border-recursos {
  border-style: solid;
  border-width: 8px;
  border-image-source: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/borde-recursos.png");
  border-image-slice: 18% 4%;
  border-image-repeat: repeat;
} */
.border-recursos {
    border-style: solid;
    border-width: 8px;
    border-image-source: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/border-recurso.svg");
    border-image-slice: 18% 4%;
    /* border-image-repeat: repeat; */
}

.paddings {
    padding: .5rem .8rem 0rem;
    margin-bottom: .6rem;
}

.border-2 {
    border: solid 4px #0a92ad;
    padding: .5rem .8rem 0rem;
}

.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;
} */



/** Flip card**/
.flip {
    position: relative;
}

.flip>.front,
.flip>.back {
    display: block;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-duration: 2s;
    transition-property: transform, opacity;
}

.flip>.front {
    transform: rotateY(0deg);
}

.flip>.back {
    position: absolute;
    opacity: 0;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transform: rotateY(-180deg);
}

.flip:hover>.front {
    transform: rotateY(180deg);
}

.flip:hover>.back {
    opacity: 1;
    transform: rotateY(0deg);
}

.flip.flip-vertical>.back {
    transform: rotateX(-180deg);
}

.flip.flip-vertical:hover>.front {
    transform: rotateX(180deg);
}

.flip.flip-vertical:hover>.back {
    transform: rotateX(0deg);
}

.flip {
    position: relative;
    display: inline-block;
    width: 100%;
}

.flip>.front,
.flip>.back {
    display: block;
    width: inherit;
    /* background-size: cover !important;
  background-position: center !important; */
    /* height:100%; */

}

/**termina flip card**/

.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;
}


.versalitas {
    font-variant: small-caps;

}

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



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

@media(max-width:320px) {

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

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

    /**/
    h2 {
        font-size: 1rem;
    }
 h4{
        font-size: .9rem;
    }
    p {
        font-size: 1.1rem;
    }

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

    .img-icono {
        max-width: 50px;
    }


}

@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%;
    }

    /**/
    h2 {
        font-size: 1rem;
    }
     h4{
        font-size: .9rem;
    }

    p {
        font-size: 1.1rem;
    }

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

    .img-icono {
        max-width: 50px;
    }

}

@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%;
    }

    /**/

    h2 {
        font-size: 1rem;
    }

    h4{
        font-size: .9rem;
    }
    p {
        font-size: 1.1rem;
    }


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

   .img-icono {
        max-width: 50px;
    }



}



@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%;
    }

    /**/

    h2 {
        font-size: 1rem;
    }
    h4{
        font-size: .9rem;
    }

    p {
        font-size: 1.1rem;
    }

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

  .img-icono {
        max-width: 50px;
    }

}


@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: 2rem;
    }

    p {
        font-size: 1.5rem;
    }

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

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

}