*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.navbar-menu a,
.navbar-menu button {
    cursor: pointer;
    border: none;
    outline: none;
    user-select: none;
    background: none;
    box-shadow: none;
    text-decoration: none;
}

.wrapper .brand img {
    height: 40px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 100;
    padding: .8rem 0rem;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background:#fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 1rem;
    row-gap: 2rem;
    width: 100%;
    height: 5rem;
    margin: 0 auto;
}

.navbar-menu ul {
    margin-bottom: 0rem;
    padding-left: 0rem;
}

.cancel-icon {
    display: none;
}

@media screen and (max-width: 992px) {
    .navbar-menu {
        height: 100vh;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        z-index: 111111;
        opacity: 0;
        overflow-y: auto;
        visibility: hidden;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        background-color: #fff;
        transition: all 0.5s ease;
    }

    .navbar-menu.active {
        left: 0rem;
        opacity: 1;
        visibility: visible;
    }
}

.menu-item {
    position: relative;
    display: inline-block;
    margin: 0rem 1.5rem;
}

.menu-item::after{
    content: '';
    width: 100%;
    height: 3px;
    background-color: #a3eb64;
    position: absolute;
    bottom: -100%;
    left: 0;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.menu-item:hover::after{
    opacity: 1;
}

.menu-item:nth-child(4)::after,
.menu-item:nth-child(5)::after{
    display: none;
}

.menu-item .lang{
    display: inline-block;
    padding: .5rem 1.4rem;
    background-color: #f5f5f5;
    border-radius: 0px 4px 4px 0px;
    font-size: 1.2rem;
    font-weight: 600;
}

.menu-item .lang.active{
    background-color: #a3eb64;
    border-radius: 4px;
}

.menu-item .profile{
    display: inline-block;
    height: 38px;
    width: 38px;
    text-align: center;
    line-height: 3.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    background-color: #a3eb64;
}

.menu-link {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .5rem;
    font-size: 1.5rem;
    cursor: pointer;
    text-transform: capitalize;
    color:#333;
    transition: all 0.3s ease-in-out;
}

.menu-link:hover {
    outline: none;
    color: #a3eb64;
}

.cursor-pointer{
    cursor: pointer;
}

@media only screen and (max-width: 992px) {
    .menu {
        width: 100%;
        height: auto;
        padding: .5rem 0;
    }

    .menu-item {
        display: block;
        margin: 0 auto;
    }

        .menu-item .profile,
        .menu-item button {
            margin-left: 2rem;
            margin-bottom: 1.6rem;
        }
    .menu-link {
        justify-content: space-between;
        padding: 1rem 1.6rem;
    }

    .cancel-icon {
        display: flex;
        justify-content: end;
        padding-top: 1.5rem;
        padding-right: 1.5rem;
    }

    .cancel-icon i {
        font-size: 2rem;
        color: var(--footer);
    }
        .menu-item::after{
            display: none;
        }
}

.burger {
    position: relative;
    display: none;
    cursor: pointer;
    user-select: none;
    width: 2.2rem;
    height: 1.6rem;
    opacity: 0;
    visibility: hidden;
    background: transparent;
}

.burger-line {
    position: absolute;
    display: block;
    right: 0;
    width: 100%;
    height: 2.1px;
    opacity: 1;
    border: none;
    outline: none;
    border-radius: 1rem;
    background: #a3eb64;
}

.burger-line:nth-child(1) {
    top: 0px;
}

.burger-line:nth-child(2) {
    top: 0.5rem;
    width: 70%;
}

.burger-line:nth-child(3) {
    top: 1rem;
}

@media only screen and (max-width: 992px) {
    .burger {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease-in-out;
    background-color: rgba(0, 0, 0, 0.65);
}

@media only screen and (max-width: 992px) {
    .overlay.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}