.heading {
  width: 100%;
  height: 75px;
  text-align: center;
  display: flex;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 900;
  padding-top: 20px;
  background: var(--navbackground);
}

.heading h2 {
  width: 100%;
  color: #fafbfffe;
  margin-bottom: 0;
  font-size: 36px;
}

.cards_wrap {
  padding: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--white);
}

.cards_wrap .card_item {
  padding: 15px 25px;
  width: 25%;
  color: var(--light-black);
}

.cards_wrap .card_inner {
  background: linear-gradient(to bottom right, rgb(252, 158, 112), rgb(255, 236, 239));
  border-radius: 5px;
  padding: 20px 20px;
  min-width: 225px;
  min-height: 250px;
  max-height: 370px;
  width: 100%;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, .5);
}

.cards_wrap .card_inner:hover {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, .5);
  cursor: pointer;
}

.cards_wrap .card_item img {
  width: 80px;
  height: 80px;
  margin-bottom: 5px;
  border-radius: 50%;
}

.cards_wrap .card_item .role_name {
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cards_wrap .card_item .teacher_name {
  color: var(--light-black);
  font-size: 14px;
  font-weight: normal;
  margin: 5px 0 5px;
  text-transform: capitalize;
}

.cards_wrap .card_item .brief {
  font-size: 14px;
  line-height: 24px;
  color: var(--light-black);
}

@media screen and (max-width: 1024px) {
  .cards_wrap .card_item {
    width: 33%;
  }
}

@media screen and (max-width: 768px) {
  .cards_wrap .card_item {
    width: 50%;
  }

  .wrapper .header {
    font-size: 16px;
    height: 60px;
  }
}

@media screen and (max-width: 568px) {
  .cards_wrap .card_item {
    width: 100%;
  }

  .wrapper .header {
    font-size: 14px;
  }
}