*, body, html{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Assistant';
  --main-white: rgba(250,250,250);
  --light-green: rgb(145, 209, 145);
  --green-text: rgb(132,179,112);
  --light-green-transparent: rgba(160, 221, 160, 0.5);
  --dark-grey: rgb(70, 70, 70);
  scroll-behavior: smooth;
}

/* Navbar styling */
header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  padding-right: 40px;
  padding-bottom:10px;
  height: 7vh;
  font-size: 25px;
  font-weight: 600;
  background-color: var(--light-green);
  background:
    linear-gradient(
      to top, 
      var(--main-white) 0%,
      lightgrey 15%,

      var(--light-green) 16%
    )
    left 
    bottom
    
    no-repeat; 

}

.nav-right{
  margin-bottom: 5px;
}
.logo{
  color: white;
  padding-left:10px;
  height:30px;
  width:200px;
  
}
.logo img {
 
  width:135px;
  height:35px;
 
  
}

.nav-right a{
  color: white;
  text-decoration: none;
  margin: 0px 20px;
  font-size: 15px;
  padding: 10px 10px;
  position: relative;
  z-index: 0;
  cursor: pointer;
}
.nav-right a:before, .nav-right a:after
{
    position: absolute;
    width: 100%;
    height: 2.5px;
    left: 0px;
    content: '';
    background: #FFF;
    opacity: 0.5;
    transition: all 0.3s;
}

.nav-right a:before
{
    top: 0px;
} 

.nav-right a:after
{
    bottom: 0px;
}

.nav-right a:hover:before, .nav-right a:hover:after
{
    height: 100%;
    opacity: 0.3;
}

#graph{
  width: 100%;
}

/* Main body styling for home */
.main-body{
  display: flex;
  height: 90vh;
  justify-content: center;
  align-content: center;
  flex-direction: row;
  background-color: rgba(0, 0, 0, 0);
}

.background{
  background: url('../images/leaves-background.jpeg');
  background-size: cover;
  position: absolute;
  top: 30px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.75;
  z-index: -1;
}

.main-left{
  padding-top:50px;
  height: 100%;
  width: 50vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-size: 30px;
  color: var(--light-green);
}

.text{
  text-align: left;
}

.text h1 b{
  font-weight: 2000;
  padding-left: 50px;
  color: var(--green-text);
}

.text h2{
  font-weight: 50;
  padding-left: 50px;
  
  color: var(--green-text);
}

.main-left button{
  width: 25vw;
  padding: 15px;
  
  
  
  border: none;
  background-color: var(--light-green);
  border-radius: 5px;
  color: white;
  font-size: 20px;
  a{
      background-color: var(--light-green);
      color: white;
      text-decoration: none;
  }
}

.main-left button:hover{
  background-color: white;
  border: 2px solid var(--light-green);
  color: var(--light-green);
  transition: .5s;

  a{
      background-color: white;
      transition: .5s;
      text-decoration: none;
      color: var(--light-green);
  }
}

.main-right{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  text-align: center;

  .right-img{
      width: 60vh;
      height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
      aspect-ratio: 1/1;
      border: 10px solid var(--light-green-transparent);
      border-radius: 100%;

      .img-wrapper{
          width: 65vh;
          aspect-ratio: 1/1;
          background: url('../images/food-bowl.png');
          margin: auto;
          background-position: center;
          background-size: contain;
      }
  }
}

/* Parallax section */
.parallax{
  height: 400px;
  width: 100vw;
  background: url('../images/parallax-img.avif');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Home 2 styling */
.home-2{
  background-color: var(--light-green);
  color: var(--dark-grey);
  text-align: center;
  padding: 30px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url('../images/leaves-background-2.png');
  background-size: cover;
}

.home-2 h3{
  font-weight: 300;
  font-size: 25px;
}

.home-2 h3 b{
  font-weight: 800;
  color: black;
}

.stats-container{
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat{
  width: 20vw;
  background-color: var(--main-white);
  border-radius: 20px;
  height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.stat h1{
  margin-bottom: 30px;
  font-size: 60px;
  color: rgb(57, 169, 70);
}

.stat p{
  font-size: 20px;
  color: var(--dark-grey);
}

/* Table styling */
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

/* Analytics stuff */
.analytics-header{
  width: 100vw;
  text-align: center;

  h1{
    color: black;
    font-size: 60px;
  }
}

.charts{
  display: flex;
  flex-direction: row;
  width: 100vw;
}

.pies{
  width: 30vw;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#pie1{
  margin-top: 6.5%;
  height: 80%;
  width: 100%;
}



.bars{
  width: 65vw;
  height: 100%;
  display: flex;
  flex-direction: row;
}

#bar1{
  margin-top: 4%;
  margin-left: 1%;
  height: 80%;
  width: 49%;
}
#bar2{
  margin-top: 4%;
  margin-left: 1%;
  height: 80%;
  width: 49%;
}


