/* GLOBAL */
* {
    box-sizing: border-box;
  }
  
  body {
    background-color: white;
    font: normal 16px 'Comfortaa', cursive;;
    line-height: 1.6;
    color: #272727;
    margin: 0;
    overflow-x: hidden;
  }

  main{
      background-image: url("plant.png");
      background-repeat: no-repeat;
      background-size: cover;
      background-position: bottom;
      padding-bottom: 100px;
      background-attachment: fixed;
  }

  .main-title{
    min-height: 33vh;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .main-title h1{
      font-size: 4rem;
      color: #286158;
      font-family: 'Comfortaa', cursive;
  }

  .main-title h3{
      font-size: 2rem;
      color: #286158;
      font-weight: lighter;
      margin: 0;
      font-style: italic;
  }

  .content{
      width: 80%;
      margin: auto;
      padding: 50px;
      background-color: #286158;
      color: #fcfcfc;
      border-radius: 10px;
  }

  .content h2{
      font-size: 2.2rem;
      text-align: left;
      margin-bottom: 35px;
  }

  .form{
      margin: 37px 0 50px;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
      grid-row-gap: 20px;
      grid-column-gap: 10px;
      align-items: center;
      justify-items: center;
  }

  .form label{
      font-size: 1.1rem;
      font-weight: bold;
  }

  .form input, form select{
    font-size: 18px;
    padding: 6px 12px;
    width: 210px;
    border-radius: 5px;
    border: 1px solid #333;
    transition: 200ms;
    align-self: center;
  }

  .form input:active, .form input:focus{
    box-shadow: 6px 4px 12px 2px rgba(0,0,0,0.4);
    -webkit-box-shadow: 6px 4px 12px 2px rgba(0,0,0,0.4);
    -moz-box-shadow: 6px 4px 12px 2px rgba(0,0,0,0.4);
  }

  #submit:focus, #submit:active{
    box-shadow: 6px 8px 20px 2px rgba(0,0,0,0);
    -webkit-box-shadow:6px 8px 20px 2px rgba(0,0,0,0);
    -moz-box-shadow: 6px 8px 20px 2px rgba(0,0,0,0);
  }

  #submit{
    font-size: 20px;
  }

  #submit:hover{
    background-color: #272727;
    color: white;
    box-shadow: 6px 4px 12px 2px rgba(0,0,0,0.4);
    -webkit-box-shadow: 6px 4px 12px 2px rgba(0,0,0,0.4);
    -moz-box-shadow: 6px 4px 12px 2px rgba(0,0,0,0.4);
  }

  .content h4{
    font-size: 1rem;
}

    #prediction{
    font-size: 1.4rem;
    font-weight: bold;
}

.advices{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 50px;
    margin: 4vh 2vw;
    justify-content: center;
    align-items: center;
}

.advices h2{
    font-size: 2.6rem;
    color: #286158;
}

.advices div{
    padding: 40px;
}

.r{
border-right: 4px solid #286158;
}

.card h3{
    font-size: 2rem;
}

.card p{
    font-size: 1.1rem;
    line-height: 1.7;
}

.advices img{
    width: 98%;
    margin: auto;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #286158;
    color: white;
    margin: 0;
    min-height: 4vh;
}

footer p{
    margin: 0;
    padding: 0;
}

  .tooltip {
    position: relative;
    display: inline-block;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    background-color: #333;
    color: #fcfcfc;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    width: 250px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
    padding: 10px;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }
  
  /* Header */
  @media (max-width:1800px) {
  
.content{
      width: 90%;
      padding: 20px;
}
.content h2{
    font-size: 2rem;
    margin-bottom: 25px;
}
.form{
  margin: 27px 0 50px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-row-gap: 20px;
  grid-column-gap: 2px;
}
.form input, form select{
  font-size: 1rem;
  padding: 5px 10px;
  width: 180px;
}
#submit{
  font-size: 1rem;
}
  }
  @media (max-width:1300px) {
  
.main-title h1{
      font-size: 3rem;
}
.main-title h3{
    font-size: 1.8rem;
}
.content h2{
  font-size: 1.8rem;
  margin-bottom: 25px;
}
.form input, form select{
  font-size: 1rem;
  padding: 5px 10px;
  width: 150px;
}
.form label{
  font-size: 0.8rem;
  font-weight: normal;
}
.advices{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
  margin: 4vh 2vw;
  justify-content: center;
  align-items: center;
}

.r{
  border-right: 0px solid #286158;
}

  }
  @media (max-width:1069px) {
  
.main-title h1{
      font-size: 2.3rem;
}
  .main-title h3{
    font-size: 1.6rem;
}
.content h2{
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.form{
  margin: 20px 0 50px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-row-gap: 20px;
  grid-column-gap: 10px;
  align-items: center;
  justify-items: center;
}
.form input, form select{
  font-size: 1rem;
  padding: 5px 10px;
  width: 150px;
}
.form label{
  font-size: 0.9rem;
  font-weight: bold;
}
.advices h2{
  font-size: 2rem;
}
.advices div{
  padding: 30px;
}
.card h3{
  font-size: 1.8rem;
}
.card p{
  font-size: 1rem;
}
#prediction{
  font-size: 1.2rem;
  font-weight: bold;
}
  }
  
  @media (max-width:768px) {
  
.main-title h1{
      font-size: 1.4rem;
      text-align: center;
}
.main-title h3{
    font-size: 1.2rem;
    text-align: center;
}
.main-title{
  min-height: 20vh;
}
.form{
  margin: 20px 0 50px;
  grid-template-columns: 1fr 1fr 1fr;
}
.content{
  text-align: center;
}
.form input, form select{
  font-size: 0.9rem;
  padding: 4px 8px;
  width: 120px;
}
.form label{
  font-size: 0.8rem;
  font-weight: bold;
}
.advices{
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 5px;
  margin: 20px 40px;
}
.advices h2{
  font-size: 1.8rem;
  color: #286158;
  margin: auto 0;
}
.card h3{
  font-size: 1.6rem;
}
#prediction{
  font-size: 1.1rem;
  font-weight: bold;
}
  }

  @media (max-width:500px) {
.main-title h1{
      font-size: 1.2rem;
      text-align: center;
      margin: 0 10px;
}
.main-title h3{
    font-size: 1rem;
    margin: 20px 10px;
}
.form{
  grid-template-columns: 1fr 1fr;
}
.advices{
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 5px;
  margin: 10px 20px;
}
.advices div{
  padding: 10px;
}
.advices h2{
  font-size: 1.4rem;
}
.card h3{
  font-size: 1.2rem;
}
.card p{
  font-size: 1rem;
}
  }
  