/* @font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
} */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
  --page-padding-x: 16px;
  --container-max-width: 768px;
  --gray-800: #373737;
  --gray-900: #232323;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: var(--font);
  letter-spacing: -2%;
  line-height: 1.5;
  color: var(--gray-900);
  background: #fff;
}
a {
  color: inherit;
}

.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
  max-width: var(--container-max-width);
}

.hello {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Symbol Animation */
.symbol-container {
  transform: translateY(150px);
  animation: move-up 1s cubic-bezier(0.25, 0.8, 0.25, 1) 2.7s forwards;
}

@keyframes move-up {
  100% {
    transform: translateY(0);
  }
}

.symbol {
  width: 160px;
  height: auto;
  overflow: visible;
}

.symbol .v,
.symbol .u,
.symbol .star,
.symbol .left-slash,
.symbol .right-slash {
  transform-box: fill-box;
  transform-origin: center;
}

.left-slash {
    opacity: 1;
    transform: translateX(123px);
    animation: 
        slash-blink 1.5s cubic-bezier(0.25, 0.1, 0.25, 1) 0s,
        slide-to-left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s forwards;
}

.right-slash {
    opacity: 1;
    transform: translateX(-123px);
    animation: 
        /* slash-blink 1.5s ease-in-out 0s, */
        slash-blink 1.5s cubic-bezier(0.25, 0.1, 0.25, 1) 0s,
        slide-to-right 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s forwards;
}

.v {
    opacity: 0;
    animation: 
        pop-fade-in 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) 1.3s forwards;
}

.u {
    opacity: 0;
    animation: 
        pop-fade-in 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) 1.6s forwards;
}

.star {
    opacity: 0;
    animation: 
        pop-fade-in 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) 1.9s forwards;
}

@keyframes slash-blink {
    0% { opacity: 1; }
    15% { opacity: 0; }
    30% { opacity: 1; }
    45% { opacity: 0; }
    60% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes slide-to-left {
    0% { 
        transform: translateX(123px);
    }
    100% { 
        transform: translateX(0);
    }
}

@keyframes slide-to-right {
    0% { 
        transform: translateX(-123px);
    }
    100% { 
        transform: translateX(0);
    }
}

@keyframes fade-in {
    0% { 
        opacity: 0; 
    }
    100% { 
        opacity: 1; 
    }
}

@keyframes pop-fade-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Text Animation */
.desc, .title {
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
}
.desc { 
  margin-top: 60px;
  font-size: 18px;
  animation: rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 3.2s forwards;
}
.title {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 600;
  animation: rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 3.45s forwards;
}

@keyframes rise-in {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.btn-container {
  margin-top: 100px;
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
  animation: rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 3.7s forwards;
  animation-fill-mode: both;
}
.what-we-do {
  margin-top: 14px;
  font-size: 14px;
}
/* Button Reset */
.btn {
  all: unset;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
/* Button style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border: 1px solid var(--gray-800);
  border-radius: 50px;
  color: var(--gray-900);
  letter-spacing: -2%;
  line-height: 1;
  font-family: var(--font);
  font-weight: 500;
  text-decoration: none;
  transition: all .5s;
}
.btn:hover {
  background-color: var(--gray-800);
  color: #fff;
}
.btn .icon-mail path {
  transition: all .5s;
}
.btn:hover .icon-mail path {
  stroke: #fff;
}
.btn:focus-visible {
  outline: 3px solid currentColor; outline-offset: 3px;
}
.btn-contact {
  
}
.icon-mail {
  width: 16px;
  height: 16px;
}

.home-temp {
  display: flex;
  justify-content: center;
  background-color: var(--gray-900);
}
.home-temp .img {
  max-width: 390px;
}
