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

html {
  scroll-behavior: smooth;
}

body {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  background: #0e0e0e;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: white;
}

.container {
  max-width: 1152px;
  width: 100%;
  margin: auto;
}

/* ------------loading----------*/
.loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: white;
}

.loading p {
  color: #f9af3c;
  padding: 24px 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.loader {
  width: 30px;
  height: 30px;
  position: relative;
  border: 4px solid #f9af3c;
  animation: loader 2s infinite ease;
}

.loader-inner {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  background: #f9af3c;
  animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(180deg);
  }

  50% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes loader-inner {
  0% {
    height: 0%;
  }

  25% {
    height: 0%;
  }

  50% {
    height: 100%;
  }

  75% {
    height: 100%;
  }

  100% {
    height: 0%;
  }
}

.main-content {
  display: none;
}

/* ---------menu--------- */

header {
  display: none;
}

.nav {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  z-index: 800;
  background: #0e0e0e;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-inner {
  width: 100%;
  right: 24px;
  display: flex;
  align-items: center;
  margin: auto;
}

.logo-img {
  width: 48px;
}

.nav ul {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 80px;
}

.page-link {
  text-transform: capitalize;
  transition: 0.3s ease;
}

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

section {
  padding-top: 120px;
}

h2 {
  font-weight: 500;
}

.title-box {
  text-align: right;
  display: inline-block;
  padding-bottom: 40px;
}

.en-title {
  font-size: 120px;
  text-transform: capitalize;
}

.page-subtitle {
  display: inline-block;
  font-size: 48px;
  position: relative;
  padding-left: 56px;
}

.page-subtitle::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  width: 48px;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}

.about-img img {
  width: 100%;
  height: auto;
}

.about-lines {
  text-align: center;
  line-height: 1.6em;
  font-size: 20px;
}

.fade-line {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:root {
  --content-width: 880px;
}

.detail-section {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  max-width: var(--content-width);
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.8em;
}

.self-photo img {
  display: block;
  width: clamp(480px, 45vw, 500px);
  height: 80%;
  object-fit: cover;
}

.workDetail-wrapper {
  display: flex;
  /* flex-wrap: wrap; */
  max-width: var(--content-width);
  margin: 0 auto;
  justify-content: center;
  gap: 32px;
  /* padding: 32px 0; */
}

.work-details {
  line-height: 1.5em;
  /* padding-bottom: 40px; */
}

.work-details ul {
  padding-left: 1.6em;
}

.work-details li {
  position: relative;
}

.work-details li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 35%;
  left: -1em;
}

.work-description {
  padding-top: 48px;
  line-height: 1.5em;
  max-width: var(--content-width);
  margin: 0 auto;
}

#about-video {
  width: 100%;
}

#contact {
  padding-bottom: 80px;
}

#contact .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
}

.contact-contents {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 48px;
}

.contact-details {
  padding-top: 32px;
  line-height: 1.5em;
}

.contact-list {
  padding-top: 48px;
  line-height: 1.5em;
}

.contact-row {
  display: flex;
  padding-top: 8px;
}

dt {
  width: 60px;
  font-weight: 600;
  padding: 0 80px 0 8px;
}

dd {
  width: 180px;
}

.note,
.contact-sub {
  color: #777;
}

.contact-sub {
  padding-top: 8px;
}

.mail-icon {
  width: 280px;
  height: auto;
}

.contact-svg {
  width: 180px;
}

.contact-text {
  width: 100%;
  height: auto;
  display: block;
}

.contact-text text {
  font-size: 20px;
  fill: #fff;
  letter-spacing: 0.05em;
}

/* ---------------footer------------ */
footer {
  border-top: 0.5px solid #4c5765;
  font-size: 16px;
  color: #4c5765;
  padding: 36px 0;
}

footer .container {
  position: relative;
}

.copyright,
.sns-icons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.copyright {
  left: 50%;
  transform: translate(-50%, -50%);
}

/* sns */
.sns-icons {
  font-size: 24px;
  right: 0;
}

.sns-icons ul {
  display: flex;
}

.sns-icons li {
  padding-left: 24px;
}

@keyframes rotation {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* ===============hover(for mouse)=============== */
@media (hover: hover) and (pointer: fine) {
  .page-link:hover {
    opacity: 0.6;
  }

  .button:hover {
    opacity: 0.6;
  }

  .button:hover .arrow {
    transform: scale(0.85);
  }

  .sns-link:hover {
    animation: 0.3s linear rotation;
  }
}

@media (hover: none) {
  .page-link:active {
    opacity: 0.6;
  }

  .button:active {
    opacity: 0.6;
  }

  .button:active .arrow {
    transform: scale(0.85);
  }

  .sns-link:active {
    animation: 0.3s linear rotation;
  }
}
