header
{
    user-select: none;
}

.navbar 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--footerHeaderColor);
    padding: 10px 20px;
    color: white;
    box-shadow: 0 0 10px rgba(39, 19, 213, 0.6);
    flex-wrap: wrap;
}

.logoAndWeather
{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    flex-wrap: wrap;
}

.logo 
{
    width: clamp(120px, 20vw, 160px);
    border-radius: 20px;
    height: auto;
    max-width: 100%;
}

.weatherIco
{
    position: relative;
    cursor: pointer;
    font-size: 2.3em;
    color: hsl(247, 78%, 25%);
}

.weatherIco:hover
{
    cursor: pointer;
    color: hsl(247, 88%, 33%);
}

.navbar > ul 
{
    list-style: none;
    margin: 0;
    margin-right: 70px;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.navbar > ul > li 
{
    position: relative;
    margin: 0;
}

.navbar ul li a 
{
    text-decoration: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: clamp(14px, 2.5vw, 18px);
}

.navbar ul li a:hover 
{
    background-color: #0096c7;
}

.dropdownContent 
{
    display: none;
    position: absolute;
    background-color: #0077b6;
    min-width: 160px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 5px;
    top: 25px;
    left:-5px;
}

.dropdownContent > a
{
    color: white;
    padding: 10px;
    text-decoration: none;
    display: block;
    font-size: clamp(12px, 2vw, 16px);
}

.navbar ul li:hover .dropdownContent 
{
    display: block;
}

.account 
{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.account > img 
{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
}

.account > a 
{
    text-decoration: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: clamp(14px, 2.5vw, 18px);
}

.account a:hover 
{
    background-color: #0096c7;
}

@media screen and (max-width: 1024px)
{
    .logo 
    {
        width: clamp(100px, 18vw, 140px);
    }
    .weatherIco
    {
        margin-right: 15px;
    }
}

@media screen and (max-width: 1040px) 
{
    .navbar 
    {
        flex-direction: column;
        padding: 15px 10px;
        gap: 15px;
        position: relative;
    }

    .logoAndWeather
    {
        width: 100%;
        justify-content: left;
    }

    .logo
    {
        margin-left: 15px;
    }
    
    .navbar > ul 
    {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .navbar ul li a 
    {
        display: block;
        width: 100%;
        padding: 12px;
        font-size: 20px;
    }

    .account > a 
    {
        font-size: 20px;
    }
    
    .dropdownContent 
    {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #0077b6;
        width: 100%;
        border-radius: 0;
        margin-top: 5px;
    }
    
    .navbar > ul > li:hover .dropdownContent 
    {
        display: block;
    }
}

@media screen and (max-width: 210px) 
{
   .logoAndWeather
   {
        justify-content: center;
        row-gap: 10px;
   } 

   .weatherIco
   {
        margin: 0;
   }
   
   .logo
   {
        margin: 0;
        margin-left: 10px;
   }

   .navbar > ul 
   {
        margin-left: -10px;
   }
}

