body {
  margin: 0;
  font-family: sans-serif;
}

html {
  scroll-behavior: smooth;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(227, 218, 201);
  padding: 0.5rem 7rem;
  position: relative;
}

.parallex,
.parallex-second,
.parallex-third {
  min-height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: min-height 0.6s ease-in-out;
}

.parallex {
  background-image: url('../images/taro-field.jpg');
}

.parallex-second {
  background-image: url('../images/taro-root.jpg');

}

.parallex-third {
  background-image: url('../images/island-foodmart.jpg');
}

.parallex__text {
  color: white;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: bold;
  text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.nav__logo {
  font-family: "Roboto Slab", serif;
  color: rgb(123, 74, 51);
  font-weight: 500;
  font-size: 1.5rem;
}

.nav__menu {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav__menu li a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  color: #000;
  display: block;
  transition: color 0.2s ease;
}

.nav__menu li a:hover {
  color: #686868;
  border-radius: 5px;
  transition: color 0.2s ease;

}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 1.5rem;
  padding: 1rem;
  cursor: pointer;
}

.nav__hamburger span {
  height: 0.2rem;
  background: #000;
  border-radius: 1px;
  transition: all 0.3s;
}

.nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.footer {
  background: #252525;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #ffffff;
  margin-top: 3rem;
}

.footer p {
  margin: 0;
}

.products__button {
  background-color: #252525;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.products__button:hover {
  background-color: #686868;
}

.products__button {
  display: block;
  margin: 1.5rem auto;
}

section {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 3rem 5rem;
  margin: 2rem auto;
  max-width: 900px;
  transition: transform 0.3s ease;
}

.section__products:hover {
  transform: translateY(-10px);
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

section p {
  text-align: left;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

section iframe {
  margin: 1.5rem auto;
  border-radius: 15px;
  max-width: 100%;
  height: 450px;
  border: 0;
}

/* MOBILE */
@media (max-width: 800px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 2rem;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__menu {
    width: 100%;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    padding: 0;
    transition: max-height 0.4s ease-in-out;
    align-items: center;
  }

  .nav__menu li a {
    padding: 0.5rem 1rem;
    width: 100%;
  }

  .nav__menu.active {
    max-height: 500px;
  }

  .nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.3rem, 0.3rem);
  }

  .nav__hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.3rem, -0.3rem);
  }

  .parallex,
  .parallex-second,
  .parallex-third {
    min-height: 250px;
  }
}