/*** 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: #ffffff;
  --color-black-light: #181b1a;
  --color-light-purity: #3db4b6;
  --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;
  margin-top: 0;
}

body {
  overflow-x: hidden;
}

main {
  position:relative;
  width: 100%;
  background-color: #F9F5FF;
  flex: 1 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: auto;
  z-index: 100;
  background-color: rgba(216, 216, 216, 0.437);
  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;
  margin-top: 0;
  padding-top: 0;
}

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

.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;
}




.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); /* 아이콘을 아래로 이동 */
  }
}

html {
  scroll-behavior: none;

}

/* SECTIONS */
section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  color: #fff;
  text-align: center;
  font-weight: 600;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: 0px solid #000;
  transition: transform 0.5s, opacity 0.5s;
  background-size: cover;
  background-attachment: fixed;
}

section p {
  margin: 0;
  font-size: 1.0rem;
}

.p001 {
  height: 100vh;
  background-image: url("./iphoto.gif");
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  background-size: cover;
  background-attachment: fixed;
}

.p002 {
  height: 100vh;
  background-image: url("./bg3_2.png");
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  background-size: cover;
  background-attachment: fixed;
}

.p003 {
  height: 100vh;
  background-image: url("./bg3_3.gif");
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  background-size: cover;
  background-attachment: fixed;
}

.p004 {
  position: relative;
  height: 100vh;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  background: transparent;
}
.background-video2 {
  position: absolute; /* fixed → absolute로 변경 */
  top: 0;
  left: 0;
  width: 100%; /* 전체 너비 사용 */
  height: 100%; /* 전체 높이 사용 */
  object-fit: cover; /* 화면을 꽉 채우도록 */
  z-index: 0; /* 배경으로 보내기 */
  filter: brightness(100%);
}

.p005 {
  height: 100vh;
  background-image: url("./bg3_5.png");
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
   background-size: cover;
   background-attachment: fixed;
}

.p006 {
  position: relative;
  height: 100vh;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  background: transparent;
}
.background-video {
  position: absolute; /* fixed → absolute로 변경 */
  top: 0;
  left: 0;
  width: 100%; /* 전체 너비 사용 */
  height: 100%; /* 전체 높이 사용 */
  object-fit: cover; /* 화면을 꽉 채우도록 */
  z-index: 0; /* 배경으로 보내기 */
  filter: brightness(100%);
}

.p007 {
  height: 100vh;
  background-image: url("./bg3_7.png");
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
   background-size: cover;
   background-attachment: fixed;
}

.p008 {
  height: 100vh;
  background-image: url("./iphoto2.gif");
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
   background-size: cover;
   background-attachment: fixed;
}

.p004 {
  position: relative;
  height: 100vh;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  background: transparent;
}




@media screen and (max-width: 580px) {
	nav a { font-size: 1.25rem; line-height: 2rem; }
	.scroller:after { content: "";}
}
  
  h2 * {
    will-change: transform;
    font-size: 0.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 그림자 효과 추가 */
  }

  /*** section-1 ***/
.p001, .p002, .p003, .p004, .p005, .p006, .p007, .p008, .p009{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative; /* 추가 */
  margin-top: 0;
  padding-top: 0;
}


.p001 > p,
.p002 > p,
.p003 > p,
.p004 > p,
.p005 > p,
.p006 > p,
.p007 > p,
.p008 > p,
.p009 > p {
  z-index: 10;
  font-weight: 800;
  position: relative;
}

.p001 > p:hover {
    cursor: crosshair;
}

.p001 > .circle{
  position: relative;
  top: -70px;
  left: -100px;
}
.p002 > .circle{
  position: relative;
  top: -70px;
  left: -100px;
}
.p003 > .circle{
  position: relative;
  top: -70px;
  left: -100px;
}
.p004 > .circle{
  position: relative;
  top: -70px;
  left: -100px;
}
.p005 > .circle{
  position: relative;
  top: -70px;
  left: -100px;
}
.p006 > .circle{
  position: relative;
  top: -70px;
  left: -100px;
}
.p007 > .circle{
  position: relative;
  top: -70px;
  left: -100px;
}
.p008 > .circle{
  position: relative;
  top: -70px;
  left: -100px;
}
.p009 > .circle{
  position: relative;
  top: -70px;
  left: -100px;
}


.p001 > .circle > span{
  display: block;
  width: 150px;
  height: 150px;
   /* background-color: tomato; */
  border: 1.0px solid #07fee5;
  border-radius: 40% 60% 25% 35% / 40% 45% 35% 60%;
  position: absolute;
  top: 0;
  left: 0;
}
.p002 > .circle > span{
  display: block;
  width: 150px;
  height: 150px;
  /* background-color: tomato; */
  border: 1.5px solid rgb(231, 172, 116);
  border-radius: 40% 60% 25% 35% / 40% 45% 35% 60%;
  position: absolute;
  top: 0;
  left: 0;
}
.p003 > .circle > span{
  display: block;
  width: 150px;
  height: 150px;
  /* background-color: tomato; */
  border: 1.5px solid #fef207;
  border-radius: 40% 60% 25% 35% / 40% 45% 35% 60%;
  position: absolute;
  top: 0;
  left: 0;
}
.p004 > .circle > span{
  display: block;
  width: 150px;
  height: 150px;
  /* background-color: tomato; */
  border: 1.5px solid rgb(254, 7, 135);
  border-radius: 40% 60% 25% 35% / 40% 45% 35% 60%;
  position: absolute;
  top: 0;
  left: 0;
}
.p005 > .circle > span{
  display: block;
  width: 150px;
  height: 150px;
  /* background-color: tomato; */
  border: 1.5px solid rgb(255, 255, 255);
  border-radius: 40% 60% 25% 35% / 40% 45% 35% 60%;
  position: absolute;
  top: 0;
  left: 0;
}
.p006 > .circle > span{
  display: block;
  width: 150px;
  height: 150px;
  /* background-color: tomato; */
  border: 1.5px solid rgb(255, 255, 255);
  border-radius: 40% 60% 25% 35% / 40% 45% 35% 60%;
  position: absolute;
  top: 0;
  left: 0;
}
.p007 > .circle > span{
  display: block;
  width: 150px;
  height: 150px;
  /* background-color: tomato; */
  border: 1.5px solid rgb(149, 255, 1);
  border-radius: 40% 60% 25% 35% / 40% 45% 35% 60%;
  position: absolute;
  top: 0;
  left: 0;
}
.p008 > .circle > span{
  display: block;
  width: 150px;
  height: 150px;
  /* background-color: tomato; */
  border: 1.5px solid rgb(255, 230, 0);
  border-radius: 40% 60% 25% 35% / 40% 45% 35% 60%;
  position: absolute;
  top: 0;
  left: 0;
}
.p009 > .circle > span{
  display: block;
  width: 150px;
  height: 150px;
  /* background-color: tomato; */
  border: 1.5px solid rgb(255, 255, 255);
  border-radius: 40% 60% 25% 35% / 40% 45% 35% 60%;
  position: absolute;
  top: 0;
  left: 0;
}

.p001 > .circle > span:nth-child(1){
  animation: zoom1 3s linear infinite;
}
.p001 > .circle > span:nth-child(2){
  animation: zoom1 3s ease-in-out reverse infinite;
}
.p001 > .circle > span:nth-child(3){
  animation: zoom1 5s ease-in infinite;
}
@keyframes zoom1 {
  0%{
      /* transform: scale(0.6); */
      transform: rotate(0);
  }
  100%{
      /* transform: scale(1.2); */
      transform: rotate(1440deg);
  }
}

.p002 > .circle > span:nth-child(1){
  animation: zoom2 2s linear infinite;
}
.p002> .circle > span:nth-child(2){
  animation: zoom2 3s ease-in-out reverse infinite;
}
.p002 > .circle > span:nth-child(3){
  animation: zoom2 8s ease-in infinite;
}
@keyframes zoom2 {
  0%{
      /* transform: scale(0.6); */
      transform: rotate(-180deg);
  }
  100%{
      /* transform: scale(1.2); */
      transform: rotate(1440deg);
  }
}

.p003 > .circle > span:nth-child(1){
  animation: zoom3 2s linear infinite;
}
.p003> .circle > span:nth-child(2){
  animation: zoom3 3s ease-in-out reverse infinite;
}
.p003 > .circle > span:nth-child(3){
  animation: zoom3 8s ease-in infinite;
}
@keyframes zoom3 {
  0%{
      /* transform: scale(0.6); */
      transform: rotate(0);
  }
  100%{
      /* transform: scale(1.2); */
      transform: rotate(1440deg);
  }
}

.p004 > .circle > span:nth-child(1){
  animation: zoom4 2s linear infinite;
}
.p004> .circle > span:nth-child(2){
  animation: zoom4 3s ease-in-out reverse infinite;
}
.p004 > .circle > span:nth-child(3){
  animation: zoom4 4s ease-in infinite;
}
@keyframes zoom4 {
  0%{
      /* transform: scale(0.6); */
      transform: rotate(-180deg);
  }
  100%{
      /* transform: scale(1.2); */
      transform: rotate(1440deg);
  }
}

.p005 > .circle > span:nth-child(1){
  animation: zoom5 2s linear infinite;
}
.p005 .circle > span:nth-child(2){
  animation: zoom5 8s ease-in-out reverse infinite;
}
.p005 > .circle > span:nth-child(3){
  animation: zoom5 4s ease-in infinite;
}
@keyframes zoom5 {
  0%{
      /* transform: scale(0.6); */
      transform: rotate(0g);
  }
  100%{
      /* transform: scale(1.2); */
      transform: rotate(720deg);
  }
}

.p006 > .circle > span:nth-child(1){
  animation: zoom6 2s linear infinite;
}
.p006 .circle > span:nth-child(2){
  animation: zoom6 8s ease-in-out reverse infinite;
}
.p006 > .circle > span:nth-child(3){
  animation: zoom6 4s ease-in infinite;
}
@keyframes zoom6 {
  0%{
      /* transform: scale(0.6); */
      transform: rotate(0g);
  }
  100%{
      /* transform: scale(1.2); */
      transform: rotate(720deg);
  }
}

.p007 > .circle > span:nth-child(1){
  animation: zoom7 2s linear infinite;
}
.p007 .circle > span:nth-child(2){
  animation: zoom7 8s ease-in-out reverse infinite;
}
.p007 > .circle > span:nth-child(3){
  animation: zoom7 4s ease-in infinite;
}
@keyframes zoom7 {
  0%{
      /* transform: scale(0.6); */
      transform: rotate(0g);
  }
  100%{
      /* transform: scale(1.2); */
      transform: rotate(720deg);
  }
}

.p008 > .circle > span:nth-child(1){
  animation: zoom8 2s linear infinite;
}
.p008 .circle > span:nth-child(2){
  animation: zoom8 8s ease-in-out reverse infinite;
}
.p008 > .circle > span:nth-child(3){
  animation: zoom8 4s ease-in infinite;
}
@keyframes zoom8 {
  0%{
      /* transform: scale(0.6); */
      transform: rotate(0g);
  }
  100%{
      /* transform: scale(1.2); */
      transform: rotate(720deg);
  }
}

.p009 > .circle > span:nth-child(1){
  animation: zoom8 2s linear infinite;
}
.p009 .circle > span:nth-child(2){
  animation: zoom8 4s ease-in-out reverse infinite;
}
.p008 > .circle > span:nth-child(3){
  animation: zoom9 6s ease-in infinite;
}
@keyframes zoom9 {
  0%{
      /* transform: scale(0.6); */
      transform: rotate(0g);
  }
  100%{
      /* transform: scale(1.2); */
      transform: rotate(1440deg);
  }
}


.nav1 {
	position: fixed; /*left: 50%;*/
	width: 100%;
	top: 30px;
	z-index: 9;
	padding-left: 20px;
  display: flex;
  align-content: center;
  justify-content: center;
  justify-items: center;
  right: 0px;
  gap: 4px;
  z-index: 50;
}

.nav1 a {
	padding: 10px 14px;
	border-radius: 5px;
	margin-right: 4px;
	background-color: rgb(255, 183, 0);
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	text-decoration: none;
	color: black;
	font-family: Notos-serif ;
	font-weight: 600;
  font-size: 0.12rem;
}

.nav1 a.active {
  background: rgb(255, 0, 76);
  color: white;
  font-weight: 800;
}

.nav1 a:hover {
  background: rgb(0, 0, 0); 
  color: rgb(255, 230, 0);
  font-weight: 800;
  letter-spacing: 6px;
  transition: all 0.5s ease 0s;
}

@media screen and (max-width: 1024px) {
	.nav1 a {
    padding: 12px 16px;
  
    color: black;
    font-family: Notos-serif ;
    font-weight: 800;
    font-size: 0.12rem;
  }
}

@media screen and (max-width: 768px) {
	.nav1 a {
    padding: 12px 16px;  
    color: black;
    font-family: Notos-serif ;
    font-weight: 800;
    font-size: 0.12rem;
  }
}

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

.label-image {
  position: fixed;
  bottom: 0;  /* 화면 세로 중앙 */
  left: 0px;   /* 화면 우측에서 0px 왼쪽 */
 
  width: 200px;  /* 이미지 크기 */
  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);
  transform-origin: left bottom; /* 오른쪽 기준으로 확대 */
}
/* 마우스를 올리면 밝아지고 확대 */
.label-image:hover {
opacity: 1;
transform: scale(1.8); /* 2.1배 확대 */
background-color: rgba(255, 0, 136, 0.377);
backdrop-filter: blur(10px); /* Glass effect */
z-index: 1000;
}

/* 화면 가로폭이 1024px 미만일 때 */
@media (max-width: 1024px) {

.label-image:hover {
  opacity: 1;
  transform: scale(2.1); /* 10% 확대 */
}
}

@media screen and (min-width: 1920px) {
.label-image {   
  position: fixed;
bottom: 0px;  /* 화면 하단에서 20px 위 */
left: 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(255, 0, 136, 0.377);
backdrop-filter: blur(10px); /* Glass effect */
}
}
