
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}
body{
    margin-top: 7vw;
}
nav{
    background-color: black;
    height: 5vw;
    width: 90%;
    margin: 0.5vw;
    border-radius: 3vw 0;
    box-shadow: 5px 5px 5px 0px rgb(0 0 0 / 28%);
}
header ul{
    
    display: flex;
    justify-content:space-evenly;
    height: 100%;
}
header ul li{
    height: 100%;
    width: 20%;
    list-style-type:none;
}
header ul li a{
    color: white;
    text-decoration: none;
    font-size: 3vw;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 100;
    position: relative;
    
    
}
header ul li div{
    background-color: rgb(75, 242, 75);
    width: 15%;
    margin: 0 1.5% ;
    opacity: 0;
    height: 5vw;
    position: absolute;    
    
}
header ul li:hover div{
    animation: HeaderAnim 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    animation-fill-mode: forwards;
}
header ul li:hover a{
    animation: HeaderAnim2 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    animation-fill-mode: forwards;
}

@keyframes HeaderAnim {
    0% {
        transform: translateY(-5em);
        opacity: 100%;
    }


    100% {
        transform: translateY(0em);
        opacity: 100%;
    }
}
@keyframes HeaderAnim2 {
    0% {
        color: white;
    }


    100% {
        color: black;
    }
}