/* 배너 섹션 스타일 */
.banner {
  border-top: 0.1px solid #e0ae50;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #1a1919f5;
  object-fit: cover;
  height: 20vw;
}

/* 이미지 스타일링 */
.bannerImage {
  object-fit: cover;
  object-position: center;
  height: 100%;
}

/* 배너 내용 스타일 */
.bannerContent {
  position: absolute; /* 배너 이미지 위로 배치 */
  top: 88%; /* 부모 요소의 중앙에 정렬 */
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 배너 타이틀 스타일 */
.bannerTitle {
  margin-top: 0px;
  font-size: 3rem;
  color: white;
  text-align: center;
  margin-bottom: 100px;
  transition: font-size 0.3s ease; /* 부드러운 폰트 크기 변경 */
  width: 100vw;
}

/* CTA 버튼 스타일 */
.ctaButton {
  padding: 10px 20px;
  background-color: #fb0000;
  color: rgba(0, 0, 0, 0.929);
  text-decoration: none;
  border-radius: 25px;
  font-size: 2.9rem;
  font-weight: 900;
  box-shadow: 2px 8px 12px rgba(0, 0, 0, 0.1);
}

.ctaButton:hover {
  color: #ffffff; /* hover시 색상 변경 */
  transform: scale(1.2); /* 1.2배 확대 */
  text-shadow: 1px 1.5px 2px #000000;
  background-color: #000000;
  transition: background-color 1s;
}

@media (max-width: 1024px) {
  .banner {
    height: 30vw;
  }
}

@media (max-width: 860px) {
  .banner {
    height: 35vw;
  }
}

@media (max-width: 730px) {
  .banner {
    margin-top: 30px;
  }
}

@media (max-width: 650px) {
  .ctaButton {
    font-size: 1.1rem;
  }
}

@media (max-width: 500px) {
  .bannerContent {
    top: 100%; /* 부모 요소의 중앙에 정렬 */
    width: 80vw;
  }
  .ctaButton {
    font-size: 1.5rem;
    padding: 5px 10px;
  }
  .banner {
    height: 37vw;
  }
}

@media (max-width: 400px) {
  .bannerContent {
    top: 100%; /* 부모 요소의 중앙에 정렬 */
    width: 80vw;
  }
  .ctaButton {
    font-size: 1.5rem;
    padding: 5px 10px;
  }
  .banner {
    height: 38vw;
  }
}

@media (max-width: 300px) {
  .bannerContent {
    top: 105%; /* 부모 요소의 중앙에 정렬 */
    width: 90vw;
  }
  .ctaButton {
    font-size: 1.3rem;
    padding: 5px 10px;
  }
  .banner {
    height: 35vw;
  }
}

@media (max-width: 250px) {
  .bannerContent {
    top: 110%; /* 부모 요소의 중앙에 정렬 */
    width: 100vw;
  }
  .ctaButton {
    font-size: 1.1rem;
    padding: 5px 10px;
  }
  .banner {
    height: 35vw;
  }
}
