:root {
  --primary-color: #1C1E1B;
  --paragraph-color: #131313;
  --secondary-color: #EEEEEE;
  --secondary-paraphraph-color: #DEDEDE;
  --gap: 1.5rem;
  --mobile-breakpoint: 768px;
  font-family: Bricolage Grotesque;
  --bold-text: 700;
  --mid-text: 550;
  --light-text: 350;
  --big-text: 40px;
  --normal-text: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

.nav-logo {
  width: min(20rem, 6rem);
  margin: min(2rem, 1.15rem);
}

#header {
  justify-items: center;
  margin-top: 15dvh;
}

#small-text {
  font-family: Bricolage Grotesque;
  font-size: 20px;
  font-weight: 350;
  text-align: center;
  margin-bottom: 5px;
  margin-inline: 5%;
  word-wrap: break-word;
}

#header-bold-text {
  font-family: Bricolage Grotesque;
  font-size: clamp(90px, 14vw, 200px);
  font-weight: 550;
  text-align: center;
  margin-top: 0;
  line-height: 75%;
  color: #25221E;
  letter-spacing: 5%;
}

.nav-bar-doesnt-work {
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 1rem;
  padding-right: 3rem;
  background-color: white;
}


.nav-links {
  display: flex;
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-logo-dark {
  transition: fill 0.3s ease;
}

.nav-bar {
  transition: background-color 0.3s, color 0.3s;
}

.nav-bar .nav-links a {
  color: inherit; 
}

.navbar-dark {
  background-color: var(--paragraph-color);
  color: var(--secondary-color);
}

.navbar-dark .nav-links a {
  color: var(--secondary-color);
}


.what-is-growi {
  align-items: center;
  padding-left: 500px;
  width: 500px;
  color: var(--primary-color);
  height: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover, contain;
  align-content: center;
}

.what-is-growi p {
  margin-left: min(20px, 50px);
  font-size: 20px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 5px;
}

.WIG-bold {
  font-weight: var(--bold-text);
  font-size: 250px;
}



.WIF-title-card {
  align-items: center;
  text-align: center;
  font-weight: var(--bold-text);
  font-size: clamp(30px, 2.5vw, 60px);
  margin-bottom: 0;
  margin-top: 15rem;
}

.WIF-title-paragraph-text {
  margin-top: 0;
  line-height: 135%;
  width: clamp(300px, 60vw, 500px);
  justify-self: center;
  text-align: center;
  text-wrap: pretty;
  word-wrap: break-word;
}

.WIF-grid-div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
  margin-top: 100px;
}



.watering-modes-div {
  margin-block: 300px;
}

.WIF-content {
  max-width: 300px;
}

.WIF-options {
  font-weight: var(--mid-text);
  font-size: 20px;
  margin-block: 0;
}

#key-features {
  font-size: clamp(50px, 10vw, 200px);
  font-weight: var(--bold-text);
  align-self: center;
  justify-self: center;
  padding-block: 20rem;
  color: var(--secondary-color);
  text-align: center;
  background-color: #71a93a;
  width: 100%;
}

.Phone-image {
  display: block;
  object-fit: cover;
  width: 1000px;
}


.phone-div-image {
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  display: flex;
}



.water-tank-div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
  align-items: center;
  justify-items: center;
  margin-top: 300px;
}

.water-tank-content {
  font-size: var(--normal-text);
  align-items: center;
  justify-items: center;

}

.water-tank-parahraph-text {
  margin-top: 0;
  letter-spacing: 12%;
  font-size: 16px;
  justify-self: center;
  text-align: left;
  text-wrap: pretty;
  word-wrap: break-word;
  margin-left: 8%;
  margin-right: 5%;
}

.water-tank-image  {
  max-width: clamp(150px, 60vw, 550px);
  object-fit: contain;
  margin-block: 0;
}

.water-tank-title-card {
  font-weight: var(--bold-text);
  font-size: clamp(30px, 2.5vw, 60px);
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  text-align: left;
}



.engineering {
  font-size: clamp(50px, 10vw, 200px);
  font-weight: var(--bold-text);
  align-self: center;
  justify-self: center;
  padding-block: 20rem;
  color: var(--secondary-color);
  background-color: #0e0e0e;
  text-align: center;
  width: 100%;
  margin-block: 0;
}

.PCB {
  background-image: url(images/Pcb_and_sensor_renders-1.png);
  background-repeat: no-repeat;
  background-position: center;
}


.pcb_div {
  position: relative;
  top: 100px;
}


.pcb_sensor {
  background-color: #0e0e0e;
  background-size: cover;
  color: white;
  text-align: center;
  aspect-ratio: 16 / 9;
}

.pcb_title_card {
  font-size: var(--big-text);
  font-weight: var(--bold-text);
  margin-top: 0;
  margin-bottom: 0;

}


.growi-ai-img {
  max-width: clamp(150px, 60vw, 600px);
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  aspect-ratio: 4 / 3;
  object-fit:cover;
}

.ai-div {
  background-color: #0e0e0e;
  background-size: cover;
  color: white;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;

}

.growi-ai-div {
  margin-top: 50px;
}

.footer {
  background-color: var(--paragraph-color);
  color: var(--secondary-color);
  justify-content: space-between;
  align-items: center;
  padding-block: 6rem;
  padding-left: 6%;
  text-decoration: none;
}

.footer p {
  margin-block: 0;
  text-align: left;
  align-content: center;
  text-decoration: none;
  color: white;
}

.footer-links {
  display: grid;
  gap: 2rem;
  justify-content: left;
  align-items: center; 
  margin-top: 2rem;
  text-decoration: none;
  overflow: hidden;
}


.stayintouch {
  font-weight: bold;
  font-size: var(--normal-text);
  margin-bottom: 2rem;
}

.footer a {
  text-decoration: none;
  color: inherit; 
}

#info-baner {
  background-color: #72B135;
  color: var(--secondary-color);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-block: 1.25rem;
  text-decoration: none;
}

#info-baner a {
  color: var(--secondary-color);
  margin-right: 0.5rem;
  text-decoration: none;
  margin-left: 6px;
}

#info-baner a:hover {
  text-decoration: underline;
  text-decoration-color: var(--secondary-color);
}

#close-banner {
  background-color: transparent;
  outline: none;
  border-style: none;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1rem;
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}





@media  (max-width: 600px) {
  .PCB {
    background-image: url(images/Pcb_and_sensor_renders-1_mobile.png);
  }

  .pcb_sensor {
    aspect-ratio: 9 / 16;
    text-align: left;
  }

  .pcb_title_card {
    margin-left: 6%;
  }
  
  .pcb_paragraph_text {
    margin-left: 6%;
    max-width: 450px;
    margin-right: 20%;
  }

  .pcb_div {
    top: 50px;
  
  }
  #small-text {
    font-size: 16px;
    margin-inline: 5%;
    word-wrap: break-word;
  }

}

@media (max-width: 500px) {
  .pcb_paragraph_text {
    max-width: 50%;
  }
}

@media (width < 1000px) {
  .what-is-growi {
    aspect-ratio: 9 / 16;
  }

  .Phone-image {
      width: clamp(350px, 50vw, 1000px);  
  }

  .WIF-grid-div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .water-tank-parahraph-text {
    max-width: 275px;
    justify-self: center;
    text-align: center;
    text-wrap: pretty;
    word-wrap: break-word;
  }

  .water-tank-div {
    grid-template-columns: 1fr; 
  }
  
  .water-tank-content {
    justify-self: center;
    text-align: center;
    text-wrap: pretty;
    word-wrap: break-word;
    max-width: 90%; 
    text-align: left; 
  }

  .water-tank-title-card {
    justify-self: center;
    text-align: center;
    text-wrap: pretty;
    word-wrap: break-word;
  }
}
