.stopoverflow-x-window {
    overflow-x: hidden;
}

.hero {
    display: flex;
    justify-content: space-between;
    padding: 10% 0 10% 10%;
}

.hero-content {
    width: 50%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 5%;
    font-weight: bold;
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 5%;
}

.hero-image {
  position: relative;
  width: 27%;
  padding-top: 40.5%; /* for 2:3 aspect ratio */
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.hero-image img {
    width: 100%;
}

.carousel-image {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: auto; 
  object-fit: contain;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  transition: opacity 3s ease-in-out, visibility 3s ease-in-out;
}

.shop-now {
  font-family: 'Kumbh Sans', sans-serif;
  letter-spacing: 0.05em;
  border: 4px solid RGB(0,226,174);
  background-color: RGBA(255,255,255,0.80);
  color: black;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.6em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative; /* Make the element a positioning context for the pseudo-element for the gradient transition*/
  overflow: hidden; /* Hide the overflow from the pseudo-element */
  z-index: 1;
  transition: color 0.3s;
}

.shop-now::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(0, 226, 174,0.7), RGBA(0,226,174,1));
  transition: transform 0.3s;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
  font-weight: bold;
}

.shop-now:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.shop-now:hover {
  color: white;
}

.learn-more {
  font-family: 'Kumbh Sans', sans-serif;
  letter-spacing: 0.05em;
  border: 4px solid rgb(178, 105, 220);
  background-color: RGBA(255,255,255,0.80);
  color: black;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.6em; 
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative; /* Make the element a positioning context for the pseudo-element for the gradient transition */
  overflow: hidden; /* Hide the overflow from the pseudo-element */
  z-index: 1;
  transition: color 0.3s;
}

.learn-more::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(178, 105, 220, 0.8), rgba(178, 105, 220, 1));
  transition: transform 0.3s;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
  font-weight: bold;
}

.learn-more:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.learn-more:hover {
  color: white;
}

.portable-essential {
    background-color: rgb(238,238,238);
    padding: 5% 2% 2% 5%;
}

.peflexcontainer {
  display: flex;
  justify-content: space-between;
}

.column-left {
  width: 30%;
  padding-right: 5rem;
  padding-left: 5rem;
}

.column-right {
  width: 50%;
  padding-right: 10rem;
  padding-left: 5rem;
}

.small-text {
    color: grey;
    font-size: 1.1rem;
  }

  .smallest-text {
    color: grey;
    font-size: 0.8rem;
  }
  
.portable-essential .bold-heading {
    font-weight: bold;
    font-size: 3em;
}

.paragraph-text {
    font-size: 1rem;
}

.HB-text{
  padding: 0 3rem;
  max-width: 35%;
}

.HB-text-left {
  text-align: left;
}

.HB-text-right {
  text-align: right;
}

.features-section {
  display: flex;
  justify-content: space-between;
  background-color: #eeeeee;
  padding: 5% 10%;
}

.feature {
  width: 25%;
  background-color: #ffffff;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.feature img {
  height: 20%;
  width: auto;
}

.feature h2 {
  margin: 20px 0;
}

.OzSAGELink, .HarvardLink{
  color: black;
}

#steps{
  display: flex;
  background-color: black;
  color: white;
  flex-direction: column;
  align-items: center;
  padding: 3em;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#steps-content {
  display: flex;
  flex-direction: column;
  width: 30%;
  align-items: center; /* this centers the child elements vertically */
  position: relative;
  z-index: 2;
}

  .steps-section h1 {
    font-size: 2em;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around; /* or space-between */
    flex-wrap: wrap;
  }
  
  .steps-section .step {
    margin-bottom: 20px;
  }

  .steps-section .step h2 {
    font-size: 1.5em;
    font-weight: bold;
  }

  .step {
    padding-top: 3em;
  }

#ventilation-at-a-glance{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
    background-color: rgb(238,238,238);
}

#ventilation-at-a-glance h1 {
    text-align: center;
}

.ventilation-headings-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ventilation-scroll-container {
    display: flex;
    width: 80%;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.productscrollcontainer {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  padding: 0 2% 0 25%;
  z-index: 1;
}

.productscrollimage-container {
    width: 100%;
    padding-top: 15rem;
}

.productscrollimage-container img {
    width: 100%;
    object-fit: cover;
}

.textscrollcontainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    width: 50%;
    padding-top: 15rem;
}

.productscrolltext-item {
    margin-bottom: 10rem;
    font-size: 1.2rem;
    color: black; 
    padding: 5rem 0 5rem 5rem;
    background-repeat: repeat-y;
    background-size: 95% auto;
}

#green-text {
    background-image: linear-gradient(rgba(0,226,174,0), rgba(0,226,174,0.7), rgba(0,226,174,0)); 
}

#yellow-text {
    background-image: linear-gradient(rgba(241,250,93,0), rgba(241,250,93,0.7), rgba(241,250,93,0)); 
}

#red-text {
    margin-bottom: 0;
    background-image: linear-gradient(rgba(202,13,73,0), rgba(202,13,73,0.7), rgba(202,13,73,0)); 
}


#healthbenefits {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    color: black;
    flex-direction: column;
    padding: 12rem 0 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#healthbenefits .small-text {
  color: grey;
}

#healthbenefits-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.healthbenefits-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4rem 0;
}

#healthbenefits-content .healthbenefits-section:nth-child(odd) {
    flex-direction: row-reverse;
}


.healthbenefits-section img {
    width: 40%;
    height: auto;
    justify-content: space-between;

}

.healthbenefits-section div {
    width: 50%;
    margin: 0; 
}


.healthbenefits-learn-more-btn {
  font-family: 'Kumbh Sans', sans-serif;
  letter-spacing: 0.05em;
  border: 4px solid RGB(0,226,174);
  background-color: RGBA(255,255,255,0.80);
  color: black;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.6em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative; /* Make the element a positioning context for the pseudo-element for the gradient transition */
  overflow: hidden; /* Hide the overflow from the pseudo-element */
  z-index: 1;
  margin: 20px auto; 
}

.healthbenefits-learn-more-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle at left, rgb(0, 226, 174), rgb(178, 105, 220));
  transition: transform 0.3s;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
}

.healthbenefits-learn-more-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.healthbenefits-learn-more-btn:hover {
  color: white;
}

#stars {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
}

.star {
    background: white;
    position: absolute;
    border-radius: 50%;
    animation: move 60s infinite linear;
}

.tweet-section {
  background-color: rgb(238,238,238);
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 1rem;
}

.tweet-section h2 {
  font-size: 2rem;
  margin: 5rem 2rem 0 2rem;
}

.tweet-carousel {
  position: relative;
  overflow: hidden;
  width: 85%; 
}

.tweet-row {
  display: flex;
  gap: 16px;
  transition: transform 0.3s;
}

.tweet-placeholder {
  flex: 0 0 33%; /* 2 tweets visible at a time */
  max-height: 150vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  overflow: hidden;
  transform: scale(0.85);  
}

.tweet-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
}

.tweet-arrow-left {
  left: 0;
}

.tweet-arrow-right {
  right: 0;
}

.spacer {
    height: 15vh;
}

.signup-section {
    background-color: black;
    color: white;
    text-align: center;
    padding: 50px;
}
  
.signup-section h2 {
    color: rgb(0, 226, 174);
    font-size: 2em;
    margin-bottom: 20px;
}
  
.signup-section p {
    font-size: 1em;
    margin-bottom: 20px;
}
  
.signup-section form {
    display: inline-block;
}
  
.signup-section input[type='email'] {
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 0.8em;
    padding: 10px;
    border: none;
    border-radius: 20px 0 0 20px;
}
  
.signup-section button {
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 0.8em;
    padding: 10px 20px;
    border: none;
    background-color: darkgray;
    color: white;
    cursor: pointer;
    border-radius: 0 20px 20px 0;
}

/* Adjustments for Large devices (desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {

      .hero h1 {
          font-size: 3.5em;
      }
      .hero-content, .portable-essential .column, .feature {
          width: 60%;
      }
      .feature img {
          width: 30%;
      }
      .hero-image {
        width: 40%;
        padding-top: 60%; 
     }
}


/* Adjustments for Medium devices (tablets, 1024px and up) */
@media only screen and (max-width: 1024px) {
   
    .hero h1 {
        font-size: 2.5em;
    }
    
    .hero {
        padding-top: 15%;
    }
        
    .hero-content {
        padding-right: 5%;
    }
    
    .hero-content, .portable-essential .column, .feature {
        width: 50%;
    }
    
    .hero-image {
      width: 37%;
      padding-top: 80%; 
    }
    
    .feature img {
        width: 50%;
    }
    
      #steps-content {
        width: 40%;
    }
    
    .healthbenefits-section img {
      width: 70%;
      margin-right: 1em; 
      margin-left: 1em; 
    }
    
    #healthbenefits-content {
      padding: 1rem;
    }
    
    .healthbenefits-section {
      padding: 1rem;
    }
    
    .healthbenefits-section div {
      width: 80%;
      text-align: center;
      margin: 0;
    }
}

/* Adjustments for Small devices (landscape phones, 768px and down) */
@media only screen and (max-width: 768px) {
    
    .hero {  
      display: block;
      padding: 0;
      width: 100%;
     }
     
    .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 5%;
    }
    
    .hero-content{
      padding-top: 15%;
      display: flex;
      flex-direction: column-reverse;
      text-align: center;
      width: 100%;
      align-items: center;
      justify-content: center;
      
    }
    
    .hero-image {
     position: absolute;
     top: 12%;
     left: 16.6%;
     z-index: -1;
     width: 66.66%;
     height: 100%;
    }
    

    .hero-image img {
        width: 100%;
    }
        
    .hero-content .hero-title {
      order: 1;
      width: 70%;
    }
    
    .hero-title {
      transition: color 3s ease-in-out;
      font-size: 1.5rem;
    }
    
    .hero-title.white-text {
      color: rgb(238,238,238);
    }
    
    .hero-content .paragraph-text {
      order: -1;
      padding: 75% 2rem 1rem 2rem;
      font-size: 1rem;
    }
    
    .portable-essential .bold-heading {
      font-size: 1.8em;
    }
    
    .paragraph-text p{
      font-size: 1rem;
    }

    .column-left {
      width: 40%;
      padding-right: 1rem;
      padding-left: 0;
    
    }
    
    .column-right {
      width: 60%;
      padding-right: 1rem;
      padding-left: 0;
    }
    
    .features-section {
      justify-content: center;
      padding: 1em;
    }
      
    .feature {
      height: 50%;
      width: 50%;
      padding: 1em;
    }
    
    #steps-content {
      width: 60%;
    }
    
    .step {
      padding-top: 1em;
    }
    
    .steps-section h1 {
      font-size: 1.3em;
    }
    
    .steps-section .step h2 {
      font-size: 1em;
    }
    
    .step img {
      width: 10%;
      height: auto;
    }
    
    .productscrollcontainer {
      padding-left: 60%;
      height: 10vh;
    }
    
    .productscrollimage-container {
        width: 80%;
    }
    
    /*SCROLL ANIMATION*/
    
    /*1st change from 480px*/
    .ventilation-headings-container {
        width: 90%;
        text-align: center;
    }
    
    .ventilation-scroll-container {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    
    .productscrollcontainer {
        position: sticky;
        top: 0;
        display: flex;
        justify-content: center;
        padding: 0 0 5% 0;
        width: 100%;
        height: auto;
        z-index: 1;
        background-color: rgb(238,238,238);
    }
    
    .productscrollimage-container {
        width: 100%;
        padding-top: 35%;
        display: flex;
        justify-content: center;
        background-color: rgb(238,238,238);
        z-index: 2;
    }
    
    .productscrollimage-container img {
        width: auto;
        height: auto;
        max-height: 700px;
        margin: auto; /* Center the image horizontally */
        background-color: rgb(238,238,238);
        z-index: 3;
    }
    
    .textscrollcontainer {
        width: 100%;
        padding: 25% 5% 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 0;
    }
    
    .productscrolltext-item {
        padding: 10rem 0;
        width: 100%; 
        display: flex;
        flex-direction: column; /* Align children (text and bold tags) vertically */
        align-items: center; /* Center content horizontally */
        justify-content: center; /* Center text horizontally */
        z-index: 0;
        text-align: center; /* Ensure text is centered within the item */
        font-weight: bold;
        background-size: 100%;
    }
    
    .small-text {
        padding-left: 10%;
        padding-right: 10%;
    }
    
    .healthbenefits-container h1 {
      font-size: 1.3em;
    }
    .healthbenefits-container h3 {
      font-size: 0.9em;
    }
    
    .healthbenefits-section img {
      width: 70%;
      margin-right: 1em; 
      margin-left: 1em; 
    }
    
    .healthbenefits-section {
      padding: 1rem;
    }
    
    .healthbenefits-section div {
      width: 80%;
      text-align: center;
      margin: 0;
    }
    
    .HB-text{
      padding: 1rem;
      max-width: 70%;
    }
    
    .healthbenefits-learn-more-btn {
      font-size: 0.8rem;
    }
    
    .tweet-section h2 {
      font-size: 1.2em;
      text-align: center;
    }
    
    .tweet-placeholder {
      flex: 0 0 50%; /* 2 tweets visible at a time */
    }
    
    .signup-section h2{
     font-size: 1.2rem;
    }
    
    .signup-section p{
      font-size: 0.8rem;
     }
}

/* Adjustments for Extra small devices (portrait phones, 480px and down) */
@media only screen and (max-width: 480px) {
    
    /* breaks scroll stickyness
    html, body {
    max-width: 100%;
    overflow-x: hidden;
  }*/
  
    .hero {
        padding-top: 10%;
    }

    .hero-image {
        margin-top: 10%;
    }
    
    .hero-image {
     position: absolute;
     top: 0;
     left: 0;
     z-index: -1;
     width: 100%;
     height: 150%;
    }
    
    .hero-content .paragraph-text {
      padding-top: 115%;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 5%;
    }
    
    .paragraph-text {
      font-size: 1rem;
      text-align: left;
    }

    .shop-now, .learn-more {
    font-size: 0.8rem;
    }
    
    .portable-essential{
      padding-left: 7.5%;
    }
    
    .peflexcontainer {
        flex-direction: column;
    }
    
    .portable-essential, .column {
      padding-top: 2rem 0 0 0;
    }
    
    .column-left {
      width: 100%;
      padding-right: 0;
      padding-left: 0;
    
    }
    
    .column-right {
      width: 95%;
      padding-right: 2rem;
      padding-left: 0;
    }

    .features-section {
     flex-direction: column;
    }
    
    .feature img {
     width: 15%;
    }
    
    .feature {
     width: 80%;
     height: auto;
     margin-top: 1em;
     margin-left: 5%;
     padding-left: 5%;
    }
    
    .steps-section p{
     text-align: center;
    }
    
    #healthbenefits {
      padding: 15% 5%;
    }
    
    .healthbenefits-section div {
      width: 100%;
      margin: 0; 
    }
    
    .healthbenefits-section img {
      width: 90%;
    }
    
    .healthbenefits-section p {
      text-align: center;
    }
    
    .HB-text{
      padding: 0.5rem;
      max-width: 90%;
    }
    
    .healthbenefits-learn-more-btn {
      margin-left: 15%;
      margin-right: 15%;
      margin-top: 0;
      margin-bottom: 0;
      font-size: 0.9rem;
    } 

    .tweet-placeholder {
      flex: 0 0 100%; /* 1 tweet visible at a time */
    }
    
    .signup-section {
    background-color: black;
    color: white;
    text-align: center;
    padding: 50px;
}

.signup-section input[type='email'] {
    padding: 10px;
}
  
.signup-section button {
    padding: 10px;
    border: none;
}
    
    /*SCROLL*/
    .productscrollimage-container img {
        max-height: 200px;
    }
    
}

    
/* Adjustments for Extra extra small devices (small phones, 320px and up) */
@media only screen and (max-width: 320px) {
  .hero h1 {
      font-size: 1.5em;
  }
  .hero-content, .portable-essential .column, .feature {
      width: 100%;
  }
  .feature img {
      width: 70%;
  }
}
  
