/* Colors 
Home, section 1 (head, background): #9fa7bf
Home, section 1 (head, boxes): #568c63
Home, section 2 (developers, background): #c5c8d9 
Home, section 2 (developers, boxes): #49736f
 */

/* Utilities  */

* {
  box-sizing: border-box;
}

.nav {
  flex-direction: row;
}

ul{
  flex-direction: row;
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
  padding: 0px;
  margin: 0px;
}

.container {
  max-width: 980px;
}


/* Section header_home */
.section_header_home {
  height: auto;
  width: auto;
  background-color: #171f20;
}

/* Navbar */
.section_home_navbar {
  background-color: transparent;
}

.carbon_app_navbar1 {
  background-color: transparent;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 9px;
  padding-bottom: 9px;
  display: flex;
  justify-content: space-around;
}

.text-logo {
  font-size: 18px;
  justify-content: center;
  font-weight: 600;
}

.carbon_app_navbar1 a {
  color: #fff;
  margin: 0 0px;
  font-size: 16px;
  text-decoration: none;
}

.carbon_app_navbar1 a:hover{
  color: lightgray;
  border-bottom: none;
}


.carbon_app_navbar1 .carbon_app_navbar_ul1 {
  flex: 1;
  align-items: center;
  margin-left: 40px;
  display: flex;
  font-weight: 300;
}

    .carbon_app_navbar_ul1 ul li {
       margin-right: 30px; /* Add margin between list items */
      }

    .carbon_app_navbar_ul1 ul li:last-child {
      margin-right: 0; /* Remove margin from the last list item */
    }

.nav-right {
  display: flex;
  flex-direction: row;
  align-items: center;
}
    .nav-right .btn_nav1 {
      margin-right: 30px;
    }

    .nav-right .btn_nav_demo {
      margin-right: 0;
    }

.btn_nav1 {
  display: flex;
  align-items: right;
  justify-content: right;
}

.demo_box {
  height: 40px;
  width: 105px;
  background-color: rgb(214, 61, 61);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* First Second home */

.section_home{
  background-color: #171f20;
}

.top_home {
  width: auto;
  height: auto;
  color: #fff;
}

.home_heading {
  width: 75%;
  font-size: 65px;
  font-weight: 600;
  line-height: 75px;
  padding-top: 20px;
  padding-bottom: 10px;
  background-color: #171f20;
}

.home_heading_info {
  font-size: 40px;
  width: 40%;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #171f20;
}

.home_heading_info_more{
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
}

  .home_heading_info_more .demo_box {
    margin-right: 30px;
  }

.container-one{
  height: 628px;
  width: auto;
  padding-top: 60px;
}

  .lifestyle-image {
    width: 450px;
  }

  .emissions-card {
    width: 320px;
    z-index: 30;
    position: absolute;
    top: 896px;
    left: 539px;
    right: auto;
  }

  .impact-chart {
    width: 461px;
    z-index: 40;
    position: absolute;
    top: 621px;
    left: 672px;
    right: auto;
  }

  .category-card {
    width: 313px ;
    z-index: 50;
    position: absolute;
    top: 834px;
    left: 883px;
    right: auto;
  }

  .container-home-two {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    border-top: 1px solid #aac9cc;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    grid-auto-flow: row;
    margin-top: 0;
    padding-top: 64px;
    padding-bottom: 64px;
    display: grid;
    justify-items: center; /* Center horizontally */
    align-items: center; /* Center vertically */
  }

  .container-home-two-text {
    color: #ffff;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    justify-content: left;
    align-items: center;
  }

  .logo-hvl {
    width: 120px;
    padding: 8px;
  }

  .logo-github {
    width: 120px;
    padding: 8px;
  }

.text-logo-home {
  size: 20px;
  color: #ffff;
}

/* Second section home*/

.home-second-box {
  height: auto;
  background-color: #c3d0d1;
  display: block;
  padding-bottom: 50px;
}

.small-heading-home2 {
  font-size: 15px;
  padding-top: 40px;
  padding-bottom: 10px;
  font-weight: 300;
}

.big-heading-home2 {
  width: 75%;
  font-size: 65px;
  font-weight: 600;
  line-height: 75px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.value-prop-text {
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    height: 100vh;
    padding-top: 0;
    padding-bottom: 24px;
    padding-right: 0;
    display: flex;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    overflow: hidden;
}


.heading-1-numbers{
    margin-top: -13px;
    margin-left: 0;
    margin-right: -4px;
    padding-top: 0;
    font-size: 129.8px;
    line-height: 128px;
}

.text-box-12{
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: transparent;
    grid-template-rows: auto auto auto;
    grid-template-columns: minmax(40%, 40%) 60%;
    grid-auto-columns: 1fr;
    height: auto;
    margin-top: 8px;
    margin-bottom: 8px;
    display: grid;
    margin-top: 16px;
    margin-bottom: 16px;
}

.home_heading_info2{
  font-size: 40px;
  width: 80%;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 10px;
}

.home-third-box{
  height: auto;
  background-color: #f5f50a;
  padding: 50px;
}

.yellow-container{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.big-heading-home3 {
  width: 75%;
  font-size: 65px;
  font-weight: 600;
  line-height: 75px;
  padding-top: 10px;
  padding-bottom: 10px;
  justify-content: center;
  align-items: center;
}



@media (max-width: 768px) {
  .nav {
    flex-direction: column;
  }

  ul {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .section_header_home {
    height: auto;
    width: auto;
    background-color: #9fa7bf; /* Update background color */
  }

  .section_home_navbar {
    background-color: transparent;
  }

  .carbon_app_navbar1 {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .carbon_app_navbar_ul1 {
    margin-left: 0;
    justify-content: center;
  }

  .nav-right {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .btn_nav1 {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .demo_box {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .container-one {
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .lifestyle-image {
    width: 100%;
  }

  .emissions-card,
  .impact-chart,
  .category-card {
    position: static;
    width: 100%;
    margin: 0;
  }

  .container-home-two {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .container-home-two-text {
    justify-content: center;
  }

  .logo-hvl,
  .logo-github {
    width: 100px;
    padding: 5px;
  }

  .home-second-box {
    padding-bottom: 20px;
  }

  .value-prop-text {
    padding-bottom: 20px;
  }

  .home_heading,
  .home_heading_info {
    width: 90%;
    text-align: center;
  }

  .text-box-12 {
    grid-template-columns: 1fr;
  }

  .home-third-box {
    padding: 20px;
  }

  .big-heading-home3 {
    width: 90%;
    text-align: center;
  }
}

