.instructors__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 25%), 1fr));
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  grid-gap: 1em;
  margin: 0 auto 0;
  width: min(100%, 1200px);
  padding: 0 clamp(2%, 7.333vw, 88px) 3em;
}
@media (max-width: 800px) {
  .instructors__container {
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 45%), 1fr));
    width: 100%;
    padding: 0;
  }
}
@media (min-width: 801px) {
  .instructors__container::before, .instructors__container::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    height: 70%;
    width: 100vw;
    background: rgba(212, 242, 255, 0.7);
  }
  .instructors__container::before {
    left: 5%;
    -webkit-transform: translate(-100%, -50%);
            transform: translate(-100%, -50%);
  }
  .instructors__container::after {
    right: 5%;
    -webkit-transform: translate(100%, -50%);
            transform: translate(100%, -50%);
  }
}

.instructor {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.instructor__link {
  position: relative;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.instructor:hover .instructor__link {
  -webkit-transform: scale(0.98);
          transform: scale(0.98);
  -webkit-box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.3);
}
.instructor__link::before, .instructor__link::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.instructor__link::before {
  background: #F2E52F;
}
.instructor__link::after {
  background: #EE6337;
}
.instructor:hover .instructor__link::before {
  -webkit-transform: rotate(4deg);
          transform: rotate(4deg);
}
.instructor:hover .instructor__link::after {
  -webkit-transform: rotate(1.5deg);
          transform: rotate(1.5deg);
}

.instructor__figure {
  position: relative;
  overflow: hidden;
  max-height: 220px;
}
.instructor__figure::before, .instructor__figure::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #3DB9EB;
}
.instructor__figure::before {
  -webkit-clip-path: polygon(0 0, 18% 0, 5% 100%, 0% 100%);
          clip-path: polygon(0 0, 18% 0, 5% 100%, 0% 100%);
}
.instructor__figure::after {
  -webkit-clip-path: polygon(95% 0, 100% 0, 100% 100%, 88% 100%);
          clip-path: polygon(95% 0, 100% 0, 100% 100%, 88% 100%);
}

.instructor__img {
  position: relative;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: top;
  z-index: -1;
}
.instructor .instructor__img {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.instructor:hover .instructor__img {
  -webkit-transform: scale(1.15);
          transform: scale(1.15);
}

.instructor__body {
  padding: 0 1em;
  background: #414141;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.instructor:hover .instructor__body {
  background: #343434;
}
.instructor__body::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.7em 0.7em 0 0.7em;
  border-color: #fff transparent transparent transparent;
}
@media (max-width: 800px) {
  .instructor__body::after {
    border-width: 0.5em 0.5em 0 0.5em;
  }
}

.instructor__name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  margin: 0 auto;
  padding-bottom: 0.2em;
  width: 100%;
  min-height: 2.2em;
  font-size: clamp(18px, 14.6666666667px + 0.4166666667vw, 20px);
}
.instructor__name::before, .instructor__name::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0%;
  bottom: -4px;
  height: 4px;
}
@media (max-width: 800px) {
  .instructor__name::before, .instructor__name::after {
    left: 0%;
    bottom: -2px;
    height: 2px;
  }
}
.instructor__name::before {
  width: 100%;
  background: #3DB9EB;
}
@media (max-width: 800px) {
  .instructor__name::before {
    width: 100%;
  }
}
.instructor__name::after {
  width: 35%;
  background: #F2AB2F;
}
@media (max-width: 800px) {
  .instructor__name::after {
    width: 35%;
  }
}
@media (max-width: 800px) {
  .instructor__name {
    font-size: clamp(14px, 10.4705882353px + 0.9411764706vw, 18px);
  }
}

.instructor__genre {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  padding-top: 0.2em;
  width: 100%;
  min-height: 2.2em;
  font-size: 15px;
}
.instructor__genre::before, .instructor__genre::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 25%;
  bottom: -4px;
  height: 4px;
}
@media (max-width: 800px) {
  .instructor__genre::before, .instructor__genre::after {
    left: 25%;
    bottom: -2px;
    height: 2px;
  }
}
.instructor__genre::before {
  width: 50%;
  background: #3DB9EB;
}
@media (max-width: 800px) {
  .instructor__genre::before {
    width: 50%;
  }
}
.instructor__genre::after {
  width: 20%;
  background: #F2AB2F;
}
@media (max-width: 800px) {
  .instructor__genre::after {
    width: 20%;
  }
}
@media (max-width: 800px) {
  .instructor__genre {
    font-size: clamp(12px, 9.3529411765px + 0.7058823529vw, 15px);
  }
}/*# sourceMappingURL=instructor.css.map */