html {
  scroll-behavior: smooth;
}

header {
  background-color: rgb(102, 126, 89);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 30px;
  height: 4px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: white;
}

.nav-menu {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 1.25rem;
}

.nav-logo img {
  border-radius: 50%;
  height: 75px;
  width: 75px;
}

.nav-item {
  font-family: var(--heading-font);
  font-size: 1.25rem;
}

.nav-link {
  font-weight: 700;
  color: white;
  letter-spacing: .075rem;
}

.nav-link:hover {
  color: #d2b48c;
  border-bottom: 2px solid tan;
}

.current-link {
  color: tan;
  border-bottom: 2px solid tan;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.slide-in-left {
  -webkit-animation: slide-in-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: slide-in-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 15s linear infinite;
  min-height: 400px;
  max-height: 400px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Pause the animation when hovering */
.marquee-content:hover {
  animation-play-state: paused;
}

@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}



/* 769PX OR LESS **MOBILE** */

@media screen and (max-width: 500px) {
  header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

  .nav-menu.active {
    left: 0;
    top: 6rem;
    position: absolute;
    background-color: rgb(102, 126, 89);

  }

  .nav-item {
    margin: 2rem 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .navigation-button-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .marquee-content {
    animation: marquee 8s linear infinite;
  }

  iframe {
    max-width: 250px;
  }

  video {
    height: auto;
    width: auto;
  }
}