@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");
header {
  width: 25%;
  float: left;
  position: fixed;
  margin: 10% 2%;
}
header h1 {
  font-size: 60px;
  color: #E2E8F0;
  width: 100%;
  font-family: "Be Vietnam Pro", sans-serif;
}
header h4 {
  font-size: 30px;
  font-family: "Heebo", sans-serif;
  font-weight: 500;
  color: #E2E8F0;
}
header h6 {
  font-size: 20px;
  color: #94A3B8;
  font-weight: 100;
}
header .nav {
  padding: 15% 0;
}
header .nav p {
  line-height: 80px;
  font-size: 20px;
  color: #94A3B8;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 2rem;
  height: 2rem;
  z-index: 2;
  pointer-events: none;
}
.cursor div {
  background-color: rgba(29, 78, 216, 0.13);
  position: absolute;
  place-items: center;
  animation: pulse 2.5s linear infinite;
  box-shadow: 0 0 300px 150px rgba(29, 78, 216, 0.2);
  border-radius: 50%;
  transition: transform 0.2s ease-out;
  width: 100%;
  height: 100%;
}

.scroll-down {
  position: fixed;
  bottom: 20px;
  left: 60%;
  transform: translate(-50%, 0);
  color: white;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 14px;
  overflow: visible;
}

.scroll-down .arrow {
  position: relative;
  top: 0px;
  margin: 0 auto;
  width: 15px;
  height: 15px;
  filter: invert(1);
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj4KPHBhdGggZmlsbD0iYmxhY2siIGQ9Ik00ODMuMiwxOTIuMmMtMjAuNS0yMC41LTUzLjUtMjAuOC03My43LTAuNkwyNTcsMzQ0LjFMMTA0LjUsMTkxLjZjLTIwLjItMjAuMi01My4yLTE5LjktNzMuNywwLjYKCWMtMjAuNSwyMC41LTIwLjgsNTMuNS0wLjYsNzMuN2wxOTAsMTkwYzEwLjEsMTAuMSwyMy40LDE1LjEsMzYuOCwxNWMxMy4zLDAuMSwyNi43LTQuOSwzNi44LTE1bDE5MC0xOTAKCUM1MDMuOSwyNDUuNyw1MDMuNywyMTIuNyw0ODMuMiwxOTIuMnoiLz4KPC9zdmc+);
  background-size: contain;
}

#container {
  width: 71%;
  float: right;
}
#container #home {
  height: 100vh;
  overflow: hidden;
}
#container #home .words {
  margin-left: 20%;
  padding-top: 5%;
  font-size: 68px;
  font-weight: 900;
  list-style: none;
  transform: translate3d(0, 0, 0);
  -webkit-font-smoothing: antialiased;
  -webkit-font-kerning: normal;
  -webkit-text-size-adjust: 100%;
}
#container #home .words-line {
  height: 60px;
  overflow: hidden;
  position: relative;
}
#container #home .words-line:nth-child(odd) {
  transform: skew(60deg, -30deg) scaleY(0.66667);
}
#container #home .words-line:nth-child(even) {
  transform: skew(0deg, -30deg) scaleY(1.33336);
}
#container #home .words-line:nth-child(even) p {
  color: #94A3B8;
}
#container #home .words-line:nth-child(1) {
  left: 35px;
}
#container #home .words-line:nth-child(2) {
  left: 70px;
}
#container #home .words-line:nth-child(3) {
  left: 105px;
}
#container #home .words-line:nth-child(4) {
  left: 140px;
}
#container #home .words-line:nth-child(5) {
  left: 175px;
}
#container #home .words-line:nth-child(6) {
  left: 210px;
}
#container #home .words-line:nth-child(7) {
  left: 245px;
}
#container #home p {
  height: 50px;
  line-height: 85px;
  padding: 0 10px;
  transition: all 0.4s ease-in-out;
  transform: translate3d(0, 0, 0);
  vertical-align: top;
  white-space: nowrap;
}
#container #home .words:hover p {
  transform: translate3d(0, -65px, 0);
}
#container #profile {
  width: 100%;
  height: 100vh;
}
#container #profile #slidewrap {
  width: 90%;
  height: 700px;
  padding-top: 20%;
  margin-left: 5%;
  overflow: hidden;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
#container #profile #slidewrap .slide li {
  width: 100%;
  height: 200px;
  text-align: center;
}
#container #profile #slidewrap .left {
  width: 25%;
  font-size: 60px;
}
#container #profile #slidewrap .right {
  width: 75%;
  font-size: 20px;
}
#container #portfolio {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}
#container #portfolio .top {
  position: absolute;
  top: 0;
  width: 80%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#container #portfolio .top img {
  width: 50vw;
  height: 50vw;
  max-height: 450px;
  max-width: 450px;
}
#container #portfolio .slider-section {
  height: 22vh;
  bottom: 0;
  position: absolute;
  width: 100%;
}
#container #portfolio .slider-section .wheel {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80vw;
  height: 60vw;
  max-width: 500px;
  max-height: 500px;
  left: 600px;
  transform: translateX(-50%);
}
#container #portfolio .slider-section .wheel .wheel__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  max-width: 200px;
  aspect-ratio: 1/1;
  cursor: pointer;
}
#container #portfolio .slider-section .wheel .wheel__card img {
  width: 100%;
  pointer-events: none;
  z-index: 999;
  cursor: pointer;
}
#container #about {
  font-family: "Noto Sans KR", sans-serif;
}
#container #about .carousel {
  position: relative;
  z-index: 1;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}
#container #about .carousel .carousel-item {
  --items: 10;
  --width: clamp(150px, 30vw, 300px);
  --height: clamp(200px, 40vw, 400px);
  --x: calc(var(--active) * 800%);
  --y: calc(var(--active) * 200%);
  --rot: calc(var(--active) * 120deg);
  --opacity: calc(var(--zIndex) / var(--items) * 3 - 2);
  overflow: hidden;
  position: absolute;
  z-index: var(--zIndex);
  width: var(--width);
  height: var(--height);
  margin: calc(var(--height) * -0.5) 0 0 calc(var(--width) * -0.5);
  border-radius: 10px;
  top: 50%;
  left: 50%;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transform-origin: 0% 100%;
  box-shadow: 0 10px 50px 10px rgba(0, 0, 0, 0.5);
  background: black;
  pointer-events: all;
  transform: translate(var(--x), var(--y)) rotate(var(--rot));
  transition: transform 0.8s cubic-bezier(0, 0.02, 0, 1);
}
#container #about .carousel .carousel-item .carousel-box {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.8s cubic-bezier(0, 0.02, 0, 1);
  opacity: var(--opacity);
  font-family: "Orelo-sw-db", serif;
}
#container #about .carousel .carousel-item .carousel-box .title {
  position: absolute;
  z-index: 1;
  color: #fff;
  bottom: 20px;
  left: 20px;
  transition: opacity 0.8s cubic-bezier(0, 0.02, 0, 1);
  font-size: clamp(20px, 3vw, 30px);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}
#container #about .carousel .carousel-item .carousel-box .num {
  position: absolute;
  z-index: 1;
  color: #fff;
  top: 10px;
  left: 20px;
  transition: opacity 0.8s cubic-bezier(0, 0.02, 0, 1);
  font-size: clamp(20px, 10vw, 80px);
}
#container #about .carousel .carousel-item .carousel-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  pointer-events: none;
}
#container #about .carousel .carousel-item .carousel-box:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5));
}
#container #about .layout {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#container #about .layout .box {
  position: absolute;
  bottom: 0;
  left: 30px;
  color: #fff;
  transform-origin: 0% 10%;
  transform: rotate(-90deg);
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: 0.4;
}
#container #about .layout .layout:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 90px;
  width: 10px;
  height: 100%;
  border: 1px solid #fff;
  border-top: none;
  border-bottom: none;
  opacity: 0.15;
}
#container #about .logo {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 28px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Orelo-sw-db", serif;
  pointer-events: all;
  color: black;
  text-decoration: none;
  font-size: 20px;
  overflow: hidden;
  padding-bottom: 0.1em;
}
#container #about .social {
  position: absolute;
  z-index: 10;
  bottom: 20px;
  right: 25px;
  color: #fff;
  opacity: 0.4;
}
#container #about .social a {
  display: inline-block;
  margin-left: 3px;
}
#container #about .social svg {
  --fill: #fff;
  width: 35px;
  height: 35px;
}
#container #about .cursor1 {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  --size: 40px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: calc(var(--size) * -0.5) 0 0 calc(var(--size) * -0.5);
  transition: transform 0.85s cubic-bezier(0, 0.02, 0, 1);
  display: none;
  pointer-events: none;
}
@media (pointer: fine) {
  #container #about .cursor1 {
    display: block;
  }
}
#container #about .cursor2 {
  --size: 2px;
  transition-duration: 0.7s;
}