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

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

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

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

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

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

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



:root {
    --black: #211d21;
    --white: #FFFFFF;
    --yellow: #fccf4e;
    --marine: #144c8c;
    --pink-strong: #ca297b;
    --dark-blue: #08003e;
    --orange: #ff7d31;
    --green: #007272;
    --blue-gray: #607ca4;
    --pink: #f4daef;
}

/* barra de navegacion */
#mainNav {
    background-color: var(--pink-strong);
    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: "EBGaramond-SemiBold", serif;
    font-size: 1.5rem;
}

.button-facebook,
.button-twitter {
    color: var(--pink-strong);
    font-family: "EBGaramond-SemiBold", sans-serif;
    font-size: 1.3rem;
}

.button-facebook:hover,
.button-twitter:hover {
    color: var(--yellow);
}

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

.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: 5;
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--pink);
    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 {
    z-index: 10;
    position: fixed;
    background: var(--pink-strong);
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 2;
}

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

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

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

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

.overlay ul li a:hover::after,
.overlay ul li a:hover::before {
    content: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/ornamento_menu.png");
    margin-left: .5rem;
    margin-right: .5rem;
    transition: .5s;
}


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

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

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: .20s;
}

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

a.share:focus {
    outline: none;
}


/*colores background*/
.yellow {
    background-color: var(--yellow);
}

.yellow-transp {
    background-color: rgba(252, 207, 78, 0.600);
}

.orange {
    background-color: var(--orange);
}

.orange-transp {
    background-color: rgba(255, 125, 49, 0.600);
}

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

.blue-gray-transp {
    background-color: rgba(96, 124, 164, 0.600);
}

.pink-strong {
    background-color: var(--pink-strong);
}

.pink-strong-transp {
    background-color: rgba(202, 41, 123, 0.300);
}

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

.green-transp {
    background-color: rgba(0, 114, 114, 0.36);
}

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

/**/
.portada {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}

/* .portada {
    display: flex;
    justify-content: space-around;
    align-items: center;
}  */


h1 {
    font-family: "TheNautigal-Bold", serif;
}


p {
    font-family: "EBGaramond-Regular", serif;
    text-align: left;
    color: var(--dark-blue);
    /* line-height: normal; */
}



p.pie-foto {
    font-family: "EBGaramond-Regular", serif;
    color: var(--dark-blue);
    margin-top: .8rem;
}

.container-box-titulo {
    position: relative;
    height: 10rem;
}

.box-titulo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -15%);
}

.box-titulo-s4 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -15%);
}


.banner-flores1 {
    background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala1/banner-flores_contorno1.png");
    background-repeat: repeat-x;
    background-position: center;
    width: auto;
    height: 70px;
}

.banner-flores2 {
    background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala2/banner-flores_contorno2.png");
    background-repeat: repeat-x;
    background-position: center;
    width: auto;
    height: 70px;
}

.banner-flores3 {
    background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala3/banner-flores_contorno3.png");
    background-repeat: repeat-x;
    background-position: center;
    width: auto;
    height: 70px;
}

.banner-flores4 {
    background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala4/banner-flores_contorno4.png");
    background-repeat: repeat-x;
    background-position: center;
    width: auto;
    height: 70px;
}

.adorno-s1 {
    background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala1/adorno_naranja.png");
    background-repeat: no-repeat;
    background-position: right bottom;
}

.adorno-s2 {
    background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala2/adorno_azul.png");
    background-repeat: no-repeat;
    background-position: left bottom;
}

.adorno-s3 {
    background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala3/adorno_rosa.png");
    background-repeat: no-repeat;
    background-position: right bottom;
}

.adorno-s4 {
    background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala4/adorno_verde.png");
    background-repeat: no-repeat;
    background-position: left bottom;
}

.efecto-hover:hover {
    transform: scale(1.050);
    -webkit-transform: scale(1.050);
    -moz-transform: scale(1.050);
    -ms-transform: scale(1.050);
    -o-transform: scale(1.050);
    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;
    filter: invert();

}

.hover:hover {
    transform: scale(1.050);
    -webkit-transform: scale(1.050);
    -moz-transform: scale(1.050);
    -ms-transform: scale(1.050);
    -o-transform: scale(1.050);
    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,
.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;
}


.link-tooltip {
    font-weight: bold;
    color: var(--purple);
}


/*========cards=====*/
.grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
}

/*================*/
.custom-popover {
    --bs-popover-bg: #0a4741;
    --bs-popover-body-color: var(--bs-white);
    font-family: "EBGaramond-Regular", serif;
}

a.link-referencias {
    cursor: pointer;
    font-weight: bold;
    color: #b81921;
}

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

.position-frame1 {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-25%, 0%)
}

.position-frame2 {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-75%, 0%)
}

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


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

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

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

    p {
        font-size: 1.2rem;
    }

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

    h1 {
        font-size: 2.7rem;
        line-height: 1;
    }

    p.txt-presentacion {
        font-size: 1.5rem;
    }

    .container-box-titulo {
        height: 6rem;
    }

    .box-titulo {
        transform: translate(-50%, 23%)
    }

    .box-titulo-s4 {
        transform: translate(-50%, -30%)
    }

    .banner-flores1 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala1/banner-flores_contorno1_mb.png");
        height: 45px;
    }

    .banner-flores2 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala2/banner-flores_contorno2_mb.png");
        height: 45px;
    }

    .banner-flores3 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala3/banner-flores_contorno3_mb.png");
        height: 45px;
    }

    .banner-flores4 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala4/banner-flores_contorno4_mb.png");
        height: 45px;
    }

    .retrato-carmen {
        padding-top: 5rem;
        max-width: 300px;
    }

    .titulo-portada {
        max-width: 300px;
        margin-top: 2rem;
    }

    .position-frame1,
    .position-frame2 {
        max-width: 3rem;
    }

    .titulo-portada {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 30%);
    }

}


@media(min-width:320.98px) and (max-width:374px){
  .overlay ul li {
        height: auto;
    }

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

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

    p {
        font-size: 1.2rem;
    }

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

    h1 {
        font-size: 2.7rem;
        line-height: 1;
    }

    p.txt-presentacion {
        font-size: 1.5rem;
    }

    .container-box-titulo {
        height: 6rem;
    }

    .box-titulo {
        transform: translate(-50%, 23%)
    }

    .box-titulo-s4 {
        transform: translate(-50%, -30%)
    }

    .banner-flores1 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala1/banner-flores_contorno1_mb.png");
        height: 45px;
    }

    .banner-flores2 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala2/banner-flores_contorno2_mb.png");
        height: 45px;
    }

    .banner-flores3 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala3/banner-flores_contorno3_mb.png");
        height: 45px;
    }

    .banner-flores4 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala4/banner-flores_contorno4_mb.png");
        height: 45px;
    }

    .retrato-carmen {
        padding-top: 5rem;
        max-width: 300px;
    }

    .titulo-portada {
        max-width: 300px;
        margin-top: 2rem;
    }

    .position-frame1,
    .position-frame2 {
        max-width: 3rem;
    }

    .titulo-portada {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 30%);
    }
}
@media (min-width:375px) and (max-width: 576.98px) {

    .overlay ul li {
        height: auto;
    }

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

    a.inicio {
        font-size: 2rem !important;
    }

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


    h1 {
        font-size: 3.25rem;
        line-height: 1;
    }

    p {
        font-size: 1.2rem;
    }

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

    p.txt-presentacion {
        font-size: 1.6rem;
    }

    .retrato-carmen {
        padding-top: 5rem;
        max-width: 400px;
    }

    .titulo-portada {
        max-width: 400px;
        /* margin-top: 3rem; */
    }

    .titulo-portada {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 40%);
    }

    .container-box-titulo {
        height: 8rem;
    }

    .box-titulo {
        transform: translate(-50%, 32%)
    }

    .box-titulo-s4 {
        transform: translate(-50%, -26%)
    }

    .banner-flores1 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala1/banner-flores_contorno1_mb.png");
        height: 45px;
    }

    .banner-flores2 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala2/banner-flores_contorno2_mb.png");
        height: 45px;
    }

    .banner-flores3 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala3/banner-flores_contorno3_mb.png");
        height: 45px;
    }

    .banner-flores4 {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/sala4/banner-flores_contorno4_mb.png");
        height: 45px;
    }

    .position-frame1,
    .position-frame2 {
        max-width: 4rem;
    }

}

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

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

    .overlay ul {
        margin: 0 1rem;
    }

    .overlay ul li {
        height: auto;
    }

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

    h1 {
        font-size: 4rem;
        line-height: 1;
    }


    p {
        font-size: 1.2rem;
    }

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

    p.txt-presentacion {
        font-size: 1.8rem;
    }

    .retrato-carmen {
        padding-top: 5rem;
        max-width: 500px;
    }

    .titulo-portada {
        max-width: 500px;

    }

    .titulo-portada {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 40%);
    }


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

    .box-titulo-s4 {
        transform: translate(-50%, -25%)
    }
}



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

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

    .overlay ul {
        margin: 0 1rem;
    }

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

    }

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

    h1 {
        font-size: 5rem;
    }

    p {
        font-size: 1.5rem;
    }

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

    p.txt-presentacion {
        font-size: 1.8rem;
    }

    .retrato-carmen {
        padding-top: 5rem;
        max-width: 500px;
    }

    .titulo-portada {
        max-width: 650px;
        margin-top: 3rem;
    }

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

    .titulo-portada {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 15%);
    }


}


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

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

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

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

    }

    h1 {
        font-size: 7rem;
    }

    p {
        font-size: 1.5rem;
    }

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

    p.txt-presentacion {
        font-size: 1.8rem;
    }

    .titulo-portada {
        max-width: 500px;
    }

    .retrato-carmen {
        max-width: 400px;
    }

}



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

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

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

    }

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

    h1 {
        font-size: 7rem;
    }

    p {
        font-size: 1.8rem;
    }

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

    p.txt-presentacion {
        font-size: 2rem;
    }

    .titulo-portada {
        max-width: 600px;
    }

    .retrato-carmen {
        max-width: 500px;
    }

}


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

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

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

    h1 {
        font-size: 7rem;
    }

    p {
        font-size: 1.8rem;
    }

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

    p.txt-presentacion {
        font-size: 2rem;
    }

    .titulo-portada {
        max-width: 800px;
    }

    .retrato-carmen {
        max-width: 700px;
    }

}

@media (max-width:992px) {
    .portada {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/fondo_portada_mb.png");
    }

    .box-titulo-portada {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width:993px) {

    .portada {
        background-image: url("/work/models/memorica/recursos/exposiciones/carmen_serdan/img/fondo_portada.png");
        display: flex;
        justify-content: space-around;
        align-items: center;
    }


    .box-titulo-portada {
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
    }
}