/* =========== Start navBar Style ============ */
.nav {
  width: 100%;
  height: 65px;
  position: fixed;
  top: 0px;
  line-height: 65px;
  text-align: center;
  z-index: 10;
  background-color: white;
}
.nav .logo {
  position: absolute;
  width: 400px;
}
.nav .container .navList {
  position: relative;
}

.nav .logo a {
  font-weight: 800;
  color: black;
  text-transform: uppercase;
  position: absolute;
  left: 55px;
}

.nav div .logo a:hover {
  color: var(--text-color) !important;
}
.nav .navList {
  float: right;
  display: flex;
  gap: 2rem;
}
.nav .navList li a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  color: black;
}

.nav .navList li a:hover {
  color: var(--text-color);
  border-bottom: 1px solid var(--text-color);
}

.nav .toggleButton {
  width: 40px;
  height: 40px;
  background-color: transparent;
  position: absolute;
  right: 15px;
  display: none;
}

.nav .toggleButton .toggleIcon {
  width: 100%;
  height: 100%;
  background-color: transparent;
  outline: 0;
  border: none;
  cursor: pointer;
  margin-top: 13px;
}

.nav .toggleButton .toggleIcon span {
  width: 60%;
  height: 2px;
  display: block;
  background-color: black;
  margin-top: 5px;
  margin-bottom: 5px;
}

.nav .toggleButton .toggleIcon:hover span:nth-of-type(1) {
  transform: rotateY(180deg);
  transition: all 0.5s;
  background-color: #000;
}

.nav .toggleButton .toggleIcon:hover span:nth-of-type(2) {
  transform: rotateY(180deg);
  transition: all 0.4s;
  background-color: black;
}

.nav .toggleButton .toggleIcon:hover span:nth-of-type(3) {
  transform: rotateY(180deg);
  transition: all 0.3s;
  background-color: black;
}

.nav .toggleButton button.active span:nth-of-type(1) {
  transform: rotate3d(0, 0, 1, 45deg);
  position: absolute;
  margin: 0;
}

.nav .toggleButton button.active span:nth-of-type(2) {
  display: none;
}

.nav .toggleButton button.active span:nth-of-type(3) {
  transform: rotate3d(0, 0, 1, -45deg);
  position: absolute;
  margin: 0;
}

.nav .toggleButton button.active:hover span:nth-of-type(1) {
  transform: rotate3d(0, 0, 1, 44deg);
}

.nav .toggleButton button.active:hover span:nth-of-type(3) {
  transform: rotate3d(0, 0, 1, -45deg);
}

@media screen and (max-width: 1009px) {
  .nav .toggleButton ul {
    gap: 0.5rem;
  }
}
@media screen and (max-width: 886px) {
  header .container {
    padding: 0 !important;
    width: 100%;
  }
  .nav div.logo {
    margin-left: 15px;
  }
  .nav .navList {
    width: 100%;
    z-index: -10;
    flex-direction: column;
    right: -1000px;
    gap: 0px;
    padding-bottom: 0px;
    background-color: white;
    top: 65px;
    transition: right 1s ease-out;
  }
  .nav .showList {
    right: 0px;
  }
  .nav .navList li {
    border-top: 1px solid #006affa3;
  }
  .nav .navList li:last-of-type {
    border-bottom: 1px solid #006affa3;
  }

  .nav .navList li a {
    font-size: 1rem;
  }

  .nav .toggleButton {
    display: block;
  }
}
/* =========== End navBar Style ============ */
