:root{
    --width-btn-mobile:40px;
    --height-btn-mobile:40px;
}
/* Tablets */
@media (max-width:991.98px) {
    .nav {
        margin-bottom: 10px !important;
    }

    .box-btn-mobile{
        flex-grow: 1;
    }

    .button-mobile {
        display: block !important;
        background-color: rgba(76, 12, 81, 1);
        color: rgba(255, 255, 255, 1);
        height: var(--height-btn-mobile) !important;
        width: var(--width-btn-mobile);
        text-align: center;
        line-height: 37px;
        border-radius: 4px;
    }

    .box-logo{
        flex-grow: 1;
    }

    .box-login{
        text-align: end;
        display: none;
    }

    .logo{
        justify-content: end;
    }

    .text-logo {
        display: none;
    }

    .btn-login{
        padding: 7px 18px !important;
        font-size: 14px;
    }
    .menu {
        display: block !important;
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        bottom: 0;
        background-color: #ffffff;
        z-index: 1000;
        transition: left 0.3s ease-in-out;
    }

    .menu > ul {
        flex-direction: column;
        gap: 10px;
        justify-content: end !important;
        padding: 12px;
    }

    .menu > ul > li {
        width: 100%;
    }

    .menu > ul > li > a {
        color: black;
        padding: 8px 16px;
        display: block;
        font-size: 16px;
    }

    .menu > ul > li > a:hover{
        color: red;
    }

    .overflow_bg {
        position: fixed;
        top: 0;
        right: 0;
        height: 100% !important;
        left: -100%;
        /*background: red;*/
        overflow: hidden;
        background: #97959e;
        cursor: pointer;
        z-index: 900;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease-in-out;
    }

    .icon-banner{
        display: none;
    }

    .image-box-main:nth-child(1){
        width: 150px;
        height: 251px;
    }

    .image-box-main:nth-child(2) {
        top: -70px;
        width: 90%;
        height: 420px;
        right: 13px;
        display: block;
    }

    .image-box-main:nth-child(4) {
        display: none;
    }

    .text-banner {
        font-size: 21px;
        font-weight: 600;
        line-height: 30px;
        text-align: center;
        margin-top: 15px;
    }

    .text-des {
        font-size: 14px;
        line-height: 20px;
        text-align: center;
    }

    .btn-icon-dashboard {
        height: 70px !important;
        line-height: 70px !important;
        margin: 0 20px;
    }

    .box-login-mobile{
        text-align: end;
        display: block;
    }

    .btn-login-mobile {
        display: block;
        width: var(--width-btn-mobile);
        height: var(--height-btn-mobile);
        text-align: center;
        line-height: 37px;
        color: rgba(255, 255, 255, 1);
        background-color: rgba(76, 12, 81, 1);
        border-radius: 50%;
    }

    .box-logo-mobile {
        display: block;
    }

    .main_header_menu {
        padding: 8px 10px;
    }

    .menu-mobile-logo {
        padding: 8px 10px;
        display: flex;
        align-items: center;
    }

    .text-logo-menu {
        color: black;
        font-weight: 600;
        font-size: 18px;
        padding-left: 10px;
    }

    .close-menu {
        padding: 8px;
        border-radius: 10px;
    }

    .close-menu > i {
        font-size: 22px;
    }


}



/* Mobile */
@media (max-width: 575.98px) {
    body {
        overflow-x: hidden;
    }

    .nav {
        margin-bottom: 10px !important;
    }

    .box-btn-mobile{
        flex-grow: 1;
    }

    .button-mobile {
        display: block !important;
        background-color: rgba(76, 12, 81, 1);
        color: rgba(255, 255, 255, 1);
        height: var(--height-btn-mobile) !important;
        width: var(--width-btn-mobile);
        text-align: center;
        line-height: 37px;
        border-radius: 4px;
    }

    .box-logo{
        flex-grow: 1;
    }

    .box-login{
        text-align: end;
        display: none;
    }

    .logo{
        justify-content: end;
    }

    .text-logo {
        display: none;
    }

    .btn-login{
        padding: 7px 18px !important;
        font-size: 14px;
    }
    .menu {
        display: block !important;
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        bottom: 0;
        background-color: #ffffff;
        z-index: 1000;
        transition: left 0.3s ease-in-out;
    }

    .menu > ul {
        flex-direction: column;
        gap: 10px;
        justify-content: end !important;
        padding: 12px;
    }

    .menu > ul > li {
        width: 100%;
    }

    .menu > ul > li > a {
        color: black;
        padding: 8px 16px;
        display: block;
        font-size: 16px;
    }

    .menu > ul > li > a:hover{
        color: red;
    }

    .overflow_bg {
        position: fixed;
        top: 0;
        right: 0;
        height: 100% !important;
        left: -100%;
        /*background: red;*/
        overflow: hidden;
        background: #97959e;
        cursor: pointer;
        z-index: 900;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease-in-out;
    }

    .icon-banner{
        display: none;
    }

    .image-box-main:nth-child(1){
        width: 230px;
        height: 351px;
    }

    .image-box-main:nth-child(2) {
        top: -40px;
        width: 100%;
        height: 460px;
        right: 0;
        display: block;
    }

    .image-box-main:nth-child(4) {
        display: none;
    }

    .text-banner {
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;
        text-align: center;
        margin-top: 15px;
    }

    .text-des {
        font-size: 14px;
        line-height: 20px;
        text-align: center;
    }

    .btn-icon-dashboard {
        height: 70px !important;
        line-height: 70px !important;
        margin: 0 20px;
    }

    .box-login-mobile{
        text-align: end;
        display: block;
    }

    .btn-login-mobile {
        display: block;
        width: var(--width-btn-mobile);
        height: var(--height-btn-mobile);
        text-align: center;
        line-height: 37px;
        color: rgba(255, 255, 255, 1);
        background-color: rgba(76, 12, 81, 1);
        border-radius: 50%;
    }

    .box-logo-mobile {
        display: block;
    }

    .main_header_menu {
        padding: 8px 10px;
    }

    .menu-mobile-logo {
        padding: 8px 10px;
        display: flex;
        align-items: center;
    }

    .text-logo-menu {
        color: black;
        font-weight: 600;
        font-size: 18px;
        padding-left: 10px;
    }

    .close-menu {
        padding: 8px;
        border-radius: 10px;
    }

    .close-menu > i {
        font-size: 22px;
    }

    .frame_2 {
        padding-top: 0;
    }

    .frame_2_box_left {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }

    .main_frame_3 {
        margin: 40px 0 !important;
    }

    .frame_3_card {
        padding: 30px 40px !important;
    }

    .title_frame_2,
    .frame_2_box_left_title,
    .title_frame_3,
    .frame_4_box_title,
    .frame_4_box_color,
    .title_frame_5{
        font-size: 22px !important;
        line-height: 37px;
    }

    .frame_2_box_left_title{
        line-height: 30px;
    }

    .des_frame_2,
    .frame_2_box_left_des,
    .frame_des,
    .frame_4_box_right > ul >li,
    .frame_5_des{
        font-size: 14px !important;
    }

    .frame_2_box_left_des,
    .frame_4_box_des{
        font-size: 15px !important;
    }

    .frame_4_box_right {
        padding: 0 20px !important;
    }

    .frame_3_card .frame_title_main{
        gap:10px !important;
    }

    .frame_title {
        font-size: 25px !important;
    }

    .frame_5_title{
        font-size: 18px !important;
    }

    .box_frame_5 {
        height: 400px !important;
        padding: 20px 40px !important;
    }

    .box_frame_5_title{
        gap : 10px !important;
    }

    .main_frame_5 {
        padding-top: 20px;
    }

    .frame_4 {
        margin: 40px 0 !important;
    }

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

    .frame_4_box_left > img {
        max-width: 80%;
        text-align: center;
    }

    .frame_4 .frame_4_box_right .frame_4_box_title{
        text-align: center;
        line-height: 130%;
    }


    .frame_4 .frame_4_box_right .box-btn-login {
        justify-content: center !important;
    }

    .frame_6 {
        gap: 20px;
    }

    .frame_6 .img-footer {
        height: 44px;
    }

    .frame_6 .frame_6_title{
        font-size: 22px;
        text-align: center;
    }

    .footer .footer_main {
        height: auto;
        gap: 20px;
        flex-direction: column;
        padding: 30px 0;
    }

    .footer_list >li {
        margin-top: 10px;
    }
}


