.redi__contenedor {
    width: 100%;
}

.parejas {
    --color1: #FFD83B;
    --color2: #009251;
    --color3: #79B82C;
    --color4: #444B44;
    --color5: #000000;
}

.modal-content .modal-body .modal-footer,
.parejas .encabezado,
.parejas .parejas-contenedor-elementos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.modal-content .modal-body .modal-footer .continuar,
.modal-content .modal-body .modal-footer .cronometro,
.parejas .encabezado .ec-der,
.parejas .encabezado .ec-logo,
.parejas .encabezado .ec-nombre {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px
}

.modal-content .modal-body .modal-footer .continuar,
.modal-content .modal-body .modal-footer .cronometro,
.parejas .encabezado .ec-nombre {
    -ms-flex-preferred-size: 0%;
    flex-basis: 0%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%
}

.parejas .encabezado .ec-der,
.parejas .encabezado .ec-logo {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none
}

.parejas .encabezado .ec-nombre {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.parejas .encabezado {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.parejas .encabezado .ec-nombre,
.parejas .parejas-contenedor-elementos {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.parejas .encabezado .ec-der,
.parejas .encabezado .ec-logo {
    width: 15%;
    height: 100%
}

.parejas .encabezado .ec-logo .ec-logo-img,
.parejas .encabezado .ec-nombre,
.parejas .encabezado .ec-nombre .ec-nombre-img {
    width: auto;
    height: 100%
}

.parejas .encabezado .ec-nombre .ec-nombre-img,
.parejas .parejas-contenedor-elementos {
    margin-left: auto;
    margin-right: auto
}

.parejas .encabezado {
    padding: 1.5rem
}

@-webkit-keyframes bounce-entrada {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }

    80% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2)
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes bounce-entrada {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }

    80% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2)
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

.bounce-entrada {
    -webkit-animation: bounce-entrada .5s ease backwards;
    animation: bounce-entrada .5s ease backwards
}

@-webkit-keyframes difuminado-entrada {
    0% {
        color: transparent;
        text-shadow: 0 0 0 transparent
    }

    to {
        color: #e69a00;
        text-shadow: 2px 2px 0 rgba(171, 114, 0, 0.8)
    }
}

@keyframes difuminado-entrada {
    0% {
        color: transparent;
        text-shadow: 0 0 0 transparent
    }

    to {
        color: #e69a00;
        text-shadow: 2px 2px 0 rgba(171, 114, 0, 0.8)
    }
}

.fade-in-der {
    -webkit-animation: fade-in-der .3s ease backwards;
    animation: fade-in-der .3s ease backwards
}

.delay-0 {
    -webkit-animation-delay: 0;
    animation-delay: 0
}

#game_board .row_board .card_board .face_card img {
    -webkit-animation: bounce-entrada .4s ease backwards;
    animation: bounce-entrada .4s ease backwards
}

#game_board .row_board:first-child .card_board:nth-child(1) .face_card img {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s
}

#game_board .row_board:first-child .card_board:nth-child(1) .face_card:first-child::before {
    content: "1";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s
}

#game_board .row_board:first-child .card_board:nth-child(2) .face_card img {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s
}

#game_board .row_board:first-child .card_board:nth-child(2) .face_card:first-child::before {
    content: "2";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s
}

#game_board .row_board:first-child .card_board:nth-child(3) .face_card img {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s
}

#game_board .row_board:first-child .card_board:nth-child(3) .face_card:first-child::before {
    content: "3";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s
}

#game_board .row_board:first-child .card_board:nth-child(4) .face_card img {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s
}

#game_board .row_board:first-child .card_board:nth-child(4) .face_card:first-child::before {
    content: "4";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s
}

#game_board .row_board:nth-child(2) .card_board:first-child .face_card img {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s
}

#game_board .row_board:nth-child(2) .card_board:first-child .face_card:first-child::before {
    content: "5";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s
}

#game_board .row_board:nth-child(2) .card_board:nth-child(2) .face_card img {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s
}

#game_board .row_board:nth-child(2) .card_board:nth-child(2) .face_card:first-child:before {
    content: "6";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s
}

#game_board .row_board:nth-child(2) .card_board:nth-child(3) .face_card img {
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s
}

#game_board .row_board:nth-child(2) .card_board:nth-child(3) .face_card:first-child:before {
    content: "7";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s
}

#game_board .row_board:nth-child(2) .card_board:nth-child(4) .face_card img {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s
}

#game_board .row_board:nth-child(2) .card_board:nth-child(4) .face_card:first-child:before {
    content: "8";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s
}

#game_board .row_board:nth-child(3) .card_board:first-child .face_card img {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s
}

#game_board .row_board:nth-child(3) .card_board:first-child .face_card:first-child::before {
    content: "9";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s
}

#game_board .row_board:nth-child(3) .card_board:nth-child(2) .face_card img {
    -webkit-animation-delay: 1s;
    animation-delay: 1s
}

#game_board .row_board:nth-child(3) .card_board:nth-child(2) .face_card:first-child:before {
    content: "10";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 1s;
    animation-delay: 1s
}

#game_board .row_board:nth-child(3) .card_board:nth-child(3) .face_card img {
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s
}

#game_board .row_board:nth-child(3) .card_board:nth-child(3) .face_card:first-child:before {
    content: "11";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s
}

#game_board .row_board:nth-child(3) .card_board:nth-child(4) .face_card img {
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s
}

#game_board .row_board:nth-child(3) .card_board:nth-child(4) .face_card:first-child:before {
    content: "12";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s
}

#game_board .row_board:nth-child(4) .card_board:first-child .face_card img {
    -webkit-animation-delay: 1.3s;
    animation-delay: 1.3s
}

#game_board .row_board:nth-child(4) .card_board:first-child .face_card:first-child::before {
    content: "13";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 1.3s;
    animation-delay: 1.3s
}

#game_board .row_board:nth-child(4) .card_board:nth-child(2) .face_card img {
    -webkit-animation-delay: 1.4s;
    animation-delay: 1.4s
}

#game_board .row_board:nth-child(4) .card_board:nth-child(2) .face_card:first-child:before {
    content: "14";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 1.4s;
    animation-delay: 1.4s
}

#game_board .row_board:nth-child(4) .card_board:nth-child(3) .face_card img {
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s
}

#game_board .row_board:nth-child(4) .card_board:nth-child(3) .face_card:first-child:before {
    content: "15";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s
}

#game_board .row_board:nth-child(4) .card_board:nth-child(4) .face_card img {
    -webkit-animation-delay: 1.6s;
    animation-delay: 1.6s
}

#game_board .row_board:nth-child(4) .card_board:nth-child(4) .face_card:first-child:before {
    content: "16";
    -webkit-animation: difuminado-entrada .4s ease backwards;
    animation: difuminado-entrada .4s ease backwards;
    -webkit-animation-delay: 1.6s;
    animation-delay: 1.6s
}

#game_board .row_board .card_board .face_card {
    position: relative
}

#game_board .row_board .card_board .face_card:before {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 70px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 70px;
    color: var(--color3);
    text-shadow: 2px 2px 0 var(--color2);
}

@media (max-width: 576px) {
    #game_board .row_board .card_board .face_card:before {
        font-size: 40px;
        line-height: 40px
    }

}

.parejas {
    background-image: url("../img/fondo.png");
    background-size: cover;
    background-position: center;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    flex-direction: column;
}

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

}

.parejas .parejas-contenedor {
    height: 100vh;
    max-height: 1080px;
    width: 100%;
    max-width: 1920px;
    position: relative;
    padding-left: 5%;
    padding-right: 5%
}

.parejas .parejas-contenedor .inicio {
    position: absolute;
    bottom: 4%;
    left: calc(5% + 25px)
}

.parejas .parejas-contenedor .inicio .inicio-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    font-size: 49px;
    letter-spacing: 2px;
    background-image: url("../img/inicio-off.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    width: 111px;
    text-decoration: none;
    padding-bottom: 10px;
    padding-top: 2px
}

.parejas .parejas-contenedor .inicio .inicio-btn:hover {
    background-image: url("../img/inicio-on.png");
    padding-bottom: 8px;
    padding-top: 4px
}

.parejas .parejas-contenedor .recargar {
    position: absolute;
    bottom: 4%;
    right: calc(5% + 25px)
}

.parejas .parejas-contenedor .recargar .recargar-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-image: url("../img/boton-off.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    width: 54px;
    text-decoration: none;
    padding: 15px 15px 17px
}

.parejas .parejas-contenedor .recargar .recargar-btn:hover {
    background-image: url("../img/boton-on.png");
    padding: 17px 15px 15px
}

.parejas .encabezado {
    height: 27vh;
    max-height: 291.6px;
    width: auto
}

.parejas .encabezado .ec-logo {
    padding-left: 0
}

.parejas .encabezado .ec-logo .ec-logo-img {
    max-height: 64px
}

.parejas .encabezado .ec-nombre .ec-nombre-img {
    max-height: 140PX
}

.parejas .parejas-contenedor-elementos {
    height: 87vh;
    max-height: 800px;
    width: 100vh;
    max-width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (max-width: 767px) {
    .parejas .parejas-contenedor-elementos {
        width: 100%;
        max-width: 100%;
        height: 70vh;
    }
}

@media (max-width: 576px) {
    .parejas .parejas-contenedor-elementos {
        height: 50vh;
    }
}


.hidden {
    display: none !important;
    visibility: hidden !important
}

@-webkit-keyframes cambio-de-color {
    0% {
        color: #fff
    }

    to {
        color: #F0DA2C
    }
}

@keyframes cambio-de-color {
    0% {
        color: #fff
    }

    to {
        color: #F0DA2C
    }
}

.modal-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: auto;
    -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;
    padding: 25px;
    background-color: #2182f3;
    background-image: url("../img/modal.png");
    background-size: cover;
    background-position: center;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    font-weight: bold;
    position: relative
}

.modal-content:before {
    content: "";
    width: calc(100% - 25px);
    height: calc(100% - 25px);
    border: 2px solid rgba(0, 0, 0, 0.15);
    position: absolute;
    left: 10px;
    top: 11px;
    border-radius: 8px;
    z-index: 0
}

.modal-content .modal-body p {
    color: #fff;
    font-weight: bold;
    font-size: 36px;
    text-shadow: 2px 3px 1px rgba(0, 0, 0, 0.3)
}

.modal-content .modal-body .btn {
    color: #FFF;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    padding: 13px 10px 16px;
    border-radius: 10px;
    z-index: 1;
    font-size: 20px;
    background-image: url(../img/boton-gr-off.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    background-position: center bottom
}

.modal-content .modal-body .btn:hover {
    background-image: url(../img/boton-gr-on.png);
    padding: 15px 10px 14px
}

.modal-content .modal-body .modal_chronometer {
    display: none;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.15);
    padding: .2em .6em;
    font-size: 36px;
    border-radius: 5px;
    height: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-animation: cambio-de-color 15s linear forwards;
    animation: cambio-de-color 15s linear forwards
}

.modal-content .modal-body .modal_chronometer .icono-cronometro {
    margin-right: 10px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex
}

.modal-content .modal-body .modal_chronometer span {
    line-height: normal
}

.modal-content .modal-body .modal-footer {
    padding: 0;
    border-top: 0
}

.modal-content .modal-body .modal-footer .cronometro {
    text-align: left
}

.modal-content .modal-body .modal-footer .continuar {
    text-align: right
}

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

.modal-content .modal-body.modal_alert .modal_chronometer {
    color: #F0DA2C
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.wordTime {
    display: flex;
    align-items: center;
    justify-content: end;
}

.icon {
    width: 30px;
    margin-right: 10px;
    animation: vibration .3s infinite;
}

.timer {
    color: var(--color4);
    font-size: 35px;
    line-height: 1;
    font-weight: 700;
}

.d-none {
    display: none !important;
}