.hero{
  height: 80vh;
}

.hero-text{
    width: 100%;
    text-align: center;
    justify-content: center;
}

.hero-text h1{
    font-size: 2.2rem;
    font-weight: 800;
    margin: 4rem 0;
    margin-bottom: 2rem;
    line-height: 1;
}
.hero-text p{
    font-size: 1rem;
    margin-bottom: 4rem;
}

.hero-text .tag {
    border-radius: 5px;
    padding: 0.5em 1em;
    color: black;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: white;
    font-size: 0.7rem;
    cursor: pointer;
  }

.hero-text .tags{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  #hero .heroImg{
    height: 20rem;
  }

  .curve{
    overflow: hidden;
  }

  .curve img{
    width: 100%;
  }

  #featured-list{
    display: none;
  }

  #featured-list, #post-list, #topics-list{
    padding: 2em 0;
  }

  #featured-list .featury,#topics-list .topicy{
    width: 100%;
    overflow-x: scroll;
    position: relative;
  }

  #featured-list .container h3, #topics-list .container h3, #post-list .container h3{
    padding-left: 1em;
    font-size: 1.5rem;
    font-weight: 600;
  }

  #featured-list .featury::-webkit-scrollbar,#topics-list .topicy::-webkit-scrollbar {
    width: 1px;
  }

  #featured-list .row,#topics-list .row{
    flex-wrap: wrap;
    justify-content: center;
    width: max-content;
  }

  .featured-card,.topic-card{
    width: 250px;
    border-radius: 10px;
    /* height: 450px; */
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(0, 0, 0, 0.1);
    /* background-color: rgb(31, 31, 31); */
    cursor: pointer;
  }

  .featured-card .img, .topic-card .img{
    overflow: hidden;
    width: 100%;
    height: 150px;
    border-radius: 0px 0px 50px 10px;
  }

  .featured-card .img img, .topic-card .img img{
    object-fit: cover;
    height: 100%;
    width: 100%;
  }

  /* .event-card .details{
    position: absolute;
    height: 200px;
    width: 100%;
    bottom: 0;
    background-image: linear-gradient(180deg, rgba(221, 0, 0, 0) 20%, rgb(31, 31, 31) 70%);
    z-index: 9999;
  } */

  .featured-card .details, .topic-card .details{
    padding: 1em;
    line-height: 1;
  }

  .featured-card .details h2, .topic-card .details h2{
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    margin-top: 0;
  }


  #post-list .row{
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .post-card{
    width: 32%;
    min-width: 300px;
    border-radius: 10px;
    /* height: 450px; */
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.1);
    /* background-color: rgb(31, 31, 31); */
    cursor: pointer;
  }

  .post-card .img{
    overflow: hidden;
    width: 100%;
    height: 250px;
    border-radius: 0px 0px 50px 10px;
  }

  .post-card .img img{
    object-fit: cover;
    height: 100%;
    width: 100%;
  }

  .post-card .details{
    padding: 1em;
    line-height: 1;
  }

  .post-card .details div{
    padding: 0.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  span.tag{
    border-radius: 50px;
    background: transparent;
    border: 1px solid #0000008e;
    font-weight: 500;
    font-size: 0.5rem;
    cursor: pointer;
    max-width: fit-content;
    padding: 1em 1.3em;
  }

  .post-card .details h2{
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
    margin-top: 0;
  }

  .post-card .details button{
    font-size: 0.7rem;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-weight: 500;
  }

  .topic-card{
    width: 300px;
    border: none;
    border-radius: 0px;
  }

  .topic-card .imgs{
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border: 2px solid #00eda6a8;
    border-radius: 5px 5px 20px 10px;
    overflow: hidden;
  }

  .topic-card .imgs .img{
    border-radius: 0px;
  }

  .topic-card .imgs .img:nth-of-type(1){
    height: 150px;
    width: 100%;
  }

  .topic-card .imgs .img:nth-of-type(2), .topic-card .imgs .img:nth-of-type(3){
    height: 150px;
    width: 50%;
  }