/* Animación */

.showItem {
    animation: swing 1s .5s both ease, slideOutDown 1s ease 1.5s 1 normal forwards;
    transform-origin: top center;
}

@keyframes swing {
    20% {
        -webkit-transform: rotate3d(0, 0, 1, 15deg);
        transform: rotate3d(0, 0, 1, 15deg);
    }

    40% {
        -webkit-transform: rotate3d(0, 0, 1, -10deg);
        transform: rotate3d(0, 0, 1, -10deg);
    }

    60% {
        -webkit-transform: rotate3d(0, 0, 1, 5deg);
        transform: rotate3d(0, 0, 1, 5deg);
    }

    80% {
        -webkit-transform: rotate3d(0, 0, 1, -5deg);
        transform: rotate3d(0, 0, 1, -5deg);
    }

    100% {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg);
    }
}

@keyframes slideOutDown {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        visibility: hidden;
        -webkit-transform: translateY(200%);
        transform: translateY(200%);
    }
}

@keyframes shutter {

    0% {
        transform: scale(1);
        transform-origin: bottom;
        opacity: 1;
        display: block;
    }

    100% {
        transform: scale(1.2);
        transform-origin: bottom;
        opacity: 0;
        display: none;
    }
}

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

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}


@keyframes bounceIn {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1);
    }

    0% {
        -webkit-transform: scale3d(.3, .3, .3);
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }

    20% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        -webkit-transform: scale3d(.9, .9, .9);
        transform: scale3d(.9, .9, .9);
    }

    60% {
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        -webkit-transform: scale3d(.97, .97, .97);
        transform: scale3d(.97, .97, .97);
    }

    100% {
        -webkit-transform: scaleX(1);
        opacity: 1;
        transform: scaleX(1);
    }
}




/*=== MODALES ===*/

.modal_fade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 10px;
    z-index: 10000;
}

.modal_fade .content_modal,
.modalMensaje .edModal__contenedor .modal-content {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;

    padding: 30px 75px;
    text-align: center;
    border: 7px solid #ED921F;
    background-color: #E6CE76;
    background-image: url(../img/estrellas.png);
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}

@media (max-width: 565px) {

    .modal_fade .content_modal,
    .modalMensaje .edModal__contenedor .modal-content {
        padding: 30px 20px;
        background-size: 60px, 60px, 40%, 40%, cover;
        background-position: bottom -20px left -30px, bottom -20px right -30px, top left, top 70px right, center;
    }
}

.modal_fade .content_modal::before,
.modalMensaje .edModal__contenedor .modal-content::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 48%;
    transform: translate(-50%, 6px);
    background-image: url(../img/gato.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 95px;
    height: 47px;
    filter: drop-shadow(1px 1px 2px hsla(0, 0%, 0%, .2));
}


/* Modal intro */


.modal_fade.modalIntro {
    display: block;
}

.modal_fade.modalIntro .content_modal {
    background-color: transparent;
    border: none;
    padding: 0;
    max-width: 550px;
}

@media (max-width: 767px) {
    .modal_fade.modalIntro .content_modal {
        max-width: 400px;
    }
}

.modal_fade.modalIntro .content_modal img {
    animation: bounceIn 1.5s backwards;
}



.modal_fade .modal-footer {
    border: none;
    justify-content: center;
    padding: 0;
}

.modal_fade .modal-footer .continuar {
    text-align: center;
}





/* Modal Feedback */

.modal__botonesCompartir {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 20px;
    position: relative;
    background-color: #07584E;
}

@media (max-width: 992px) {
    .modal__botonesCompartir {
        justify-content: center;
    }
}


@keyframes fadeOutNegro {
    0% {
        background-color: rgba(0, 0, 0, 0);
    }

    100% {
        background-color: rgba(0, 0, 0, .7);
    }
}

.feedback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    padding: 40px 10px;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    background-color: rgba(0, 0, 0, .7);
}

.feedback--activo {
    display: block;
    animation: fadeOutNegro 1s;
}

.feedback__img {
    width: 100%;
    padding: 0 0 59%;
    background-image: url(../img/escena-pesebre.png);
    background-position: bottom;
    background-size: cover;

}

.feedback.feedbackActivo {
    display: block;
}

.feedback__textos {
    padding: 20px 30px 30px;
    background-image: url(../img/cinta.png), url(../img/bola.png);
    background-size: 15%, 25%;
    background-position: top 7% left 4%, top right;
    background-repeat: no-repeat;
    background-blend-mode: normal;
}

@media (max-width: 767px) {

    .gano__textos {
        padding: 10px 20px 30px;
    }
}

.feedback__content {
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    background-color: #fff;
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
    border: 7px solid var(--color-categoria);
    margin-bottom: 10px;
    text-align: center;
    animation: bounceIn 1s 1s backwards;
    background-color: #E6CE76;
    background-image: url(../img/estrellas.png);
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    transform: translateY(-60%);
    opacity: 0;
    transition: transform 1s, opacity 1s;
    overflow: hidden;
}

@media (max-width: 992px){
    .feedback__content{
        max-width: 500px;
    }
}

.feedback--activo .feedback__content {
    transform: translateY(0);
    opacity: 1;
    transition: transform 1s, opacity 1s;
    animation: entraModal 1s forwards;
}

.feedback .feedback__columns {
    display: grid;
    grid-template-columns: 60% 1fr;
    border: 4px solid #ED921F;
    border-radius: 10px 10px 0 0;
}

@media (max-width: 992px) {
    .feedback .feedback__columns {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.feedback__texto1,
.feedback__texto3 {
    line-height: 1.2;
}

.feedback__texto1 {
    font-size: 34px;
    font-family: "Baloo", sans-serif;
    margin-bottom: 15px;
    font-weight: bold;
    color: #BC3D2E;
    padding: 0 40px;
    line-height: 1;
}

.feedback__texto3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #161b1c;
}

@media (max-width: 767px) {

    .feedback__texto1 {
        font-size: 30px;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .feedback__texto3 {
        font-size: 20px;
    }
}

.feedback__logo {
    max-width: 260px;
    width: 100%;
    /* margin-bottom: 20px; */
}


.modal__botonesCompartir img {
    width: 35px;
    margin: 0 10px;
    animation: compartir 1s infinite;
}

@media (max-width: 767px) {
    .modal__botonesCompartir img {
        width: 30px;
        margin: 5px 7px;
    }
}

.modal__botonesCompartir a:hover img {
    transform: scale(1);
}

.modal__botonesCompartir .btnCopy {
    background-color: transparent;
    padding: 0;
    position: relative;
}


.modal__compartir {
    margin-right: 30px;
    color: #fff;
    font-size: 25px;
}

@media (max-width: 767px) {
    .modal__compartir {
        margin-right: 15px;
        color: #fff;
        font-size: 20px;
    }
}


/*=== MODAL ===*/
.modalParejas .edModal__contenedor {
    min-height: 90%;
    max-width: 1200px;
    width: 96%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.modalParejas .modal-content {
    background-color: #fff;
    border: 8px solid var(--color1);
    border-radius: 15px;
    position: relative;
    width: 100%;
    max-width: 1000px;
}

@media (max-width: 992px) {
    .modalParejas .modal-content {
        max-width: 550px;
    }
}

.modalParejas .modal-lg {
    max-width: 1000px;
}

/* .modalParejas .modal-dialog {
    margin: 1rem auto 3.5rem;
} */

.modal__columnas {
    display: grid;
    grid-template-columns: 60% 1fr;
    flex-direction: row;
    background-color: #E6CE76;
    background-image: url(../img/estrellas.png);
    background-size: 700px;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: color-burn;
}

@media (max-width: 992px) {
    .modal__columnas {
        grid-template-columns: 1fr;
    }
}

.modal__column1 {
    padding: 15px;
    background-color: var(--color1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    background-image: url(../img/escena-pesebre.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    height: 0;
    padding-bottom: 64%;
    border-radius: 7px 0 0 7px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .modal__column1 {
        border-radius: 7px 7px 0 0;
    }
}

.modal__column1 .maria {
    position: absolute;
    left: 1.4%;
    top: 44.4%;
    width: 26.6%;
    height: 56%;
}

.modal__column1 .jose {
    position: absolute;
    left: 4.8%;
    top: 22.6%;
    width: 16.3%;
    height: 62.8%;
}

.modal__column1 .jesus {
    position: absolute;
    left: 25.4%;
    top: 68.2%;
    width: 21.5%;
    height: 28.8%;
}

.modal__column1 .melchor {
    position: absolute;
    left: 46.5%;
    top: 39.3%;
    width: 30%;
    height: 51.2%;
}

.modal__column1 .gaspar {
    position: absolute;
    left: 40%;
    top: 14.8%;
    width: 19%;
    height: 65.5%;
}

.modal__column1 .baltazar {
    position: absolute;
    left: 25.3%;
    top: 13.3%;
    width: 17.7%;
    height: 60%;
}

.modal__column1 .pastor {
    position: absolute;
    left: 69.3%;
    top: 20%;
    width: 18.7%;
    height: 67%;
}

.modal__column1 .mula-buey {
    position: absolute;
    left: 80%;
    top: 40%;
    width: 20%;
    height: 60.2%;
}

.modal__column2 {
    font-size: 18px;
    padding: 10px 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-image: url(../img/cinta.png), url(../img/bola.png);
    background-size: 18%, 30%;
    background-position: top 7% left 4%, top right -5%;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    /* background-image: url(../img/cinta.png), url(../img/bola.png), url(../img/copo.png), url(../img/copo.png);
    background-size: 18%, 30%, 8%, 8%;
    background-position: top 7% left 4%, top right -5%, bottom 4% left 4%, bottom 4% right 4%;
    background-repeat: no-repeat;
    background-blend-mode: normal, normal, color-burn, color-burn; */
    position: relative;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.modal__column2 .copo1 {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 30px;
    height: auto;
    animation: 2.5s rotate alternate-reverse infinite;
}

.modal__column2 .copo2 {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 30px;
    height: auto;
    animation: 2.5s rotate alternate-reverse infinite;
}


@media (max-width: 767px) {

    .modal__column1,
    .modal__column2 {
        width: 100%;
    }

    .modal__column2 {
        padding: 0 5px 15px;
    }
}

.borde__img {
    padding: 10px;
    border-radius: 50%;
    border: 3px dashed #fff;
}

.modal__img {
    max-width: 200px;
    border-radius: 50%;
    width: 100%;
}

.modal-content .modal__texto {
    color: #161b1c;
    font-size: 22px;
    padding: 10px;
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 767px) {

    .modal__img {
        max-width: 140px;
    }

    .modal-content .modal__texto {
        font-size: 18px;
        padding: 10px;
    }
}

.modal__titulo {
    font-family: var(--fuenteTitulo);
    font-size: 32px;
    font-weight: bold;
    color: var(--color2);
    margin: 15px 0 0;
    text-align: center;
}

@media (max-width: 767px) {
    .modal__nombre {
        font-size: 26px;
    }
}

.modal__data {
    font-size: .9rem;
    color: hsl(47, 7%, 60%);
}

.modal__habilidad {
    color: var(--color2);
    margin-bottom: 5px;
}

.modal-content .modal_alert .message {
    opacity: .35;
}


/*=== MODAL MENSAJE ===*/
.fade {
    opacity: 0;
    transition: opacity 0.25s linear;
}

.collapsing {
    transition: height 0.45s ease;
}

.modalMensaje .edModal__contenedor {
    min-height: 90%;
    max-width: 1200px;
    width: 96%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.modalMensaje .modal-content {
    padding: 20px 30px;
    text-align: center;
    border: 7px solid #bf8800;
    background-color: hsl(46, 40%, 80%);
    background-image: url(../img/pattern.png);
    background-size: cover;
}

.modalMensaje .modal__columnas {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: row;
}

@media (max-width: 767px) {
    .modalMensaje .modal__columnas {
        flex-direction: column;
    }
}

.modalMensaje .modal__column {
    width: 100%;
    font-size: 18px;
    padding: 10px 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 767px) {

    .modalMensaje .modal__column {
        width: 100%;
        padding: 0 5px 15px;
    }
}

.modalMensaje .modal-content .modal__texto {
    color: #DF8C37;
    font-size: 30px;
    padding: 10px 0;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 767px) {

    .modal-content .modal__texto {
        font-size: 18px;
        padding: 10px;
    }
}





.modal__enlace {
    margin: 10px auto 20px;
}

.modal__enlace a {
    display: inline-flex;
    color: #d4901c;
    text-decoration: none;
    border: 2px solid #ffc648;
    border-radius: 2rem;
    padding: 6px 15px;
    transform: scale(1) translateY(0);
    transition: transform .5s;
    background: rgb(255 255 255 / 0.5);
}

.modal__enlace a:hover {
    transform: scale(1.03) translateY(-2px);
}