@charset "utf-8";

main {
  width: 100%;
  max-width: 1200px;
  margin: 240px auto 0;
}

.pageTitle {
  padding-inline-start: 40px;
  margin-block-end: 160px;
}

.pageTitle p {
  color: #2981c0;
  font-size: clamp(3rem, 1.239rem + 7.51vw, 8rem);
}

.pageTitle small {
  color: #333;
  font-size: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  line-height: 5rem;
}

.pageText {
  margin-block: 160px;
  font-size: clamp(0.875rem, 0.743rem + 0.56vw, 1.25rem);
  line-height: 2rem;
  text-align: center;
}

.instructorList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.instructorInfo {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-block-end: 80px;
}

.instructorInfo img {
  transition: all 0.5s;
}

.instructorInfo img:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 5px rgb(0 0 0 / 0.3);
}

.instructorInfo dt {
  color: #333;
  font-size: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
  font-weight: 600;
  line-height: clamp(2rem, 1.648rem + 1.5vw, 3rem);
}

.instructorInfo .btn {
  text-align: center;
}

.instructorInfo .btn .btnText {
  display: inline-block;
  position: relative;
  width: 50%;
  min-width: 200px;
  padding: 10px 20px 10px 0;
  background-color: #00b0ba;
  border-radius: 50px;
  color: #fafafa;
  font-size: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
  transition: color 0.5s, background-color 0.5s;
}

.instructorInfo .btn a::before,
.instructorInfo .btn a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.5s;
}

.instructorInfo .btn a::before {
  background-image: url(../img/arrow_green.png);
}
.instructorInfo .btn a::after {
  background-image: url(../img/arrow_orange.png);
  opacity: 0;
}

.instructorInfo .btn a:hover {
  background-color: #f9a638;
}

.instructorInfo .btn a:hover::before {
  opacity: 0;
}

.instructorInfo .btn a:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .pageTitle {
    padding-inline-start: 0;
    text-align: center;
  }

  .pageText {
    margin-block: 20px 160px;
  }

  .instructorInfo {
    width: 40%;
  }
}

@media (max-width: 428px) {
  .instructorInfo .btn .btnText {
    width: 80%;
    min-width: 160px;
  }
}