nav {
    position: relative;
    font-size: 2em;
    width: 100%;
    height: 11vh;
    color: #5c48ee;
    ;
    display: flex;
    justify-content: space-around;
    padding-top: 2vh;
    overflow: hidden;
}

nav div {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav div img {
    border: 1px white solid;
    position: absolute;
    top: 6px;
    left: 100px;
    width: 60px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top bottom;
    cursor: pointer;

}

nav div a {
    color: #0e1f6a;
    font-weight: bolder;
    text-decoration: none;
    display: block;
    border-radius: 10px;
    padding: 0 1vw;
}


nav div:hover>a {
    background-color: #c5c6c9;
}

@media screen and (max-width:580px) {

    nav {
        height: 7vh;
        display: flex;
        justify-content: space-around;
        height: min-content;
        font-size: 1em;

    }

    nav div img {
        position: relative;
        top: 1px;
        left: 0;
        width: 40px;
        height: 40px;
    }

}