
body {
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: "Montserrat", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
}


#header{
  display: flex;
  justify-content: space-around;
  margin: 100px  0 100px 0 ;
}

#head-title{
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 70px;
    width: fit-content;
    font-size: 3.5em;
    font-weight: 700;
    color: #008486; 
}
#line{
    margin-top: 70px;
    height: 7px;
    width: 100px;
    background-color:#008486 ;
    border-radius: 25px;
}


#grids{
    width: 80%;
    margin: 0 20px 70px 20px;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-around;
}
#grid{
    margin:20px 13px;
    border: solid #008486 3px ;
    width: 350px;
    height: 420px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  
  .card{
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .img-grid{
    width: 300px;
    height: auto;
    border-radius: 25px;
  }
  .txt-grid{
    margin: 20px 5px;
    width: fit-content;
    text-align: center;
    font-weight: 700;
    color: #008486; 
    font-size: 1.2rem;
  }

  .pr-grid{
    margin: 0 20px 20px 20px;
    width: fit-content;
    height: auto;
    font-size: 1rem;
    font-weight: 600;
    color: #008486; 
  }
  .button-grid{
    font-weight: 500;
    border-radius:25px ;
    width: 300px;
    height: 50px;
    background-color: #008486;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    color:white;
  }
  .link-grid{
    text-decoration: none;
    font-weight: 600;
    color: white;
  }
  .button-grid:hover{
    transition-duration: 500ms;
    background-color: #00848625;
    border: solid white 1px;
    color: white;
  }

  @media screen and (max-width: 1260px) {
   html{
    font-size: 13px;
   }
   body{
    font-size: 1rem;
   }
  }
  @media screen and (max-width: 1150px) {
    html{
     font-size: 13px;
    }
    body{
     font-size: 1rem;
    }
    #grids {
      width: 70%;
      margin: 0 20px 70px 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(45%, 1fr)); /* Each column takes up 45% of the available space */
      justify-content: space-around;
      grid-gap: 20px; /* Add some gap between grid items */
  }
   }

   @media screen and (max-width: 1010px) {
    html{
     font-size: 11px;
    }
    body{
     font-size: 1rem;
    }
    #grids {
      width: 70%;
      margin: 0 20px 70px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;/* Each column takes up 45% of the available space */
      justify-content: space-around;
      grid-gap: 20px; /* Add some gap between grid items */
      
  }
  #bottom-head{
    flex-direction: column;
    margin-bottom: 10px;
    font-size: 11px;
  }
  #head-title{
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 70px;
    width: fit-content;
    font-size: 3.2em;
    font-weight: 700;
    color: #008486; 
  }
   }