
*, *::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: 60px;
}

.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: rgba(255, 255, 255, 0.9);
    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: 6.4rem;
    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: var(--secondary-color);
        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;
    font-family: var(--header-font);
}
.menu-link {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .5rem;
    font-size: 1.5rem;
    cursor: pointer;
    text-transform: capitalize;
    font-family: var(--header-font);
    color: var(--footer);
    transition: all 0.3s ease-in-out;
}
.menu-link > i {
    font-size: 1.5rem;
    margin-top: 1.5px;
    padding-left: 3px;
    color: inherit;
}
.menu-link:hover {
    outline: none;
    color: var(--subtitle);
}
@media only screen and (min-width: 993px) {
    .menu-dropdown:hover > .submenu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
   }
}
@media only screen and (max-width: 992px) {
    .menu {
        width: 100%;
        height: auto;
        padding: .5rem 0;
   }
    .menu-item {
        display: block;
        margin: 0 auto;
   }
    .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);
   }
}
.submenu {
    position: absolute;
    top: 5rem;
    left: -3rem;
    min-width: 23rem;
    height: auto;
    padding: 0 0rem 1rem 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    border-radius: 0 0 0.25rem 0.25rem;
    border-top: 2px solid var(--subtitle);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background: rgba(250, 250, 250);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
}
.submenu-item {
    display: block;
    margin-top: 0.75rem;
    padding: .5rem 0rem .5rem 1rem ;
    cursor: pointer;
    transition: all 0.35s ease;
}

.submenu-item:hover{
    background: #f3f3f3;
}
.submenu-link {
    font-size: 1.4rem;
    line-height: inherit;
    cursor: pointer;
    color: var(--footer);
}
.submenu-item:hover .submenu-link {
    outline: none;
    color: var(--subtitle);
}
@media only screen and (max-width: 992px) {
    .submenu {
        position: relative;
        top: -0.5rem;
        left: 2.5rem;
        width: 100%;
        max-height: 0;
        padding: 0px;
        border: none;
        outline: none;
        opacity: 1;
        overflow: hidden;
        visibility: visible;
        transform: translateY(0px);
        box-shadow: none;
        background: transparent;
   }
}
.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: var(--footer);
}
.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;
   }
}
