/* Shared styles (nav styles) */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  height: 100vh;
  width: 100vw;
  background-color: #eeeeee;
}

.nav-bar {
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  box-shadow: 0 3px 17px 3px rgb(0 0 0 / 0.25);
  padding: 10px 0;
  position: fixed;
  top: 0;
  z-index: 5;
}

.logo {
  height: 65px;
  margin-left: 15px;
}

.nav-items {
  font-family: "Jost", monospace;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.nav-list {
  display: flex;
  flex-direction: row;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #6d6a6a;
  transition: ease 200ms;
}

.nav-link:hover {
  color: #1d5c6c;
  transition: ease 200ms;
}

.active {
  color: #2480c6;
}

/* login button styles */

.login-btn {
  width: 110px;
  height: 40px;
  font-family: "Jost", monospace;
  margin-right: 40px;
  background-color: #54b8f2ff;
  color: white !important;
  box-shadow: 2px 3px 6px rgb(0 0 0 / 0.25);
  padding: 8px 35px;
  border: 0;
  border-radius: 20px;
  transition: ease 200ms;
  text-decoration-line: none;
}

.login-btn:hover {
  background-color: #1b7883;
  transition: ease 200ms;
}

.login-btn:active {
  background-color: darkslategray;
}

/* ------------------- */

/* hide menu on wide screens */

.fa-bars {
  display: none;
}

/**/

#menu-toggle {
  display: none;
}

/* Responsive styles */

@media only screen and (max-width: 800px) {
  .logo {
    margin-right: auto;
  }

  .nav-items {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    position: absolute;
    top: 85px;
    transition: height 400ms;
    height: 0;
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
    box-shadow: 0px 20px 15px -20px rgb(0 0 0 / 0.25);
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li:hover {
    background-color: #d4d3d3;
  }

  #menu-toggle:checked ~ .nav-items {
    height: 190px;
    transition: height 400ms;
  }

  .login-btn {
    margin: 0;
  }

  .fa-bars {
    display: block;
    margin-right: 25px;
    color: darkslategrey;
    transition: ease 200ms;
  }

  .fa-bars:hover {
    color: #2480c6;
    transition: ease 200ms;
    cursor: pointer;
  }
}
/* carousel styles */

.carousel-img {
  width: 100vw;
}

.carousel {
  position: absolute;
  width: 100vw;
  top: 83px;
}

.carousel-indicators {
  position: absolute;
  z-index: 2;
}

.carousel .carousel-indicators .active {
  background-color: #f5350f;
}

.carousel .carousel-indicators button {
  background-color: darkslategrey;
}

.join {
  position: relative;
}

.join-btn {
  position: absolute;
  z-index: 2;
  bottom: 12vw;
  right: 9vw;
  color: white;
  background-color: #a0260e;
  border: 2px solid white;
  border-radius: 10px;
  padding: 10px 15px;
  font-family: "Jost", monospace;
  font-weight: 400;
  transition: ease 200ms;
}

.join-btn:hover {
  background-color: #f5350f;
  transition: ease 200ms;
}

.hyssop-message {
  display: flex;
  justify-content: center;
  top: 83px;
  /* bottom: 5vw; */
  margin-top: calc(100vw / 2.4);
  text-align: center;
  position: fixed;
  font-family: "Jost", monospace;
  width: 100%;
}

.hyssop-message h3 {
  font-weight: 400;
  width: 80%;
}
.product-banner {
  width: 100vw;
  height: auto;
  position: relative;
  top: 83px;
  margin-bottom: 120px;
}

.products-body {
  background-color: #abc0a7;
  width: 100%;
  height: auto;
  padding-bottom: 50px;
}

.product-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  margin: 0 20px;
}

.product-background {
  position: absolute;
  z-index: 3;
  width: 195px;
  height: 295px;
  border-radius: 30px;
  background-image: url(/assets/images/homepage/prod_bg.jpg);
  background-position: -1300px -465px;
  filter: brightness(40%);
  box-shadow: 2px 3px 6px rgb(0 0 0 / 0.25);
}

.product-img {
  position: relative;
  z-index: 4;
  right: -35;
  top: 50;
}

.product-name {
  color: #1f1d1d;
  font-size: 20px;
}

.product-details {
  position: relative;
  margin-top: -209px;
  z-index: 1;
  font-family: "Urbanist", monospace;
  display: flex;
  flex-direction: column;
  height: 295px;
  width: 540px;
  border-radius: 30px;
  background-image: linear-gradient(
    rgba(248, 249, 250, 1),
    rgba(226, 214, 214, 0.2)
  );
  padding: 50px 30px 15px 240px;
  font-weight: 500;
  box-shadow: 2px 3px 6px rgb(0 0 0 / 0.25);
}

.product-benefits {
  list-style: none;
  color: #273c28;
  text-align: left;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.product-benefits li {
  margin-bottom: 10px;
}

.fa-leaf {
  margin-right: 10px;
}

@media only screen and (max-width: 800px) {
  .product-showcase {
    gap: 10px;
  }

  .product-background {
    width: 20vw;
    height: 30vw;
    border-radius: 4vw;
  }

  .product-img {
    right: -6vw;
    top: 8vw;
    height: 15vw;
  }

  .product-details {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    margin-top: -15vw;
    height: 30vw;
    width: 65vw;
    border-radius: 4vw;
    padding: 3vw 0 0 25vw;
  }

  .product-name {
    font-size: 2.6vw;
    margin-bottom: 1vw;
  }

  .product-benefits {
    font-size: 2vw;
  }

  .product-benefits li {
    margin-bottom: 1vw;
  }

  .product-showcase {
    gap: 20px;
  }
}
/* --------------------------------- */

@media (min-aspect-ratio: 16/9) {
  .hyssop-message {
    display: none;
  }
}
