/* Classes to display the carousel and album display images */
.image-container {
  position: relative;
  max-width: 250px;
  width: 250px;
  height: 250px;
  overflow: hidden;
  padding: 0 5px;
}

.image-container>div {
  display: block;
  width: 100%;
  height: 100%;
}

.image-container:hover .overlay {
  width: 100%;
  left: 0;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 100%;
  right: 0;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;
}

/* Changed nav-link to a name which doesn't collide with bootstrap */
.webflow-nav-link {
  /* width: 100%; */
  max-width: 100%;
}

.webflow-nav-link {
  opacity: 1;
  color: var(--dim-grey);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0;
  margin-right: 0;
  padding: 21px 20px;
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 22px;
}

.webflow-nav-link:hover {
  opacity: 1;
  color: #000;
}

.webflow-container {
  z-index: 1;
  width: 1200px;
  max-width: 100%;
  aspect-ratio: auto;
  color: #fff;
  text-align: center;
  margin: 0 auto 40px;
  padding-left: 10px;
  padding-right: 10px;
  display: block;
  position: relative;
  /* position: absolute;
  top: 15%;
  left: 40%;
  -ms-transform: translate(-40%, -15%);
  transform: translate(-40%, -15%); */
}

/* .divine_hero {
  display: relative;
} */

.section-26 {
  padding-bottom: 0;
}

.related-products-container>a {
  max-height: 260px;
}

.container-33,
.slide,
.nav-flex {
  height: fit-content;
}

section#safe_home_revolution_footer p {
  color: #898989;
}

section#safe_home_revolution_footer p#copy-right {
  color: white;
  text-align: center;
}

.image-175 {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#what-is-divine-container-img {
  max-width: 500px;
  width: 100%;
}

#what-is-divine-description-text {
  color: var(--dim-grey-2);
  padding-top: 60px;
}

.small-text-size {
  font-size: 0.9rem !important;
}

.medium-text-size {
  font-size: 1.1rem !important;
}

.large-text-size {
  font-size: 1.3rem !important;
}

.xlarge-text-size {
  font-size: 1.5rem !important;
}

.ingredients-list-ul {
  list-style-type: disc;
  padding-left: 20px;
  padding-top: 10px;
  color: var(--dim-grey);
}

.green-text-color {
  color: var(--green-divine);
}

#active-ingredients-grid {
  /* grid-template-columns: 1fr 1fr; */
  grid-template-rows: auto;
  align-items: center;
}

.item-on-left-grid-row {
  grid-column: 1 / 2;
}

.item-on-right-grid-row {
  grid-column: 2 / 3;
}

#active-ingredients-grid a,
.modal-body a {
  text-decoration: underline;
  color: blue;
}

#non-active-ingredients-grid {
  padding: 50px 5%;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto;
  grid-gap: 50px;
  align-items: center;
}

.float-left-divine-benefit {
  position: relative;
  float: left;
  left: -40px;
}

.read-more-text-link {
  color: rgb(123, 91, 33) !important;
  text-transform: uppercase;
}

.read-more-text-link:hover {
  cursor: pointer;
}

#discover-safe-home {
  margin: 60px 0 20px 0;
}

.horizontal-scroll-container {
  display: flex; /* Use Flexbox to align items horizontally */
  overflow-x: auto; /* Enable horizontal scrolling when content exceeds the container width */
  white-space: nowrap; /* Prevent items from wrapping to the next line */
  -webkit-overflow-scrolling: touch; /* Add momentum scrolling for a smoother mobile swipe experience */
  gap: 15px; /* Add some space between columns */
  padding: 0 16px; /* Add padding to the ends for better U/X */
  margin: 50px 0;
}

.top-subtitle {
  margin: 0;
  font-family: "Metropolis", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  padding-bottom: 0.5em;
  text-align: center;
}

.heading-with-italic-part {
  margin: 0 0 10px;
  font-family: "Metropolis", sans-serif;
  font-size: 1.7rem;
  line-height: 1.5;
  font-weight: 300;
  text-align: center;
  color: black;
  span {
    font-family: Big Caslon CC;
    font-size: 2rem;
    font-style: italic;
  }
}

.black-bg-button {
  display: block;
  background-color: black;
  color: #fafafc;
  border: 0;
  padding: 1em 1.5em;
  margin: 50px auto;
  max-width: 90%;
  width: fit-content;
  text-decoration: none;
  font-size: 1em;
  border-radius: 0;
}

/* Optional: Add CSS Scroll Snap for a "paging" effect */
.horizontal-scroll-container {
  scroll-snap-type: x mandatory; /* Enforce snapping to specific points */
}

.column-item {
  flex: none; /* Prevent flex items from shrinking */
  width: 80vw; /* Make each column take up most of the viewport width */
  max-width: 200px;
  scroll-snap-align: start; /* Align the start of the item to the start of the scroll container */
  /* Add other styling like background, padding, etc. */
  box-sizing: border-box;
  display: inline-block; /* Ensure it works with white-space nowrap */
  cursor: pointer;
  text-decoration: none;
}

.column-img-wrapper {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.3s ease; /* optional: slight zoom or darken on hover */
  position: relative;
}

.column-img-wrapper > img {
  width: 100%;
}

/* The overlay that appears on hover */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(232, 222, 209, 0.8); /* black at 50% opacity */
  opacity: 0; /* hidden by default */
  transition: opacity 0.4s ease; /* fade effect */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  text-align: center;
  box-sizing: border-box;
  font-size: 0.8rem;
  color: black;
  text-wrap: wrap;
  text-align: center;
}

.overlay p:nth-of-type(1) {
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0;
  text-align: center;
}

.overlay p:nth-of-type(2) {
  font-weight: 400;
  font-size: 0.8rem;
  margin: 0 10px;
  text-align: center;
}

.overlay div {
  padding: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
}

/* Show overlay on hover */
.column-item:hover .overlay {
  opacity: 1;
}

.column-item > p {
  font-size: 12px;
  font-family: Metropolis, sans-serif;
  text-transform: uppercase;
  text-align: center;
  color: black;
}

@media screen and (max-width: 1800px) {}


@media screen and (max-width: 1440px) {}


@media screen and (max-width: 991px) {

  /* Implement slider */
  .image-container {
    width: 100%;
  }

  .sub-footer {
    margin-top: 0;
  }

  .section-26 {
    max-height: 500px;
  }

  .webflow-container {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 48px;
    /* top: 20%;
    left: 40%;
    -ms-transform: translate(-40%, -20%);
    transform: translate(-40%, -20%); */
  }

  .divine_hero {
    /* height: 760px; */
    padding-bottom: 40px;
  }

  #w-node-_2921b315-1746-31ba-be7b-b42160a70b2a-600fa749 {
    padding-right: 0;
  }

  .section-22 {
    padding-bottom: 56px;
  }

  .section-26 {
    padding-bottom: 60px;
  }
}


@media screen and (max-width: 767px) {
  .sub-footer {
    margin-top: 0;
  }

  .webflow-container {
    height: auto;
  }

  #w-node-_9505779f-3d81-8c4f-6ea4-5229d94dcf43-600fa749 {
    grid-template-rows: auto;
    grid-template-columns: 1fr;
  }

  #landing-banner-text {
    grid-area: 2 / 1 / 3 / 2;
  }

  #landing-banner-capsule {
    grid-area: 1 / 1 / 2 / 2;
    max-height: 500px;
  }

  .divine_title {
    margin: auto;
    text-align: center;
  }
}


@media screen and (max-width: 479px) {

  .divine_title {
    color: var(--green-divine);
    padding-left: 0;
    font-size: 1.25em;
  }

  .w-layout-cell {
    padding-left: 0;
  }

  #w-node-_9505779f-3d81-8c4f-6ea4-5229d94dcf43-600fa749 {
    padding-right: 0;
  }

  .webflow-container {
    height: auto;
    padding-top: 24px;
    margin-bottom: 0;
    /* top: 5%;
    left: 40%;
    -ms-transform: translate(-40%, -5%);
    transform: translate(-40%, -5%); */
  }

  .divine_hero {
    /* height: 400px; */
  }

  .smaller-screen-smaller-text {
    font-size: 0.7rem;
  }

  .quick-stack-52 {
    max-width: 100%;
  }
}

@media screen and (max-width: 359.98px) {
  .divine_hero {
    padding-top: 50px;
  }
}

@media screen and (min-width: 479px) {}

@media screen and (min-width: 767px) {}

@media screen and (min-width: 991px) {
  #what-is-divine-container-img {
    float: left;
    width: 45%;
    margin-left: 5%;
    margin-right: 5%;
    max-width: 600px;
  }


}

@media (min-width: 1200px) {
  #discover-safe-home {
    max-width: 80%;
    margin: 60px auto 20px;
  }

  /* Media query for desktop to have a standard vertical layout if preferred */
  .horizontal-scroll-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: visible;
    white-space: normal;
    gap: 35px;
    max-width: 1450px;
    margin: 0 auto;
  }

  .column-item {
    width: auto;
    max-width: 250px;
    scroll-snap-align: none;
  }
}

@media screen and (min-width: 1440px) {
  #w-node-_9505779f-3d81-8c4f-6ea4-5229d94dcf43-600fa749 {
    grid-template-rows: auto;
    grid-template-columns: 1.45fr 1fr;
  }
/* 
  #what-is-divine-description-text,
  .benefits-checkmarks-text,
  .text-block-9 {
    font-size: 1.3rem;
  }

  .small-text-size {
    font-size: 1.1rem !important;
  }

  .medium-text-size {
    font-size: 1.3rem !important;
    line-height: 1.8rem !important;
  }

  .large-text-size {
    font-size: 1.5rem !important;
  }

  .xlarge-text-size {
    font-size: 1.8rem !important;
  } */
}

@media screen and (min-width: 1800px) {
  #what-is-divine-container-img {
    margin-left: 10%;
    margin-right: 10%;
  }
/* 
  #what-is-divine-description-text {
    line-height: 2rem;
  }

  #what-is-divine-description-text,
  .benefits-checkmarks-text,
  .text-block-9 {
    font-size: 1.5rem;
  }

  .small-text-size {
    font-size: 1.3rem !important;
  }

  .medium-text-size {
    font-size: 1.5rem !important;
    line-height: 2.5rem !important;
  }

  .large-text-size {
    font-size: 1.8rem !important;
  }

  .xlarge-text-size {
    font-size: 2rem !important;
  } */

  #active-ingredients-grid {
    padding-left: 5%;
    padding-right: 5%;
  }
}