@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700&display=swap');
@font-face {
  font-family: 'NIXGONM-Vb';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/NIXGONM-Vb.woff')
    format('woff');
  font-weight: normal;
  font-style: normal;
}
a {
  text-decoration: none;
  color: black;
}
.a_sec1 {
  background-color: #f1f1f1;
  width: 100%;
  height: 67vh;
  clip-path: circle(200px at 100% 100%);
  position: relative;
  box-shadow: 0px 10px 10px rgb(0 0 0 / 20%);
}
.a_sec1.on {
  animation: ani1 1s both cubic-bezier(1, 0.19, 0.8, 0.84);
}
@keyframes ani1 {
  100% {
    clip-path: circle(200% at 100% 100%);
  }
}
/* 메뉴 */
nav {
  width: 15%;
  height: 15%;
  position: fixed;
  right: 3%;
  bottom: 10%;
  display: flex;
  z-index: 1000;
}
nav > p {
  position: absolute;
  width: 50%;
  color: black;
  top: 50%;
  transform: translateY(-100%);
  left: 0;
  cursor: pointer;
  z-index: 100;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.5rem;
}
nav > p::after {
  content: '';
  background-color: black;
  width: 120%;
  height: 2px;
  bottom: -5px;
  left: 20px;
  position: absolute;
  /* border: 1px solid red; */
}
.circle {
  /* border: 1px solid red; */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: auto;
  cursor: pointer;
  z-index: 10000;
}
.circle > img {
  animation: rotation 10s infinite linear;
}
.circle > img.on {
  animation: rotationX 10s infinite linear;
}
.circle > img {
  width: 100%;
}
.circle::after,
.circle::before {
  content: '';
  background-color: black;
  height: 10%;
  width: 3px;
  position: absolute;
  z-index: 1000;
  left: 40%;
}
.circle::after {
  transform: rotate(45deg);
  top: 50%;
  animation: arrow1 0.5s ease-in both;
}
.circle.on::after {
  animation: aniX1 0.5s ease-in both;
  transition: 0.5s;
}
.circle::before {
  transform: rotate(-45deg);
  top: 44%;
  animation: arrow2 0.5s ease-in both;
}
.circle.on::before {
  animation: aniX2 0.5s ease-in both;
  transition: 0.5s;
}
@keyframes rotation {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rotationX {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes aniX1 {
  70% {
    top: 55%;
    left: 40%;
  }
  100% {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    height: 20%;
  }
}
@keyframes aniX2 {
  70% {
    top: 40%;
    left: 40%;
  }
  100% {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    height: 20%;
  }
}
@keyframes arrow1 {
  0% {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    height: 20%;
  }
  100% {
    transform: rotate(45deg);
    top: 50%;
    animation: arrow1 0.5s ease-in both;
  }
}
@keyframes arrow2 {
  0% {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    height: 20%;
  }
  100% {
    transform: rotate(-45deg);
    top: 44%;
  }
}
.circle:hover > img {
  animation-play-state: paused;
}

.gnb {
  /* border: 1px solid blue; */
  width: 12%;
  height: 20%;
  position: fixed;
  right: 5%;
  bottom: 23%;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}
.gnb > a {
  /* border: 1px solid red; */
  height: calc(100% / 3);
  text-align: right;
  font-size: 1.5rem;
  font-family: 'Oswald', sans-serif;
  position: absolute;
  right: 0;
  top: 100%;
  opacity: 0;
  transition: 1s;
}
.gnb > a:hover span {
  animation: txtE 0.5s;
}
.gnb > a:nth-child(1).on {
  top: 0;
  opacity: 1;
}
.gnb > a:nth-child(2).on {
  top: 33%;
  opacity: 1;
}
.gnb > a:nth-child(3).on {
  top: 66%;
  opacity: 1;
}
@keyframes txtE {
  10% {
    opacity: 0.3;
    transform: scale(0);
  }
  40% {
    transform: translate(20px, 0) scale(1);
    color: skyblue;
  }

  70% {
    transform: translate(0) scale(1.2);
    color: blue;
  }
  100% {
    transform: translate(20px, 0) scale(1);
    color: skyblue;
  }
}
.gnb > a > span:nth-child(1) {
  animation-delay: 0.05s;
}
.gnb > a > span:nth-child(2) {
  animation-delay: 0.1s;
}
.gnb > a > span:nth-child(3) {
  animation-delay: 0.15s;
}
.gnb > a > span:nth-child(4) {
  animation-delay: 0.2s;
}
.gnb > a > span:nth-child(5) {
  animation-delay: 0.25s;
}
.gnb > a > span:nth-child(6) {
  animation-delay: 0.3s;
}
.gnb > a > span:nth-child(7) {
  animation-delay: 0.35s;
}
.gnb > a > span:nth-child(8) {
  animation-delay: 0.4s;
}
.gnb > a > span:nth-child(9) {
  animation-delay: 0.45s;
}

.gnb > a:nth-child(3) > span:nth-child(1) {
  animation-delay: 0s;
}
.gnb > a:nth-child(3) > span:nth-child(2) {
  animation-delay: 0.04s;
}
.gnb > a:nth-child(3) > span:nth-child(3) {
  animation-delay: 0.08s;
}
.gnb > a:nth-child(3) > span:nth-child(4) {
  animation-delay: 0.12s;
}
.gnb > a:nth-child(3) > span:nth-child(5) {
  animation-delay: 0.16s;
}
.gnb > a:nth-child(3) > span:nth-child(6) {
  animation-delay: 0.2s;
}
.gnb > a:nth-child(3) > span:nth-child(7) {
  animation-delay: 0.24s;
}
.gnb > a:nth-child(3) > span:nth-child(8) {
  animation-delay: 0.28s;
}
.gnb > a:nth-child(3) > span:nth-child(9) {
  animation-delay: 0.32s;
}

/* 메뉴 */

/* footer */
footer {
  width: 100%;
  height: 33vh;
  position: fixed;
  bottom: 0;
  z-index: -9;
}
.contect {
  width: 40%;
  height: calc(100% - 70px);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.contect > h1 {
  font-size: 3rem;
  color: #a40404;
  text-align: center;
  margin-top: 30px;
}
.icon_con {
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon_con img {
  height: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}
.icon_con a {
  position: absolute;
  width: 100%;
  font-size: 2.5rem;
  text-align: center;
  font-family: 'Nanum Gothic', sans-serif;
  color: #8d8d8d;
  transition: 0.3s;
}
.icon_con a:hover {
  color: skyblue;
  animation-name: ftani;
  animation-timing-function: ease;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
@keyframes ftani {
  0% {
    transform: scale(1, 1) translateY(0);
  }
  10% {
    transform: scale(1.1, 0.9) translateY(0);
  }
  30% {
    transform: scale(0.9, 1.1) translateY(-30px);
  }
  50% {
    transform: scale(1.05, 0.95) translateY(0);
  }
  57% {
    transform: scale(1, 1) translateY(-7px);
  }
  64% {
    transform: scale(1, 1) translateY(0);
  }
  100% {
    transform: scale(1, 1) translateY(0);
  }
}
.copy {
  width: 100%;
  height: 70px;
  background-color: black;
  position: absolute;
  bottom: 0;
  color: #8d8d8d;
  font-family: 'Nanum Gothic', sans-serif;
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.send {
  border: 1px solid #999;
  width: 20%;
  height: 15%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 3%;
  font-size: 1rem;
  font-family: 'Nanum Gothic', sans-serif;
  color: #8d8d8d;
  justify-content: center;
  align-items: center;
  display: flex;
}
.send,
.icon_con p,
.icon_con img {
  cursor: pointer;
}

/* sned message */

.send_con {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: 1s;
  z-index: -10;
}
.send_con.on {
  opacity: 1;
  z-index: 10000;
}
.panel-body {
  width: 30%;
  height: 40%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background-color: white;
  padding: 20px;
}
#reused_form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.form-group {
  width: 100%;
  height: 20%;
  position: relative;
}
.form-group > label {
  position: absolute;
  top: 5%;
}
.form-group > input {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50%;
}
.msg {
  height: 50%;
}
.msg > .form-control {
  height: 70%;
  width: 100%;
  bottom: 0;
  left: 0;
  position: absolute;
}
.btn {
  width: 100%;
  height: 50%;
  top: 50%;
  position: absolute;
  background-color: #a40404;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
}
.fa-times {
  position: absolute;
  top: 20%;
  left: 70%;
  color: white;
  font-size: 3rem;
  cursor: pointer;
}
/* sned message */

article {
  /* border: 1px solid red; */
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: auto;
  position: relative;
}
.about {
  font-size: 2rem;
  position: fixed;
  transform: rotate(90deg);
  top: 15%;
  left: 10%;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 10px;
}

.text_con {
  width: 100%;
  height: 20%;
  display: flex;
  justify-content: space-between;
}
.text {
  border: 2px solid #999;
  width: calc(100% / 3 - 30px);
  height: 100%;
  position: relative;
  padding-top: 10px;
}
.text > h1 {
  font-size: 1.75rem;
  text-align: center;
  font-family: 'NIXGONM-Vb';
}
.p_con {
  position: absolute;
  width: 100%;
  height: 60%;
  bottom: 0;
}
.p_con > div {
  width: 100%;
  height: calc(100% / 2);
  display: flex;
  justify-content: center;
}
.p_con > div > p {
  animation: letter-glow 0.7s 0s ease both;
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: bold;
}
.p_con > div p:nth-of-type(1) {
  animation-delay: 1.1s;
}
.p_con > div p:nth-of-type(2) {
  animation-delay: 1.2s;
}
.p_con > div p:nth-of-type(3) {
  animation-delay: 1.3s;
}
.p_con > div p:nth-of-type(4) {
  animation-delay: 1.4s;
}
.p_con > div p:nth-of-type(5) {
  animation-delay: 1.5s;
}
.p_con > div p:nth-of-type(6) {
  animation-delay: 1.6s;
}
.p_con > div p:nth-of-type(7) {
  animation-delay: 1.7s;
}
.p_con > div p:nth-of-type(8) {
  animation-delay: 1.8s;
}
.p_con > div p:nth-of-type(9) {
  animation-delay: 1.9s;
}
.p_con > div p:nth-of-type(10) {
  animation-delay: 2s;
}
.p_con > div p:nth-of-type(11) {
  animation-delay: 2.1s;
}
.p_con > div p:nth-of-type(12) {
  animation-delay: 2.2s;
}
.p_con > div p:nth-of-type(13) {
  animation-delay: 2.3s;
}
.p_con > div p:nth-of-type(14) {
  animation-delay: 2.4s;
}
.p_con > div p:nth-of-type(15) {
  animation-delay: 2.5s;
}
.p_con > div p:nth-of-type(16) {
  animation-delay: 2.6s;
}
.p_con > div p:nth-of-type(17) {
  animation-delay: 2.7s;
}
@keyframes letter-glow {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.1);
  }
  66% {
    opacity: 1;
    color: #d9d9d9;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.9);
  }
  77% {
    opacity: 1;
    color: black;
  }
  100% {
    opacity: 0.7;
    color: black;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0);
  }
}

/* 이미지 */
.img_con {
  /* border: 1px solid red; */
  height: 300px;
  width: 300px;
  /* border-radius: 50%; */
  position: relative;
  top: 50%;
  transform: translateY(-100%);
  overflow: hidden;
}
.img_con > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
}
/* sentence */
.slide_con {
  border: 1px solid red;
  width: 70%;
  height: 40%;
  position: absolute;
  right: 4%;
  top: 27%;
  display: flex;
  justify-content: space-between;
}
.slide_con > .slide {
  border: 1px solid blue;
  width: 166.666666666666%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: space-between;
}
.slide > li {
  width: calc(100% / 5 - 20px);
  height: 100%;
  border: 1px solid green;
  position: relative;
}
.slide > li:nth-child(1) {
  background-color: red;
}
.slide > li:nth-child(2) {
  background-color: blue;
}
.slide > li:nth-child(3) {
  background-color: green;
}
.slide > li:nth-child(4) {
  background-color: black;
}
.slide > li:nth-child(5) {
  background-color: red;
}

/* 반응형 */
@media (max-width: 1650px) {
  html {
    font-size: 70%;
  }
  .about {
    left: 0;
  }
  nav > p {
    transform: translateY(-50%);
    left: 50%;
    text-align: center;
  }
  nav > p::after {
    display: none;
  }
  .circle::after,
  .circle::before {
    display: none;
  }
}
@media (max-width: 1300px) {
  html {
    font-size: 60%;
  }
  .about {
    left: -5%;
  }
  .send {
    width: 30%;
    height: 15%;
  }
  nav {
    width: 30%;
  }
}
@media (max-width: 700px) {
  html {
    font-size: 75%;
  }
  @keyframes dotAni {
    0% {
      width: 0;
      transform-origin: left;
    }
    100% {
      transform-origin: right;
      width: 100%;
    }
  }
  .about {
    left: -10%;
  }
  .send {
    width: 40%;
  }
  .text_con {
    height: 100%;
    flex-direction: column;
  }
  .text {
    height: calc(100% / 3 - 30px);
  }
}
@media (max-width: 550px) {
  .gnb {
    width: 20%;
  }
}
@media (max-width: 550px) {
  .gnb {
    width: 20%;
  }
}
@media (max-width: 500px) {
  .circle {
    width: 50%;
  }
}
/* 반응형 */
