/* Mobile site style */

#blog-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80vh;
  background-color: #373f38;
  color: white;
  text-align: center;
}

#blog-intro h1 {
  font-size: 45px;
  color: #f1f1f1;
}

#blog-intro h2 {
  font-size: 17px;
  color: #f1f1f1;
}

#blog-list {
  padding: 5% 3%;
  background-color: rgb(255, 255, 255);
}

#comingsoon {
  text-align: center;
  background-color: rgb(255, 255, 255);
  padding: 0 0 50px 0;
}

/* ------------------------------------------------------------------------- filter for blogs ------------------ */

#blog-filter {
  padding: 20px;
  width: 90%;
  overflow-x: auto;
  white-space: nowrap;
}

/* ------------------------------------------------------------ Filter buttons */

.blog-filter-btn {
  margin: 0 1%;
  padding: 0;
  border: 2px white solid;
  outline: none;
  width: 110px;
  height: 40px;
  background-color: #d1d1d1;
  cursor: pointer;
  border-radius: 14px;
  font-size: 12px;
  color: #306e43;
  font-family: Inter;
}

.blog-filter-btn:hover {
  background-color: #306e43;
  color: white;
}

.blog-filter-btn.active {
  background-color: #4caf6a;
  color: white;
}

.blog-filter-btn.active:hover {
  background-color: #306e43;
}

/* ------------------------------------------------------------------------------- List of blogs */

.blog-card {
  color: black;
  height: auto;
  margin: 0;
  padding: 0;
  display: none;
}

.blog-show { /* The class that is applied by the blogfilter js */
  display: block;
}

.blog-card img {
  height: 80px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 3px 3px 6px 2px rgba(29, 29, 29, 0.308);
}

.blog-card-flex {
  display: flex;
}

.blog-card-textbox {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 0 3%;
}

.blog-card-title a{
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #4caf6a;
}

.blog-card-description {
  font-size: 16px;
  margin: 10px 0 0 0;
  display: none;
}

.blog-card-details {
  margin: 0 0 5px 0;
  font-size: 13px;
}

.blog-card-details a {
  font-size:13px;
}

.blog-list-break {
  height: 1px;
  margin: 5% 0;
  background-color: rgb(76, 76, 76);
}




@media only screen and (min-width: 800px) {

  .blog-card-description {
    display: block;
  }

  .blog-card-details {
    margin: 5px 0 5px 0;
    font-size: 13px;
  }

}










/* --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Desktop Site ----------------------- */

@media only screen and (min-width: 1200px) {

  .blog-card img {
    height: 200px;
  }

  .blog-card-textbox {
    padding: 0 2% 5px 40px;
  }
  
  .blog-card-description {
    font-size: 16px;
    height: 100%;
  }

  .blog-card-title a{
    font-size: 25px;
    font-weight: 500;
  }

  #blog-list {
    padding: 3% 20% 1% 20%;
    background-color: rgb(255, 255, 255);
  }

  .blog-list-break {
    height: 2px;
    margin: 40px 0;
    background-color: rgb(76, 76, 76);
  }

}