/* Header and Original Navigation */
header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 250px;
  background-color: #ffdf61;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.1)
    ),
    url("/assets/imgs/brd.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#topPart {
  height: 15vh;
  /* background-color: var(--accent); */
  display: flex;
  justify-content: space-between;
  gap: 5em;
  align-items: center;
  padding: 10vb 9vb;
}

.logo img {
  width: 16vb;
}

nav ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav li a {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-decoration: none;
  color: white;
  text-transform: none;
  transition: 200ms;
  -webkit-transition: 200ms;
  -moz-transition: 200ms;
  -ms-transition: 200ms;
  -o-transition: 200ms;
  position: relative;
  padding: 2vb 2.6vb;
}

nav li a:hover {
  color: var(--accent);
}

/* nav li a::before {
  content: "";
  position: absolute;
  width: 0px;
  height: 2px;
  background-color: var(--accent);
  top: 90%;
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  -o-border-radius: 40px;
  transition: width 200ms ease-in;
  -webkit-transition: width 200ms ease-in;
  -moz-transition: width 200ms ease-in;
  -ms-transition: width 200ms ease-in;
  -o-transition: width 200ms ease-in;
} */

nav li a:hover::before {
  width: 15px;
}

/* 
nav li a::after {
  content: "";
  position: absolute;
  transform-origin: right center;
  width: 15px;
  height: 2px;
  background-color: var(--accent);
  left: 18px;
  top: 90%;
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  -o-border-radius: 40px;
  transform: scaleX(0);
  transition: width 200ms ease-in;
  -webkit-transition: transform 200ms ease-in 200ms;
  -moz-transition: width 200ms ease-in;
  -ms-transition: width 200ms ease-in;
  -o-transition: width 200ms ease-in;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
} */

/* nav li a:hover::after {
  transform: scaleX(1);
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
} */

header h1 {
  /* position: absolute; */
  /* left: 50%; */
  /* bottom: 50%; */
  /*width: auto;
  */ /*bottom: 10px;
  */
  text-align: center;
  color: white;
  font-size: 3em;
  margin-top: 130px;
  /* transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%); */
}

header nav ul .active {
  color: var(--accent);
}

/* header nav ul .active::before {
  content: "";
  position: absolute;
  width: 0px;
  height: 2px;
  background-color: var(--accent);
  top: 90%;
  border-radius: 40px;
  transition: width 200ms ease-in;
  width: 15px;
} */
.nav-links a.active {
  color: var(--mainColor);
  
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 21px;
  bottom: 6px;
  width: 30%;
  height: 2px;
  background:var(--mainColor);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a:hover {
  color: var(--mainColor);
}
.nav-links a.active::after{
  transform: scale(1);
}/* Navbar Navigation */
.navbar {
  position: absolute;
  top: 0;
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  padding: 1% 5%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    rgba(255, 255, 255, 0)
  );
  z-index: 10;
}

.navbar .logo img {
  width: 80px;
}

.menu-icon {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 100;
}

ul.nav-links {
  display: flex;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
}

.nav-links a.active {
  color: var(--accent);
}

/* .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
} */

/* .nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: var(--accent);
} */


@media (max-width: 768px) {
  nav {
      justify-content: space-between;
      padding: 0px 30px;
      background: transparent;
      position: fixed;
  }

  .navbar{
    left: 0;
  }
  .menu-icon {
      display: block;
      border: 1px solid white;
      height: 30px;
      width: 30px;
      font-size: 18px;
      text-align: center;
      padding-bottom: 10px;
  }

  ul.nav-links {
      position: fixed;
      top: 0;
      right: -250px;
      width: 250px;
      height: 90vh;
      background: black;
      flex-direction: column;
      align-items: flex-start;
      padding: 50px 20px;
      gap: 20px;
      transition: right 0.3s ease-in-out;
      z-index: 99;
  }

  ul.nav-links.show {
      right: 0;
  }

  .nav-links li a {
      color: white;
      font-size: 18px;
      width: 100%;
      padding: 10px 0;
      border-bottom: 1px solid #333;
  }

  .nav-links li a.active {
      width: 100%;
      /* padding-left: 10px; */
  }

  .navbar{
      background-color: var(--mainColor);
      justify-content: space-between;
  }
  .logo img{
      width: 70px;
  }
}

/* end of nav */
@media (min-width: 769px) {
  #questions {
    justify-content: center;
    align-items: center;
    margin: 0 20vb;
  }
}

/* End of Navigation bar */

footer {
  margin-top: 150px;
}

#yellowFooter {
  background-color: var(--accent);
  height: 75vb;
  display: flex;
  flex-direction: column;
  /* gap: 3vb; */
}

#footerLogo {
  background-color: #010101;
  width: 30vb;
  text-align: center;
  margin: 0 auto;
  vertical-align: middle;
  height: 260px;
  padding-top: 30px;
  transform: translateY(-40%);
  -webkit-transform: translateY(-40%);
  -moz-transform: translateY(-40%);
  -ms-transform: translateY(-40%);
  -o-transform: translateY(-40%);
}

#footerLogo img {
  margin-top: 13vb;
  width: 18vb;
}

#linkList {
  margin: 10px auto;
  display: flex;
  gap: 3vb;
}

#linkList li {
  background-color: black;
  color: white;
  padding: 15px 17px;
  font-size: 1.2em;
  transition: 300ms;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -ms-transition: 300ms;
  -o-transition: 300ms;
}

#linkList li:hover {
  background-color: white;
  color: #010101;
  cursor: pointer;
  font-weight: 800;
}

#linkList i {
  transition: 300ms;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -ms-transition: 300ms;
  -o-transition: 300ms;
}

#linkList li:hover > i {
  transform: rotateY(360deg);
  -webkit-transform: rotateY(360deg);
  -moz-transform: rotateY(360deg);
  -ms-transform: rotateY(360deg);
  -o-transform: rotateY(360deg);
}

#location {
  margin: auto;
  display: flex;
  gap: 4vb;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 100;
  padding: 3vb;
}

#location .logo i {
  scale: 1.3;
  transition: 100ms;
  -webkit-transition: 100ms;
  -moz-transition: 100ms;
  -ms-transition: 100ms;
  -o-transition: 100ms;
}

#location:hover > .logo i {
  scale: 1.6;
}

#blackFooter {
  background-color: black;
  text-align: center;
  color: gray;
}

#blackFooter p {
  padding: 5vb 0;
}
