html {
  scroll-behavior: smooth;
}
body {
  height: 100vh;
  background-color: #faf9f6;
  font-family: serif;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #0d843d;
  font-size: 1.2rem;
  font-weight: bold;
}
a:hover {
  color: #075125;
}

/* Styles for the navigation bar */
.nav-bar {
  width: 100%;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-bar .logo a {
  font-size: 1.5rem;
  font-weight: bold;
}
.nav-bar .links {
  display: flex;
  gap: 2rem;
}
.signin-btn {
  background-color: #fedd00;
  color: #00843c;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2 ease;
}
.signin-btn:hover {
  color: #075125;
  scale: 1.05;
}
.signin-btn:active {
  scale: 0.95;
}
.bar1,
.bar2,
.bar3 {
  width: 30px;
  height: 3px;
  background-color: #0d843d;
  margin: 6px 0;
  transition: 0.4s;
  display: none;
}
.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}
.change .bar2 {
  opacity: 0;
}
.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

/* DROPDOWN MENU */
.dropdown-container {
  display: none;
  position: absolute;
  right: 2rem;
  top: 60px;
  width: 300px;
  height: 0;
  background: rgba(194, 194, 194, 1);
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
}
.dropdown-container.open {
  height: 280px;
  display: block;
}
.dropdown-container li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropdown-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.dropdown-container .signin-btn {
  width: 80%;
  display: flex;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 5px;
  margin-top: 5px;
  justify-content: center;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .nav-bar .links,
  .nav-bar .signin-btn {
    display: none;
  }
  .bar1,
  .bar2,
  .bar3 {
    display: block;
  }
  .dropdown-container {
    display: block;
  }
}

@media (max-width: 576px) {
  .dropdown-container {
    left: 2rem;
    width: unset;
  }
}
@media (min-width: 993px) {
  .dropdown-container.open {
    display: none;
  }
}
