/*** font ***/
@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Noto+Sans+KR&family=Orbitron:wght@700&display=swap');


html {
  font-size: calc(10000vw / 1920);
  scroll-behavior: smooth; 
}


@media (min-aspect-ratio: 1440/1080) {
  html {
    font-size: calc(10000vh / 1080);
  }
}

:root {
  --main-font: "Notos", sans-serif;
  --color-black: #000000;
  --color-black-light: #181b1a;
  --color-light-purity: #f4a300;
  --color-fat-tuesday: #000000;
  --color-bashful-pancy: #D8CEE6;
  --color-sugar-crystal: #F9F5FF;
  --color-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  background: var(--color-fat-tuesday);
  margin: 0;
}

body {
  overflow-x: hidden; /* 가로 스크롤을 숨김 */
}

body {
  width: 100%;
  height: 100%;
  background: var(--color-light-purity);
  font-family: var(--main-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-light-purity);
  background-image: url("./os_016/texture.png");
  background-repeat: repeat;  
  mix-blend-mode: soft-light;
}
body::after {
  content: "";
  position: fixed;
  bottom: -3.76rem;
  left: 50%;
  width: 22.42rem;
  height: 8.86rem;
  background: var(--color-sugar-crystal);
  filter: blur(2.5rem);
  transform: translateX(-50%);
  z-index: 0;
}
body.mobile-menu-open {
  overflow: hidden;
}
body.modal-active {
  overflow: hidden;
}

main {
  position:relative;
  width: 100%;
  height: 10000px;
  flex: 1 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: auto;
  z-index: 100;  
  background: rgba(0, 0, 0, 0.2); /* 투명도 조절 */
  backdrop-filter: blur(10px); /* 블러 효과 */
  -webkit-backdrop-filter: blur(10px); /* Safari 지원 */
  border-bottom: 1px solid rgba(0, 0, 0, 0.3); /* 경계선 */
}
.header-wrapp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0.4rem;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 1.37rem;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 0.16rem;
}
.header-logo {
  width: 3.0rem;
  height: max-content;
}
.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.header-title {
  max-width: 2rem;
  font-size: 0.12rem;
  font-weight: 600;
  letter-spacing: -0.005rem;
  line-height: 1.2;
  margin-top: 0.04rem;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 0.08rem;
}
.header-search__btn {
  width: 0.13rem;
}
.header-search__btn img {
  display: block;
  width: 100%;
  height: auto;
}
.header-search__input {
  background: transparent;
  border: none;
  font-family: var(--main-font);
  font-size: 0.16rem;
  font-weight: 500;
  letter-spacing: -0.0065rem;
}
.header-search__input::placeholder {
  color: var(--color-fat-tuesday);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.header-contact {
  position: relative;
  font-family: var(--main-font);
  font-size: 0.16rem;
  font-weight: 800;
  letter-spacing: -0.0065rem;
  background: none;
  color: var(--color-fat-tuesday);
  border: none;
  padding: 0;
}
.header-contact::before {
  content: "";
  position: absolute;
  bottom: -0.04rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}
.header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.5rem;
  height: 0.5rem;
  aspect-ratio: 1/1;
  background: var(--color-fat-tuesday);
  border-radius: 50%;
  border: 1px solid var(--color-fat-tuesday);
  cursor: pointer; /* 포인터 모양으로 변경 */
  transition: border-radius 0.3s ease-out; /* 부드러운 전환 */
}

.header-menu:hover {
  border-radius: 0; /* 마우스 오버시 border-radius 제거 */
}


.header-menu img {
  width: 0.2rem;
}

.footer {
  width: 100%;
  flex: 0 0 auto;
}

a {
  text-decoration: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

.fluid-container {
  width: 100%;
  position: relative;
}

.container {
  position: relative;
  width: var(--container-width);
  min-width: var(--container-width);
  margin: 0 auto;
}

.row {
  display: flex;
  flex-direction: row;
}

.row-reverse {
  display: flex;
  flex-direction: row-reverse;
}

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

.column-reverse {
  display: flex;
  flex-direction: column-reverse;
}

button[type=submit] {
  cursor: pointer;
}

@media only screen and (max-width: 1024px) {
  .s-hidden {
    display: none;
  }

  .s-visible {
    display: block;
  }
}
@media only screen and (max-width: 850px) {
  .xs-hidden {
    display: none;
  }

  .xs-visible {
    display: block;
  }
}
@media only screen and (max-width: 690px) {
  body.modal-active {
    position: fixed;
  }

  .xxs-visible {
    display: block;
  }

  .xxs-hidden {
    display: none;
  }
 
}
#main {
  padding: 0.1rem;
}

.banner {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  overflow: hidden;
  z-index: 2;
}

.banner-title {
  position: absolute;
  top: 1.95rem;
  max-width: 9.57rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 0.925;
  letter-spacing: -0.06rem;
  text-align: center;
  z-index: 12;
  transition: transform 0.5s, opacity 0.5s;
}

.scrolled {
  transform: translateY(-100px); /* 위로 이동하는 거리를 조절 */
  opacity: 0; /* 완전히 투명하게 만듭니다. */
}

.banner-title span {
  position: relative;
  display: inline-block;
  color: rgb(255, 255, 255);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 그림자 효과 추가 */
}
.banner-title span::before {
  content: "";
  position: absolute;
  bottom: -0.04rem;
  line-height: 0.9;
  left: 0;
  width: 100%;
  border-bottom: 4px solid rgb(255, 0, 72);
  transform: rotate(-0deg);
}

.banner7 {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  overflow: hidden;
  z-index: 3;
}

.banner7-subtitle {
  position: absolute;
  top: 0.5rem;
  max-width: 15rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 0.1rem;
  letter-spacing: -0.06rem;
  text-align: center;
  z-index: 5;
  margin-bottom: 30px;
}

.banner3 {
  position: relative;
  color: #000000;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  overflow: hidden;
  z-index: 4;
}

.banner3-text {
  position: absolute;
  color: #ffffff;
  top: 1.89rem;
  max-width: 6.87rem;
  font-size: 0.42rem;
  line-height: 1.1;
  letter-spacing: -0.0295rem;
  opacity: 1;
  z-index: 1;
}

.banner4 {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  overflow: hidden;
  z-index: 5;
}

.banner4-text {
  position: absolute;
  color: #ffffff;
  top: 1.89rem;
  max-width: 6.87rem;
  font-size: 0.42rem;
  line-height: 1.1;
  letter-spacing: -0.0295rem;
  opacity: 1;
  z-index: 1;
}

.banner5 {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  overflow: hidden;
  z-index: 6;
}

.banner5-text {
  position: absolute;
  color: #b0062b;
  top: 1.89rem;
  max-width: 6.87rem;
  font-size: 0.42rem;
  line-height: 1.1;
  letter-spacing: -0.0295rem;
  opacity: 1;
  z-index: 1;
}

.banner6 {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  overflow: hidden;
  z-index: 7;
}

.banner6-text p{
  font-size: 0.25rem;
  font-weight: 600;
  color: violet;
  z-index: 60;
}

.banner6-text a:hover {
  font-size: 0.25rem;
  font-weight: 800;
  color: rgb(255, 255, 255);
  transition: color 0.5s ease; /* 부드러운 색상 전환 효과 */
  transition: all 0.5s;
  letter-spacing: 4px;
  z-index: 60;
}

.banner6-text {
  position: absolute;
  color: #000000;
  top: 1.89rem;
  max-width: 6.87rem;
  font-size: 0.42rem;
  line-height: 1.1;
  letter-spacing: -0.0295rem;
  opacity: 1;
  z-index: 1;
}



.banner-slide {
  z-index: 2;
  font-weight: 400;
}

.banner-subtitle {
  position: absolute;
  top: 2.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02rem;
  text-align: center;
  opacity: 0;
  z-index: 1;
}



.banner-text {
  position: absolute;
  bottom: 1.89rem;
  max-width: 4.87rem;
  font-size: 0.2rem;
  line-height: 1.1;
  letter-spacing: 0rem;
  opacity: 1;
  z-index: 30;
}

.banner7-text {
  position: relative;
  top: 0.8rem;
  max-width: 6.87rem;
  font-size: 0.42rem;
  line-height: 0.5rem;
  letter-spacing: -0.0295rem;
  opacity: 1;
  z-index: 5;
}

.banner-tree {
  position: fixed;
  bottom: -80px; /* 이미지가 시작 위치에서 위로 50px 움직임 */
  left: 0;
  width: 100%;
  height: auto;
  transform: translateX(-50%);
  transform-origin: bottom center;
  z-index: 10;
  animation: floatCloud 5s ease-in-out infinite; /* 부드러운 움직임 */
  filter: blur(10px);
}

.banner-tree2 {
  position: fixed;
  bottom: -100px; /* 이미지가 시작 위치에서 위로 50px 움직임 */
  left: 0;
  width: 80%;
  height: auto;
  transform: translateX(-10%);
  transform-origin: bottom center;
  z-index: 10;
  animation: bounceTree 2s ease-in-out infinite; /* 부드러운 움직임 */
 
}

@keyframes bounceTree {
  0%, 100% {
    transform: translateY(50px); /* 시작 위치 */
  }
  50% {
    transform: translateY(0); /* 위로 50px 이동 */
  }
}

@keyframes floatCloud {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(30px);
  }
  50% {
    transform: translateY(50px);
  }
  75% {
    transform: translateY(30px);
  }
  100% {
    transform: translateY(0);
  }
}

.banner-tree3 {
  position: fixed;
  width:50%;
  top:10%;
  height: auto;
  transform: translateX(-50%);
  transform-origin:top center;
  z-index: 10;
  opacity: 50%;  
  mix-blend-mode: screen;
  filter: blur(10px);
  animation: moveAndFade 10s ease-in-out infinite; /* 6초 동안 부드럽게 반복 */
}

@keyframes moveAndFade {
  0% {
    transform: translateX(100vw); /* 화면 오른쪽 바깥에서 시작 */
    opacity: 0.5; /* 처음에는 보임 */
  }

  100% {
    transform: translateX(-100vw); /* 화면 왼쪽 바깥으로 이동 */
    opacity: 0.5; /* 완전히 사라짐 */
  }
}

.banner-tree4 {
  position: fixed;
  width:30%;
  top:5%;
  height: auto;
  transform: translateX(-50%);
  transform-origin:top center;
  z-index: 10;
  opacity: 50%;  
  mix-blend-mode: screen;
  filter: blur(5px);
  animation: moveAndFade 15s ease-in-out infinite; /* 6초 동안 부드럽게 반복 */
}

@keyframes moveAndFade {
  0% {
    transform: translateX(100vw); /* 화면 오른쪽 바깥에서 시작 */
    opacity: 0.3; /* 처음에는 보임 */
  }

  100% {
    transform: translateX(-100vw); /* 화면 왼쪽 바깥으로 이동 */
    opacity: 0.3; /* 완전히 사라짐 */
  }
}


.banner-tree img, .banner-tree video {
  display: block;
  width: 100%;
}



.fa-computer-mouse {
  font-size: 24px; /* 아이콘 크기 조정 */
  position: fixed;
  bottom: 50px;
  left: 50%; /* 아이콘을 수평 가운데로 이동 */
  transform: translateX(-50%); /* 아이콘을 수평 중앙으로 정렬 */
  z-index: 1000;
}
.fa-computer-mouse {
    color: #ff0000; /* 아이콘 색상을 빨간색으로 변경 */
    z-index: 1000;
}
.fa-bounce {
  animation: bounce 1s infinite; /* bounce 애니메이션을 적용, 1초마다 반복 */
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-30px); /* 아이콘을 위로 이동 */
  }
  60% {
      transform: translateY(-15px); /* 아이콘을 아래로 이동 */
  }
}

.bg{
    
  height: 100vh;
  background-image: url(../os_016/fabrica_bg.png);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

/********************************************************************************/

.label-image2 {
  position: fixed;
  bottom: 0;  /* 화면 세로 중앙 */
  right: 0px;   /* 화면 우측에서 0px 왼쪽 */
 
  width: 200px;  /* 이미지 크기 */
  height: auto;  /* 가로 비율 유지 */
  z-index: 1000; /* 다른 요소 위에 표시 */
  opacity: 0.4;  /* 기본 투명도 */  
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), 
              transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: right bottom; /* 오른쪽 기준으로 확대 */
}

/* 마우스를 올리면 밝아지고 확대 */
.label-image2:hover {
  opacity: 1;
  transform: scale(1.8); /* 2.1배 확대 */
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px); /* Glass effect */
  }

/* 화면 가로폭이 1024px 미만일 때 */


@media screen and (min-width: 1920px) {
.label-image2 {   
  position: fixed;
bottom: 0px;  /* 화면 하단에서 20px 위 */
right: 0px;   /* 화면 우측에서 20px 왼쪽 */
width: 300px;  /* 이미지 크기 */
height: auto;  /* 가로 비율 유지 */
z-index: 1000; /* 다른 요소 위에 표시 */
opacity: 0.8;  /* 투명도 조절 */
transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), 
            transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.label-image:hover {
  opacity: 1;
  transform: scale(1.5); /* 10% 확대 */
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px); /* Glass effect */
}

}
