/* HTML Reset */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* -----------------NAVBAR------------------- */

.header{
    display: flex;
    align-items: center;
    background-color: #4d636f;
}

.logo h6{
    color: white;
    margin: 0.5rem;
    font-weight:lighter;
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3a4b53;
    padding: 0.3rem 0.6rem;
    color: white;
}

.logo:hover{
    cursor: pointer;
}

.icons ul{
    display: flex;
    list-style: none;
    margin: 0px;
    padding-left:0px;
}

.items a{
    text-decoration: none;
    color: white;
    padding: 0.65rem;
}

.items>a:hover{
    background-color: beige;
    color: black;
}

.profile>img{
    color: white;
    width: 2rem;
    border-radius: 100%;
    margin-right: 1rem;
}

.profile h6{
    color: white;
    display: block;
    padding: 0.75rem;
}

.navlist{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.items:hover{
    color: black;
}

.hamburger-menu{
    display: none;
    flex-direction: column;
    align-items: space-between;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.bar{
    background-color: white;
    border-radius: 10px;
    width: 2rem;
    height: 5px;
    margin: 2px;
}

/* dropdown menu */
.dropdown{
    display: none;
    flex-direction: column;
    flex-wrap:wrap;
    text-align: left;
    background-color: #3a4b53;
    width: 20%;
    position: absolute;
    top: 2.8rem;
    left: 27rem;
}

.dropdown>a{
    text-decoration: none;
    color: white;
    padding: 0.3rem;
}

.dropdown>a:hover{
    background-color: #4d636f;
}


@media (max-width: 691px){
    .hamburger-menu{
        display: flex;
    }

    .profile img{
        display: none;
    }

    .header{
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navlist{
        width: 100%;
    }
    
    .icons ul{
        flex-direction: column;
        height: 12rem;
    }

    .items:hover{
        background-color: white;
    }

    .icons{
        padding-left: 0px;
        padding-bottom: 0px;
    }
    
    .items{
        display: flex;
        cursor: pointer;
        height: 3rem;
    }
    
    .items>a{
        width: 100vw;
    }

    .items>a:hover{
        color: black;
    }

    .icons{
        display: none;
    }

    .icons.active{
        display:flex;
    }

    .profile>i{
        display: none;
    }

}