nav {
  position: absolute;
  background: var(--bg-rgb);
  /*top: calc(7vw + 5vh);*/
  margin-top: var(--margin-1);
  left: -9999px;
  width: 100%;
  /*height:calc(95vh - 7vw);*/
  height: 100%;
  z-index: -10;
  color: var(--main-color);
  text-transform: uppercase;
  font-weight: bold;
  flex-direction: column;
  display: flex;
  align-items: center;
  font-size: min(10vw, 80px);
  font-weight: bold;
  font-family: 'Eurostile', sans-serif;
  opacity: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

nav.active {
  left: 0;
  top: 0;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  z-index: 10;
}

nav ul {
  width: 100%;
  margin-top: calc(30vw);
}

nav li {
  text-align: center;
}

nav li:not(.icons) a:hover {
  color: var(--bg-20);
  background: var(--main-color);
}

nav li.icons a:hover {
  color: #000;
}

nav li a {
  display: block;
  padding: 30px 0;
}

nav li.icons {
  font-size: 6vw;
  display: flex;
  justify-content: space-evenly;
  margin-top: 50px;
}

.hamhol {
  z-index: 30;
  flex-basis: 30%;
  padding: 7% 4% 7% 10%;
  border: 0;
  background: transparent;
}

.hamburger {
  line-height: 0px;
  min-width: var(--margin-1);
  height: 100%;
  width: 100%;
  transform: rotate(0deg);
  cursor: pointer;
  display: flex;
  align-items: center;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.hamburger span {
  position: absolute;
  height: 16%;
  width: 100%;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
  background: var(--main-color);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(4) {
  bottom: 0;
}

.hamburger.active span:nth-child(1),
.hamburger.active span:nth-child(4) {
  opacity: 0;
  height: 0px;
}

.hamburger.active span:nth-child(2) {

  transform: rotate(45deg);
}

.hamburger.active span:nth-child(3) {

  transform: rotate(-45deg);
}



@media (min-width:641px) {
  nav {
    position: relative;
    flex-direction: row;
    left: auto;
    height: auto;
    background: none;
    width: auto;
    z-index: 0;
    opacity: 1;
    font-size: 1em;
    flex-basis: 65%;
    margin: 0;
  }

  nav li a {
    padding: 10px;
  }

  nav li:not(.icons) a {}

  nav ul {
    width: auto;
    margin: 0;
    display: flex;
    gap: 1%;
    flex-grow: 2;
  }

  nav li {
    float: left;
  }

  nav li.icons {
    font-size: 1em;
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    gap: 1%;
  }

  .hamhol {
    display: none;
  }
}

@media (min-width:1000px) {
  nav li.icons {
    font-size: 1em;
  }

  nav ul {

    gap: 4%;

  }

}