:root {
    /* colores propios de mathGame */
    --mathgame_lilaOscuro: #550EA6;
    --mathgame_lilaClaro: #6C2E84;
    --bg_jugador1: #9f003a7a;
    --bg_jugador2: #FFBB38;
    --bg_jugador3: #9CDB49;
    --bg_jugador4: #4FAFFF;
    --bg_modal_dragon: #933c27;
    --bg_modal_ice: #0090a5;

}

.bg_notification {
    /*background-color: #c39200!important;*/
    background-color: var(--mathgame_lilaOscuro) !important;
}

.bg_notification_ice {
    background-color: #1c6795 !important;
}

.centrado {
    display: flex;
    justify-content: center;
}

.img_ice_title {
    width: auto;
    height: 8vw;
}

.img_versus_title {
    width: auto;
    height: 5vw;
}

.modal_normal {
    background-color: var(--mathgame_lilaOscuro) !important;
}

.modal_dragon {
    background-color: var(--bg_modal_dragon) !important;
}

.modal_ice {
    background-color: var(--bg_modal_ice) !important;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.bg_box_jugadores {
    width: 80%;
    height: 20vh;
    margin-top: 5%;
    margin-left: 10%;
    border-radius: 20%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.modal-content_sp {
    position: relative;
    margin: 5% auto;
    padding: 0;
    background-color: #550ea69e;
    width: 92%;
    max-width: 1200px;
    border-radius: 5px;
    height: 80%;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
}

/*.modal-content_sp_roll {*/
/*    position: relative;*/
/*    padding: 0;*/
/*    background-color: transparent;*/
/*    width: 90%;*/
/*    max-width: 1000px;*/
/*    border-radius: 5px;*/
/*    height: 80%;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    margin: 20px auto;*/
/*}*/

.modal-content_sp_roll {
    position: relative;
    padding: 0;
    background-color: transparent;
    width: 100%;
    /* max-width: 1000px; */
    border-radius: 5px;
    height: 80%;
    display: flex;
    flex-direction: column;
    /* margin: 20px auto; */
}

/*.modal-content_sp_roll::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background-color: var(--mathgame_lilaOscuro);*/
/*    opacity: 0.6;*/
/*    border-radius: 5px;*/
/*    z-index: 1;*/
/*}*/

.modal-content_sp_roll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--mathgame_lilaClaro);
    border-radius: 5px;
    z-index: 1;
    border: 0.5vh solid var(--mathgame_lilaOscuro);
}

.img_pergamino {
    max-width: 12%;
    height: auto;
    position: absolute;
    left: 12vw;
    top: -20px;
}

.img_bottom_right {
    max-width: 15%;
    height: auto;
    position: absolute;
    right: -35px;
    bottom: -30px;
}

.img_bottom_left {
    max-width: 10%;
    height: auto;
    position: absolute;
    left: -35px;
    bottom: -30px;
}

.img_top_right {
    max-width: 12%;
    height: auto;
    position: absolute;
    right: -35px;
    top: -30px;
}

.img_top_left {
    max-width: 15%;
    height: auto;
    position: absolute;
    left: -35px;
    top: -30px;
}

.modal-body_roll {
    position: relative;
    display: flex;
    /*padding: 20px;*/
    color: white;
    overflow: hidden;
    text-align: center;
    z-index: 2;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.img_final_other {
    width: 7vw;
    height: 7vw;
    border-radius: 50%;
    padding: 2px;
    border: 4px solid white;
}

.modal-header {
    /*background-color: var(--mathgame_lilaClaro);*/
    padding: 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: white;
    text-align: center;
    font-size: 24px;
}

#modal-body-content::-webkit-scrollbar {
    width: 12px;
}

#modal-body-content::-webkit-scrollbar-track {
    background: var(--mathgame_lilaClaro);
    border: 2px solid white;
    border-radius: 10px;
}

#modal-body-content::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 10px;
}

.no-close .close {
    display: none;
}

.img_vs_title {
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    padding: 10px;
}

.img_final {
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    padding: 2px;
    border: 4px solid white;
}

.title_final {
    margin: auto;
    color: white;
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: center;
}

.row_puntaje {
    background-color: var(--mathgame_lilaClaro);
    width: 90%;
    margin: 15px auto;
    border-radius: 28px;
    padding: 5px 0;
}

.img_puntaje {
    width: 4vw;
    height: 4vw;
}

.img_vs {
    width: 15vw;
    height: 15vw;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    transition: border 0.3s ease;
}

.img_vs:hover {
    /*border: 2px solid var(--mathgame_lilaClaro);*/
    border: 2px solid white;
}

.image_problem {
    background-color: #ffff9b;
    border-radius: 8px;
    border: 2px solid white;
    max-height: 50vh;
    max-width: 50vh;
}

.modal-body {
    display: flex;
    padding: 20px;
    color: white;
    overflow: hidden;
    text-align: center;
}

#modal-body-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    max-height: 100%;
}

#modal-image {
    flex: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-footer {
    /*background-color: var(--mathgame_lilaClaro);*/
    padding: 15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    /*justify-content: space-around;*/
    justify-content: center;
}

.modal_roll {
    padding: 2px 20px !important;
}

.modal-button {
    background-color: var(--mathgame_lilaClaro);
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 25px;
    border: 2px solid white;
    font-weight: bold;
    z-index: 15000;
}

.modal-button-info {
    width: 5vw;
    min-height: 50%;
    height: 8vh;
    font-size: 3vh;
    text-align: center;
    justify-content: center;
    display: inline-flex !important;
    align-items: center !important;
}

.lobby_a:hover {
    color: var(--mathgame_lilaClaro);
    background-color: white;
    border: 2px solid white;
}

.btn_yes {
    background-color: #3e9e5e;
    margin-left: 5vw;
}

.btn_no {
    background-color: #b71d23;
    margin-left: 2vw;
}

.img_mago {
    max-width: 20%;
    height: auto;
    position: absolute;
    left: -35px;
    bottom: -30px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: red;
    padding: 5px 8px;
    border-radius: 8px;
    margin: 15px;
    color: red;
    z-index: 10000;
}

.close:hover {
    color: red;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.container_dado {
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img_dado {
    width: 25%;
    display: none;
}

.respuest_correcta {
    background-color: rgba(21, 147, 58, 0.88) !important;
}

.respuest_incorrecta {
    background-color: rgb(181 11 11 / 77%) !important;
}

.nro_info {
    font-size: 3vw;
    font-family: 'Bungee Inline', cursive;
    color: #000;
    -webkit-text-stroke: 2px white;
    font-weight: bold;
}

.triangle-style {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
    margin-right: -10px;
    position: absolute;
    left: -20px;
}


.triangle-left1 {
    top: 15%;
}

.triangle-left2 {
    top: 45%;
}

.triangle-left3 {
    top: 70%;
}


@keyframes example {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.animated_fade {
    opacity: 1;
    font-size: 3vw;
    font-family: 'Bungee Inline', cursive;
    color: white;
    animation-name: example;
    animation-duration: 3s;
}


.shrink {
    transform: scale(0.3);
    transition: transform 0.5s ease;
}

.grow {
    transform: scale(1);
    transition: transform 0.5s ease;
}

.bordered-box {
    padding: 1vw;
    border: 2px solid white;
    border-radius: 20px;
    height: 19vh;
    margin: 1vw 0;
    display: flex;
    flex-direction: column;
}

.text-white {
    color: white;
}

.avatar_jugadores {
    width: 5vw;
    height: 5vw;
    border-radius: 50%;
    background: none;
}

.icon_jugadores {
    width: 2.5vw;
    height: 2.5vw;
}

.icon_gema_info {
    margin-left: 5vw;
    margin-right: 0 !important;
}

.icon_gemas {
    width: 2vw;
    height: 2vw;
}

.text_final {
    margin: auto 0;
    font-weight: bold;
    color: #fffb00;
}

.text_jugadores {
    font-size: 2.5vh;
    margin-left: 5px;
    font-weight: bold;
    margin-right: 5px;
    color: #fffb00;
}

#modal-buttons-tr:empty {
    display: none !important;
}

/*.icon_dado {*/
/*    width: 8vw;*/
/*    height: 8vw;*/
/*    margin-right: 10px;*/
/*}*/

.icon_dado {
    width: 9vh;
    height: 9vh;
    margin-right: 10px;
}

.bg_gris {
    background-color: #8d898f;
}

@keyframes enlarge {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(2);
    }
    100% {
        transform: scale(1);
    }
}

.animate {
    animation: enlarge 3s ease-in-out;
}


@media (min-height: 768px) {
    .avatar_jugadores {
        width: 5.5vw;
        height: 5.5vw;
    }
}

@media (max-width: 882px) {
    .modal-body_roll {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .triangle-style {
        display: none;
    }
}

@media (max-width: 700px) {
    .modal-content_sp {
        margin: 2% auto;
        width: 95%;
        height: 95%;
    }

    .modal-header {
        padding: 0;
    }

    .img_vs_title {
        width: 9vw;
        height: 9vw;
        padding: 0;
    }

    .modal-footer {
        padding: 0;
    }

    .modal-body_roll {
        padding: 0;
    }

    .bg_box_jugadores {
        padding: 5px;
    }
}

@media (max-height: 500px) {
    .modal-content_sp {
        margin: 0;
        height: 100%;
        width: 100%;
    }

    .icon_dado {
        width: 9vh;
        height: 9vh;
        margin-left: 20px;
    }
}

@media (max-width: 883px) and (max-height: 345px) {
    .avatar_jugadores {
        width: 4vw;
        height: 4vw;
        border-radius: 50%;
        background: none;
    }

    .icon_jugadores {
        width: 2vw;
        height: 2vw;
    }
}



