header
{
    position: fixed;
    z-index: 1001;
    top: 0;
    width: 100%;
    min-height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.7s ease;
}

header.addBG
{
    background-color: white;
}

header.yAnim
{
    top: -110px;
}

header > div.logo
{
    width: 100px;
    position: absolute;
    right: 3rem;
    top: 3rem;
}

header > div.logo > img
{
    width: 100%;
}


header > a.mobile_menu_icon
{
    display: none;
    margin-top: -1rem;
    position: absolute;
    top: 3rem;
}

header > a.mobile_menu_icon img
{
    width: 60px;
}


header > nav
{
    display: flex;
    margin-top: calc(0.5rem);
    position: absolute;
    top: 3rem;
}




@media screen and (max-width: 720px)
{
    header
    {
        padding-left: 2rem;
    }

    header:has(a.mobile_menu_icon:hover, nav:hover) nav
    {
        display: flex;
    }

    header:has(a.mobile_menu_icon:hover, nav:hover) a.mobile_menu_icon
    {
        display: none;
    }

    header > a.mobile_menu_icon
    {
        display: block;
    }

    header > div.logo > img
    {
        width: 80px;
    }

    header > nav
    {
        display: none;
        flex-direction: column;
        padding: 1rem;
        padding-top: 3rem;
        gap: 1rem;
        background-color: white;
    }

}
