@media (max-width: 767px) {
    #header_mobile {
        margin: 0;
        border-radius: 0;
        z-index: 9999;
        position: fixed;
        top: 0;
        width: 100%;
        height: 75px;
        display: flex;
        transition: background-color 0.7s ease, box-shadow 0.7s, width 0.7s, margin 0.7s;
        flex-direction: row;
        background-color: #000;
    }

    #header_mobile.active {
        background-color: #000;
    }

    #header_mobile.scrolled {
        background-color: #000;
    }

    .header_mobile_middle {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        position: relative;
    }

    #logo-img {
        height: 25px;
        transition: opacity 0.7s ease;
    }

    .bar_mobile {
        position: absolute;
        top: 20px;
        left: 15px;
        font-size: 30px;
        cursor: pointer;
    }

    .bar_mobile i {
        display: inline-block;
        border-radius: 40px;
        height: 42px;
        width: 42px;
        color: #fff;
        position: relative;
        top: -3px;
    }
/* 
    .bar_mobile i.fi-sr-cross::before {
        top: 10px;
        left: 9px;
        font-size: 22px;
    } */

    .megamenu_mobile {
        transform: translateY(-100%);
        opacity: 0;
        background-color: #fff;
        margin: 0;
        border-radius: 0;
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
                    var(--tw-ring-shadow, 0 0 #0000),
                    var(--tw-shadow);
        width: 100%;
        height: auto;
        min-height: 100vh;
        position: fixed;
        top: 76px;
        z-index: 999;
        padding: 0 0 80px 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .megamenu_mobile.active {
        transform: translateY(0);
        opacity: 1;
    }

    .megamenu_mobile_left_ul {
        list-style: none;
        margin: 13px 0;
        padding: 0 15px 0 15px;
    }

    .header_mobile_menu_link {
        display: none;
    }

    .megamenu_mobile_left_ul li label {
        font-family: 'Mokoto Regular';
        margin: 7px 0;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        padding: 10px 20px;
        border-radius: 50px;
        width: 100%;
    }

    .megamenu_mobile_left_ul li label img{
        height: 17px;
        position: relative;
        top: -4px;
    }

    .megamenu_mobile_left_ul li label span{
        font-family: 'Mokoto Regular';
        position: relative;
        top: 3px;
    }

    .megamenu_mobile_left_ul li label:hover,
    .megamenu_mobile_left_ul li label:has(input:checked) {
        background-color: #f2f2f2;
    }

    .megamenu_mobile_left_ul li label:has(input:checked) {
        background-image: linear-gradient(90deg,
                hsl(204deg 58% 20%) 0%,
                hsl(202deg 91% 27%) 20%,
                hsl(203deg 100% 36%) 40%,
                hsl(213deg 62% 60%) 60%,
                hsl(218deg 50% 78%) 80%,
                hsl(0deg 0% 92%) 100%);
        color: #fff;
    }




    
.mobile_menu_content_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 25px;
    margin-bottom: 15px;
}

/* .mobile_menu_content_item:nth-child(2){
    display: inline-flex;
    justify-content: center;
    width: auto;
    height: auto;
    float: unset;
}

.mobile_menu_content_item:nth-child(3){
    display: inline-flex;
    justify-content: center;
    width: auto;
    height: auto;
    float: unset;
} */

.mobile_menu_content_item:nth-child(2) h3, .menu_content_item:nth-child(3) h3{
    font-size: 22px;
    margin-top: 20px;
}

.mobile_menu_content_item[href="/mission"] {
    height: auto;
    margin-bottom: 15px;
}

.mobile_menu_content_item:hover img {
    transform: scale(1.01);
}

.mobile_menu_content_item h3 {
    font-weight: 500;
    color: #fff;
    position: absolute;
    margin-bottom: 0;
    text-shadow: 0px 0px 26px #000;
}

.mobile_menu_content_item img {
    width: 100%;
    height: max-content;
    transition: transform 0.5s;
}




    /* .mobile_menu_content_item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 20px;
        border-radius: 14px;
        overflow: hidden;
    }

    .mobile_menu_content_item img {
        width: calc(100%);
        transition: transform 0.5s;
    }

    .mobile_menu_content_item h3 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    } */

    .megamenu_mobile_left_second_ul {
        list-style: none;
    }

    .megamenu_mobile_left_second_ul li a {
        font-size: 16px;
        font-weight: 500;
        padding: 10px 5px;
        display: block;
    }

    .megamenu_mobile_left_second_ul li a:hover{
        color: #9f9f9f;
    }

    .megamenu_mobile_left hr {
        margin: 15px 15px 35px 30px;
    }

    .megamenu_mobile_middle {
        padding: 0;
    }

    .megamenu_mobile_right span {
        padding: 0 10px 0 5px;
        margin-top: 40px;
        display: inline-block;
        color: #9f9f9f;
        font-size: 13px;
    }

    .megamenu_mobile_right_ul {
        list-style: none;
        margin: 10px 0;
        padding: 0 10px;
    }

    .megamenu_mobile_right_ul li a {
        font-size: 14px;
        font-weight: 500;
        padding: 5px 0;
        display: inline-block;
    }
}