ol li {
  line-height: 1.8; /* 행간을 조정 (2는 기본값의 2배로 여유 있는 간격) */
}

ul {
  line-height: 1.8; /* 행간 조정 (1.8배로 설정) */
  margin-top: 0.5em; /* 위쪽 여백 조정 */
  margin-bottom: 0.5em; /* 아래쪽 여백 조정 */
}

.custom-line {
  border: 0;
  height: 1px;
  background-color: #7d7d7d; /* 원하는 색상 */
  margin: 20px 0; /* 위아래 간격 */
}

.custom-line2 {
  border: 0;
  height: 2px;
  background-color: #ffffff; /* 원하는 색상 */
  margin: 20px 0; /* 위아래 간격 */
}

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

.accordion {
  width: 100%;
  max-width: 1024px;
  margin: auto;
  border: 0px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.accordion-item {  
  border-bottom: 0px solid #ddd;
  margin: 10px 0; /* 위아래 간격 추가 */
}

.accordion-header {
  font-family: 'Noto Sans', sans-serif; /* Noto Sans 서체 사용 */
  padding: 22px 20px 22px 20px;
  background-color: #0ac4e5;
  cursor: pointer;
  position: relative; /* 부모 요소에 position 추가 */
}

.accordion-header2 {
  font-family: 'Noto Sans', sans-serif; /* Noto Sans 서체 사용 */
  padding: 15px 20px 15px 20px;
  background-color: #0a78e5;
  cursor: pointer;
  position: relative; /* 부모 요소에 position 추가 */
  overflow: visible;
}

.accordion-header3 {
  font-family: 'Noto Sans', sans-serif; /* Noto Sans 서체 사용 */
  padding: 15px 20px 15px 20px;
  background-color: #18c0a1;
  cursor: pointer;
  position: relative; /* 부모 요소에 position 추가 */
}

.accordion-header:hover {
  background-color: #e9e9e9;
}

.accordion-header2:hover {
  background-color: #160f75;
}

.accordion-header3:hover {
  background-color: #188ec0;
}

.accordion-content {
  display: none;
  padding: 30px;
  background: radial-gradient(#ffffff54 2px, transparent 0) 0 0/40px 40px, 
              radial-gradient(#00000026 2px, transparent 0) -1px 1px/40px 40px, 
              radial-gradient(ellipse at 150% -50%, #6d788f, #fff);
}

.accordion-content.open {
  display: block;
}

.accordion-content .content-wrapper {
  display: flex;
  flex-direction: column; /* 세로로 배치 */
  align-items: flex-start; /* 왼쪽 정렬 */
  gap: 20px;
}

.accordion-content {
  max-width: 100%; /* 화면에 꽉 차게 */
  height: auto;
  border-radius: 0px 0px 10px 10px;
  box-shadow: none;
}

.content-wrapper img {
  max-width: 100%; /* 이미지 크기 자동 조정 */
  height: auto;
  border-radius: 0px;
  box-shadow: none;
}

.accordion-content .content-wrapper p {
  flex: 1;
  margin: 0;
}

.accordion-content p {
  font-family: 'Noto Sans', sans-serif; /* Noto Sans 서체 사용 */
  line-height: 1.2rem;
}

/* 닫기 버튼 스타일 */
.accordion-header2 .close-btn {
  display: none; /* 기본적으로 숨김 */
  position: absolute; /* 부모 요소(.accordion-header2) 기준으로 위치 */
  top: 50%; /* 세로 중앙 정렬 */
  right: 30px; /* 오른쪽 끝에서 20px 간격 */
  transform: translateY(-50%); /* 수직 방향 중앙 정렬 */
  font-size: 20px;
  color: white;
  cursor: pointer;
  z-index: 50;
}
/************************************눈 애니메이션 닫기버튼 *****************************/
/************************************눈 애니메이션 닫기버튼 *****************************/
/* 눈 아이콘 컨테이너 */
.blinking-eye {
  display: none; /* 기본적으로 숨김 */
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  position: absolute; /* 아코디언 안에서 정확하게 위치하기 위해 사용 */
  top: 50%; /* 세로 중앙 정렬 */
  right: 10px; /* 오른쪽에서 간격 */
  transform: translateY(-50%); /* 정확한 중앙 정렬을 위한 보정 */
  cursor: pointer; /* 마우스 커서를 포인터로 변경 */
}

/* 아코디언이 열렸을 때 눈 아이콘 보이기 */
.accordion-content.open .blinking-eye {
  display: flex; /* 아코디언 내용이 열렸을 때만 보이도록 설정 */
}

/* 눈의 모양 */
.blinking-eye .eye {
  width: 30px;
  height: 15px;
  background-color: #000;
  border-radius: 50%;
  position: relative;
  overflow: visible; /* overflow 변경: 눈알이 잘리지 않도록 */
  z-index: 1; /* 눈을 뒤로 보내기 위한 설정 */
}

.blinking-eye .eye::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 50%;
  animation: blink 0.8s infinite;
}

.blinking-eye .pupil {
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* pupil을 eye보다 위로 설정 */
}

/* 눈 깜빡임 애니메이션 */
@keyframes blink {
  0%, 92%, 100% {
    height: 100%;
  }
  95% {
    height: 0%; /* 눈 감기 */
  }
}

/************************************눈 애니메이션 닫기버튼 끝*****************************/

/* 마우스 오버 시 닫기 버튼 표시 */
.accordion-header2:hover .close-btn {
  display: none; /* 마우스를 올리면 버튼이 보이도록 */
}

/* 닫기 버튼에 마우스를 올리면 색상 변경 */
.accordion-header2 .close-btn:hover {
  color: rgb(255, 174, 0);
}
 

section {
  margin: 2rem 2rem 0 2rem;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 0; /* 초기에는 투명 */
  transform: translateY(300px); /* 아래에서 올라오는 효과 */
  transition: all 1.8s ease; /* 애니메이션 효과 */
}

@media only screen and (max-width: 900px) {
	section {
    margin: 0.4rem 0.4rem 0 0.4rem;
    padding: 0.8rem;
    
  }
}

section.visible {
  opacity: 0.8; /* 요소가 보임 */
  transform: translateY(0); /* 제자리로 이동 */
}

section h1 {
  font-family: 'Noto Sans', sans-serif; /* Noto Sans 서체 사용 */
  font-size: 2.0rem;
  font-weight: 900;
  line-height: 2.0rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #00118e;
  animation: springIn 2.0s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes springIn {
  0% {
    transform: translateX(100%) scale(0.5, 1); /* 가로만 50%로 줄이고 세로는 1로 유지 */
    opacity: 0;
  }
  
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

section {
  opacity: 0; /* 초기에는 투명 */
  transform: translateY(300px); /* 아래에서 올라오는 효과 */
  transition: all 2s ease; /* 애니메이션 효과 */
}


section.visible {
  opacity: 0.7; /* 요소가 보임 */
  transform: translateY(0); /* 제자리로 이동 */
}

section h2 {
  font-family: 'Noto Sans', sans-serif; /* Noto Sans 서체 사용 */
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6rem;
  margin-bottom: 1rem;
  color: #09377e;
}

section h3 {
  font-family: 'Noto Sans', sans-serif; /* Noto Sans 서체 사용 */
  font-size: 3.0rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

section p {
  font-family: 'Noto Sans', sans-serif; /* Noto Sans 서체 사용 */
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.0rem;
  color: #000000;
}



#material-division-content {
  opacity: 0;
  transform: translateY(500px) scale(0.5); /* 초기 상태: 아래로 내려가면서 작게 시작 */
  transition: all 1.5s ease; /* 애니메이션 효과 */
  filter: blur(30px); /* 초기에는 블러 없음 */
}

#material-division-content.visible {
  opacity: 1;
  transform: translateY(0) scale(1); /* 제자리로 이동하고 크기가 100%로 */
  filter: blur(0); /* 블러 효과 없앰 */
  
  background: rgba(255, 255, 255, 0.21);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.4px);
  -webkit-backdrop-filter: blur(9.4px);
}

#material-division-content.hidden {
  opacity: 0;
  transform: translateY(-100px) scale(0.5); /* 위로 이동하면서 크기 변화 없이 사라짐 */
  filter: blur(10px); /* 블러 효과 적용 */
}


.thin-box {
  width: 100px; /* 상자의 길이 */
  height: 4px;  /* 상자의 두께 */
  background-color: #ff008c; /* 상자 색상 (검정색) */
  margin: 10px 0; /* 상자 위아래 여백, 가운데 정렬 */
  text-align: left; /* 부모의 텍스트 정렬과 무관하게 왼쪽 정렬 */
  animation: springIn 4.0s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes springIn {
  0% {
    transform: translateX(100%) scale(0.5, 1);
    opacity: 0;
  }

  30% {
    transform: translateX(100%) scale(0.5, 1);
    opacity: 0;
  }
  
  100% {
    transform: translateX(0) scale(1);
  }
}

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

#material-division-content-2 {
  background-color: rgba(255, 255, 255, 0.85);
  opacity: 1; /* 기본적으로 보이도록 설정 */
  transform: translateY(0) scale(1); /* 기본 상태에서 위치와 크기 설정 */
  filter: blur(0); /* 블러 효과 없앰 */
}

#material-division-content.visible-2 {
  opacity: 1; /* 요소가 보일 때 */
  transform: translateY(0) scale(1); /* 위치와 크기 유지 */
  filter: blur(0); /* 블러 효과 없앰 */
}

#material-division-content.hidden-2 {
  opacity: 0; /* 요소가 숨겨질 때 */
  transform: translateY(0) scale(1); /* 위치와 크기 유지 */
  filter: blur(0); /* 블러 효과 없앰 */
}


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

.box-container {
  display: flex;
  justify-content: center; /* 수평 중앙 정렬 */
  align-items: center; /* 수직 중앙 정렬 */
  height: 40px; /* 부모의 높이를 화면 전체로 설정 */
}


.thin-box2 {
  width: 4px; /* 상자의 길이 */
  height: 20px;  /* 상자의 두께 */
  background-color: #ff008c; /* 상자 색상 */
  margin: 10px 0; /* 상자 위아래 여백 */
  text-align: left; /* 텍스트 정렬 */
  border-radius: 2px;
  animation: springIn2 2.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes springIn2 {
  0% {
    transform: translateY(-100%) scale(0); /* 위에서 시작하고 크기 축소 */
    opacity: 0;
    filter: blur(20px); /* 흐리게 시작 */
  }

  20% {
    transform: translateY(-55%) scale(0); /* 위에서 시작하고 크기 축소 */
    opacity: 0.3;
    filter: blur(10px); /* 흐리게 시작 */
  }

  60% {
    transform: translateY(-85%) scale(0); /* 위에서 시작하고 크기 축소 */
    opacity: 0.7;
    filter: blur(5px); /* 흐리게 시작 */
  }

  100% {
    transform: translateY(0) scale(1); /* 제자리로 이동하고 크기 원상복구 */
    opacity: 1; /* 완전히 선명하게 */
    filter: blur(0); /* 흐림 효과 없앰 */
  }
}

.element {
  animation: springIn2 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}



/***********************************************************************/
/********************* 콘텐츠 반응형세팅 **********************************/
@media screen and (max-width: 768px) {
  section h1, section h2 {
    font-size: 90%;
 }
}
/***********************************************************************/
/********************* 콘텐츠 반응형세팅 끝**********************************/

.form {
  position: relative;
  --gap: .5rem;
  max-width: 50rem;
  flex: 1 1 auto;
  height: var(--hh);
  transition: 250ms ease all;
}
.form.open {
  height: calc(var(--hh) * 4.0 + var(--gap));
}

button {
  appearance: none;
  border: none;
  background: none;
}


@keyframes text {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
.form-title {
  margin-left: 80px;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: text linear 1s forwards;
  animation-delay: 1s;
}

@keyframes gradient {
  0% {
    background-size: 100%;
  }
  50% {
    background-size: 150%;
  }
  100% {
    background-size: 100%;
  }
}
.glass {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4rem;
  border-radius: var(--r);
  border: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  text-shadow: 0.25em 0.25em 1px #00000010;
  --shadow-color: 0deg 0% 64%;
  --shadow-elevation-high:
    0.5px 1px 1.1px hsl(var(--shadow-color) / 0.28),
    1.4px 3.1px 3.4px -0.4px hsl(var(--shadow-color) / 0.27),
    2.5px 5.3px 5.9px -0.7px hsl(var(--shadow-color) / 0.25),
    3.9px 8.4px 9.3px -1.1px hsl(var(--shadow-color) / 0.24),
    6px 12.9px 14.3px -1.5px hsl(var(--shadow-color) / 0.23),
    9px 19.5px 21.6px -1.8px hsl(var(--shadow-color) / 0.21),
    13.4px 28.9px 32px -2.2px hsl(var(--shadow-color) / 0.2),
    19.3px 41.7px 46.2px -2.6px hsl(var(--shadow-color) / 0.19),
    27.1px 58.5px 64.8px -2.9px hsl(var(--shadow-color) / 0.17),
    37.1px 80px 88.6px -3.3px hsl(var(--shadow-color) / 0.16);
  --inner-light: inset 0 -6px 2px -5px #ffffff24, inset 0 -8px 3px -5px #ffffff3b, inset 0 -20px 10px -15px #ffffff5c, inset 7px 25px 10px -20px #ffffff5c;
  --inner-shadow: inset -20px 5px 10px -20px #00000021, inset -40px 50px 7px -55px #00000021;
  --external-light: 5px -30px 30px -20px #ffffff70, 5px 10px 30px -20px #ffffff70;
  --default: var(--external-light), var(--shadow-elevation-high), var(--inner-light), var(--inner-shadow);
  box-shadow: var(--default);
}
.glass:focus {
  outline: none;
}
.glass--gradient {
  background-position: center;
  animation: gradient 10s linear infinite;
  background: linear-gradient(45deg, #85d5e757, #7a9ed254, #ba6ac93d, #de54c217, #f86b2d4f);
}
.glass--heading {
  font-size: 1.1rem;
}
.glass--heading:before {
  --i: 2px;
  opacity: 0.6;
}
.glass--heading:after {
  --i: 4px;
}
.glass--heading:before, .glass--heading:after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: var(--i);
  border-radius: calc(var(--r) - var(--i));
  box-shadow: var(--light-reflect), var(--shadow-reflect);
}
.glass > * {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%; /* 높이를 100%로 설정 */
  z-index: 1;
}
.glass:before {
  --r: 20px;               /* 변수 --r을 20px로 설정 */
  --bp: 50px;              /* 변수 --bp를 50px로 설정 */
  --s: calc(0% + var(--bp) + var(--r));  /* 변수 --s를 계산한 값으로 설정 */
  --e: calc(100% - var(--bp) - var(--r)); /* 변수 --e를 계산한 값으로 설정 */
  --z: calc(0% + var(--bp));   /* 변수 --z를 계산한 값으로 설정 */
  --h: calc(100% - var(--bp)); /* 변수 --h를 계산한 값으로 설정 */
  content: "";  /* 가상 요소에 내용 없음 */
  position: absolute; /* 절대 위치로 설정 */
}


.form-header {
  height: var(--hh);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

@keyframes icon {
  0% {
    rotate: 0deg;
    scale: 0.8;
    filter: hue-rotate(0deg);
  }
  50% {
    rotate: 180deg;
    scale: 1.2;
    filter: hue-rotate(90deg);
  }
  100% {
    rotate: 360deg;
    scale: 0.8;
    filter: hue-rotate(0deg);
  }
}
.form-icon {
  position: relative;
  background: transparent;
  display: block;
  aspect-ratio: 1/1; /* 수정된 aspect-ratio 값 */  
  border-radius: 0px;
  height: 8rem;
  /****** box-shadow: var(--light-reflect), var(--shadow-reflect);****/
}
.form-icon:before {
  /******************** animation: icon 5000ms cubic-bezier(0.22, 0.61, 0.36, 1) infinite;******/

  content: "";
  position:absolute;
  inset: 0;
  width: 300px;
  background: url(./ia.png) center/70% 50% no-repeat; /* 수정된 background 값 */
  background-position: 10% 50%; /* 이미지를 가운데 위치시킴 */
}

.form-close-button {
  position: absolute;
  color: var(--c);
  background: rgba(255, 255, 255, 0.3);
  top: 0.75rem;
  right: 0.75rem;
  box-shadow: var(--light-reflect), var(--shadow-reflect);
  display: grid;
  place-content: center;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transition: 250ms ease opacity;
}

.open .form-close-button {
  visibility: visible;
  opacity: 1;
}

[id=heading] {
  transition: 250ms ease all;
  cursor: pointer;
}
.form:not(.open) [id=heading]:hover {
  scale: 0.99;
  filter: brightness(0.95);
}
.form:not(.open) [id=heading]:active {
  scale: 0.98;
  filter: brightness(0.8);
}

/*************** input *******************/
.choice {
  position: absolute;
  top: 0;
  left: 30%;
  z-index: 5;
  height: var(--hh);
  transition: 500ms ease all;
  transform: translateY(0);
  opacity: 0;
}

.choice p {
  position: relative;
  padding: 0 30px 0 50px;
  text-align: left;
  font-weight: 600;
  overflow-wrap: break-word;
  word-wrap: break-word;
  z-index: 50;
}

.open #choice1 { 
  transform: translateY(var(--hh) + var(--gap));
  height: calc(var(--hh) / 2);
  opacity: 1;
  z-index: 2;
}

.open #choice2 {

  transform: translateY(calc((var(--hh) + 5px) * 2)); /* 변경된 부분 */
  height: calc(var(--hh) / 2);
  opacity: 1;
  z-index: 2;
}

.open #choice3 {

  transform: translateY(calc((var(--hh) + 5px) * 3)); /* 변경된 부분 */
  height: calc(var(--hh) / 2);
  opacity: 1;
  z-index: 2;
}

choice:focus {
  outline: none;
}
choice::placeholder {
  opacity: 1;
}

[id=choice1] {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: -1;
  height: var(--hh);
  transition: 500ms ease all;
  translate: 0 0;
  opacity: 0;
}
.open [id=choice1] {
  translate: 0 calc(var(--hh) + var(--gap));
  height: calc(var(--hh) / 2);
  opacity: 1;
  z-index: 2;
  border-radius: 8px;
}

[id=choice2] {
  position: absolute;
  top: -35%;
  left: 0;
  z-index: -1;
  height: var(--hh);
  transition: 500ms ease all;
  translate: 0 0;
  opacity: 0;
}
.open [id=choice2] {
  translate: 0 calc(var(--hh) + var(--gap));
  height: calc(var(--hh) / 2);
  opacity: 1;
  z-index: 2;
  border-radius: 8px;
}

[id=choice3] {
  position: absolute;
  top: -46.0%;
  left: 0;
  z-index: -1;
  height: var(--hh);
  transition: 500ms ease all;
  translate: 0 0;
  opacity: 0;  
}
.open [id=choice3] {
  translate: 0 calc(var(--hh) + var(--gap));
  height: calc(var(--hh) / 2);
  opacity: 1;
  z-index: 2;
  border-radius: 8px;
}

[id=choice4] {
  position: absolute;
  top: 45.0%;
  left: 0;
  z-index: -1;
  height: var(--hh);
  transition: 500ms ease all;
  translate: 0 0;
  opacity: 0;
}
.open [id=choice4] {
  translate: 0 calc(var(--hh) + var(--gap));
  height: calc(var(--hh) / 2);
  opacity: 1;
  z-index: 2;
  border-radius: 8px;
}

[id=choice5] {
  position: absolute;
  top: 60.0%;
  left: 0;
  z-index: -1;
  height: var(--hh);
  transition: 500ms ease all;
  translate: 0 0;
  opacity: 0;
}
.open [id=choice5] {
  translate: 0 calc(var(--hh) + var(--gap));
  height: calc(var(--hh) / 2);
  opacity: 1;
  z-index: 2;
  border-radius: 8px;
}

.glass.choice a {
  text-decoration: none;
  color: inherit;  
}

.glass.choice a:hover {
  text-decoration: none;
  color:white;   
}

.glass.choice:hover{
  background-color: rgba(253, 144, 1, 0.5);
}



 .form-header {
  height: var(--hh);
  padding: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.form-icon {
  display: none;
  /****** box-shadow: var(--light-reflect), var(--shadow-reflect);****/
}

.form-title {
  margin-left: 10px;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: text linear 1s forwards;
  animation-delay: 1s;
}
.choice p {
  position: relative;
  padding: 0 10px 0 10px;
  text-align: left;
  font-weight: 400;
  z-index: 50;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-height: 1.5rem;
}

/************************************** 하단갤러리 **************************/

.material_view {
  display:flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: auto;
 
}

.material_view h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.1rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.material_view p {
  font-size: clamp(0.9rem, 3vw, 1.25rem);
  font-weight: 300;
  
  line-height: 1.5;
  margin-bottom: 30px;
  color: #fff;
  margin-left: 4rem;
  margin-right: 4rem;
}

.material_view button {
  background: #eaeaea;
  color: #202134;
  font-size: clamp(0.9rem, 4vw, 1rem);
  font-weight: 600;
  border: 0;
  outline: 0;
  padding: 8px 14px;
  border-radius: 7px;
  transform: scale(0.7);
  transition: all 0.4s ease-in;
  cursor: pointer;
}

.material_view button:is(:hover, :focus) {
  transform: scale(0.85);
  background-color: #000000;
  color: #eaeaea;
}


.gallery {
  display: grid; /* Grid 레이아웃 사용 */
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* 화면 크기에 맞게 칼럼 수 자동 조정 */
  grid-gap: 20px; /* 칼럼 간격 설정 */
  padding: 30px;
  margin: 0 auto;
  width: 80%; /* 전체 너비 설정 */
  max-width: 1200px; /* 최대 너비 제한 */
  
  transition: opacity 0.6s ease;
  
}

.gallery img {
  width: 100%; /* 이미지를 칼럼에 맞게 채우기 */
  height: auto; /* 비율을 유지하며 표시 */
  object-fit: cover; /* 이미지를 잘림 없이 표시 */
  border-radius: 10px;
  transition: transform 0.6s ease, opacity 0.3s ease; /* 확대 및 투명도 애니메이션 */
  object-position: top; /* 이미지가 확대될 때 위쪽을 기준으로 표시 */
  border-radius: 10px;
}

.gallery img:hover {
  transform: scale(1.35) translateY(-1.1rem); /* 마우스 오버 시 이미지 확대 + 위로 이동 */
  z-index: 2; /* 확대된 이미지가 위로 올라오도록 설정 */
}

.gallery:hover > :not(:hover) {
  opacity: 0.5; 
  filter: blur(7px) brightness(75%);
}

@media  screen and (max-width:1024px){
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* 화면 크기에 맞게 칼럼 수 자동 조정 */        
  }
  .gallery img:hover {
    transform: scale(1.2) translateY(0%); /* 마우스 오버 시 이미지 확대 + 위로 이동 */
  }      
} 

@media  screen and (max-width:900px){
  .gallery img:hover {
    transform: none; /* 이미지 확대 및 이동 효과 없음 */
    z-index: 1; /* 기본 z-index 값 */
  }

  .gallery:hover > :not(:hover) {
    opacity: 1; /* 이미지가 흐려지지 않도록 설정 */
   
  } 
} 


.solo2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 450px;
  width: 100%;
  background: url("../img/material/bg_004.png") no-repeat center center;
  background-size: cover;
  animation: moveBackground 15s infinite ease-in-out; /* 부드러운 애니메이션 */
  position: relative; /* 자식 요소 위치 조정을 위해 필요 */
}

@keyframes moveBackground {
  0% {
    background-position: center 50%; /* 이미지 상단 살짝 보이기 */
  }
  25% {
    background-position: center 10%; /* 중간에서 위쪽 보이기 */
  }
  50% {
    background-position: center 50%; /* 중앙 보이기 */
  }
  75% {
    background-position: center 90%; /* 중간에서 아래쪽 보이기 */
  }
  100% {
    background-position: center 50%; /* 이미지 하단 살짝 보이기 */
  }
}

/* 중앙 박스 */
.center-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 완벽한 중앙 정렬 */
  width: auto; /* 텍스트에 따라 너비 조정 */
  height: 50px; /* 고정된 높이 */
  padding: 0 20px; /* 텍스트 좌우 여백 */
  display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  justify-content: center; /* 가로 중앙 정렬 */
  border: 0.5px solid rgba(255, 255, 255, 0.3); /* 반투명 흰색 테두리 */
  border-radius: 5px; /* 모서리 둥글게 */
  background: rgba(255, 255, 255, 0.2); /* 글라스 효과 배경 */
  backdrop-filter: blur(6px); /* 글라스 효과 블러 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* 그림자 효과 */
  z-index: 10; /* 배경 위에 표시 */
}

/* 박스 안 텍스트 스타일 */
.center-box span {
  font-size: 1.0rem; /* 텍스트 크기 */
  color: #ffffff; /* 텍스트 색상 */
  font-weight: 600; /* 텍스트 굵기 */
}



