:root{
  --signature: rgb(0,0,0);
}
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}
.container-title {
  position: relative;
  color:white;
  font-weight: 600;
  z-index: 10;
  margin-left: 5%;
}
.container-wrapper {
  height: auto; /* 기존에 설정된 높이를 제거 */
  overflow-y: visible; /* 스크롤을 제거 */
  margin:0px;
  left:5%;

  padding:0;
  width:100%;
  position: relative; /* 배너 이미지 위에 겹쳐지도록 설정 */
}
.empty{
  height:48px;
  background-color: black;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 300px)); /* 최대 크기 제한 */
  gap: 10px;
  justify-content: stretch;
  margin:0px;
  padding:0px;
  margin-bottom: 2vw;
}
.container {
  max-width: 100% !important;
}
.container-mypage{
  padding: 80px;
}

.product {
  box-sizing: border-box;
  overflow: hidden; /* Hide overflow to maintain aspect ratio */
}

.thumbnail {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  /* max-width: 300px; */
}
.body {
  padding: 0;
  background-color: black;
}







.thumbnail-wrapper {
  position: relative;
  overflow: hidden; /* 스크롤 숨김 */
  margin: 20px 0;
}

.thumbnails-container {
  display: flex;
  gap: 5px;
  transition: transform 0.5s ease-in-out; /* 부드러운 이동 */
}

.product {
  flex: 0 0 calc(100% / 6 - 10px); /* 한 줄에 6개 표시 */
  box-sizing: border-box;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  height: 100%;
}

.nav-button.left {
  left: 0px;
  
}

.nav-button.right {
  right: 0px;
}












.banner img{
  width: 100%;
  height: 40vw;
  object-fit: cover;
}

.banner {
  position: relative; /* 배너를 기준으로 가상 요소 배치 */
  width: 100vw;
  height: auto;
  overflow: hidden;
  margin-bottom: 0px;
}
#banner-image {
  width: 100%;
  height: 40vw;
  object-fit: cover;
}




/* 그라데이션 추가를 위한 ::after 가상 요소 */
.banner::after {
  content: ""; /* 빈 콘텐츠 */
  position: absolute; /* 부모 요소 내에서 절대 위치 지정 */
  bottom: 0; /* 아래쪽에 배치 */
  left: 0; /* 왼쪽 기준으로 맞춤 */
  width: 100%; /* 배너 전체 너비 */
  height: 100px; /* 그라데이션 높이 */
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none; /* 가상 요소가 클릭 등의 이벤트에 방해되지 않도록 설정 */
}
#banner-subject {
  width: 300px; /* 기본 너비 설정 */
  max-width: 100%; /* 부모 요소의 너비를 넘지 않도록 제한 */
  height: auto; /* 원본 비율을 유지하도록 설정 */
  width:30vw;
  display: block; /* 이미지의 기본 display 속성을 block으로 설정하여 정렬 문제 해결 */
  margin: left auto; /* 중앙 정렬 */
  margin-bottom: 1vw;
  margin-top: 5vw;
}
.passage{
  font-size: 1vw;
  line-height: 150%;
  color: rgb(200,200,200);
  margin-bottom: 2vw;
}



.banner-content {
  position: absolute; /* 배너 이미지 위에 겹쳐지도록 설정 */
  top: 50%; /* 세로 방향 중앙 */
  left: 5%; /* 왼쪽에서 약간 떨어지도록 설정 */
  transform: translateY(-50%); /* 세로 방향으로 정확히 중앙에 배치하기 위해 사용 */
  color: white; /* 텍스트 색상을 흰색으로 설정 */
  text-align: left; /* 텍스트를 왼쪽 정렬 */
  justify-content: space-between;
  width: 95%;
}

.banner-content h2 {
  margin: 0 0 10px 0; /* 제목의 마진 설정 */
  font-size: 2rem; /* 제목의 크기 설정 */
}

.banner-content .btn {
  padding: 10px 20px; /* 버튼 패딩 설정 */
  font-size: 1rem; /* 버튼 글자 크기 설정 */
}

#banner-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
}
.banner-button{
  color: white !important; /* 버튼 글자색 설정 */
  border: 1px solid white !important; /* 버튼 테두리 색상 설정 */
  background-color: transparent;
  margin-right: 10px;
  border-radius: 3vw;
  padding : 0.6vw 2vw;
  font-size: 1vw;
}
.banner-button:hover{
  color: var(--signature) !important;
  border: 1px solid var(--signature) !important;
  box-shadow: 0 0 0 1px var(--signature);
}
.banner-button2{
  color: white !important; /* 버튼 글자색 설정 */
  border: 1px solid white !important; /* 버튼 테두리 색상 설정 */
  background-color: rgb(100,100,100, 0.5);
  margin-right: 10px;
  border-radius: 3vw;
  padding : 0.6vw 2vw;
  font-size: 1vw;
}
.banner-button2:hover{
  color: var(--signature) !important;
  border: 1px solid var(--signature) !important;
  box-shadow: 0 0 0 1px var(--signature);
}
.appropriateage{
  font-weight: 400;
  font-size: 1vw;
  color: white;
  background-color: rgb(100,100,100, 0.5);
  margin-left: auto;
  border: 1px solid white;
  border-left : 10px solid white;
  border-right: 0px solid white;
  padding : 6px 45px 6px 30px;
  width : auto;
  text-align: center;
}


/* 반응형을 위한 미디어 쿼리 추가 */
@media (max-width: 768px) {
  .container {
    gap: 5px; /* 더 넓은 화면에서는 간격을 더 크게 설정 */
  }
  #banner{
    height: 50vh;
  }
  
  #banner-image{
    height: 100%;
  }
#banner-subject{
  min-width: 300px; /* 부모 요소의 너비를 넘지 않도록 제한 */
  width:30vw;
  display: block; /* 이미지의 기본 display 속성을 block으로 설정하여 정렬 문제 해결 */
  margin: left auto; /* 중앙 정렬 */
  margin-bottom: 1vw;
  margin-top: 5vw;
}
.passage{
  font-size: 8pt;
}
.banner-button, .banner-button2{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10pt;
  padding : 6px 20px;
  white-space: nowrap;
  height: 28px;
  border-radius: 28px;
}
.appropriateage{
  font-size: 10pt;
  white-space: nowrap;
  width: 140px;
}
}








.footer{
  display: flex;
  flex-direction: column;
  width:100%;
  background-color: black;
  bottom: 0;
  left:0;
  margin-top: 100px;
  padding-left:40px;
}


#footer-icon{
  margin-bottom: 30px;
}
.footer-icon{
  width:40px;
  height:22px;
  padding: 0px 0px;
  margin-right: 6px;
}

.cx_center{
  color:rgb(100,100,100);
  font-size:10pt;
  margin-bottom: 20px;
  padding:0px;
  border: 1px solid rgb(100,100,100);
  width:80px;
  padding:6px;
  text-align: center;
  text-decoration: none;
}
.footer_contents{
  pointer-events: none;     /* 클릭 불가 처리 */
  text-decoration: none !important; /* 밑줄 제거 */
  font-size : 9pt;
  font-weight : 400;
  line-height: 1.6;
  color : rgb(100,100,100);
}

#userCard{
  text-align: center;
}
