header {
    width: calc(100% - 200px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin: 0 100px;
    background-color: light-dark(var(--white), var(--white));
    border-radius: 0 0 25px 25px;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 50;
}

.header-left {
    width: auto;
}
.header-right a {
    text-decoration: none;
    color: inherit;
}
header .logo {
    height: 60px;
    max-width: 300px;
}

.header-right , .header-right .deskop-menu nav ul, .header-right .deskop-menu nav  , .header-right .other-areas{
    display: flex;
    align-items: center;
    color: var(--black);
}
.header-right {
    gap: 25px;
}
.header-right .desktop-menu nav{
    width: calc(100% - 600px);
    display: flex;
    align-items: center;
}
.header-right .desktop-menu ul{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-right ul li a {
    text-decoration: none;
    color: currentColor;
    font-weight: 520;
}
.header-right ul li a:hover , .header-right ul li a.active{
    color: var(--blue);
}
.header-right ul li a:hover{
    /* text-decoration: underline; */
    margin-bottom: 3px;
}

.header-right .other-areas .search-icon-button{
    padding: 5px 10px;
    width: fit-content;
    border-radius: 5px;
    background-color: var(--black);
    color: var(--yellow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    cursor: pointer;
}

.header-right .other-areas{
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-right .other-areas a , .header-right .social-icons{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}
.header-right .social-icons #theme-toggle{
    width: 25px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}
.header-right .fa-bars {
    cursor: pointer;
}
.mobile-sidemenu {
    width: calc(100% - 40px);
    margin: 0 20px;
    display: none;
    background-color: light-dark(var(--light-grey),var(--light-grey));
    padding: 10px 20px;
    position: absolute;
    top: 64px;
    left: 0;
    border-radius: 5px;
    z-index: 51;
}
.mobile-sidemenu nav ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mobile-sidemenu ul li {
    width: 100%;
    display: flex;
    align-items: center;
}
.mobile-sidemenu ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: light-dark(var(--black,var(--white)));
    font-weight: 520;
}
.mobile-sidemenu ul li a:hover , .mobile-sidemenu ul li a.active{
    /* text-decoration: underline; */
    color: var(--blue);
}
.mobile-sidemenu li a i {
    width: 30px;
}


/* Responsiveness  */
@media (min-width:1309px) {
    .mobile-sidemenu {
        display: none;
        visibility: hidden;
    }
}
@media (min-width:769px) and (max-width:1308px) {
    .header-left {
        width: calc(100% - 100px);
    }
    
    .header-right .desktop-menu ul{
        display: none !important;
    }
    .header-right .other-areas {
        font-size: 1.3rem;
        gap: 20px;
    }
    .header-right .other-areas .search-icon-button {
        padding: 0 0;
        border-radius: 0;
        background-color: transparent;
        color: var(--black);
    }
    .header-right .search-icon-button span {
        display: none;
    }

    .header-right .social-icons {
        display: none;
    }
    .header-right .fa-bars {
        display: block;
        font-size: 1.3rem;
    }

    .mobile-sidemenu {
        width: calc(100% - 200px);
        margin: 0 100px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    header {
        width: calc(100% - 40px);
        margin: 0 20px;
    } 
    .mobile-sidemenu {
        top: 75px;
        width: 100%;
        margin: 0 0;
    }
}
@media (max-width:768px) {
    header {
        width: calc(100% - 40px);
        margin: 0 20px;
    } 
    header .logo , header a > svg{
        height: 50px;
    }
    .header-right .desktop-menu ul{
        display: none !important;
    }
    .header-right .other-areas {
        font-size: 1.3rem;
        gap: 15px;
    }
    .header-right .other-areas .search-icon-button {
        padding: 0 0;
        border-radius: 0;
        background-color: transparent;
        color: var(--black);
    }
    .header-right .search-icon-button span {
        display: none;
    }

    .header-right .social-icons {
        display: none;
    }
    .header-right .fa-bars {
        display: block;
    }

    .mobile-sidemenu {
        top: 70px;
    }

}
@media (max-width:400px) {
    header {
        width: calc(100% - 20px);
        margin: 0 10px;
        padding: 5px 10px;
    }

    header .logo , header a > svg{
        height: 40px;
        width: 100%;
    }
}