.g__wrapper {
    background-color: #1A1A1A;
    padding: 1% 0;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 101%;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.g__wrapper a {
    color: #fff;
    font-size: calc(var(--s-val)*1.6);
}

.g__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.g__wrapper .logo__box {
    width: 20%;
}

.g__wrapper .nav__list {
    display: grid;
    grid-template-columns: 2fr calc(var(--s-val)*16);
    width: 100%;
    justify-content: flex-end;
    margin: 0 0 0 auto;
    align-items: center;
    gap: calc(var(--s-val)*3);
}

.g__wrapper .nav__list ul {
    display: flex;
    justify-content: flex-end;
    gap: calc(var(--s-val)*5);
}

.g__wrapper a.contact__btn {
background-color: var(--yellow-color);
    padding: 7% 0;
    text-align: center;
    color: #000;
}

.hamburger {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  position: absolute;
  transition: 0.4s;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 10px;
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.active span {
    background: #000;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 10px;
}

.nav__list {
  transition: transform 0.5s ease;
}

@media (max-width: 768px) {

    .g__wrapper {
    padding: 5% 0;
}

    .g__wrapper .logo__box {
    width: 50%;
    }

  .hamburger {
    display: block;
  }

  .g__wrapper a {
    color: #000;
    font-size: calc(var(--s-val)*2);
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background: #fff;
    transform: translateX(100%);
    padding: 50px 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

    .g__wrapper .nav__list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

  .nav__list.open {
    transform: translateX(0);
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
  }

  .g__wrapper a.contact__btn {
    width: 70%;
    color: #000;
    padding: 4% 0;
}

  .nav__list ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .contact__btn {
    margin-top: 30px;
    display: inline-block;
  }
}
