.blockly_modal {
    display: none;
    position: fixed;
    z-index: 3000;
    overflow: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.452);
}

.blockly_flex {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contenido-modal {
    position: relative;
    background-color: #1f1f1f;
    /*background-color: #fefefe;*/
    margin: auto;
    width: 80%;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .4);
    animation-name: modal;
    animation-duration: 1s;
    height: 80%;
}

.modal_footer {
    bottom: 0;
    position: absolute;
    width: 100%;
}

.modal_header, .modal_footer {
    height: 25%;
    padding: 8px 16px;
    /*background: #34495e;*/
    color: var(--primary_1);
}

.modal_body {
    height: 75%;
}

@keyframes blockly_modal {
    from {
        top: -330px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

.close {
    color: #f2f2f2;
    font-size: 30px;
    font-weight: bold;
}

.close:hover {
    color: #7f8c8d;
    text-decoration: none;
    cursor: pointer;
}

/* Carrusel */
.row_carousel {
    width: 80%;
    display: flex;
    justify-content: center;
    margin: auto;
    /*height: 65vh;*/
}

.blockly_modal_img {
    margin: 30px;
    display: flex;
    justify-content: center;
}

.blockly_modal_img img {
    position: relative;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    height: 25vh;
    /*width: 473px;*/
    /*height: 122px;*/
    /*max-height: 200px;*/
    text-align: center;
}

.blockly_modal_instruc {
    color: white;
    padding: 20px;
    margin: 20px;
    border: 1px solid white;
    border-radius: 8px;
}


@media (max-width: 768px) {
    .blockly_modal_img img {
        width: auto;
        height: 15vh;
    }

}

.bg_modal_style {
    background-color: white !important;
}

.modal_winner {
    display: none;
    position: fixed;
    width: 100%;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.modal_winner img {
    max-width: 100%;
    max-height: 100%;
    -webkit-animation: giro_win 0.1s 1;
    animation: giro_win 1s 1;
}

.modal_win_win img {
    -webkit-animation: giro_win 0.1s 1;
    animation: giro_win 1s 1;
}

@keyframes giro_win {
    from {
        transform: scale3d(0.1, 0.1, 0.1);
    }
    to {
        transform: scale3d(0.5, 0.5, 0.5);
    }
    to {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

@-webkit-keyframes giro_win {
    from {
        transform: scale3d(0.1, 0.1, 0.1);
    }
    to {
        transform: scale3d(0.5, 0.5, 0.5);
    }
    to {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

/* Prueba modal */
.modal_style {
    background-color: rgb(0, 129, 138);
    /*background-color: white;*/
    border-radius: 8px;
    padding: 0;
}

.modal_dialog {
    max-width: none;
    display: flex;
    justify-content: center;
    /*width: 60%;*/
    /*height: 80%;*/
    /*margin-top: 0;*/
    width: 100%;
    height: 100%;
    /*margin-top: 5%;*/
}

.modal_content {
    max-width: none;
    width: 90%;
    height: 90%;
    border-radius: 8px;
    border: none;
    margin: auto;
}

.style_carousel_control {
    height: 100%;
    width: 10%;
    /*background-color: #5865f2;*/
    background-color: var(--primary_1);
    opacity: 1;
}

.modal_center {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.carousel_box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    border-radius: 8px;
}

.carousel_content {
    display: inline-block;
    width: 80%;
    height: 100%;
    /*height: 73vh;*/
}

.carousel_element {
    width: 100%;
    height: 100%;
}

.line_carousel {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    /*padding-bottom: 20px;*/
}

.blockly_title {
    width: 100%;
    /*height: 60%;*/
    height: 13vh;
    position: relative;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
}

.blockly_title_text {
    margin-top: 3%;
    margin-left: 1.5%;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--primary_2_3);
}

.blockly_images {
    width: 100%;
    /*height: 60%;*/
    /*height: 40vh;*/
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 10px;
    max-height: 95vh;
    margin: auto;
}

.blockly_images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blockly_intructions {
    color: var(--secondary_3);
    width: 100%;
    /*height: 40%;*/
    height: 20vh;
    overflow: auto;
    /*padding-top: 15px;*/
    /*padding-bottom: 15px;*/
}

.blockly_intructions span {
    display: -webkit-box;
    -webkit-line-clamp: 9999;
    -webkit-box-orient: vertical;
    max-height: 100%;
    font-size: 25px;
}

.svg_closed {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: var(--primary_2_3);
    margin-right: 8px;
    margin-top: 8px;
    border-radius: 8px;
}

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

.btn_comenzar {
    /*background-color: var(--primary_1);*/
    /*box-shadow: 0 4px 16px rgb(0 129 138 / 62%);*/
    /*!*border: 2px solid white;*!*/
    /*border: none;*/
    width: 30vw;
    height: 20vh;
    background-image: url(/static/blockly/golf/image/btn_jugar.png) !important;
    border: none;
    background-size: contain;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
}

.btn_comenzar:hover {
    animation: trembling 0.5s infinite;
    background-color: transparent;
}

.btn_next_prev_color {
    height: 100%;
    width: 10%;
    background-color: var(--primary_1);
    opacity: 1;
}

@keyframes trembling {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-2px, -2px);
    }
    50% {
        transform: translate(2px, -2px);
    }
    75% {
        transform: translate(-2px, 2px);
    }
    100% {
        transform: translate(2px, 2px);
    }
}


.button_comenzar {
    /*width: 30vw;*/
    /*height: 20vh;*/
    /*background-color: #5865f2;*/
    border: none;
    /*width: 400px;*/
    /*height: 100px;*/
    width: 403px;
    height: 95px;
    /*background-image: url(/static/blockly/golf/image/comenzar_jugar.png) !important;*/
    background-image: url(/static/blockly/golf/image/botonBlockly.png) !important;
    background-size: contain;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.button_comenzar:hover {
    /*background-color: #5a62684f;*/
    /*border-color: #545b62;*/
    color: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 16px rgb(91 103 165 / 89%);
    transition: all 0.2s ease;
    background-color: transparent !important;
    border-color: transparent !important;
}

/*Background-color Blockly*/

.blocklySvg {
    /*background-color: var(--primary_3_3) !important;*/
    /*background-color: white !important;*/
    /*background-color:  #f0d44c !important;*/
    /*background-color: #f9eeb7;*/
    background-color: white;
}

.blocklyFlyoutBackground {
    /*fill: #f9eeb7 !important;*/
    fill: var(--primary_1_4) !important;
}

.contenedor_style {
    /*background-color: var(--primary_4);*/
    background-color: var(--primary_1);
    /*background-color: #4c2c64;*/
}

.win_title_style {
    font-family: 'Press Start 2P', cursive;
    font-size: 8vh;
}

@media (max-width: 1000px) {
    .button_comenzar {
        width: 100%;
    }

    .blockly_intructions span {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .blockly_intructions span {
        font-size: 18px;
    }
}

.pixel-text {
    font-weight: bold;
    text-align: left;
    font-size: 1.3vw;
    font-family: 'Press Start 2P', cursive;
    color: white;
}

.pixel-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 4vh;
    color: white;
    margin-top: 2%;
}

/*****  landing page ******/
.fondo_programming_game {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url(/static/blockly/capibara/image/landing_page.png);
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    border-radius: 8px;
}

.fondo_programming_game_pq {
    position: relative;
    width: 100%;
    height: 150px;
    background-image: url(/static/blockly/capibara/image/land_pq.png);
    background-repeat: no-repeat;
    background-position: left top;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    border-radius: 8px;
}


.fondo_banner_web {
    position: relative;
    width: 60%;
    height: 300px;
    background-image: url(/static/base/images/background/banner_web.jpeg);
    background-repeat: no-repeat;
    background-position: left top;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    border-radius: 8px;
    margin-left: 20%;
}

@media (max-width: 1200px) {
    .fondo_banner_web {
        position: relative;
        width: 80%;
        height: 300px;
        background-image: url(/static/base/images/background/banner_web.jpeg);
        background-repeat: no-repeat;
        background-position: left top;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        border-radius: 8px;
        margin-left: 10%;
    }
}

@media (max-width: 992px) {
    .fondo_banner_web {
        position: relative;
        width: 100%;
        height: 300px;
        background-image: url(/static/base/images/background/banner_web.jpeg);
        background-repeat: no-repeat;
        background-position: left top;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        border-radius: 8px;
        margin-left: 0%;
    }
}

@media (max-width: 767px) {
    .fondo_banner_web {
        position: relative;
        width: 100%;
        height: 200px;
        background-image: url(/static/base/images/background/banner_web.jpeg);
        background-repeat: no-repeat;
        background-position: left top;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        border-radius: 8px;
        margin-left: 0%;
    }
}

@media (max-width: 576px) {
    .fondo_banner_web {
        position: relative;
        width: 100%;
        height: 200px;
        background-image: url(/static/base/images/background/banner_web.jpeg);
        background-repeat: no-repeat;
        background-position: left top;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        border-radius: 8px;
        margin-left: 0%;
    }
}

@media (max-width: 460px) {
    .fondo_banner_web {
        position: relative;
        width: 100%;
        height: 180px;
        background-image: url(/static/base/images/background/banner_web.jpeg);
        background-repeat: no-repeat;
        background-position: left top;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        border-radius: 8px;
        margin-left: 0%;
    }
}

@media (max-width: 420px) {
    .fondo_banner_web {
        position: relative;
        width: 100%;
        height: 150px;
        background-image: url(/static/base/images/background/banner_web.jpeg);
        background-repeat: no-repeat;
        background-position: left top;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        border-radius: 8px;
        margin-left: 0%;
    }
}

@media (max-width: 360px) {
    .fondo_banner_web {
        position: relative;
        width: 100%;
        height: 120px;
        background-image: url(/static/base/images/background/banner_web.jpeg);
        background-repeat: no-repeat;
        background-position: left top;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        border-radius: 8px;
        margin-left: 0%;
    }
}



.contenido_programming_game {
    background-color: rgb(255 255 255 / 77%);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: absolute;
    width: 60%;
    right: 20px;
    height: 80%;
}

.contenido_programming_game_pq {
    background-color: rgb(255 255 255 / 77%);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: absolute;
    width: 65%;
    right: 10px;
    height: 90%;
}


.title_capi_pajarito_2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    text-align: left;
    padding-left: 20px;
    color: black;
    margin-bottom: 20px;
}

.title_capi_pajarito_2_pq {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 17px;
    text-align: left;
    color: black;
    margin-bottom: 20px;
}

.title_capi_pajarito_1 {
    padding-left: 20px;
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    color: black;
    text-align: left;
    margin-bottom: 0;
}

.title_capi_pajarito_1_pq {
    font-family: 'Press Start 2P', cursive;
    font-size: 19px;
    color: black;
    text-align: left;
    margin: 0;
}

.title_jugar {
    font-family: 'Press Start 2P', cursive;
    background-color: var(--primary_2_3);
    color: var(--primary_2_2);
    border: 2px solid var(--secondary_3_2);
    box-shadow: 0 0 0 .2rem var(--secondary_3_2);
    border-radius: 3px;
    padding: 8px;
    font-size: 25px;
    font-weight: bold;
    margin-top: 30px;
}

.main_title_programming_game {
    font-family: 'Press Start 2P', cursive;
    margin: auto;
    padding-bottom: 30px;
    padding-top: 30px;
    font-size: 3rem;
    text-align: center;
    color: black;
}

.name_title_programming_game {
    font-family: 'Press Start 2P', cursive;
    font-size: 3.5rem;
    margin: 50px auto auto;
}

.description_title_programming_game {
    /*font-family: 'Orbitron', sans-serif;*/
    margin: auto;
    padding-top: 30px;
    font-size: 1.5rem;
    padding-right: 15px;
}

.item_programming_game {
    background-color: rgb(255 255 255 / 77%);
    color: black;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
}

.box_item_programming_game {
    text-align: center;
    border: 2px solid rgb(255 255 255 / 77%);
    border-radius: 8px;
    padding: 0;
    margin: 10px;
}

.div_section_pg {
    padding: 7px;
    margin-top: auto;
    margin-bottom: auto;
}

.title_pg {
    background-color: var(--primary_1);
}

.title_jugar:hover {
    border: 6px solid var(--primary_1);
    box-shadow: none;
}

.title_capi_pajarito_1_pq, .title_capi_pajarito_2_pq {
    line-height: inherit;
}

.view_mobile_landing {
    display: none;
}

@media (max-width: 992px) {
    .contenido_programming_game {
        width: 70%;
    }

    .image_mobile_landing {
        order: 1;
    }

    .view_mobile_landing {
        display: flex;
    }

    .text_mobile_landing {
        order: 2;
    }

    .fondo_programming_game {
        display: none;
    }

    .description_title_programming_game {
        font-size: 1rem;
        padding: 30px;
        text-align: center !important;
    }

    .name_title_programming_game {
        font-size: 2.3rem;
        padding: 30px 30px 0;
        text-align: center !important;
    }

    .letter_programming {
        text-align: center;
    }

    .title_capi_pajarito_1_pq, .title_capi_pajarito_2_pq {
        font-size: 18px;
        margin: 0;
    }

    .title_capi_pajarito_1, .title_capi_pajarito_2 {
        font-size: 30px;
    }

    .contenido_programming_game_pq {
        background-color: transparent;
        width: 70%;
        height: 95%;
        padding: 10px;
    }

    .bg_mobile_land {
        background-color: rgb(255 255 255 / 77%);
    }

    .title_jugar {
        padding: 10px;
        font-size: 20px;
    }
}


@media (max-width: 767px) {
    .fondo_programming_game {
        background-size: contain;
        height: 100vh;
    }


    .contenido_programming_game {
        /*background-color: rgb(255 255 255 / 77%);*/
        width: 90%;
        height: 100%;
        position: absolute;
        margin-bottom: 50px;
    }

    .letter_programming {
        font-size: 30px;
        text-align: center;
    }

    .contenido_programming_game_pq {
        width: 95%;
        right: unset;
        /*background-color: rgb(255 255 255 / 61%);*/
    }

    .title_capi_pajarito_1, .title_capi_pajarito_2 {
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .title_capi_pajarito_1_pq, .title_capi_pajarito_2_pq {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .contenido_programming_game {
        top: -60px;
    }
    .name_title_programming_game {
        font-size: 1rem;
        padding: 0;
        text-align: center;
    }

    .main_title_programming_game {
        font-size: 1rem;
        text-align: center;
    }

    .letter_programming {
        font-size: 24px;
        text-align: center;
    }

    .title_capi_pajarito_1, .title_capi_pajarito_2 {
        font-size: 20px;
        padding: 0;
        text-align: center;
    }

    .title_capi_pajarito_2_pq {
        margin-bottom: 20px;
    }

    .title_capi_pajarito_1_pq, .title_capi_pajarito_2_pq {
        font-size: 18px;
        line-height: inherit;
        margin-left: 10px;
        margin-right: 10px;
        text-align: center;
    }

    .contenido_programming_game_pq {
        border-radius: 8px;
        text-align: center;
        position: absolute;
        width: 100%;
        height: 80%;
        right: 0;
        padding: 0;
    }
    .bg_mobile_land {
        height: 100%;
    }
}

@media (max-width: 330px) {
    .contenido_programming_game_pq {
        height: 100%;
    }
    .title_jugar {
        padding: 5px;
    }

    .title_capi_pajarito_2_pq {
        margin-bottom: 10px;
    }

    .title_capi_pajarito_1_pq, .title_capi_pajarito_2_pq {
        font-size: 17px;
    }
}

.turn_lf_block {
    border: 1px solid #448b8b;
    border-radius: 8px;
    background-color: #448b8b;
    padding: 0;
}

.turn_rt_block {
    border: 1px solid #805ba5;
    border-radius: 8px;
    background-color: #805ba5;
    padding: 0;
}

