* {
    box-sizing: border-box;
    font-family: roboto;
    margin: 0;
    padding: 0;
  }
  #navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgb(59, 56, 56);
    color: #fff;
    text-align: center;
  }

  .logo {
    width: 100px;
    height: 100px;
    overflow: hidden;
  }

  .nav-links {
    display: flex;
    list-style: none;
  }

  .nav-links li {
    padding: 0 1rem;
  }

  .nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: seagreen;
  }

  .burger {
    display: none;
    cursor: pointer;
  }

  .burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
  }
  @media screen and (max-width: 768px) {
    #navbar{
      justify-content: space-between;
    }
    .nav-links {
      position: fixed;
      right: 0;
      top: 0;
      height: 100vh;
      background-color: rgb(59, 56, 56);
      display: flex;
      flex-direction: column;
      width: 50%;
      transform: translateX(100%);
      transition: transform 0.5s ease-in;
      z-index: 99;
    }

    .nav-links li {
      opacity: 0;
      position: relative;
      
      margin: 13px 10px;
      font-size: 20px;
    }

    .nav-active {
      transform: translateX(0%);
    }

    .burger {
      display: block;
    }

    .toggle .line1 {
      transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
      opacity: 0;
    }

    .toggle .line3 {
      transform: rotate(45deg) translate(-5px, -6px);
    }
  }

  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }