@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "neodgm";
  src: url("../css/fonts/neodgm.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "NanumBarunGothic";
  src: url("../css/fonts/NanumBarunGothic.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "NanumBarunGothicLight";
  src: url("../css/fonts/NanumBarunGothicLight.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "NanumBarunGothicBold";
  src: url("../css/fonts/NanumBarunGothicBold.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "neodgm";
  touch-action: manipulation;
}
.logo {
  cursor: pointer;
  width: 50px;
}

.form-title {
  margin-bottom: 20px;
  font-size: 1.4rem;
  text-align: center;
}
.btn-primary {
  color: #fff;
  background-color: #a251f5;
  border-color: #a251f5;
}
.btn-primary:hover {
  color: #fff;
  background-color: #a251f5;
  border-color: #a251f5;
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #a251f5;
  border-color: #a251f5;
}
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgb(103 58 183 / 46%);
}
.btn-primary.focus,
.btn-primary:focus {
  color: #fff;
  background-color: #a251f5;
  border-color: #a251f5;
  box-shadow: 0 0 0 0.2rem rgb(103 58 183 / 46%);
}
.btn-outline-primary {
  color: #a251f5;
  border-color: #a251f5;
}
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgb(162 81 245 / 50%);
}

.btn-outline-primary.focus,
.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.2rem rgb(162 81 245 / 50%);
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  background-color: #a251f5;
  border-color: #a251f5;
}
.btn-outline-primary:hover {
  color: #fff;
  background-color: #a251f5 !important;
  border-color: #a251f5 !important;
}

.clock {
  display: flex;
  justify-content: center;
  max-width: 700px;
}
.clock > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 25%;
}

/* loading */
.loading {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  left: 0;
  padding: 10px;
  overflow: hidden;
}

.bar {
  background: silver;
  border-radius: 30px;
  margin: 0 0 10px;
  width: 100%;
  height: 5px;
  overflow: hidden;
  position: relative;
}

.cat {
  position: relative;
  margin: 0 0 10px;
  width: 100%;
}

.progress {
  background: #a251f5;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: 0.1s;
}
.progress-cat {
  width: 40px;
  position: absolute;
  top: -10px;
  transition: 0.1s;
  z-index: 1;
  left: -5%;
}
.percentage {
  font-size: 12px;
}

.percentage:after {
  content: "%";
}

.up-down {
  -webkit-animation: mover 0.5s infinite alternate;
  animation: mover 0.5s infinite alternate;
}

@-webkit-keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}
@keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* Animation */

@keyframes fadeInUp {
  0% {
    transform: translate(0px, 100px);
    opacity: 0;
  }
  100% {
    transform: translate(0px, 0);
    opacity: 1;
  }
}

@-webkit-keyframes fadeInUp {
  0% {
    transform: translate(0px, 100px);
    opacity: 0;
  }
  100% {
    transform: translate(0px, 0);
    opacity: 1;
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both;
}

.fadeInUp {
  opacity: 0;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}

footer {
  margin-top: 20px;
}
footer p {
  width: 100%;
  font-size: 12px;
  margin: 0;
  text-align: center;
}
footer a {
  margin: 0 2px;
  color: #a251f5;
}

footer a:hover,
footer a:active,
footer a:focus,
footer a:visited {
  text-decoration: none;
  color: #a251f5;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

@media screen and (max-width: 786px) {
  .pc-kakao {
    display: none !important;
  }
}

.pc-kakao {
  position: absolute !important;
  top: 55px;
  right: 20px;
}
