.has-floating-animation .is-floating-animated {
    animation: float-up-down 2s ease-in-out infinite both;
}

@-webkit-keyframes float-up-down {
    0% {
        -webkit-transform: translateY(0)
    }

    50% {
        -webkit-transform: translateY(-10%);
        transform: translateY(-10%)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

.balanceo_efect {
    animation: balanceo 6s ease-in-out infinite;
}

.button_jugar {
    position: relative;
    display: inline-block;
    margin: 20px;
}

.btn_section_lila {
    background-color: #ffffff !important;
    box-shadow: inset 0 1px 0 #875da991, 0 10px 0 #bc92dd8a !important;
}

.button_jugar a {
    color: white;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    font-size: 36px;
    text-align: center;
    text-decoration: none;
    background-color: #FFA12B;
    display: block;
    position: relative;
    padding: 20px 40px;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-shadow: 0px 1px 0px #000;
    filter: dropshadow(color=#000, offx=0px, offy=1px);

    -webkit-box-shadow: inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
    -moz-box-shadow: inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
    box-shadow: inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.button_jugar a:active {
    top: 10px;
    background-color: #F78900;

    -webkit-box-shadow: inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
    -moz-box-shadow: inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
    box-shadow: inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
}

/*.button_jugar:after {*/
/*    content: "";*/
/*    height: 100%;*/
/*    width: 100%;*/
/*    padding: 4px;*/
/*    position: absolute;*/
/*    bottom: -15px;*/
/*    left: -4px;*/
/*    z-index: -1;*/
/*    background-color: #2B1800;*/
/*    -webkit-border-radius: 5px;*/
/*    -moz-border-radius: 5px;*/
/*    border-radius: 5px;*/
/*}*/

.btn_jugar {
    background-color: #f0a62b;
    width: 40vmin;
    height: 10vmin;
    display: flex;
    justify-content: center;
    margin: auto;
    align-content: center;
    align-items: center;
}

#highlight {
    color: red;
}

#capacity {
    color: red;
}


.ejecutar {
    font-size: smaller;
    font-family: sans-serif;
    margin-bottom: 3px;
    background-color: rgb(1, 170, 1);
}

.reinicio {
    font-size: smaller;
    font-family: sans-serif;
    margin-bottom: 3px;
    background-color: #828a91;
}

.detener {
    font-size: smaller;
    font-family: sans-serif;
    margin-bottom: 3px;
    background-color: #828a91;
}

.demo {
    float: left;
}

#blocklyDIV {
    width: 100%;
    padding-left: 5px;
    border: 1px solid #ccc;
}

.funciones {
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.celda-large {
    margin-top: 1px;
    width: 150px;
    height: 150px;
    background-color: green;
    margin-left: 1px;
    margin-right: 1px;
}

.celda-mid {
    margin-top: 1px;
    width: 100px;
    height: 100px;
    background-color: green;
    margin-left: 1px;
    margin-right: 1px;
}


.table-game {
    width: auto;
    margin-right: auto;
    margin-left: 3px;
    height: 500px;
}

.table-game-mobile {
    max-height: 300px;
    max-width: 300px;
    z-index: 50;
    border: 1px solid #ccc;
    padding: 0%;
    right: 0%;
    /* para v2 */
    /*right: 10%; !* para v1 *!*/
    bottom: 0;
    position: fixed;
}

#ayuda_mobile {
    /* border-color: green; */
    font-size: 22px;
    position: fixed;
    top: 0;
    left: 0;
    height: 77%;
    width: 16%;
    z-index: 45;
    /* opacity: 0.8; */
    margin-left: 0;
    margin-top: 6%;
    display: block;
    /* left: -12%; */
    border: none;
    background: none;
}


.arrow {
    position: absolute;
    /* left: 77%; */
    /* float: right; */
    /* top: 45%; */
    /* margin-top: 0; */
    width: 40px;
    height: 40px;
    right: 8%;
    /* z-index: 1000; */
    /* display: block; */
    display: flex;
    justify-content: center;
    margin: auto;

}

.arrow-e {
    position: fixed;
    right: 85.5%;
    top: 10.5%;
    z-index: 80;
    /* display: block; */
    display: flex;
    justify-content: center;
    margin: auto;
}

.btn-help {
    margin-top: 3%;
}

.div-mobile,
.btn-help {
    display: none;
    /* Oculta la navegación por defecto */
}

/* @media (max-width: 767px) , (max-height: 500px) { */
/* .div-mobile, .btn-help { */
/* display: block; Muestra la navegación en dispositivos de escritorio */

/* } */
/* } */
/* @media (max-width: 767px), (max-height: 500px) { */
/* .hide-mobile { */
/* display: none; */
/* } */
/* } */

.desktop-content col {
    width: 100%;
    height: 300px;
}


.tables-mobile {
    width: 300px;
    height: 300px;
    table-layout: fixed;
}

.tables {
    width: 100%;
    height: 100%;
    table-layout: fixed;
}

.div-table-mo {
    margin-left: 15px;
    margin-right: 15px;
}


.img-flag {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 35%;
    left: 45%;
}

.item {
    margin-left: 8px;
}

.textarea2 {
    width: 120px;
    height: 500px;
    margin-right: 0px;
    margin-top: 2px;
    border-color: green;
    font-size: 13px;
    overflow: hidden;
}

.danger {
    display: inline-block;
    padding: 3px 10px;
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    background-color: rgb(243, 86, 74);
    color: white;
    border-radius: 8px;
    align-content: flex-start;
    margin-bottom: 5px;
    margin-left: 15px;
}

.warning {
    display: inline-block;
    padding: 3px 10px;
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    background-color: rgb(208, 133, 12);
    color: white;
    border-radius: 8px;
    align-content: flex-start;
    margin-bottom: 5px;
    margin-left: 15px;
}

.success {
    display: inline-block;
    padding: 3px 10px;
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    background-color: rgb(47, 221, 32);
    color: white;
    border-radius: 8px;
    align-content: flex-start;
    margin-bottom: 5px;
    margin-left: 15px;
}

.style_text_help {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.style_phrase {
    color: white;
    font-size: 3vh !important;
    text-align: center;
    margin: 0;
    border: 2px dashed white;
    padding: 20px;
    line-height: 50px;
}

.default_move {
    display: inline-block;
    padding: 3px 10px;
    text-align: center;
    font-size: 1vw;
    font-weight: bold;
    border: none;
    cursor: pointer;
    background-color: rgb(91, 103, 165);
    color: white;
    border-radius: 8px;
    align-content: flex-start;
    margin: 5px auto;
}

.default_push {
    display: inline-block;
    padding: 3px 10px;
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    background-color: rgb(165, 91, 103);

    color: white;
    border-radius: 8px;
    align-content: flex-start;
    margin-bottom: 5px;
    margin-left: 15px;
}

#btn_modal {
    display: none;
}

#scroll-top,
#scroll-bottom {
    position: fixed;
    bottom: 25%;
    left: 90%;
    transform: translate(-50%, 50%);
}

#subcontainer {
    display: block;
}

#div_rotar {
    display: none;
}

.movement_block {
    border: 1px solid #5b80a5;
    border-radius: 8px;
    background-color: #5b80a5;
    padding: 5px 7px;
}

.movement_push {
    border: 1px solid rgb(165 91 118);
    background-color: rgb(165 91 118);
}

.movement_loop {
    border: 1px solid rgb(91 165 91);
    background-color: rgb(91 165 91);
}

.movement_open_box {
    border: 1px solid #958845;
    background-color: #958845;
}

@media (max-width: 750px) {
    .expand {
        left: -24px !important;
    }

}

@media (max-width: 500px) {
    #subcontainer {
        display: none;
        /* Muestra la navegación en dispositivos de escritorio */
    }

    #div_rotar {
        display: block;
    }
}

.btn-sgte {
    margin-bottom: 3%;
    margin-right: auto;
    margin-left: auto;
}

.div-btn_ejecutar {
    margin-right: auto;
    align-items: center;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 5%;
    margin-bottom: 5%;
}

.div-btn_reinicio {
    margin-right: auto;
    align-items: center;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    margin-bottom: 2%;
}

.btn-ejecutar_mobile {
    max-width: 100%;
    /*padding: 5px 6px;*/
    font-size: 12px;
    /* border-radius: 4px; */
    /*background-color: #2ee446;*/
    /*background-color: #18c12e;*/
    cursor: pointer;
    resize: both;
    /*margin-top: 10%;*/
    /*border: 3px solid white;*/
    background-image: url(/static/blockly/capibara/image/btn_play_rect.png);
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-position: center top;
    background-size: contain;
}

.btn-reinicio_mobile {
    max-width: 100%;
    /*padding: 5px 6px;*/
    font-size: 12px;
    /*background-color: var(--secondary_3_5);*/
    cursor: pointer;
    resize: both;
    /*margin-top: 10%;*/
    /*border: 3px solid white;*/
    background-image: url(/static/blockly/capibara/image/btn_rePlay_on_rect.png);
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-position: center top;
    background-size: contain;
}

.btn_clear {
    background-image: url(/static/blockly/capibara/image/btn_clear_rect.png);
    max-width: 100%;
    font-size: 12px;
    cursor: pointer;
    resize: both;
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-position: center top;
    background-size: contain;
}

.btn_home_img {
    background-image: url(/static/blockly/capibara/image/home_naranja.png);
    max-width: 100%;
    font-size: 12px;
    cursor: pointer;
    resize: both;
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-position: center top;
    background-size: contain;
}

.btn-reinicio_mobile_off {
    background-image: url(/static/blockly/capibara/image/btn_rePlay_off_rect.png);
}

.btn-play_mobile_off {
    max-width: 100%;
    /*padding: 5px 6px;*/
    font-size: 12px;
    /* border-radius: 4px; */
    /*background-color: #2ee446;*/
    /*background-color: #18c12e;*/
    cursor: pointer;
    resize: both;
    /*margin-top: 10%;*/
    /*border: 3px solid white;*/
    background-image: url(/static/blockly/capibara/image/play_grey.png);
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-position: center top;
    background-size: contain;
}


.img-normalizada {
    max-width: 100%;
    height: 180px;
}

.img-tutorial {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tuto_descripcion {
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
}

.tuto_text {
    margin-left: 5%;
    margin-right: 5%;
    text-align: justify;
}

.shepherd-header {
    background-color: rgb(233, 197, 67) !important;
}

.shepherd-arrow:before {

    background-color: rgb(136, 215, 213);
}

.shepherd-element.shepherd-has-title[data-popper-placement^=bottom] > .shepherd-arrow:before {

    background-color: rgb(233, 197, 67);
}

.shepherd-footer {
    background-color: rgb(136, 215, 213) !important;
    margin-top: 3rem !important;

}

.shepherd-content {
    background-color: rgb(136, 215, 213) !important;

}

.shepherd-button-secondary {
    font-size: small !important;
}

.shepherd-button-red {
    background-color: red;
    color: white;
    font-size: small;
}

.shepherd-button-red:hover {
    background-color: darkred;
}

.mob {
    width: 5%;
}

.closeModal {
    position: absolute;
    top: 0;
    right: 0;
    background-color: grey;
}

.container-blockly {
    height: 100%;
}

html,
body {
    display: block;
    overflow-x: hidden;
}

.btnfont {
    font-size: 14px;
}

.zoomable {
    transition: transform 0.3s ease-in-out;
    /* Transición suave de la transformación */
}

.zoomed {
    max-height: 85%;
    max-width: 72%;
    z-index: 50;
    border: 1px solid #ccc;
    padding: 1.7%;
}

.volume {
    position: absolute;
    /*border-radius: 10%;*/
    /*background-color: rgb(224, 207, 77);*/
    border-radius: 50%;
    margin-top: 150px;
    background: var(--primary_3_1);
    color: white;
    width: 10%;
    height: 10%;
    padding: 5px;
    left: -70px;
}

.volume_exp {
    position: absolute;
    left: -35px;
    /*border-radius: 10%;*/
    /*background-color: rgb(224, 207, 77);*/
    width: 10%;
    height: 10%;
    border-radius: 50%;
    margin-top: 110px;
    background: var(--primary_3_1);
    color: white;
    padding: 2px;
}

.expand {
    position: absolute;
    top: 0;
    left: -40px;
    /*border-radius: 10%;*/
    /*background-color: rgb(224, 207, 77);*/
    width: 10%;
    height: 10%;
    background: white;
    border-radius: 50%;
    margin: 5px;
}

.expand_more {
    left: -70px;
}

.table-expand {
    width: 500px;
    height: 500px;
    table-layout: fixed;
}

.num_nivel {
    background-color: white;
    color: var(--secondary_3);
    position: absolute;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 33%;
    width: 10%;
    text-align: center;
}

.limites {
    /*background-color: #d9df2c;*/
    position: fixed;
    /*width: 10%;*/
    font-size: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16%;
    left: 10px;
    /*top: 110px;*/
    z-index: 45;
    border-radius: 8px;
    border: 1px solid black;
    background-color: white;
}

.cabecera {
    height: 60px;
}

.div-dropdown {
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: transparent;
    position: relative;
    width: 100%;
    padding: 5px;
    height: 60px;
}

.enunciado {
    max-width: 90%;
    max-height: 40px;
    /*padding: 5px 10px;*/
    font-size: 75%;
    background-color: transparent;
    cursor: pointer;
    resize: both;
    /*color: var(--yellow);*/
    color: #f6e345;
}

.dropleft .dropdown-toggle::before {
    display: none;
}

.mision_style {
    /*background-color: #f6e345;*/
    /*background-color: white;*/
    padding: 10px;
    margin: 10px;
    /*font-family: 'VT323', monospace;*/
    /*font-family: 'Pangolin', cursive;*/
    font-family: 'Press Start 2P', cursive;
    font-size: 2.7vh;
    /*border: 8px solid var(--primary_5);*/
    background-color: #f6e345;
    width: 300px;
}

.history_arrow {
    margin: 0;
    padding: 0;
    border: 3px solid var(--primary_3_1);
    border-radius: 5px;
    background-color: var(--primary_3_6);
}

.blocklyToolboxDiv {
    z-index: 30;
    /*width: 20px;*/
}

.title {
    color: orange;
    font-size: 50%;
    text-align: center;
    /*margin-top: 5%;*/
    margin: 0;
}

.resultado_juego {
    color: white;
    font-size: 24px;
    flex-direction: column;
    margin-top: 5%;
    text-align: center;
    list-style-type: disc;
}

.bi-arrow-right {
    vertical-align: 0%;
}

.if_btn {
    border: 1px solid rgb(63, 203, 225);
}

.number_energy {
    /*position: absolute;*/
    margin: auto;
    color: white;
    font-size: 17px;
    z-index: 58000;
    /*right: 0;*/
    font-weight: bold;
    padding-right: 5px;
    font-family: 'Press Start 2P', cursive;
    /*bottom: 0;*/
}

.style_energy {
    height: 4vh;
    /*background-color: white;*/
    border: 1px solid white;
    max-height: 65px !important;
    background-color: #b4fe2d;
    border-radius: 4px;
}

.energy_border_number {
    border-radius: 0 8px 8px 0;
    padding: 7px;
    background: #100025 !important;
    border: 2px solid #4ea3ca;
}

.energy_border_img {
    display: flex;
    justify-content: center;
    border: 2px solid #4ea3ca;
    border-radius: 8px 0 0 8px;
    background: #03082e !important;
}

.barra_energia {
    margin: 0;
    padding: 0;
    margin-top: -6.7vh;
}

.energy_bar_box {
    height: 7vh;
    max-height: 65px !important;
    width: 100% !important;
    background-color: rgb(128, 128, 128);
    /*position: absolute;*/
    /*top: -7vh;*/
    /*margin-left: 0 !important;*/
    margin: 0;
    padding: 0;
    position: relative;
}

.energy_bar {
    width: 100% !important;
    margin: 0;
    padding: 0;
}

.img_rayo {
    width: 60%;
    height: 100%;
    object-fit: scale-down;
    padding: 2px;
    left: 0;
    position: absolute;
}

/*.fondo_texto {*/
/*    background-image: url(/static/blockly/capibara/image/fondo2.png) !important;*/
/*    background-repeat: no-repeat;*/
/*    background-size: contain;*/
/*    height: 250px;*/
/*    width: 100%;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    margin: auto;*/
/*}*/

.fondo_texto {
    background-color: white;
    border: 5px double black;
}

@media (min-width: 1000px) {
    /*.btn-reinicio_mobile{*/
    /*    border: 5px solid white;*/
    /*}*/
    /*.btn-ejecutar_mobile {*/
    /*    border: 5px solid white;*/
    /*}*/
}

@media (max-height: 1200px) {
    .galeria {
        font-size: 15px;
        margin-top: 10%;
    }

    #cerrar_tematico {
        margin-left: 210%;
        border: none;
        background-color: red;
        border-radius: 8px;
        color: white;
        font-weight: bold;
        height: 40px;
    }

    .content_btn {
        margin-left: 40%;
    }

    .circle_niveles_title {
        font-size: 4vh;
    }

    .m-gallery {
        height: 700px;
        width: 800px;
    }

    #spinner-container {
        width: 80%;
        height: 450px;
        position: relative;
        overflow: hidden;
        margin-left: 10%;
    }

    .text_secuencias {
        font-family: 'Press Start 2P', cursive;
        font-size: 15px;
        text-align: justify !important;
        color: #ff8d00;
        -webkit-text-stroke: 0.5px #ad8037;
        margin-top: 1.5%;
        margin-left: 0;
    }

    .pixel-button {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;
        ;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;
        position: relative;
        line-height: 50px;
        width: 200px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 50px;
        margin-right: 20%;
    }

    .button-gallery {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;
        position: relative;
        line-height: 50px;
        width: 200px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 50px;
        margin-right: 20%;
    }

    .pixel-button_g {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;
        position: relative; /* Añadido para posición relativa */
        line-height: 50px;
        width: 200px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 55px;
    }

    .pixel-button:hover {
        background-color: #0e9f39;;
        color: yellow;
        border: 3px solid transparent;
    }

    .star_capibara_icon2 {
        width: 25px;
        color: #f5f509;
        height: 80%;
        margin-bottom: 9%;
    }

    #data_star {
        margin-top: 3%;
        margin-right: 1%;
        font-size: 21px;
    }

    #carga {
        width: 100%;
        height: 10px;
        background-color: #E0E0E0;
        /* Color de fondo de la barra de progreso */
        border: 1px solid #FFFFFF;
        /* Borde blanco */
        border-radius: 5px;
        /* Bordes redondeados */
        position: absolute;
        bottom: 0; /* Alinear con la parte inferior del botón */
        left: 0; /* Alinear con el borde izquierdo del botón */
    }


    #carga .progreso {
        height: 100%;
        background-color: #f7b00a; /* Color de la barra de progreso */
        border-radius: 4px; /* Bordes redondeados */
    }

    .star_capibara_icon3 {
        width: 25px;
        color: #f5f509;
        height: 80%;
        margin-bottom: 9%;
        display: none;
    }
}

@media (min-width: 1200px) {

    /*.btn-reinicio_mobile{*/
    /*    border: 7px solid white;*/
    /*}*/
    /*.btn-ejecutar_mobile {*/
    /*    border: 7px solid white;*/
    /*}*/
}

.element {
    padding: 20px;
    height: 300px;
    width: 100%;
    background-color: skyblue;
}

.element p {
    visibility: hidden;
    text-align: center;
    color: white;
    font-size: 3em;
}


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

    100% {
        transform: rotate(360deg);
    }
}

.rotating-star {
    animation: none;
    /* Inicialmente desactivamos la animación */
    font-size: 2rem;
}

.rotate-animation {
    animation: rotateStar 3s infinite;
}

.progress {
    /*height: 35px;*/
    height: 10vh;
    width: 100%;
    margin: auto;
    /*margin-left: 10%;*/
}

.arrow-img {
    height: 1.5em;
    /* Ajusta esta altura según tus necesidades */
    vertical-align: middle;
    /* Alinea verticalmente con el texto */
}

.arrow_img_portal {
    height: 2.3em;
}


.start-img {
    height: 1.5em;
    /* Ajusta esta altura según tus necesidades */
    vertical-align: middle;
    /* Alinea verticalmente con el texto */
}

.col-puntajes {
    height: 100%;
    margin-top: 10%;
    margin-bottom: auto;
    display: flex;
    font-size: 1.5vw;
    font-weight: bold;
    justify-content: left;
    align-items: center;
    padding: 0 0 0 15px;
}

.img-puntajes {
    height: 30px;
    margin-top: 12%;
    padding: 0;
    display: flex;
    justify-content: center;
}


.disable {
    pointer-events: none;
    /* Evita que los clics pasen a través de la tarjeta */
    opacity: 0.8;
    /* Cambia la opacidad para indicar que está desactivada */
}

.able {
    pointer-events: all;
    /* Evita que los clics pasen a través de la tarjeta */
}

.bg_able {
    background-color: #8a8a8a !important;
}

.list_elements_collapse {
    margin-top: -11px;
    border: 8px solid var(--primary_1);
    border-top: none;
    border-radius: 8px;
    padding-top: 50px;
    background-color: #ffffff63;
}

.title_categorias {
    background: var(--primary_1);
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
    cursor: pointer;
}

.box_cp {
    height: 430px;
    border: 5px solid #414141;
    background-color: #414141;
    cursor: pointer;
}

.box_cp_body {
    display: flex;
    padding: 0 20px 0 20px;
}

.box_cp_img {
    width: 100%;
    height: auto;
    margin: auto;
    border: 5px solid silver;
    border-radius: 8px;
}

.box_cp_points {
    height: 35px;
    padding: 0 4px 0 4px;
}

.box_cp_footer {
    /*background-color: var(--primary_1);*/
    /*background-color: var(--primary_1_2);*/
    background-color: transparent;
    text-align: center;
    /* border-radius: 0!important; */
    /*border-radius: 8px !important;*/
    /*margin: 10px;*/
    border: none;
}

.box_cp_title {
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    color: white;
    margin: 5px;
}

.box_cp:hover {
    border: 2px solid var(--primary_1);
}

.star_capibara_icon {
    width: 25px;
    height: 25px;
    color: yellow;
    padding-right: 5px;
}

/*.bg_container {*/
/*    background-image: url(/static/blockly/capibara/image/fondo_op_5.png);*/
/*    background-repeat: no-repeat;*/
/*    background-attachment: fixed;*/
/*    background-position: center top;*/
/*    background-size: cover;*/
/*}*/

.h3_modify {
    -webkit-text-stroke: 2px black;
    color: white;
    background-color: transparent;
    font-size: 3rem;
}

.title_secuencias {
    font-family: 'Press Start 2P', cursive;
    font-size: 35px;
    text-align: left;
    color: white;
    -webkit-text-stroke: 2px black;
    margin: 0;
}

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


.cardBox {
    width: 100%;
    height: 100%;
    float: left;
    font-size: 1.2em;
    margin: 1% 0 0 1%;
    perspective: 800px;
    transition: all 0.3s ease 0s;
    /*width: 23.7%;*/
}

.cardBox_v2 {
    width: 100%;
    height: 100%;
    float: left;
    font-size: 1.2em;
    margin: 1% 0 0 1%;
    perspective: 800px;
}

.cardBox:hover .card_cb {
    transform: rotateY(180deg);
}

.card_cb {
    background-color: #505050;
    cursor: default;
    height: 400px;
    transform-style: preserve-3d;
    transition: transform 0.4s ease 0s;
    width: 100%;
    -webkit-animation: giro 1s 1;
    /*animation: giro 1s 1;*/
    transition: .90s ease;
    border-radius: 8px;
    max-width: 300px;
}

.card_cb_v2 {
    background-color: #505050;
    cursor: default;
    height: 100%;
    transform-style: preserve-3d;
    width: 100%;
    border-radius: 8px;
    max-width: 300px;
}

.front,
.back {
    backface-visibility: hidden;
    box-sizing: border-box;
    color: white;
    display: block;
    font-size: 1.2em;
    height: 100%;
    padding: 0.8em;
    position: absolute;
    text-align: center;
    width: 100%;
    margin: 0;

}

.btn_card_capibara {
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    display: flex;
    justify-content: center;
}

.back {
    transform: rotateY(180deg);
}

.capibara_card_img {
    padding: 0;
    border: 10px solid var(--secondary_3_4);
    border-radius: 8px;
    width: 100%;
    min-height: 100px;
    margin-bottom: 1rem;
}

.capibara_card_title {
    font-family: 'Press Start 2P', cursive;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: white;
}

.card_capibara {
    margin-bottom: 30px;
}

.capibara_card_box {
    /*background-color: #505050;*/
    margin-bottom: 1rem;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
    -webkit-box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.5);
    padding: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border: 3px solid var(--secondary_3_4);
}

@keyframes giro {
    from {
        transform: rotateY(180deg);
    }

    to {
        transform: rotateY(0deg);
    }
}

@-webkit-keyframes giro {
    from {
        transform: rotateY(180deg);
    }

    to {
        transform: rotateY(0deg);
    }
}


/******************  fireworks *********************/
.fireworks {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 0px;

}

.fireworks .firework {
    /*position: absolute;*/
    /*right: 20px;*/
    /*top: 0px;*/
    /*left: 0px;*/
    /*margin: 0px 50px;*/
}

.fireworks .firework .explosion {
    position: absolute;
    top: 0;
    width: 2px;
    height: 2px;
    opacity: 0;
    transform-origin: top center;
    will-change: transform;
    /*animation: explosion 0.7s linear 3s infinite;*/
    animation: explosion 0.7s linear 10;
}

.fireworks .firework .explosion:nth-child(1) {
    transform: rotate(0deg);
}

.fireworks .firework .explosion:nth-child(2) {
    transform: rotate(90deg);
}

.fireworks .firework .explosion:nth-child(3) {
    transform: rotate(180deg);
}

.fireworks .firework .explosion:nth-child(4) {
    transform: rotate(-90deg);
}

.fireworks .firework .explosion:nth-child(5) {
    transform: rotate(45deg);
}

.fireworks .firework .explosion:nth-child(6) {
    transform: rotate(-45deg);
}

.fireworks .firework .explosion:nth-child(7) {
    transform: rotate(135deg);
}

.fireworks .firework .explosion:nth-child(8) {
    transform: rotate(225deg);
}

.fireworks .firework .explosion .spark {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    will-change: transform;
    animation: explosion2 0.7s ease-in-out 3s infinite;
}


.fireworks .firework .explosion .spark.red {
    background-color: #E91E63;
}

.fireworks .firework .explosion .spark.blue {
    background-color: skyblue;
}

.fireworks .firework .explosion .spark.green {
    background-color: limegreen;
}

.fireworks .firework .explosion .spark.yellow {
    background-color: yellow;
}

.fireworks .firework .explosion .spark.purple {
    background-color: purple;
}

@keyframes fireworkstart {
    0% {
        height: 0px;
        transform: translateY(1000px);
    }

    50% {
        height: 50px;
    }

    75% {
        height: 30px;
    }

    100% {
        height: 0;
        transform: translateY(0);
    }
}

@keyframes explosion {
    0% {
        height: 0px;
        opacity: 0;
    }

    50% {
        height: 25px;
        opacity: 1;
    }

    100% {
        height: 0px;
        opacity: 0;
    }
}

@keyframes explosion2 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(5px);
    }

    75% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(70px);
    }
}

.complete_mision {
    font-size: 1.3vw;
    /*animation: agrandarYReducir 2s 2;*/
    color: var(--yellow);
}

/*@keyframes agrandarYReducir {*/
/*    0%, 100% {*/
/*        font-size: 1.5vw;*/
/*    }*/
/*    50% {*/
/*        font-size: 32px;*/
/*    }*/
/*}*/


#div_title_mision {
    display: flex;
}

.div_energy_bar {
    padding: 7px;
}

.string_statement {
    font-size: 16px;
    font-weight: bold;
    overflow-wrap: break-word;
    hyphens: auto;
}

.scroll_style {
    height: 270px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.scroll_style::-webkit-scrollbar {
    width: 10px;
}

.scroll_style::-webkit-scrollbar-thumb {
    background-color: #fea64e;
    border-radius: 20px;
    border: 3px solid #fea64e;
}

.style_card_list {
    height: 100%;
    border: none;
    background-color: transparent;
    margin-bottom: 20px;
    max-height: 450px;
    min-height: 350px;
}

.nav-tabs .nav-link.active {
    background-color: #885cac;
    color: white;
}

.nav-link:hover {
    color: #885cac !important;
}

.nav-link.active:hover {
    color: white !important;
}

.text_nav {
    color: #885cac;
    font-weight: bold;
}

.text_nav:hover {
    /*color: #885cac !important;*/
    border: 2px solid #885cac !important;
    border-bottom: none !important;
}

.tab_content {
    border: 2px solid #885cac;
    border-radius: 8px;
    padding: 20px;
}

.clipboard_input, .clipboard_input:focus-visible {
    background: transparent;
    border: none;
    color: #885cac;
}

input:focus-visible, input:focus, input:active, input::selection {
    background: transparent;
    border: none;
}

#commandToCopy {
    border: none;
    outline: none;
    width: 100%;
    background-color: transparent;
    font-size: inherit;
}

.copied {
    background-color: #885cac !important;
    color: white !important;
}

.btn_clipboard {
    border: 2px solid #885cac;
    border-radius: 8px;
    background-color: white;
    color: #885cac;
    font-weight: bold;
    padding: 2px 20px;
}


.clipboard_input {
    width: 100%;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: inherit;
    white-space: nowrap;
    scrollbar-color: red transparent;
    scrollbar-width: thin;
}

.puntito_pasos {
    color: #885cac;
    font-size: 25px;
    margin-right: 20px;
    margin-left: 20px;
}


@media (max-width: 720px) {
    .btn_jugar {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 700px) {
    .img_rayo {
        display: none;
    }
}


@media (max-width: 600px) {
    #div_title_mision {
        display: none !important;
    }

    .title_secuencias {
        font-size: 20px;
    }

    .text_secuencias {
        font-family: 'Press Start 2P', cursive;
        font-size: 8px;
        text-align: justify;
        color: #ff8d00;
        -webkit-text-stroke: 0.5px #ad8037;
        margin-top: 1.5%;
        margin-left: 0%;
    }
}

@media (max-width: 550px) {
    .title_secuencias {
        font-size: 22px;
    }
}

@media (max-width: 360px) {
    .title_secuencias {
        font-size: 18px;
        -webkit-text-stroke: 1px black;
    }
}

@media (max-height: 500px) {
    .div_energy_bar {
        padding: 4px;
    }

    /*.number_energy {*/
    /*    font-size: 12px;*/
    /*}*/

}

@media (max-height: 550px) {
    .expand_more {
        left: -55px !important;
    }

    .expand {
        left: -30px !important;
    }

    .volume {
        left: -31px !important;
        margin-top: 75px;
    }

    .volume_exp {
        left: -30px !important;
        margin-top: 60px;
    }

    .volumen_game {
        padding: 0;
    }
}

@media (max-height: 414px) {
    .expand {
        left: -25px !important;
    }

    .expand_more {
        left: -40px !important;
    }

    .volume {
        left: -35px !important;
        margin-top: 75px;
    }

    .volume_exp {
        left: -20px !important;
        margin-top: 55px;
    }

    .style_card_list {
        min-height: 268px;
    }
}

@media (max-height: 350px) {

    .img_rayo {
        display: none;
    }

    .btnfont {
        padding: 0;
    }

    .style_card_list {
        min-height: 250px;
    }

    .cardBox_v2 {
        height: 80%;
    }
}

@media (max-height: 250px) {
    /*.number_energy {*/
    /*    font-size: 8px;*/
    /*}*/
}

.geras-renderer {
    background-color: rgb(165, 91, 103);
}

.blocklyDropDownDiv {
    background-color: rgb(91, 128, 165);
}

.push_label {
    color: white;
    font-size: 1vw;
    font-weight: bold;
    margin: auto 0;
    font-family: ' Press Start 2P', cursive;
}

.btn_close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 3px;
    background-color: red;
    color: white;
    /* padding: 5px 10px; */
    /* border: none; */
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.toolbox_container {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #9b9b9b;
    z-index: 1000;
    overflow-y: scroll;

    min-width: 130px !important;
    max-width: 250px !important;
}

.buttons_container {
    height: 80px;
    position: relative;
    margin: 5px 0;
    width: auto;
    display: flex;
    height: 5vw;
}

.buttons_toolbox {
    display: block;
    height: 100%;
    width: 100%;
}

.btn_directions {
    padding: 0 0 8px 0;
    margin: 5px 15px 0 8px;
    border-bottom: 2px solid white;
}

.btn_labels {
    color: white;
    font-weight: bold;
    font-family: 'Press Start 2P', cursive;
    padding: 0 0 0 0;
    margin: 0 15px 0 15px;
    text-align: center;

}

.arrow_directions {
    height: 2em;
    width: 2em;
}

.arrow_left {
    padding: 0;
    display: flex;
}

.arrow_right {
    padding: 0;
    display: flex;
}

.arrow_up {
    margin: 0 0 0 0;
}

.arrow_down {
    margin: 0 0 0 0;
}

@media (max-width: 750px),
(max-height: 850px) {
    .arrow_down {
        margin: -6px 0 0 0;
    }

    .arrow_up {
        margin: 0 0 -6px 0;
    }

    .arrow_directions {
        height: 1.5em;
        width: 1.5em;
    }

    .btn_labels {
        font-size: 60%;
    }

    .toolbox_container {
        min-width: 130px !important;
    / / max-width: 150 px !important;
    }
}


/*****  Nuevos estilos - vista blockly mapa *****/
.circle_niveles {
    background-color: #ffc62b;
    padding: 20px;
    cursor: pointer;
    border-radius: 100%;
    width: 130px;
    height: 130px;
    z-index: 200;
    justify-content: center;
    vertical-align: middle;
    display: flex;
    margin: 10px auto;
}

.circle_porcentaje_completado {
    border-radius: 100%;
    width: 150px;
    height: 150px;
    position: absolute;
    margin: auto;
    display: flex;
    justify-content: center;
    padding: 20px;
    z-index: 100;
}

.circle_niveles_title {
    margin: auto;
    /*font-size: 70px;*/
    font-size: 5vh;
}

.title_game {
    font-family: 'Press Start 2P', cursive;
    text-align: left;
    color: #ffc62b;
    -webkit-text-stroke: 2px black;
    margin: 0;
}

.star_card_sec {
    height: 30%;
}

.title_card_sec {
    height: 70%;
}

.btn_sec_style {
    background-color: #c9345c;
    border: outset #ffc62b;
    /*width: 130px;*/
    /*height: 150px;*/
    width: 100%;
    height: 100%;
}


.modal_sec,
.modal_niveles {
    display: none;
    position: fixed;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 300;
}

.modal_sec_contenido {
    padding: 20px;
    width: 100%;
    height: 100%;
}

.abrir-modal_sec {
    cursor: pointer;
    color: #007BFF;
    text-decoration: underline;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}


.justify-content-center {
    justify-content: center !important;
}


.div_padre {
    padding: 5px;
    overflow: hidden;
    display: flex;
    justify-content: left;
    width: 100%;
    height: 90%;
    margin: auto;
}

.div_padre_title {
    height: 10%;
}

.btn_sec_style {
    text-align: center;
    width: 100%;
    /*max-width: 200px;*/
}

.img_sec {
    height: 100%;
    max-height: 150px;
    width: auto;
    max-width: 100%;
    margin: auto !important;
}

.btn_road_number {
    width: 15vw;
    height: 20vh;
    position: absolute;
    background-color: var(--primary_2_1);
    margin-left: -25px;
    /*margin-top: -25px;*/
    margin-top: -13px;
    max-width: 150px;
    max-height: 100px;
    padding: 0;
    border: 2px solid var(--primary_2_2);
    box-shadow: 3px 3px 10px 0 rgb(0 0 0 / 82%);
    border-radius: 8px;
}

.modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    width: 100vw;
    height: 100vh;
    background-color: #00000099;
}

.btn_settings {
    width: 7vw;
    height: 10vh;
}

.title_modal_sec {
    font-size: 20px;
    margin: auto;
    font-weight: bold;
}

/*.cd_niveles_img {*/
/*    height: 169px;*/
/*}*/

.height_star {
    height: 25%;
}

.height_star_content {
    height: 75%;
}

.change_border {
    border: none !important;
    border-right: 2px solid var(--primary_1) !important;
}

.circle_score {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    margin: 10px;
    color: white;
    justify-content: center;
}

.with_social_media {
    width: 60%;
    display: flex;
    margin: auto;
}

.social_media_img:hover {
    border: 3px solid transparent;
    border-radius: 8px;
}

.btn_download_math:hover {
    box-shadow: 0 8px 16px 0 var(--secondary_2_9_2);
}

.button_banner {
    width: 100%;
    border-style: none;
    position: relative;
    padding: 0;
    overflow: hidden;
    transition: all .5s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.button_banner span {
    position: absolute;
    display: block;
}

.button_banner span:nth-child(1) {
    height: 5px;
    width: 200px;
    top: 0px;
    left: -200px;
    background: linear-gradient(to bottom right, blue, white, red);
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
    animation: span1 2s linear infinite;
    animation-delay: 1s;
}

.btn_banner:focus {
    outline: none !important;
}

@keyframes span1 {
    0% {
        left: -200px
    }

    100% {
        left: 200px;
    }
}

.button_banner span:nth-child(2) {
    height: 70px;
    width: 5px;
    top: -70px;
    right: 0px;
    background: linear-gradient(to bottom right, blue, white, red);
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    animation: span2 2s linear infinite;
    animation-delay: 2s;
}

@keyframes span2 {
    0% {
        top: -70px;
    }

    100% {
        top: 70px;
    }
}

.button_banner span:nth-child(3) {
    height: 5px;
    width: 200px;
    right: -200px;
    bottom: 0px;
    background: linear-gradient(to bottom right, blue, white, red);
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
    animation: span3 2s linear infinite;
    animation-delay: 3s;
}

@keyframes span3 {
    0% {
        right: -200px;
    }

    100% {
        right: 200px;
    }
}

.button_banner span:nth-child(4) {
    height: 70px;
    width: 5px;
    bottom: -70px;
    left: 0px;
    background: linear-gradient(to bottom right, blue, white, red);
    border-top-right-radius: 1px;
    border-top-left-radius: 1px;
    animation: span4 2s linear infinite;
    animation-delay: 4s;
}

@keyframes span4 {
    0% {
        bottom: -70px;
    }

    100% {
        bottom: 70px;
    }
}

@media (max-height: 1024px) {

    .modal_cont {
        height: 180px;
    }

    .galeria {
        font-size: 15px;
        margin-top: 10%;
    }

    #cerrar_tematico {
        margin-left: 210%;
        border: none;
        background-color: red;
        border-radius: 8px;
        color: white;
        font-weight: bold;
        height: 40px;
    }

    .content_btn {
        margin-left: 40%;
    }

    .circle_niveles_title {
        font-size: 4vh;
    }

    .m-gallery {
        height: 700px;
        width: 800px;
    }

    #spinner-container {
        width: 80%;
        height: 450px;
        position: relative;
        overflow: hidden;
        margin-left: 10%;
    }

    .text_secuencias {
        font-family: 'Press Start 2P', cursive;
        font-size: 15px;
        text-align: justify !important;
        color: #ff8d00;
        -webkit-text-stroke: 0.5px #ad8037;
        margin-top: 1.5%;
        margin-left: 0;
    }

    .pixel-button {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;
        position: relative;
        /* Añadido para posición relativa */

        line-height: 50px;
        width: 200px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 50px;
        margin-right: 20%;
    }

    .button-gallery {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;
        position: relative;
        /* Añadido para posición relativa */

        line-height: 50px;
        width: 200px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 50px;
        margin-right: 20%;
    }

    .pixel-button_g {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;
        position: relative; /* Añadido para posición relativa */
        line-height: 50px;
        width: 200px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 55px;
    }

    .pixel-button:hover {

        background-color: #0e9f39;;
        color: yellow;
        border: 3px solid transparent;
    }

    .star_capibara_icon2 {
        width: 25px;
        color: #f5f509;
        height: 80%;
        margin-bottom: 9%;
    }

    #data_star {
        margin-top: 3%;
        margin-right: 1%;
        font-size: 21px;
    }

    #carga {
        width: 100%;
        height: 10px;
        background-color: #E0E0E0;
        /* Color de fondo de la barra de progreso */
        border: 1px solid #FFFFFF;
        /* Borde blanco */
        border-radius: 5px;
        /* Bordes redondeados */
        position: absolute;
        bottom: 0; /* Alinear con la parte inferior del botón */
        left: 0; /* Alinear con el borde izquierdo del botón */
    }


    #carga .progreso {
        height: 100%;
        background-color: #f7b00a; /* Color de la barra de progreso */
        border-radius: 4px; /* Bordes redondeados */
    }

    .star_capibara_icon3 {
        width: 25px;
        color: #f5f509;
        height: 80%;
        margin-bottom: 9%;
        display: none;
    }


}

@media (max-width: 800px) {
    .with_social_media {
        width: 100%;
    }

    .text_secuencias {
        font-family: 'Press Start 2P', cursive;
        font-size: 8px;
        text-align: justify;
        color: #ff8d00;
        -webkit-text-stroke: 0.5px #ad8037;
        margin-top: 0.5%;
        margin-left: 0%;
    }

}


@media (max-height: 800px) {

    .modal_cont {
        height: 100px;
    }

    .galeria {
        font-size: 9px;
        margin-top: 10%;
    }

    .content_btn {
        margin-left: 35%;
    }

    .pixel-button_g {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;

        position: relative; /* Añadido para posición relativa */
        line-height: 50px;
        width: 200px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 45px;
    }

    .title_secuencias {
        font-size: 20px;
    }

    .modal_sec,
    .modal_niveles {
        display: none;
        position: fixed;
        top: 7%;
        left: 7%;
        width: 86%;
        height: 86%;
    }

    #spinner-container {
        width: 40%;
        height: 260px;
        position: relative;
        overflow: hidden;
        margin-left: 30%;
    }

    .pixel-button {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;

        position: relative; /* Añadido para posición relativa */
        line-height: 50px;
        width: 115px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 30px;
    }

    .button-gallery {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;

        position: relative; /* Añadido para posición relativa */
        line-height: 50px;
        width: 115px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 30px;
    }

    .pixel-button:hover {
        background-color: #0e9f39;
        color: yellow;
        border: 3px solid transparent;
    }

    .star_capibara_icon4 {
        width: 25px;
        color: #f5f509;
        height: 65%;
        margin-bottom: 9%;
        display: none;
    }

    #carga .progreso {
        height: 100%;
        background-color: #f7b00a;
        /* Color de la barra de progreso */
        border-radius: 4px;
        /* Bordes redondeados */
    }

    #carga {
        width: 100%;
        height: 6px;
        background-color: #E0E0E0;
        /* Color de fondo de la barra de progreso */
        border: 1px solid #FFFFFF;
        /* Borde blanco */
        border-radius: 5px;
        /* Bordes redondeados */
        position: absolute;
        bottom: 0;
        /* Alinear con la parte inferior del botón */
        left: 0;
        /* Alinear con el borde izquierdo del botón */
    }

    #data_star {
        margin-top: 3%;
        margin-right: 1%;
        font-size: 13px;
    }

    .star_capibara_icon3 {
        width: 25px;
        color: #f5f509;
        height: 80%;
        margin-bottom: 9%;
        display: none;
    }

    #cerrar_tematico {
        margin-left: 78%;
        border: none;
        background-color: red;
        border-radius: 8px;
        color: white;
        font-weight: bold;
        height: 27px;
    }
}

@media (min-width: 600px) {
    .modal-dialog {
        max-width: 600px;
    }


    .modal_sec, .modal_niveles {
        display: none;
        position: fixed;
        top: 5%;
        left: 5%;
        width: 90%;
        height: 90%;
    }
}


@media (max-height: 500px) {
    #spinner-container {
        width: 40%;
        height: 230px;
        position: relative;
        overflow: hidden;
        margin-left: 30%;
    }

    .title_modal_sec {
        font-size: 15px;
    }

    .div_padre {
        height: 85%;
    }

    .title_secuencias {
        font-size: 18px;
    }

    .div_padre_title {
        height: 15%;
    }


    .modal_sec, .modal_niveles {
        display: none;
        position: fixed;
        top: 5%;
        left: 5%;
        width: 90%;
        height: 96%;
    }

    .img_sec {
        height: 80%;
    }

    .height_star {
        height: 50%;
    }

    .height_star_content {
        height: 50%;
    }
}

.social-share {
    position: relative;
}

.share-button {
    color: white;
}

.share-button:hover {
    color: var(--primary_2_1);
}

.text_ValueSpan {
    font-size: 25px;
    font-weight: bold;
    margin: auto;
}


@media (max-height: 375px) {
    .star_card_sec {
        height: 45%;
    }

    .text_ValueSpan {
        font-size: 20px;
    }

    .title_card_sec {
        height: 55%;
    }

    .circle_niveles_title {
        font-size: 6vh;
    }
}

@media (max-height: 300px) {
    .star_capibara_icon {
        width: 20px;
        height: 20px;
    }
}

.btn_sound {
    background-color: var(--primary_3_1);
    border-radius: 8px;
    border: none;
    width: 100%;
    height: 10vh;
}

@media (max-width: 991px) {
    .change_border {
        border: none !important;
        border-bottom: 2px solid var(--primary_1) !important;
    }

    .m-gallery {
        height: 600px;
        width: 600px;
    }

    .title_secuencias {
        font-size: 20px;
    }

    .text_secuencias {
        font-family: 'Press Start 2P', cursive;
        font-size: 10px;
        text-align: justify !important;
        color: #ff8d00;
        -webkit-text-stroke: 0.5px #ad8037;
        margin-top: 1.5%;
        margin-left: 0%;
    }

    #spinner-container {
        width: 40%;
        height: 260px;
        position: relative;
        overflow: hidden;
        margin-left: 30%;
    }

    .pixel-button2 {
        background-color: #10a93e;
        color: #F9A825;
        border: 2px solid #9f780e;;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Press Start 2P', cursive;

        position: relative; /* Añadido para posición relativa */
        line-height: 50px;
        width: 115px;
        display: flex;
        /* Utilizar flexbox */
        justify-content: center;
        /* Centrar verticalmente los elementos */
        padding: 1%;
        height: 30px;
    }

    .pixel-button:hover {
        background-color: #0e9f39;;
        color: yellow;
        border: 3px solid transparent;
    }

    .button-gallery:hover {
        background-color: #0e9f39;;
        color: yellow;
        border: 3px solid transparent;
    }

    .star_capibara_icon4 {
        width: 25px;
        color: #f5f509;
        height: 65%;
        margin-bottom: 9%;
        display: none;
    }

    #carga .progreso {
        height: 100%;
        background-color: #f7b00a;
        /* Color de la barra de progreso */
        border-radius: 4px;
        /* Bordes redondeados */
    }

    #carga2 {
        width: 100%;
        height: 6px;
        background-color: #E0E0E0;
        /* Color de fondo de la barra de progreso */
        border: 1px solid #FFFFFF;
        /* Borde blanco */
        border-radius: 5px;
        /* Bordes redondeados */
        position: absolute;
        bottom: 0;
        /* Alinear con la parte inferior del botón */
        left: 0;
        /* Alinear con el borde izquierdo del botón */
    }

    #data_star2 {
        margin-top: 3%;
        margin-right: 1%;
        font-size: 13px;
    }

    .star_capibara_icon3 {
        width: 25px;
        color: #f5f509;
        height: 80%;
        margin-bottom: 9%;
        display: none;
    }

}

.progress-container {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    /* Oculta el overflow */
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-bar2 {
    float: left;
    width: 7.1%;
    /* 100% dividido por 9 para 9 celdas */
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-size: cover;
    /* Ajusta el tamaño de la imagen al contenedor */
    background-repeat: no-repeat;
    /* Evita que la imagen se repita */
    color: white;
    border: 1px solid #333;
    /* Bordes más marcados */
    box-sizing: border-box;
    /* Hace que el borde se incluya en el tamaño total */
}

.empty-cell {
    float: left;
    width: 11.1%;
    height: 30px;
    background-size: cover;
    /* Ajusta el tamaño de la imagen al contenedor */
    background-repeat: no-repeat;
    /* Evita que la imagen se repita */
    border: 1px solid #333;
    /* Bordes más marcados */
    box-sizing: border-box;
    /* Hace que el borde se incluya en el tamaño total */
}

.btn_canje {
    height: 30px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 30px;
}

.modal_image_box {
    background-image: url(/static/blockly/capibara/image/capi_mayo.png);
    background-position: center;
    background-size: cover;
}


.modal_image_gallery {
    background-image: url(/static/blockly/capibara/image/capi_mayo.png);
    background-position: center;
    background-size: cover;
    position: relative;
    /* Para que la superposición pueda ser posicionada correctamente */
}

.modal_image_gallery::before {
    content: "";
    /* Necesario para que funcione el pseudo-elemento */
    position: absolute;
    /* Para que el pseudo-elemento pueda posicionarse encima del fondo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    /* Color blanco semi-transparente */
}

.img_element {
    max-width: 100%;
    height: auto
}

.img_element2 {
    filter: grayscale(100%);
    opacity: 0.5;
}

.img_door {
    filter: grayscale(100%);
    opacity: 0.5;
    display: none;
}

.img_portal {
    filter: grayscale(100%);
    opacity: 0.5;
}

.img_portal2 {
    filter: grayscale(100%);
    opacity: 0.5;
    display: none;
}

.tools {
    margin-top: 2%;
    width: 500px;
    height: 120px;
    background-color: white;
    overflow-x: hidden;
    overflow-y: scroll;
}

.btn-tool {
    font-size: 14px;
    margin-top: 1%;
    margin-left: 2%;
}


.form-group.row.form_ {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group.row.form_ label {
    margin-right: 10px;
    width: 100px;
    /* Ajusta el ancho según sea necesario */
}

.form-group.row.form_ input {
    margin-right: 20px;
}

.form-group.row.form_:last-child {
    justify-content: space-between;
}

.small-input {
    width: 150px;
    /* Ajusta el ancho según tus necesidades */
}

.btn-form {
    font-size: 12px;
    margin-left: 10px;
    /* Añade espacio entre los botones */
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    /* gap: 20px; */
    justify-content: space-between;
}

.card {
    background-color: #4ecf5d;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: calc(25% - 20px);
    /* Ajuste para espacio entre tarjetas */
    box-sizing: border-box;
    display: flex;
    /* Usa flexbox para alinear elementos internos */
    flex-direction: column;
    /* Alinea los elementos verticalmente */
    align-items: center;
    /* Centra verticalmente los elementos hijos */
}

.card_div {
    width: 200px;
    min-height: 200px;
    margin-left: 15%;
    margin-bottom: 10px;
}

.bloque_manzana_style {
    border: 1px solid #6d5ba5;
    background-color: #6d5ba5;
}

#matrix {
    /* display: flex; */
    flex-wrap: wrap;
    /* width: 100%; */
    /* height: 100%; */
    /* box-sizing: border-box; */
    position: relative;
}

.cell {
    flex: 1;
    display: flex;
    border: 1px solid #000;
    box-sizing: border-box;
    position: relative;
    flex-direction: row;
    justify-content: space-evenly;

}

.modal_result {
    background-color: #17a2b8;
    color: white;
    font-size: 30px;
}


.mancha {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #89d0fb;
    animation: movereff 3s ease-in-out infinite;
}

@keyframes movereff {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(0);
    }
}