.categories_list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px 25px;
}
.categories_list .subject_item {
  height: 279px;
  background: url(../img/category-bg.svg);
}

.dark_mode .categories_list .subject_item {
  background: url(../img/category-bg-d.svg);
  background-size: cover;
}

.category_page_block .blocks_title h2 {
  margin-right: 25px;
  margin-left: 7px;
}
.category_page_block .blocks_title img {
  width: 30px;
}
.subcatogory_title h3 {
  color: rgb(137, 154, 181);
  font-family: Nunito;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: 0%;
  text-align: left;
 
}
.subcatogory_title {
  display: flex;
  align-items: center;
  gap: 18px;
}
.category_page_icon {
  fill: rgb(96, 105, 255);
}
.subcatogory_title div {
  width: 1px;
  height: 22px;
  background: rgb(255, 255, 255);
}
.dark_mode .subcatogory_title div {
  background: rgb(50, 54, 118);
}
.load_more_btn {
  width: 100%;
  border-radius: 12px;
  height: 60px;
  background: rgb(249, 249, 255);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.load_more_btn:hover {
  transition: all 0.2s ease;
  background: rgb(216, 216, 235);
}
.load_more_btn p {
  display: flex;
  align-items: center;
  gap: 6px;
}

.load_more_btn span {
  border-radius: 6px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255, 255, 255);
  background: linear-gradient(
    158.51deg,
    rgb(100, 107, 255) 4.748%,
    rgb(87, 100, 255) 110.143%
  );
}

@media only screen and (max-width: 1470px) {
  .categories_list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media only screen and (max-width: 1200px) {
  .categories_list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 900px) {
  .categories_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media only screen and (max-width: 700px) {
  .blocks_title {
    flex-direction: row;
   flex-wrap: wrap;
  }
  .questions_filter {
    margin-left: 0 !important;
    width: 100%;
  }
  .categories_populars_block  {
    display: none;
  }
  .subcatogory_title {
    width: 100%;
  }
  .subcatogory_title div {
    display: none;
  }
  .sub_category_show_btn {
    display: none;
  }
}

@media only screen and (max-width: 570px) {
  .categories_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .categories_list .subject_item {
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .subject_item_icon {
    top: -4px;
  }
 
}
