@charset "utf-8";

::selection {
  color: var(--color-white);
  background-color: var(--color-black);
}

::-moz-selection {
  color: var(--color-white);
  background-color: var(--color-black);
}

::-webkit-selection {
  color: var(--color-white);
  background-color: var(--color-black);
}

:root {
  /* 폰트 */
  --font-Montserrat: "Montserrat";
  --font-Pretendard: "Pretendard";
  --font-HarvestBailey: "HarvestBailey";

  /* 아이덴티티 색상 */
  /* --color-black: #2d3029; */
  --color-black: #090e02;
  --color-white: #f5f9ef;
}

html {
  color: var(--color-black);
  background-color: var(--color-white);
  font-family: var(--font-Pretendard);
  font-size: 0.8333vw;
}

html a {
  color: var(--color-black);
}

section[class^="sec-vh"] {
  height: 100dvh;
  min-height: 47.8646vw;
}

@media screen and (max-width: 87.5000vw) {
  section[class^="sec-vh"] {
    height: initial;
    min-height: initial;
  }
}

/* 레이아웃 */
.text-right {
  text-align: right;
}

/* emmet */
.ovh {
  overflow: hidden;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10000;
}

.header .inner {
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 0.7292vw 1.5625vw;
  font-size: 0.7292vw;
  font-weight: 600;
  font-family: var(--font-Montserrat);
}

/* 전체 메뉴 버튼 */
.header .menu-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  background: none;
  transform: translate(-50%, -50%);
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  text-transform: uppercase;
}

/* 네비게이션 영역 */
.header .nav ul {
  display: flex;
}

.header .nav li {
  margin-right: 1.6667vw;
}

.header .nav li:last-child {
  margin-right: 0;
}

.header .nav a {
  text-transform: uppercase;
}

.main .animation-hidden {
  overflow: hidden;
}

.footer {
  position: relative;
  background-color: var(--color-black);
}

.footer .box {
  border-radius: 0 0 999px 999px;
  background-color: var(--color-white);
  height: 52px;
}

.footer .inner {
  padding: 5.2083vw 1.5625vw;
}

.footer .sec-title .title {
  font-size: 1.0417vw;
}

.footer .layout-wrap {
  display: flex;
  justify-content: space-between;
}

.footer .last-desc {
  width: 60%;
}

.footer .last-desc .text-wrap {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
}

.footer .last-desc .text {
  color: #fff;
  font-size: 8.3333vw;
  font-family: var(--font-HarvestBailey);
  text-transform: capitalize;
  line-height: 0.95em;
  letter-spacing: 0;
  word-spacing: -0.3em;
}

.footer .last-desc .desc-wrap {
  position: absolute;
  top: calc(50% + 1.8750vw);
  right: 0;
  transform: translateY(-50%);
}

.footer .last-desc .desc {
  color: #fff;
  font-size: 1.2500vw;
}

.footer .email-wrap {
  display: flex;
  align-items: center;
  margin-top: 3.1250vw;
}

.footer .circle-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 7.2917vw;
  height: 7.2917vw;
  border-radius: 52.0313vw;
  background-color: #fff;
  margin-right: 2.0833vw;
}

.footer .circle-arrow svg {
  width: 3.1250vw;
  height: auto;
}

.footer .text-email {
  color: #fff;
  font-family: var(--font-Montserrat);
  font-size: 2.0833vw;
  font-style: italic;
}

.footer .sns-list {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.footer .sns-item {
  padding-bottom: 2.5000vw;
}

.footer .sns-item + .sns-item {
  margin-left: 2.0833vw;
}

.footer .sns-item a {
  display: inline-block;
  vertical-align: bottom;
}

.footer .sns-item .icon {
  width: 5.2083vw;
  height: 2.0833vw;
  filter: invert(100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.footer .sns-item .icon.github {
  background-image: url("../image/icon_github.svg");
}

.footer .sns-item .icon.tistory {
  background-image: url("../image/icon_tistory.svg");
}

.footer .sns-item .icon.velog {
  background-image: url("../image/icon_velog.svg");
}

@media screen and (max-width: 1200px) {
  .footer .layout-wrap {
    display: block;
  }

  .footer .last-desc {
    width: auto;
  }

  .footer .last-desc .text {
    font-size: 13.3333vw;
  }

  .footer .last-desc .desc {
    font-size: max(16px, 1.6667vw);
  }

  .footer .email-wrap {
    margin-top: 5.3333vw;
  }

  .footer .circle-arrow {
    width: 10vw;
    height: 10vw;
  }

  .footer .circle-arrow svg {
    width: 4.6667vw;
  }

  .footer .text-email {
    font-size: 3.3333vw;
  }

  .footer .info {
    margin-top: 5.3333vw;
  }

  .footer .sns-item {
    padding-bottom: 0;
  }

  .footer .sns-item + .sns-item {
    margin-left: 3vw;
  }

  .footer .sns-item .icon {
    width: 64px;
    height: 32px;
  }
}

@media screen and (max-width: 768px) {
  .footer .last-desc .text {
    font-size: 13.3333vw;
  }

  .footer .last-desc .desc-wrap {
    position: static;
    transform: none;
    margin-top: 4.1667vw;
  }

  .footer .last-desc .desc {
    font-size: max(14px, 2.6042vw);
  }

  .footer .email-wrap {
    margin-top: 4.1667vw;
  }

  .footer .circle-arrow {
    width: 8.3333vw;
    height: 8.3333vw;
  }

  .footer .circle-arrow svg {
    width: 4.1667vw;
  }

  .footer .text-email {
    font-size: max(14px, 4.1667vw);
  }

  .footer .info {
    margin-top: 4.1667vw;
  }

  .footer .sns-item {
    padding-bottom: 0;
  }

  .footer .sns-item + .sns-item {
    margin-left: 2.6042vw;
  }

  .footer .sns-item .icon {
    width: max(48px, 8.3333vw);
    height: 4.1667vw;
  }
}

/* 애니메이션 백그라운드 색상 */
.animation-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--color-white);
}

/* 텍스트 타이핑 애니메이션 */
.textTyping {
  position: relative;
  color: var(--color-black); /* 텍스트 타이핑 색상 */
  padding-right: 0.2083vw;
  margin-right: 0.2083vw;
}

.textTyping::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -2.1875vw; /* 타이핑 커서 위치 */
  width: 1.9271vw; /* 타이핑 커서 가로 사이즈 */
  /* bottom: 0.0000vw; */
  height: 10.4167vw;
  transform: translateY(-50%);
  background-color: var(--color-black); /* 타이핑 커서 색상 */
  animation: blink 0.1s infinite;
}

.textTyping.stop-blinking::before {
  animation: none;
}

@keyframes blink {
  50% {
      content: none;
  }
}

/* 콘텐츠 더 보기 */
.more-link {
  display: inline-flex;
  position: relative;
  align-items: center;
  height: 1.0417vw;
  padding: 0.5208vw 0;
  background-image: linear-gradient(var(--color-black), var(--color-black));
  background-repeat: no-repeat;
  background-position: left 0 bottom 0;
  background-size: 0% 0.0521vw;
  box-shadow: inset 0 -0.1042vw var(--color-black);
  text-transform: uppercase;
  transition: background-size .5s, -webkit-box-shadow .1s ease-out;
  transition: box-shadow .1s, background-size .5s;
  transition: box-shadow .1s, background-size .5s, -webkit-box-shadow .1s;
  -webkit-box-shadow: inset 0 -0.1042vw var(--color-black);
  -webkit-transition: background-size .5s, -webkit-box-shadow .1s;
}

.more-link .text {
  position: absolute;
  top: 50%;
  left: 0;
  line-height: 1;
  transform: translate(0, calc(-50%));
  transition: transform .35s linear;
  -webkit-transition: transform .35s linear;
}

.more-link .arrow {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1.8750vw;
  height: 0.9375vw;
  background: url("../image/icon_more_arrow_black.svg") no-repeat center / contain;
  transform: translate(0, calc(-50%));
  transition: transform .35s linear;
  -webkit-transition: transform .35s linear;
}

.more-link:hover {
  box-shadow: inset 0 -2.0833vw var(--color-black);
  -webkit-box-shadow: inset 0 -2.0833vw var(--color-black);
}

.more-link:hover .text {
  color: var(--color-white);
  transform: translate(0.5208vw, calc(-50%));
  -webkit-transform: translate(0.5208vw, calc(-50%));
}

.more-link:hover .arrow {
  background-image: url("../image/icon_more_arrow_white.svg");
  transform: translate(-0.5208vw, calc(-50%));
  -webkit-transform: translate(-0.5208vw, calc(-50%));
}

/* 스크롤 시 가로 콘텐츠 */
#horizontal_scroll { overflow: hidden;height: 100vh;}
#horizontal_scroll h2 {margin-bottom: 3.1250vw; text-align: center; font-size: 2.25rem;}
#horizontal_scroll ul {display: flex; padding: 0 2.0833vw;}
#horizontal_scroll li {flex-shrink: 0; margin-right: 2.0833vw;}
#horizontal_scroll li a {display: block;}
#horizontal_scroll li figure {background-color: rgb(226, 54, 149);}
#horizontal_scroll li img {width: 100%;}
#horizontal_scroll li p {margin-top: 1.0417vw; font-size: 1.2500vw; font-weight: 700;}

/* 마우스 커서 */
html,
a,
button {
  cursor: none;
}

.cursor {
  position: fixed;
  z-index: 999999;
  width: 40px;
  height: 40px;
  background-color: #fe4049;
  border-radius: 999px;
  top: -20px;
  left: -20px;
  pointer-events: none;
  will-change: transform, width, height;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.1s ease, height 0.1s ease, top 0.1s ease, left 0.1s ease;
}

.cursor.active {
  width: 10px;
  height: 10px;
  top: -5px;
  left: -5px;
}

@media screen and (max-width: 1200px) {
  .cursor {
    width: 28px;
    height: 28px;
    top: -14px;
    left: -14px;
  }
}

/* .work-cursor { */
  /* position: fixed;
  z-index: -999999;
  width: 1px;
  height: 1px;
  background-color: #4340fe;
  border-radius: 52.0313vw;
  top: -1.0417vw;
  left: -1.0417vw;
  pointer-events: none;
  will-change: transform, width, height;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 0.2s linear; */

  /* position: absolute;
  top: 0;
  left: 300px; */

  /* position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #ee6c4d;
  border: 5px solid #811c03;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none; */
/* } */

/* .work-cursor .item {
  opacity: 0;
}

.work-cursor .item.active {
  opacity: 1;
}

.work-cursor .item img {
  width: auto;
  height: 320px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s linear;
} */

.work-cursor {
  position: fixed;
  width: 320px;
  height: 400px;
  /* border: 2px solid #000; */
  /* border-radius: 50%; */
  top: 0;
  left: 0;
  pointer-events: none;
  /* transform: translate(-50%, -50%); */
  transform: translate(-50%, -50%);
  z-index: 10000;
  opacity: 0;
  transition: 0.1s linear;
  /* mix-blend-mode: difference; */
}

.work-cursor .item {
  position: absolute;
  top: 0;
  left: 0;
  /* opacity: 0; */
  /* height: 0; */
  /* transition: opacity 0.5s ease; */

  width: 100%;
  height: 0;
  overflow: hidden;
  transition: height 0.7s;
}

.work-cursor .item.active {
  /* opacity: 1; */
  height: 100%;
}

.work-cursor .item img {
  width: 320px;
  height: auto;
}

/* .cursor-view {
  display: flex;
  position: fixed;
  top: -2.3438vw;
  left: -2.3438vw;
  z-index: 999999;
  justify-content: center;
  align-items: center;
  width: 5.2083vw;
  height: 5.2083vw;
  border: 0.0521vw solid var(--color-black);
  background-color: var(--color-white);
  border-radius: 52.0313vw;
  pointer-events: none;
  will-change: transform, width, height;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.cursor-view .text {
  color: var(--color-black);
  font-size: 1.2500vw;
}

.cursor-view.active {
  display: none;
} */

/* 가로 스크롤 콘텐츠 영역 */
.horizontal-scroll {
  overflow: hidden;
  height: 100vh;
  position: relative;
}

.horizontal-scroll .sec-title {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 29.1667vw;
  text-transform: uppercase;
  font-family: var(--font-HarvestBailey);
  font-weight: normal;
}

.horizontal-scroll ul {
  display: flex;
  align-items: center;
  height: 100vh;
  padding: 0 100vw;
  position: relative;
  z-index: 10001;
}

.horizontal-scroll li {
  position: relative;
  flex-shrink: 1;
  margin-right: 2.0833vw;
}

.horizontal-scroll li a {
  display: block;
}

.horizontal-scroll .work-desc {
  display: none;
}

.horizontal-scroll li:hover .work-desc {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  color: #000;
  padding: 10px;
}

.horizontal-scroll .work-desc .title {
  font-size: 64px;
  font-family: var(--font-HarvestBailey);
  text-transform: uppercase;
}

.horizontal-scroll .work-link {
  display: inline-flex;
  margin-top: 40px;
}

.horizontal-scroll .work-link .text-item {
  padding: 10px 20px;
  font-size: 20px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  color: #000;
  /* border-radius: 999px; */
}

.horizontal-scroll .work-link .text-item + .text-item {
  margin-left: 20px;
}

.horizontal-scroll .desc-wrap .ovh {
  margin-bottom: 10px;
}

.horizontal-scroll .desc-wrap .desc {
  font-size: 20px;
}

.horizontal-scroll .keyword-desc {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 10px;
  font-size: 24px;
}

.horizontal-scroll .keyword-desc .keyword {
  display: block;
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  margin-right: 10px;
  margin-top: 10px;
  background-color: var(--color-black);
  border-radius: 999px;
  border: 1px solid var(--color-black);
}

.horizontal-scroll li:hover .keyword-desc .keyword {
  color: #000;
  background-color: transparent;
  border: 1px solid #000;
}

@media screen and (max-width: 1200px) {
  /* 가로 스크롤 콘텐츠 영역 */
  .horizontal-scroll {
    overflow: visible;
    height: auto;
    position: static;
  }

  .horizontal-scroll .sec-title {
    /* display: flex; */
    /* justify-content: center; */
    position: static;
    /* width: auto; */
    /* height: auto; */
    font-size: 4vw;
    padding: 120px 0;
    /* text-transform: uppercase; */
    /* font-weight: normal; */
  }

  .horizontal-scroll ul {
    display: block;       /* 기본 display */
    height: auto;
    padding: 0;
    border-top: 2px solid var(--color-black);
    border-bottom: 2px solid var(--color-black);
    max-width: 90vw;
    margin: 0 auto;
  }

  .horizontal-scroll li {
    /* position: static; */
    margin-right: 0;
    border-bottom: 1px solid #090e0250;
    padding: 32px 0;
    transition: padding 0.5s ease;
  }

  .horizontal-scroll li:hover {
    padding: 52px 0 52px 52px;
  }

  .horizontal-scroll .work-desc {
    display: block;
  }

  .horizontal-scroll li:hover .work-desc {
    display: block;
    position: static;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: none;
    color: #000;
    padding: 0;
  }

  .horizontal-scroll .work-link .text-item {
    font-size: max(14px, 2vw);
    border-top: 1px solid #090e0250;
    border-left: 1px solid #090e0250;
    /* color: #fff; */
    /* border-radius: 999px; */
  }

  .horizontal-scroll .work-desc .title {
    margin-bottom: 20px;
    font-size: 11.6667vw;
    font-weight: normal;
    line-height: 0.9em;
    letter-spacing: -0.02em;
  }

  .horizontal-scroll .work-desc .ovh {
    margin-bottom: 0;
  }

  .horizontal-scroll .work-desc .desc {
    font-size: max(14px, 2vw);
    line-height: 1.5em;
  }

  .horizontal-scroll .img-wrap {
    position: fixed;
    z-index: -999999;
    width: 1px;
    height: 1px;
    background-color: #4340fe;
    border-radius: 52.0313vw;
    top: -1.0417vw;
    left: -1.0417vw;
    pointer-events: none;
    will-change: transform, width, height;
    transform: translate(-50%, -50%);
    opacity: 0;
    /* transition: width 1s ease, 
                height 1s ease, 
                top 1s ease, 
                left 1s ease; */
    transition: 0.2s linear;
  }

  .horizontal-scroll .img-wrap img {
    width: auto;
    height: 320px;
    position: absolute;
    top: 50%;
    left: calc(50% + 160px);
    transform: translate(-50%, -50%);
  }

  .horizontal-scroll .keyword-desc {
    /* position: absolute; */
    top: 32px;
    right: 0;
    bottom: auto;
    left: auto;
    align-items: end;
    padding: 0;
    /* font-size: medium; */
  }

  .horizontal-scroll .keyword-desc .keyword {
    display: inline;
    padding: 0 0 4px 0;
    color: #000;
    /* font-size: medium; */
    margin-right: 0;
    margin-top: 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
  }

  .horizontal-scroll li:hover .keyword-desc .keyword {
    border: none;
  }
}

@media screen and (max-width: 768px) {
  /* 가로 스크롤 콘텐츠 영역 */
  .horizontal-scroll li:hover {
    padding: 32px 0;
  }

  .horizontal-scroll .img-wrap img {
    width: auto;
    height: 480px;
  }
}

@media screen and (max-width: 481px) {
  /* 가로 스크롤 콘텐츠 영역 */
  .horizontal-scroll .work-link {
    display: block;
    margin-top: 20px;
  }

  .horizontal-scroll .work-link .text-item + .text-item {
    margin-top: 20px;
    margin-left: 0;
  }

  .horizontal-scroll .keyword-desc {
    display: none;
  }
}