.main-text, .main-text p {
  text-align: center;
}

.main-text {
  position: absolute;
  top: 0;
  width: 100%;
  color: #fff;
  padding-top: 175px;
}

.main-text2 {
  font-size: 48px;
  margin-top: -30px; /* Y값 조절용: 더 위로 올리고 싶을 때 음수값으로 조정 */
}

.main-text1:after {
  content: "";
  font-size: 35px;
  text-shadow: #C38B61 1px 1px, #000 0px 0px, #000 1px 1px, #000 2px 2px, #000 3px 3px, #C38B61 4px 4px;
  display: none;
}

.main-text .main-text2:after {
  content: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi54nConic4YmhYC4mCHvCfMfYtUld1oBxFJ5to_E16roc5hc7HmQkodzpVD9AQ7Pumjt9MdmuwQctG3d-tdOQUNtef9WKDns-Cy98LXPS9w0nMPvLS8MoOIDXWMeGIYp4yYWffwKuUf2ZbIWLVDmVG5GyGMNUc2L6RwMV-M3K5MpcA9zaHgnJYx3jRB3Ge/s16000/%EC%97%90%EC%9D%B4%EC%8A%A4%20%EB%B0%98%ED%95%98%EC%9E%90%20%EC%82%AD%EC%A0%9C%20%EB%A9%94%EC%9D%B8%EB%A1%9C%EA%B3%A0.png");
  font-size: 51px;
  text-shadow: #C38B61 1px 1px, #000 0px 0px, #000 1px 1px, #000 2px 2px, #000 3px 3px, #C38B61 4px 4px, #000 5px 5px;
  color: #FAECC5;
  filter: drop-shadow(0px 0px 1px #000);
  zoom: 80%;
}

@keyframes neon-flicker {
  0% {
    text-shadow: 0 0 10px rgba(102, 37, .7), 0 0 20px rgba(102, 37, .7), 0 0 30px rgba(102, 37, .7);
  }
  100% {
    text-shadow: 0 0 20px rgba(102, 37, .7), 0 0 30px rgba(102, 37, .7), 0 0 40px rgba(102, 37, .7);
  }
}

.main-date span {
  font-size: 36px;
  color: #fff;
  word-break: keep-all;
  word-wrap: break-word;
  border-radius: 15px;
  font-family: 'HeirofLightBold';
  filter: drop-shadow(1px 2px 3px #000);
}

.main-date1 span:after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 241, 176, 0), rgba(255, 241, 176, 0) 30%, #ffffe5 50%, rgba(255, 241, 176, 0) 65%, rgba(255, 241, 176, 0));
  background-size: 400% 400%;
  background-position: 100% 70%;
  border-radius: 0;
  opacity: .4;
  animation: loopAni 4s ease Infinite;
  mix-blend-mode: overlay;
}

@keyframes loopAni {
  0% {
    background-position: 100% 70%;
  }
  70% {
    background-position: 100% 70%;
  }
  to {
    background-position: 0 20%;
  }
}

.section-promotion .section-promotion__list {
  height: 750px !important;
}

.section-promotion .section-promotion__list li {
  top: 0px;
}

@media screen and (max-width: 768px) {
  .section-promotion .section-promotion__list li {
    top: 0;
  }

  .main-text1:after {
    font-size: 20px;
  }

  .main-text, .main-text p {
    padding-left: 20px !important;
  }

  .main-text .main-text2:after {
    font-size: 50px;
    position: absolute;
    zoom: 40%; /* 크기 축소 */
    left: 13%; /* 왼쪽 위치를 50%로 설정하여 가운데로 */
    bottom: -400px; /* 중앙 하단으로 위치 변경 */
    transform: translateX(0%); /* 수평 중앙 정렬 */
  }

  .main-text {
    padding-top: 35px;
  }

  .main-text2 {
    margin-top: 0px; /* 모바일일 때도 약간 위로 올림 */
  }

  /* 모바일에서만 main-text2와 main-date를 10% 왼쪽으로 이동 */
  .main-text2 {
    position: relative;
    left: -30%;
  }

  .main-date {
    position: relative;
    left: -30%;
  }

  .main-text3 {
    padding-top: 100px;
  }

  .main-text3 span {
    font-size: 15px;
  }

  .main-date span {
    font-size: 15px;
  }

  .section-promotion .section-promotion__list {
    height: 230px !important;
  }

  .section-promotion {
    top: 0;
    padding-top: 50px !important;
  }

  .bg1 {
    height: 400px; /* 원하는 픽셀 단위로 설정 */
    position: relative;
    overflow: hidden;
  }

  #showsidebar1 img,
  #showsidebar2 img,
  #showsidebar3 img {
    height: 100px !important;
  }

  #showsidebar3 {
    bottom: 36% !important;
  }

  #showsidebar2 {
    bottom: 22% !important;
  }

  #showsidebar1 {
    bottom: 8% !important;
  }
}

@media screen and (min-width: 769px) and (max-width: 1400px) {
  .main-text2 {
    font-size: 36px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .main-date {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .main-text .main-text2:after {
    zoom: 60%;
    left: 50%;
    bottom: -300px;
    transform: translateX(-50%);
    position: absolute;
  }

  .main-date span {
    font-size: 28px;
  }
}

@media screen and (min-width: 1401px) and (max-width: 1800px) {
  .main-text2 {
    font-size: 42px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .main-date {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .main-text .main-text2:after {
    zoom: 70%;
    left: 50%;
    bottom: -350px;
    transform: translateX(-50%);
    position: absolute;
  }

  .main-date span {
    font-size: 32px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1400px) {
  .main-text {
    top: 660px; /* 기존 65%에 해당하는 대략적인 픽셀값 */
    padding-top: 200 !important;
  }

  .main-text2 {
    margin-top: 470px !important;
  }

  .main-date {
    margin-top: 400px !important;
  }
}

@media screen and (min-width: 1401px) and (max-width: 1800px) {
  .main-text {
    top: 500px; /* 기존 68% 정도에 해당하는 값 */
    padding-top: 200 !important;
  }

  .main-text2 {
    margin-top: 470px !important;
  }

  .main-date {
    margin-top: 400px !important;
  }
}
