@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    /* font-family: "Poppins", sans-serif;
    font-weight: 500; */
}


.header {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    background: #008080;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    z-index: 10;
    height: 80px;
}


.container {
    max-width: 100vw;
    padding: 0.2rem 10rem;
    position: relative;
    /* overflow: hidden; */
}

.container::before {
    content: '';
    position: absolute;
    width: calc(0.8 * 10rem);
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    background: #008080;
    border-radius: 0 30px 0 0;
}

.container::after {
    content: '';
    position: absolute;
    width: calc(1.6 * 10rem);
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: #ffffff;
    border-radius: 0 30px 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    z-index: 5;
    height: 52px;
    vertical-align: middle;
}

.header .logo img {
    height: 52px;
    vertical-align: middle;

}

.header .menu .head {
    display: none;
}

.header .menu ul {
    list-style: none;
}

.header .menu>ul>li {
    display: inline-block;
}

.header .menu>ul>li:not(:last-child) {
    margin-right: 40px;
}

.header .menu .dropdown {
    position: relative;
}

.header .menu a {
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    color: #fff;
    line-height: 1.5;
    display: block;
    transition: 0.2s ease;
}

.header .menu a:hover {
    color: #F4A300;
}

.header .menu>ul>li>a {
    padding: 24px 0;
}

.header .menu>ul>.dropdown>a {
    padding-right: 15px;
}

.header .menu i {
    font-size: 10px;
    pointer-events: none;
    user-select: none;
    position: absolute;
    color: #fff;
    top: calc(50% - 5px);
}

.header .menu>ul>li>i {
    right: 0;
}

.header .menu .sub_menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    padding: 15px 0;
    background: rgba(0, 128, 128, 0.6);
    /* background: #000; */
    box-shadow: 2px 2px 2px #fff;
    z-index: 1;
    transform-origin: top;
    transform: scaleY(0);
    /* visibility: hidden;
    opacity: 0; */

}

/* 
.header .menu .sub_menu_right {
    left: 100%;
    top: 0;
    width: 250px;
} */

.header .menu li:hover>.sub_menu {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: all 0.5s ease;
}

.header .menu .sub_menu a {
    /* padding: 6px 24px; */
    padding: 2px 24px;
}

.header .menu .sub_menu .dropdown>a {
    padding-right: 34px;
}

.header .menu .sub_menu span {
    background-image: linear-gradient(#fff, #fff);
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.5s ease;
}

.header .menu .sub_menu li:hover {
    background: #fff;
    border-radius: 10px;
    width: 90%;
    margin: auto;
    padding: 0;
}

.header .menu .sub_menu li:hover>a>span {
    background-size: 100% 1px;
}

.header .menu .sub_menu i {
    transform: rotate(-90deg);
    right: 24px;
}

.header-right {
    display: flex;
}

.header-right>* {
    margin-left: 25px;
}

.header-right .open-menu-btn {
    display: none;
}

.header-right a button {
    width: 100px;
    height: 30px;
    border: 1px solid #F4A300;
    border-radius: 10px;
    padding: 0.2rem;
    background: #fff;
    color: #F4A300;
    transition: 0.5s ease;
}

.header-right a button:hover {
    background: #F4A300;
    color: #000;
}

@media (max-width: 991px) {
    .header {
        padding: 12px 0;
    }


    .container {
        padding: 0.2rem 1rem;
    }

    .container::before {
        width: calc(0.8 * 1rem);
        border-radius: 0 10px 10px 0;
    }

    .container::after {
        width: calc(1.6 * 2.8rem);
        border-radius: 0 10px 10px 0;
    }

    .header .menu {
        position: fixed;
        right: 0;
        top: 0;
        width: 320px;
        height: 100%;
        /* background: blue; */
        background: rgba(0, 128, 128, 0.9);
        padding: 15px 30px 30px;
        overflow-y: auto;
        z-index: 1;
        transform: translateX(100%);
    }

    .header .menu.open {
        transform: none;

    }

    .header .menu .head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .header .menu .close-menu-btn {
        height: 35px;
        width: 35px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        cursor: pointer;
        border: none;
    }

    .header .menu .close-menu-btn::before,
    .header .menu .close-menu-btn::after {
        content: '';
        position: absolute;
        width: 80%;
        height: 2px;
        background: #fff;
    }

    .header .menu .close-menu-btn::before {
        transform: rotate(45deg);
    }

    .header .menu .close-menu-btn::after {
        transform: rotate(-45deg);
    }

    .header .menu>ul>li {
        display: block;
    }

    .header .menu>ul>li:not(:last-child) {
        margin-right: 0;
    }

    .header .menu li {
        border-bottom: 1px solid #fff;
    }

    .header .menu li:first-child {
        border-top: 1px solid #252525;
    }

    .header .menu>ul>li>a {
        padding: 12px 0;
    }

    .header .menu>ul>.dropdown>a {
        padding-right: 34px;
    }

    .header .menu i {
        height: 34px;
        width: 34px;
        border: 1px solid #252525;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        cursor: pointer;
        top: 7px;
    }

    .header .menu .dropdown.active>i {
        background-color: #252525;
        transform: rotate(180deg);
        transition: 0.2s ease;
    }

    .header .menu .sub_menu {
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        padding: 0;
        transition: none;
        box-shadow: none;
        width: 100%;
        display: none;
    }

    .header .menu .dropdown.active>.sub_menu {
        display: block;
        transition: 0.2s ease;
    }

    .header .menu .sub_menu li:last-child {
        border: none;

    }

    .header .menu .sub_menu a {
        padding: 12px 0 12px 15px;
    }

    .header .menu .sub_menu .sub_menu a {
        padding-left: 30px;
    }

    .header .menu .sub_menu span {
        background-image: none;
    }

    .header .menu .sub_menu i {
        transform: none;
        right: 0;
    }

    .header-right .open-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 44px;
        cursor: pointer;
        position: relative;
        background-color: transparent;
        border: none;
    }

    .header-right .open-menu-btn .line {
        height: 2px;
        width: 30px;
        background-color: #fff;
        position: absolute;
    }

    .header-right .open-menu-btn .line-1 {
        transform: translateY(-8px);
    }

    .header-right .open-menu-btn .line-3 {
        transform: translateY(8px);
    }
}