* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f4;
}

html,
body {
  overscroll-behavior: none;
  display: flex;
  align-items: center;
  flex-direction: column;
}

nav {
  width: 90vw;
  border-radius: 50px;
  height: 8vh;
  position: fixed;
  top: 1%;
  background-color: #e7e7e7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 30px;
  z-index: 100;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

#nav-logo {
  height: 90%;
  background-color: #e7e7e7;
  width: 8vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#nav-logo > img {
  background-color: #e7e7e7;
  height: 100%;
}

#nav-bar-anchors-container {
  height: 100%;
  width: 30vw;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: transparent;
}

.nav-bar-anchors {
  text-decoration: none;
  color: black;
  padding: 5px 10px;
  border-radius: 25px;
  background-color: transparent;
  letter-spacing: 1px;
  font-size: 15px;
  transition: all 0.2s;
  position: relative;
}

.nav-bar-anchors::after {
  content: "";
  position: absolute;
  background-color: #d4c0a9;
  height: 3px;
  width: 0;
  left: 0;
  bottom: -2px;
  transition: 0.3s;
}

.nav-bar-anchors:hover::after {
  width: 100%;
}

#hamburger-menu {
  display: none;
}

/* HAMBURGER ICON */
#hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

#hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: black;
  border-radius: 5px;
}

/* MOBILE VIEW */

footer {
  height: 5vh;
  width: 90vw;
  padding: 10px 0px;
  background-color: #b29e68;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15%;
  border-radius: 40px 40px 0 0;
}

footer p {
  background-color: transparent;
  font-size: 15px;
  color: rgb(45, 45, 45);
  text-align: center;
}

footer p a {
  background-color: transparent;
  font-size: 17px;
  color: rgb(45, 45, 45);
  letter-spacing: 1px;
  text-decoration: none;
}
@media screen and (max-width: 600px) {
  nav {
    padding: 10px 20px;
    width: 95vw;
  }

  #nav-bar-anchors-container {
    position: absolute;
    top: 8vh;
    right: -5;
    width: 100%;
    height: calc(100vh - 8vh);
    background-color: transparent;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    backdrop-filter: brightness(50%);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  #nav-bar-anchors-container.active {
    transform: translateX(0);
  }

  .nav-bar-anchors {
    font-size: 18px;
    color: white;
    font-size: 25px;
    letter-spacing: 5px;
    font-weight: bold;
  }

  #hamburger-menu {
    display: flex;
    background-color: transparent;
  }
  /* HAMBURGER ANIMATION */
  #hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #hamburger-menu.active span:nth-child(2) {
    display: none;
  }

  #hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  #hamburger-menu span {
    transition: all 0.3s ease;
  }

  body.no-scroll {
    overflow: hidden;
    height: 100vh;
  }
  footer {
    height: 10vh;
    width: 100vw;
  }
  footer p {
    width: 80%;
  }
}
