@import url('https://fonts.googleapis.com/css2?family=Grey+Qo&family=Lato&display=swap');

body {
    font-family: 'Grey Qo', 'Lato';
    font-size: 4rem;
}

h1 {
    text-align:center;
    padding: lem; 
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: chocolate;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: small;
}

.logo{
    color: cornsilk;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 20px;

}

.nav-links{
    display: flex;
    background-color: chocolate;
    justify-content: space-around;
    width: 30%;
}

.nav-links li{
    list-style: none;
}


.nav-links a{
color: antiquewhite;
text-decoration: none;    
letter-spacing: 3px;
font-weight: bold;
font-size: 14px;
}

.burger{
    display: none;
}


.burger div{
    width: 25px;
    height: 3px;
    background-color: antiquewhite;
    margin: 5px;
    }
    
}
@media  screen and (max-width. 768px) {
  body{
      overflow-x: hidden;
  }
  
  
    .nav-links{
      position: absolute;
      right: 0px;
      height: 92vh;
      top: 8vh;
      background-color: aquamarine;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 50%;
   transform: translateX(100%);   
   transition: transform 0.5s ease-in;
}
.nav-links li{
    opacity: 0;
}
.burger{
    display: block;
}
}
    
.nav-active{
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from{
        opacity: 0;
        transform: translateX(59px);

    }
    to{
        opacity: 0;
        -o-transform: translateX(0px);
    }
    
}
