/*** 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: #ffffff;
  --color-fat-tuesday: #000000;
  --color-bashful-pancy: #D8CEE6;
  --color-sugar-crystal: #ffffff;
  --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;
  
  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: auto;
  flex: 1 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.2); /* 투명도 조절 */
  backdrop-filter: blur(10px); /* 블러 효과 */
  -webkit-backdrop-filter: blur(10px); /* Safari 지원 */
  border-bottom: 1px solid rgba(255, 255, 255, 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;
}

.s-visible,
.xs-visible,
.xxs-visible {
  display: none;
}

.lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lazyLoaded {
  opacity: 1;
}

input::-webkit-input-placeholder, input::placeholder {
  transition: all 0.3s;
}
input:focus::-webkit-input-placeholder, input:focus::placeholder {
  color: transparent;
}

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: fixed;
  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: 1;
}
.banner-slide {
  z-index: 2;
  font-weight: 400;
}
.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: 3;
}
.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);
}
.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;
  top: 1.89rem;
  max-width: 6.87rem;
  font-size: 0.42rem;
  line-height: 1.1;
  letter-spacing: -0.0295rem;
  opacity: 0;
  z-index: 1;
}
.banner-tree {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 19rem;
  height: auto;
  transform: translateX(-50%);
  transform-origin: bottom;
  z-index: 2;
}
.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: 30;
}
.fa-computer-mouse {
    color: #ffffff; /* 아이콘 색상을 빨간색으로 변경 */
}
.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();
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.home2 {
    height: 100vh;   
    position: relative;
    color: #fff;
    text-align: left;
    margin-left: 0px;
}
.container2 {
  position: relative; /* absolute 대신 relative 사용 */
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column; /* 세로 방향 정렬 */
  justify-content: left;
  justify-items: left;
  align-items: left;
  padding-left: 40px;
  overflow: hidden;
  z-index: 10;
}

.background-video2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 비디오가 컨테이너에 맞게 조절됨 */
  transform: translate(-50%, -50%);  
  filter: brightness(70%);  
}

/* 부모 요소인 .row 스타일 */
.row {
  display: flex;
  flex-wrap: wrap; /* 줄 바꿈 가능 */
  gap: 0.4rem; /* 아이템 간격 */
}

/* .col 요소 스타일 */
.col {
  flex: 1 1 calc(25% - 1rem); /* 기본적으로 4개 나열 (4등분) */
  min-width: 250px; /* 최소 너비 설정 */
}

/* 화면 너비가 1024px 미만일 경우 */
@media (max-width: 1024px) {
  .col {
    flex: 1 1 calc(50% - 1rem); /* 2개씩 나열 (2등분) */
  }
}


.home2 h2 {
  font-size: clamp(1rem, 2.5vw, 1.5rem); /* 최소 1rem, 최대 1.5rem */
  margin-top: 2rem;
  max-width: 13.5rem;
  font-weight: 800;
  line-height: 1.2em;
  letter-spacing: -0.02rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.05rem; /* h2 아래 여백 설정 */
}

.home2 p {
  margin-top: 0; /* 불필요한 위쪽 여백 제거 */
  line-height: 1.4; /* 가독성을 위한 줄 간격 조정 */
  font-size: clamp(0.25rem, 0.7vw, 0.4rem); /* 최소 1rem, 최대 1.5rem */    
  font-weight: 400;
  max-width: 13.5rem;
  z-index: 11;
  animation: slideIn 0.8s ease-out forwards; /* 애니메이션 적용 */
  opacity: 0; /* 처음에는 보이지 않음 */
  color: #00eaff;
}


.home3 {
    height: 100vh;
    
    /* background-color: rgba(128, 255, 0, 0.623); */
    background-size: cover;
    background-position: top center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.container3 {
    position: absolute;
    width: 100%;
    top:50%;
    transform: translateY(-50%);
    height: 100vh;
    background-image: url();
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 0px; 

}

.home3 h2 {
    font-size: 0.8rem;
    top: 2rem;
    max-width: 13.5rem;  
    font-weight: 600;
    line-height: 0.85rem;
    letter-spacing: -0.03rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* 그림자 효과 추가 */
}

.h2-animation {
  animation: slideIn 1.8s ease-out forwards; /* 애니메이션 적용 */
  opacity: 0; /* 처음에는 보이지 않음 */
}

@keyframes slideIn {
  0% {
      transform: translateX(100%); /* 화면 오른쪽에서 시작 */
      opacity: 0;
  }
  
  100% {
      transform: translateX(0); /* 제자리 */
      opacity: 1;
  }
}

  
.home2 h3 {
    font-size: 4rem;    
}


#one {
    background-color: #000000;
    padding: 20px;
    justify-content: center;
  }

.rectangle {
    position: relative;
    width: 100%;    
    border-radius: 10px;
    background: transparent;
    padding: 0.2rem; 
    margin: 0.05rem;
    font-size: 1.2vw; /* 전체 내용 크기 조정 */
    z-index: 3;
  }

  .background-video22 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2; /* 비디오를 콘텐츠 뒤로 보냄 */
    filter: brightness(80%);
  }
  

.rectangle h5 {
    font-size: 1.6vw; /* 화면 너비의 2.5% */
    font-weight: 600;
    margin: 5px;
    color: #ffffff;
  }

  @media (max-width: 1024px) {
    .rectangle h5 {
      font-size: 18px; /* 화면 너비의 2.5% */
      font-weight: 600;
      margin: 5px;
      color: #ffffff;
    }
  }

  .rectangle p {
    font-size: 0.8vw; /* 화면 너비의 2.5% */
    font-weight: 400;
    color: #ffffff;    
  }
  @media (max-width: 1024px) {
    .rectangle p {
      font-size: 14px; /* 화면 너비의 2.5% */
      font-weight: 400;
      margin: 5px;
      color: #ffffff;
    }
  }

.slider-thumb::before {
    position: absolute;
    content: "FABRICA ASSOCIATES";
    left: 30%;
    top: 20%;
    width: 800px;
    height: 800px;
    background: #17141d;
    border-radius: 62% 47% 82% 35% / 45% 45% 80% 66%;
    will-change: border-radius, transform, opacity;
    animation: sliderShape 4s linear infinite;
    display: block;
    z-index: -1;
    -webkit-animation: sliderShape 4s linear infinite;
  }

  @keyframes sliderShape{
    0%,100%{
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
      transform: translate3d(0,0,0) rotateZ(0.01deg);
    }
    34%{
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
      transform:  translate3d(0,5px,0) rotateZ(0.01deg);
    }
    50%{
      transform: translate3d(0,0,0) rotateZ(0.01deg);
    }
    67%{
      border-radius: 100% 60% 60% 100% / 100% 100% 60% 60% ;
      transform: translate3d(0,-3px,0) rotateZ(0.01deg);
    }
  }

.section > .row > .col {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-content: space-around;
    align-items: center;
  }

  .section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background-color: transparent;
  }

main.container-fluid {
    padding-left: 0;
    padding-right: 0;
    
  }

  #two {
    width: 100%;
    overflow: hidden;    
    background: linear-gradient(0deg, #69b7bf 25%, #ffe664);
  }
  
  
  #two .image {
    display: flex;  
    width: 100%;
    position: relative;
  }

  #two .image img {
    width: 100%;
    height: auto;
}

  .img-fluid2 {
    border-radius: 10px;
  }
  #three, #four {
    position: relative;
    overflow: hidden;
   
  }

  #four {     
    background: transparent;
    background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative; /* 상대적인 위치 설정 */
  }
  
  #three .image, #four .image {
    position: absolute;
    top: 0;
    bottom:0;
    width: 100%;
  }
  
  #three .image {
    background-image: url("./os_011/mountain-2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background: linear-gradient(180deg, #000000 25%, #868686);  
  }
  
  #three h1 {
    color: rgb(0, 217, 255);
  }
  
  #three h4 {
    color: rgb(255, 204, 0);
  }
  
  #three h5 {
    color: rgb(162, 162, 162);
  }
  
  #four .image {    
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background: transparent;
    padding-left: 40px;
  }
  
  #four h1 {
    color: rgb(150, 150, 150);
    font-size: 50px;
    font-weight: 900;
    margin-left: 0px; /* 왼쪽으로 20px 이동 */
    text-align: center; /* 가운데 정렬 */
    z-index: 10;
  }
  
  #four h4 {
    color: rgb(255, 0, 0);
    font-size: 24px;
    font-weight: 800;
    margin-left: 0px; /* 왼쪽으로 20px 이동 */
    text-align: center; /* 가운데 정렬 */
    z-index: 10;
  }
  
  #four h6 {
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: 400;
    margin-left: 20px; /* 왼쪽으로 20px 이동 */
    margin-right: 20px;
    text-align: center; /* 가운데 정렬 */
    z-index: 10;
  }



@keyframes wave {
  0% {
    transform: translateX(-50px); /* 초기 위치 */
  }
  50% {
    transform: translateX(50px); /* 오른쪽으로 이동 */
  }
  100% {
    transform: translateX(-50px); /* 다시 초기 위치로 돌아옴 */
  }
}
  
  #content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 40px 40px;
    min-height: 100dvh;
    overflow: hidden;
    justify-items: center;
  }

  
/* 화면이 1024px 미만일 경우 2개씩 배치 */
@media (max-width: 1023px) {
  #content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 화면이 800px 미만일 경우 1개씩 배치 */
@media (max-width: 799px) {
  #content {
    grid-template-columns: repeat(1, 1fr);
  }
}
  
  .card {
    position: relative;
    display: grid;    
    grid-template-columns: 1fr;
    grid-template-rows: 50% 50%;
    border: px solid #000;
    width: 350px;
    aspect-ratio: 1/1;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 6.7px 5.3px rgba(0, 0, 0, 0.3),
      0 22.3px 17.9px rgba(0, 0, 0, 0.3);
  }

  .card > h2 {
    font-size: 20px;
    color: #fff;
    
  }

  .title {
    display: flex;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #000;
    border-radius: 10px 10px 0 0;
    text-align: center;
  }

  .title > h2 { 
    color:#ffbf00;
  }

  
  .more {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    cursor: none;
  }
  
  .open-icon {
    font-size: 1.25rem;
    color: #000;
    transform: translateY(3px);
    margin-left: 3px;
    z-index: 1;
  }
  
  .modal-open {
    text-transform: uppercase;
    color: #000;
    background-color: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    grid-area: 1 / 2 / span 1 / span 1;
  }
  
  .card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: 50% 50%;
    z-index: 2;
  }
  
  .card:hover > .card-img {
    animation: hovereffect 0.8s ease-out 1 normal forwards;
    
  }
  
  @keyframes hovereffect {
    0% {
      width: 100%;
      height: 100%;
      top: 0;
      border-radius: 10px;
    }
  
    100% {
      width: 50%;
      height: 50%;
      top: 50%;
      border-radius: 0 0 0 10px;
    }
  }

a:link,
a:visited,
a:hover,
a:active {
  background-color: transparent;
}

.bg2 {
  position: relative; /* 부모 요소를 상대 위치로 설정 */
  width: 100%;
  height: auto;
}

.bg2 video {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-image {
  position: absolute; /* 절대 위치 설정 */
  top: 50%; /* 세로 중앙 */
  left: 50%; /* 가로 중앙 */
  transform: translate(-50%, -50%); /* 정확한 중앙 정렬 */
  width: 50%; /* 필요에 따라 조정 */
  max-width: 400px; /* 최대 크기 제한 */
  z-index: 2; /* 영상 위로 배치 */
}

.pink-shape {
  width: 4px;              /* 가로 4픽셀 */
  height: 24px;             /* 세로 8픽셀 */
  background-color: rgb(255, 0, 85);  /* 핑크색 배경 */
  border-radius: 2px;      /* 둥근 모서리 */
  
  position: relative;     /* 절대 위치 지정 */
  top: 50%;               /* 세로 중앙 */
  left: 50%;              /* 가로 중앙 */
  transform: translate(-50%, -50%); /* 요소의 크기를 고려하여 정확히 중앙으로 */
  margin-top: 30px;
  margin-bottom: 10px;
  animation: moveUpDownSmooth 0.8s ease-in-out infinite; /* 위아래 움직임 애니메이션 적용 */
}


@keyframes moveUpDownSmooth {
  0% {
    transform: translate(-50%, -50%);
  }
  33.3% {
    transform: translate(-50%, -70%); /* 부드럽게 위로 이동 */
  }
  66.6% {
    transform: translate(-50%, -30%); /* 부드럽게 위로 이동 */
  }
  100% {
    transform: translate(-50%, -50%); /* 다시 원래 위치 */
  }
}

.background-video5 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 비디오가 화면을 꽉 채우도록 */
  transform: translate(-50%, -50%);
  z-index: 1; /* 배경으로 보내기 */
  
  mix-blend-mode: multiply; /* Multiply 블렌딩 적용 */
}