@charset "UTF-8";

/* Reset ------------------- */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

figure {
  margin: 0;
}

img {
  vertical-align: bottom;
}

/* helper --------------------- */

.img-resp {
  max-width: 100%;
  height: auto;
}

.img-rounded {
  border-radius: 6px;
}

.container {
  max-width: 900px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.hover-weak:hover {
  opacity: .7;
  cursor: pointer;
}

/* layout --------------------------- */

.base {
  padding-top: 11rem;
  padding-bottom: 9rem;
}

.base-stripe {
  background-color: #f6f6f6;
}

.base-skew {
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
}

/* module --------------------------- */

.title {
  color: #21505b;
  text-align: center;
  font-size: 3rem;
}

.course {
  display: flex;
  flex-direction: row-reverse;
  position: relative;
}

.course__head {
  width: 45%;
  padding-left: 1.5rem;
  box-sizing: border-box;
}

.course__body {
  z-index: 1;
  position: relative;
  width: 55%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .1);
  border-radius: 1rem;
}

.course__title {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1;
}

.course__cht {
  z-index: 1;
  position: relative;
  color: orange;
}

.course__en {
  position: absolute;
  top: -20%;
  left: -4%;
  color: #fff;
  text-transform: uppercase;
  font-size: 4.5rem;
  font-weight: 900;
}

.course__desc {
  color: #21505b;
  line-height: 1.5;
}

.course__btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.course__btn {
  min-width: 0;
  padding: 1rem;
  line-height: 1;
  font-size: 1rem;
  border: 0;
  border-radius: .5rem;
  vertical-align: bottom;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition-duration: .3s;
}

.course__btn:hover {
  cursor: pointer;
  opacity: .7;
}

.course__btn--warning {
  color: orange;
  background-color: #ffecc3;
}

.course__btn--full {
  width: 100%;
}

.course__img {
}