nav {
  width: 100vw;
  padding: 10px 40px;
  padding-left: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  color: #ffffff;
  img {
    height: 60px;
  }
  .nav-r {
    padding-left: 100px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    box-sizing: border-box;
    ul {
      display: flex;
      align-items: center;
      list-style: none;
      padding: 0;
      position: absolute;
      right: 50%;
      box-sizing: border-box;
      li {
        font-size: 20px;
        width: 5vw;
        min-width: 100px;
        a {
          text-decoration-thickness: 2px;
          color: #ffffff;
          text-underline-offset: 15px;
          text-decoration-color: transparent;
        }
        a:hover {
          text-decoration-color: #ffffff;
          text-underline-offset: 5px;
        }
      }
    }
    .menu {
      position: fixed;
      right: 8px;
      top: 8px;
      display: none;
      flex-direction: column;
      gap: 6px;
      transform: translateY(200%) translateX(-50%);
      cursor: pointer;
      .line-1,
      .line-2 {
        flex: none;
        width: 30px;
        height: 4px;
        background: #ffffff;
        border-radius: 10px;
        transition: all 0.4s ease;
      }
    }
    .menu-active {
      .line-1 {
        transform: rotate(-45deg) translateY(7px);
      }
      .line-2 {
        transform: rotate(45deg) translateY(-7px);
      }
    }
  }
}
.theme2 {
  color: #000000;
  background: #ffffff;
  box-shadow: 0px 2px 10px #0000003d;
  img {
    filter: invert(1);
  }
  .nav-r {
    ul {
      li {
        font-size: 20px;
        a {
          color: #000000;
        }
        a:hover {
          text-decoration-color: #000000;
        }
      }
    }
    .menu {
      .line-1,
      .line-2 {
        background: #000000;
      }
    }
  }
}
.theme3 {
  color: #000000;
  background: #ffffff;
  img {
    filter: invert(1);
  }
  .nav-r {
    ul {
      li {
        font-size: 20px;
        a {
          color: #000000;
        }
        a:hover {
          text-decoration-color: #000000;
        }
      }
    }
    .menu {
      .line-1,
      .line-2 {
        background: #000000;
      }
    }
  }
}
@media screen and (max-width: 900px) {
  nav .nav-r {
    ul {
      position: relative;
      flex-direction: column;
      position: absolute;
      right: 10px;
      top: 10px;
      background: #ffffff;
      padding: 20px;
      width: 40vw;
      height: 50vh;
      justify-content: flex-start;
      align-items: flex-end;
      gap: 20px;
      border-radius: 10px 10px 10px 100%;
      overflow: hidden;
      box-shadow: 1px 1px 5px #00000070;
      li{
        z-index: 10;
      }
      li a:hover{
        text-decoration-color: #000000;
      }
    }
    ul::after{
      content: '';
      position: absolute;
      right: 0;
      bottom: 0;
      width: 180px;
      height: 180px;
      border-radius: 100%;
      border: 70px solid var(--primary-color);
      opacity: 0.3;
    }
    .menu-c-active {
      height: 0px;
      padding: 0;
      width: 0px;
    }
    li {
      a {
        color: #000000 !important;
      }
    }
    .menu {
      display: flex;
    }
  }
}
