:root {
  --color-bk: #202020;
  --color-gy: #909090;
  --color-wh: #ffffff;
  --color-hl: #3454ff;

  --header-height: 100px;

  --font-xl: 28px;
  --font-l: 24px;
  --font-m: 20px;
  --font-s: 18px;
  --font-xs: 14px;

  --size-xl: 120px;
  --size-l: 80px;
  --size-m: 60px;
  --size-s: 40px;
  --size-xs: 20px;
}

@font-face {
  font-family: "HakgyoansimAllimjang";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-R.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "HakgyoansimAllimjang";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-B.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
}

/* ---------------- COMMON ---------------- */

::selection {
  background-color: var(--color-hl);
  color: var(--color-wh);
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 360px;
  max-width: 100vw;
  min-height: 100vh;
  line-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: var(--color-wh);
}

/* ---------------- HEADER ---------------- */

header {
  position: fixed;
  top: 0;
  min-width: 360px;
  width: 100%;
  height: var(--header-height);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-wh);
  border-bottom: 1px solid #ebf0ff;
  z-index: 5;
}

.header-wrapper {
  max-width: 1240px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--size-xs);
}

.logo > img {
  height: 80px;
  object-fit: contain;
}

/* ---------------- main ---------------- */

body img {
  max-width: 1200px;
  width: 100%;
  object-fit: contain;
}

.countdown-wrapper {
  position: relative;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-top: var(--header-height);
}

.sns-wrapper,
.cs-wrapper {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.applicant-wrapper {
  position: relative;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.contactSwiper {
  line-height: normal;
  position: absolute;
  top: 0;
  max-height: 572px;
  max-width: 1080px;
  height: 572px;
  width: 100%;
}

.contactSwiper .swiper-slide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-wh);
  padding: 0 40px;
  border-radius: 20px;
}

.contactSwiper .swiper-slide > img {
  max-width: 131px;
  width: 100%;
  object-fit: contain;
}

.contactSwiper .swiper-slide > span {
  font-family: "Pretendard Variable", sans-serif;
  font-size: 28px;
  letter-spacing: -0.5px;
  font-weight: 400;
  color: var(--color-bk);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contactSwiper .swiper-slide > span:nth-of-type(2) {
  width: 25%;
}

/* ---------------- FOOTER ---------------- */

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--size-m) 0 var(--size-xl) 0;
  background-color: #e6e6e6;
  line-height: normal;
}

.footer-wrapper {
  max-width: 1240px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 var(--size-xs);
}

.footer-wrapper > a > h1 {
  font-family: "HakgyoansimAllimjang", sans-serif;
  font-size: var(--font-l);
  font-weight: 700;
  color: var(--color-gy);
  margin-bottom: var(--size-xs);
}

.footer-wrapper > p {
  font-family: "Pretendard Variable", sans-serif;
  font-size: var(--font-xs);
  font-weight: 400;
  color: var(--color-gy);
  line-height: 150%;
}

.footer-wrapper > p a {
  color: var(--color-gy);
}

.bottom-fixed {
  width: 100%;
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bk);
  z-index: 100;
}

.bottom-fixed > div {
  max-width: 1240px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--size-xs);
}

.bottom-l {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.bottom-l > img {
  width: 72px;
  object-fit: contain;
  margin-right: var(--size-l);
}

.bottom-l > a > img {
  height: 48px;
  object-fit: contain;
}

.bottom-r {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.bottom-r > a:nth-of-type(1) > img {
  height: 56px;
  object-fit: contain;
  margin-right: var(--size-s);
}

.bottom-r > a:nth-of-type(2) > img {
  height: 56px;
  object-fit: contain;
}

@media screen and (max-width: 1200px) {
  :root {
    --header-height: 80px;

    --font-xl: 24px;
    --font-l: 22px;
    --font-m: 18px;
    --font-s: 16px;
    --font-xs: 14px;

    --size-xl: 108px;
    --size-l: 72px;
    --size-m: 54px;
    --size-s: 36px;
    --size-xs: 18px;
  }

  .logo > img {
    height: 64px;
  }

  .contactSwiper {
    line-height: normal;
    position: absolute;
    top: 0;
    max-height: 572px;
    max-width: 1080px;
    height: 47.6vw;
    width: 96%;
  }

  .contactSwiper .swiper-slide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-wh);
    padding: 0 4%;
    border-radius: 12px;
  }

  .contactSwiper .swiper-slide > img {
    max-width: 131px;
    width: 11vw;
    object-fit: contain;
  }

  .contactSwiper .swiper-slide > span {
    font-family: "Pretendard Variable", sans-serif;
    font-size: 2.33vw;
    letter-spacing: -0.5px;
    font-weight: 400;
    color: var(--color-bk);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .bottom-l > img {
    width: 56px;
    margin-right: var(--size-xs);
  }

  .bottom-l > a > img {
    height: 44px;
  }

  .bottom-r > a:nth-of-type(1) > img {
    height: 48px;
    margin-right: var(--size-xs);
  }

  .bottom-r > a:nth-of-type(2) > img {
    height: 48px;
  }
}

@media screen and (max-width: 1000px) {
  .bottom-r > a:nth-of-type(1) > img {
    animation-name: scaleAnimation;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  @keyframes scaleAnimation {
    from {
      scale: 0.95;
    }

    to {
      scale: 1;
    }
  }

  .bottom-r > a:nth-of-type(2) {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --header-height: 64px;

    --font-xl: 22px;
    --font-l: 18px;
    --font-m: 16px;
    --font-s: 14px;
    --font-xs: 12px;

    --size-xl: 96px;
    --size-l: 64px;
    --size-m: 48px;
    --size-s: 32px;
    --size-xs: 16px;
  }

  .logo > img {
    height: 48px;
  }

  .contactSwiper {
    line-height: normal;
    position: absolute;
    top: 0;
    max-height: 572px;
    max-width: 1080px;
    height: 50vw;
    width: 96%;
  }

  .contactSwiper .swiper-slide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-wh);
    padding: 0 4%;
    border-radius: 6px;
  }

  .contactSwiper .swiper-slide > img {
    max-width: 131px;
    width: 11vw;
    object-fit: contain;
  }

  .contactSwiper .swiper-slide > span {
    font-family: "Pretendard Variable", sans-serif;
    font-size: 2.5vw;
    letter-spacing: -0.5px;
    font-weight: 400;
    color: var(--color-bk);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  footer {
    padding-bottom: 132px !important;
  }

  .bottom-fixed {
    min-width: 360px;
  }

  .bottom-fixed > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .bottom-l {
    margin-bottom: 12px;
  }

  .bottom-l > img {
    width: 48px;
    margin-right: var(--size-xs);
  }

  .bottom-l > a > img {
    height: 40px;
  }

  .bottom-r > a:nth-of-type(1) > img {
    width: 100%;
    height: initial;
    object-position: left;
    margin-right: 0;
  }

  .bottom-r > a:nth-of-type(2) > img {
    height: 34px;
    object-position: right;
  }
}
