nav.navID {
  background-color: var(--white);
  border: 1px solid var(--black);
  height: 150px;
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 0.5rem;
  position: relative;
}

#c1 {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 150;
}

nav {
  background-color: #000000;
  opacity: 0.6;
  padding-top: 0px;
  padding-bottom: 0px;
  width: 100%;
  z-index: 99999;
  box-shadow: 0px 5px 8px rgba(000, 000, 000, 0.6),
    0px -5px 8px rgba(000, 000, 000, 0.6);
}
nav ul {
  width: 100%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding-left: 0px;
  height: 100px;
  margin: 0;
}

nav ul li {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  /* width: calc(100% / 5); */
  width: fit-content;
}

nav ul li:nth-of-type(odd) {
  align-self: flex-start;
}
nav ul li:nth-of-type(even) {
  align-self: flex-end;
}

nav ul li:hover {
  padding-left: 0;
  padding-right: 0;
}

nav ul li a {
  color: var(--grey-1);
  text-align: center;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
  border-radius: 5px;
  font-weight: 600;
  font-size: x-large;
  font-family: "Lexend Peta", sans-serif;
}
nav ul li a:hover {
  font-size: x-large;
  font-weight: 800;
  cursor: pointer;
  color: var(--black);
}
.navItem {
  z-index: 200;
}

@media all and (max-width: 1100px) {
  nav ul li {
    /* width: calc((100% / 5) - 10%); */
    /* margin-right: 5%;
    margin-left: 5%; */
  }
  nav ul li a:hover {
    font-size: x-large;
    font-weight: 800;
  }
}

@media all and (max-width: 930px) {
  nav ul {
    height: 100px;
    justify-content: space-evenly;
    /* width: 90%; */
  }
  nav ul li {
    /* width: calc(100% / 3); */
    margin-right: 0;
    margin-left: 0;
  }
}

@media all and (max-width: 700px) {
  nav ul {
    height: 100px;
    justify-content: center;
  }
  nav ul li a {
    font-size: large;
    color: var(--dark);
  }
  nav ul li a:hover {
    font-size: large;
    color: var(--black);
  }
}
@media all and (max-width: 580px) {
  /* nav ul li:nth-of-type(4),
  nav ul li:nth-of-type(5s) {
    width: calc(100% / 6);
  } */
  nav ul {
    justify-content: center;
  }
  nav ul li:nth-of-type(3) {
    margin: 0 -1.5rem;
  }
  nav ul li:nth-of-type(4) {
    white-space: nowrap;
    margin-right: -2rem;
  }
  nav ul li:nth-of-type(2) {
    margin-left: -1.5rem;
  }
  nav ul li a {
    color: var(--black);
    font-size: large;
    font-weight: 500;
  }
  nav ul li a:hover {
    font-size: large;
    font-weight: 500;
  }
}

@media all and (max-width: 540px) {
  nav ul li a {
    font-size: medium;
    font-weight: 400;
  }
  nav ul li a:hover {
    font-size: medium;
    font-weight: 400;
  }
}

@media all and (max-width: 450px) {
  /* nav ul li:nth-of-type(4),
  nav ul li:nth-of-type(5) {
    width: calc(100% / 8);
  } */
  nav ul {
    margin-left: 0;
    margin-right: 0;
    /* justify-content: space-between; */
    /* width: 85%; */
  }
  nav ul li {
    /* width: calc(100% / 6); */
  }
  nav ul li:nth-of-type(5) {
    /* white-space: nowrap; */
  }
  nav ul li:nth-of-type(3) {
    margin: 0 -2rem;
  }
  nav ul li:nth-of-type(4) {
    white-space: nowrap;
    margin-right: -2.5rem;
  }
  nav ul li:nth-of-type(2) {
    margin-left: -2.5rem;
  }
}

@media all and (max-width: 350px) {
  nav ul li {
    margin-left: 0;
    margin-right: 0;
  }
  nav ul li a {
    font-size: small;
    font-weight: 400;
  }
  nav ul li a:hover {
    font-size: small;
    font-weight: 400;
  }
}
