@import url("./pretendard-subset.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-family:
    "Pretendard",
    BlinkMacSystemFont,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  height: 100%;
  background-color: #3e80c8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
strong {
  font-weight: 700;
}

.display-mobile {
  display: block;
}

.display-desktop {
  display: none;
}

.container {
  position: relative;
  height: 100%;
  /* min-height: 100vh; */
  min-height: -webkit-fill-available;
  width: 100%;
  overflow: hidden;
}

/* Background */
.background {
  position: absolute;
  inset: 0;
}

.background img,
.background video {
  width: 100%;
  height: 100%;
  background: #3e80c8;
  object-fit: cover;
  object-position: center 100%;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

/* Content */
.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 35px;
  text-align: center;
}

/* Logo (Desktop only) */
.lg-logo {
  display: none;
  position: absolute;
  top: 20px;
  left: 20px;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 87px;
}

.main-title {
  text-align: center;
}

.main-title img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.main-section {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
}

.series-logo-content {
  position: absolute;
  top: -69px;
}

.series-logo-content img {
  height: 150px;
}

/* Description */
.description-title {
  color: #fff;
  text-align: center;
  font-size: 29px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -2%;
}

/* Buttons */
.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.btn {
  display: block;
  width: 100%;
  line-height: 48px;
  text-decoration: none;
  padding: 0 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

.btn span {
  background: url("../images/arr_white_right.svg") no-repeat right top 4px;
  padding-right: 22px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2%;
}

.btn.btn-black span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 0;
  gap: 4px;
  color: #111;
  background: none;
  font-weight: 700;
  &::after {
    content: "";
    width: 16px;
    height: 16px;
    background-color: #111;
    -webkit-mask: url("../images/arr_white_right.svg") no-repeat center /
      contain;
    mask: url("../images/arr_white_right.svg") no-repeat center / contain;
  }
}

.btn-primary {
  background: #ea1917;
  height: 48px;
  line-height: 48px;
}

.btn.btn-primary span {
  font-size: 20px;
  font-weight: 700;
}

/* Media Queries */
@media (min-width: 768px) {
  .display-mobile {
    display: none;
  }
  .display-desktop {
    display: block;
  }
  .lg-logo {
    display: flex;
  }
  .content {
    padding: 100px 0 20px;
  }
  .subtitle {
    font-size: 28px;
    line-height: 129%; /* 36.12px */
    letter-spacing: -0.56px;
  }
  .main-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 27px;
  }
  .series-logo-content {
    position: absolute;
    top: -84px;
  }

  .series-logo-content img {
    height: 210px;
  }

  .description-title {
    color: #adadad;
    font-size: 25px;
    letter-spacing: -0.5px;
    font-weight: 700;
  }

  .description-title {
    margin-top: 10px;
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -2%;
  }

  /* .buttons {
    max-width: 656px;
    position: relative;
  } */
  /* .buttons::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    width: 788px;
    height: 85px;
    position: absolute;
    border-radius: 788px;
    opacity: 0.4;
    background: #000;
    filter: blur(50px);
  } */

  .btn {
    width: 477px;
    height: 80px;
    line-height: 80px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
  }

  .btn span {
    background-position: right top 4px;
    background-size: 16px 16px;
    padding-right: 24px;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -1px;
  }

  .btn.btn-black span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 0;
    gap: 8px;
    color: #111;
    background: none;
    &::after {
      content: "";
      width: 16px;
      height: 16px;
      background-color: #111;
      -webkit-mask: url("../images/arr_white_right.svg") no-repeat center /
        contain;
      mask: url("../images/arr_white_right.svg") no-repeat center / contain;
    }
  }

  .btn-primary {
    height: 80px;
    line-height: 80px;
  }
  .btn.btn-primary span {
    background-position: right top 4px;
    background-size: 26px 26px;
    padding-right: 34px;
    font-size: 28px;
  }
}
