@import url("https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@master/nanumsquare.css");
@font-face {
  font-family: "LINESeedKR-Bd";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/LINESeedKR-Bd.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
}

/* 초기 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  scroll-behavior: smooth;
}
.fixed {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.fixed_l {
  position: fixed;
}
.fixed_right {
  position: fixed;
  top: 55%;
  transform: translate(-50%, -50%);
}
.fixed_s {
  position: fixed;
  display: flex;
  left: 0;
  top: 25%;
}
/* 스크롤 값 */
.scrollTop {
  font-family: "Jost";
  position: fixed;
  right: 3vh;
  bottom: 1.5vh;
  width: 65px;
  height: 40px;
  color: #fff;
  text-align: right;
  line-height: 40px;
  z-index: 100000;
  font-weight: bold;
  font-size: 2vh;
}

/* 헤더 */
header {
  font-family: "LINESeedKR-Bd";
  width: 100%;
  display: flex;
  position: fixed;
  justify-content: space-between;
  color: #fff;
  font-size: 2.5vh;
  z-index: 100;
  padding: 2vh 3vh;
  /* padding: 20px 30px; */
  align-items: center;
  background-color: rgba(255, 255, 255, 0);
  z-index: 100;
}

/* 헤더 우측 — 다른 작업 바로가기 (기존 [ MENU ] 라벨은 동작이 없어 대체) */
header .header_nav {
  display: flex;
  align-items: center;
  gap: 2vh;
}
header .header_nav a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}
header .header_nav a:hover,
header .header_nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

/* 좁은 화면에서는 링크가 두 줄로 내려가도 겹치지 않게 */
@media (max-width: 900px) {
  header {
    font-size: 2vh;
  }
  header .header_nav {
    gap: 1.4vh;
  }
}
@media (max-width: 700px) {
  header {
    font-size: 1.7vh;
    flex-wrap: wrap;
    row-gap: 0.6vh;
  }
  header .header_nav {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 1.6vh;
  }
}

/* section1 */
#section1 {
}
/* sec */
#section1 .sec1 {
  background: #786655;
  height: 7000px;
}
#section1 .sec2 {
  background: #93906c;
  height: 5000px;
}
#section1 .sec3 {
  background: #3a6440;
  height: 6000px;
}
/* sec1_ani */
#section1 .sec1_ani1 {
  width: 98%;
  height: 97.5vh;
  background: url(../img/forest.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: repeat;
}
#section1 .sec1_ani2 {
  font-family: "pretendard";
  font-weight: 900;
  color: #fff;
  text-align: center;
  line-height: 0.85;
  font-size: 13vw;
  z-index: 1;
  text-transform: uppercase;
}
#section1 .sec1_ani2_c {
  display: flex;
  justify-content: center;
}
#section1 .sec1_ani4 {
  background: url(../img/my_img-min.jpg);
  background-size: cover;
  background-position: center center;
  width: 17vw;
  height: 22vw;
  transform: translate(-50%, -50%);
}
#section1 .sec1_ani5 {
  color: #fff;
  width: 125vh;
  font-size: 1.8vw;
  font-family: "nanumsquare";
  font-weight: 500;
  text-align: center;
}
#section1 .sec1_ani5_1 {
  width: 125vh;
  position: fixed;
  left: 50%;
}
#section1 .sec1_ani6 {
  font-size: 10vw;
  font-family: "pretendard";
  font-weight: 900;
  text-transform: uppercase;
  color: #3a6440;
}
#section1 .sec1_ani7 {
  font-size: 10vw;
  font-family: "pretendard";
  font-weight: 900;
  text-transform: uppercase;
  color: #93906c;
}

/* ABOUT 소개 문장 : 스크롤에 따라 좌우에서 한 줄씩 들어와 균등한 간격으로 쌓인다 */
@media (min-width: 1025px) {
  #section1 .sec1_ani5 {
    position: fixed;
    left: 0;
    /* ABOUT 제목(10vw, translate -170%) 아래 5vh 지점에서 문장 열이 시작된다 */
    top: calc(50% - 8.4vw + 5vh);
    width: 100%;
    height: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(6px, 1vh, 14px);
    /* 글자 크기를 높이에도 묶어, 화면 비율이 달라도 한 줄에 들어가는 글자 수가 일정하다 */
    font-size: min(1.8vw, 3vh);
    line-height: 1.7;
    pointer-events: none;
  }
  #section1 .sec1_ani5_1 {
    position: static;
    left: auto;
    width: min(125vh, 88vw);
    margin: 0 auto;
    text-align: center;
    text-wrap: balance;
    will-change: transform, opacity;
    backface-visibility: hidden;
  }
}

/* section2 */
#section2 .sec1 {
  width: 400vw;
  height: 100vh;
  background-color: #3a6440;
}

.box {
  width: 100vw;
}

#section2 .sec_ani {
  margin-left: 50vh;
  width: 100vh;
  display: flex;
}
#section2 .sec_ani img {
  margin: 1vw;
  width: 33vw;
  border: 0.35vw solid #000;
}

#section2 .sec_ani h3 {
  font-size: 5vw;
  font-family: "pretendard";
  font-weight: 900;
  margin: 1.5vw 0;
}
#section2 .sec_ani p {
  font-family: "nanumsquare";
  margin: 2vw 0;
  font-size: 1.7vw;
}
/* section3 */
#section3 .sec1 {
  background: #817a6b;
  height: 7000px;
}
#section3 .sec1_ani1 {
  font-family: "pretendard";
  font-weight: 900;
  color: #3a6440;
  text-align: center;
  line-height: 0.85;
  font-size: 13vw;
  text-transform: uppercase;
}
#section3 .sec1_ani2 {
  font-family: "pretendard";
  font-weight: 900;
  text-align: center;
  line-height: 0.85;
  font-size: 13vw;
  text-transform: uppercase;
  -webkit-text-stroke: 2px #3a6440;
  z-index: 2;
  color: rgba(255, 255, 255, 0);
}

/* #section3 이미지 */
#section3 .sec1_ani3 {
  background: url(../img/html.jpg);
  background-size: cover;
  background-position: center center;
  width: 17vw;
  height: 22vw;
  z-index: 1;
  border: 0.35vw solid #000;
}
#section3 .sec1_ani4 {
  background: url(../img/html.jpg);
  background-size: cover;
  background-position: center center;
  width: 17vw;
  height: 22vw;
  z-index: 1;
  border: 0.35vw solid #000;
}
#section3 .sec1_ani5 {
  background: url(../img/html.jpg);
  background-size: cover;
  background-position: center center;
  width: 17vw;
  height: 22vw;
  z-index: 1;
  border: 0.35vw solid #000;
}
#section3 .sec1_ani6 {
  background: url(../img/html.jpg);
  background-size: cover;
  background-position: center center;
  width: 17vw;
  height: 22vw;
  z-index: 1;
  border: 0.35vw solid #000;
}
#section3 .sec1_ani7 {
  color: #000;
  width: 125vh;
  font-size: 1.4vw;
  font-family: "nanumsquare";
  font-weight: 300;
  text-align: left;
}

/* #section3 글 */
.ani1_La {
  font-family: "pretendard";
  font-weight: 900;
  color: #000;
  text-align: center;
  font-size: 5vw;
  z-index: 3;
  text-transform: uppercase;
}

.ani1_Sm {
  color: #000;
  font-size: 1.8vw;
  width: 17vw;
  font-family: "nanumsquare";
  font-weight: 500;
  text-align: center;
  z-index: 3;
}

/* #section4 */
#section4 .sec1 {
  background: #786655;
  width: 200vw;
  height: 100vh;
}
#section4 .sec1_ani1 {
  font-family: "pretendard";
  font-weight: 900;
  color: #000;
  text-align: left;
  line-height: 0.85;
  font-size: 13vw;
  text-transform: uppercase;
}
#section4 .sec1_ani2 {
  background: url(../img/reactapi.jpg);
  background-size: cover;
  background-position: center center;
}
#section4 .sec1_ani3 {
  background: url(../img/reactyoutube.jpg);
  background-size: cover;
  background-position: center center;
  width: 22vw;
  height: 22vw;
}
#section4 .sec1_ani4 {
  background: url(../img/reactproject.jpg);
  background-size: cover;
  background-position: center center;
  width: 22vw;
  height: 22vw;
}
#section4 .sec1_ani5 {
  background: url(../img/vueapi.jpg);
  background-size: cover;
  background-position: center center;
  width: 22vw;
  height: 22vw;
}
#section4 .sec2_ani1 {
  width: 98%;
  height: 98vh;
  background: url(../img/gameEffect.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: repeat;
  z-index: 6;
}

#section4 .sec2_ani2 {
  font-family: "pretendard";
  font-weight: 900;
  color: #93906c;
  text-align: center;
  line-height: 0.85;
  font-size: 13vw;
  z-index: 7;
  text-transform: uppercase;
}

#section4 .sec2_ani3 {
  width: 98%;
  height: 98vh;
  background: url(../img/quizEffect.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: repeat;
}
#section4 .sec2_ani4 {
  width: 98%;
  height: 98vh;
  background: url(../img/searchEffect.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: repeat;
}
#section4 .sec2_ani5 {
  width: 98%;
  height: 98vh;
  background: url(../img/mouseEffect.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: repeat;
}
#section4 .sec2_ani6 {
  width: 98%;
  height: 98vh;
  background: url(../img/sliderEffect.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: repeat;
}
#section4 .sec2_ani7 {
  width: 98%;
  height: 98vh;
  background: url(../img/parallaxEffect.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: repeat;
}
