body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

main {
  max-height: 1200px;
  height: 100svh;
  aspect-ratio: 800/1200;
  background: url(../images/background.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4svh;
  position: relative;
}

main hgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  top: 30px;
  opacity: 0;
  animation: transformTop01 1s ease forwards;
}
main hgroup > img {
  width: 100%;
  padding: 0 1.8svh;
  margin-bottom: 2svh;
}
main hgroup h1 {
  color: #fff;
  text-align: center;
  /* font-size: 38px; */
  font-size: 3.4svh;
  font-weight: 700;
  line-height: 1.5;
}

main hgroup time {
  color: #fff;
  /* font-size: 28px; */
  font-size: 2.5svh;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  margin: 1svh 0;
  gap: 1svh;
}

main hgroup time img {
  width: 3.3svh;
  aspect-ratio: 1/1;
}

main hgroup p {
  color: #fff;
  text-align: center;
  /* font-size: 24px; */
  font-size: 2.1svh;
  font-weight: 500;
  line-height: 1.7;
}

main ul {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  position: relative;
}
main ul li {
  width: 29%;
  max-width: 225px;
}
main ul li > img {
  width: 100%;
  border-radius: 2.5svh;
  box-shadow: 0 4.32px 25.92px 0 rgba(0, 0, 0, 0.25);
}

main ul.event_list01 {
  margin-top: 2.7svh;
}
main ul.event_list02 {
  margin-top: 4.4svh;
}

main ul .event_img_balloon {
  position: absolute;
  z-index: 2;
}

main ul.event_list01 .event_img_balloon {
  top: calc(50% - 5svh);
  left: calc(50% - 10svh);
  transform: translate(-50%, -50%);
  width: 20svh;
  opacity: 0;
  animation: transformTop02 1s ease forwards;
  animation-delay: 0.7s;
}
main ul.event_list02 .event_img_balloon {
  top: calc(50% - 4svh);
  left: calc(50% - 6svh);
  transform: translate(-50%, -50%);
  width: 19svh;
  opacity: 0;
  animation: transformTop03 1s ease forwards;
  animation-delay: 0.7s;
}

main ul li {
  position: relative;
  opacity: 0;
  top: 30px;
  animation: transformTop01 1s ease forwards;
}

main ul.event_list01 li:nth-of-type(1) {
  transform: rotate(-10deg) translateY(22.5%);
  animation-delay: 0.4s;
}
main ul.event_list01 li:nth-of-type(2) {
  z-index: 1;
  animation-delay: 0.5s;
}
main ul.event_list01 li:nth-of-type(3) {
  transform: rotate(10deg) translateY(22.5%);
  animation-delay: 0.6s;
}
main ul.event_list02 li:nth-of-type(1) {
  transform: rotate(10deg) translateX(22.5%);
  animation-delay: 0.7s;
}

main .button-group {
  /* position: absolute;
  bottom: 0;
  left: 0; */
  width: 100%;
  display: flex;
  gap: 0.9svh;
  padding: 1.8svh;
  margin-top: 1.5svh;
}

main .button-group a {
  width: 100%;
  border-radius: 1.8svh;
  border: 3px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #252e46;
  text-align: center;
  font-size: 1.9svh;
  font-weight: 700;
  line-height: 140%; /* 32.2px */
  letter-spacing: -0.46px;
  padding: 0.9svh;
}

main .button-group a img {
  width: 3.7svh;
  aspect-ratio: 1/1;
}

.btn_kakao {
  min-width: 40%;
  background: #e3d625;
}
.btn_mail {
  background: rgba(255, 255, 255, 0.8);
}
.btn_url {
  background: rgba(255, 255, 255, 0.8);
}

footer {
  width: 100%;
  max-width: 800px;
  margin-top: auto;
}

@keyframes transformTop01 {
  100% {
    top: 0;
    opacity: 1;
  }
}

@keyframes transformTop02 {
  100% {
    top: calc(50% - 9svh);
    opacity: 1;
  }
}
@keyframes transformTop03 {
  100% {
    top: calc(50% - 6svh);
    opacity: 1;
  }
}

@media (max-width: 800px) {
  main {
    height: fit-content;
    background-size: cover;
    aspect-ratio: unset;
  }

  main ul.event_list01 {
    margin-top: 6svh;
  }

  main ul.event_list01 .event_img_balloon {
    /* width: 21vw; */
    width: 26vw;
  }
  main ul.event_list02 .event_img_balloon {
    /* width: 20vw; */
    width: 25vw;
  }
}
