section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  aspect-ratio: 1/2;
  overflow: hidden;
}

#firstPage {
  background: url('../image/guide-bg.png') no-repeat center / cover;
  background-size: 100% 100%;
}
#firstPage .top-module {
  position: relative;
  margin-top: 14.13%;
  padding-top: 61%;
}

#firstPage .top-module>img {
  position: absolute;
}

#firstPage .title-logo {
  width: 81.5%;
  top: 0;
  left: 50%;
  transform: translateX(-200%);
  z-index: 5;
}

#firstPage .battle-icon {
  width: 63.6%;
  bottom: 0;
  right: 7%;
  transform: translateX(200%);
  z-index: 4;
}
#firstPage .team-sel {
  margin-top: 9.06%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#firstPage .team-pcik {
  width: 100%;
  margin-bottom: 4.4%;
  opacity: 0;
}
#firstPage .opt {
  width: 61.6%;
  margin-bottom: 5.33%;
  transform: translateX(0) scale(0.8);
  opacity: 0;
}
#firstPage .wwp-logo {
  margin: 2.67% auto 0;
  width: 29.07%;
}

#secondPage {
  background: url('../image/bg.png') no-repeat center / cover;
  background-size: 100% 100%;
}
#secondPage > div {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#secondPage .sec-logo {
  position: absolute;
  transition: all 0.3s ease-in-out;
  z-index: 9;
}
#secondPage .title-logo {
  width: 50%;
  top: 2%;
  left: 3.73%;
}
#secondPage .wwp-logo {
  width: 21.2%;
  right: 11.07%;
  top: 6.67%;
}
#secondPage .paper {
  width: 90.4%;
  height: 80%;
  top: 4%;
  background: url('../image/paper.png') no-repeat center / cover;
  background-size: 100% 100%;
}
#secondPage .q-a{
  width: 80%;
  height: 42%;
  margin-top: 35%;
  margin-left: 9%;
}
#secondPage .question {
  margin-bottom: 6.35%;
  font-size: 20px;
  color: #FE8506;
  line-height: 1.5;
}
#secondPage .options {
  display: flex;
  flex-direction: column;
  gap: 8%;
  height: 69.3%;
}
#secondPage .opt {
  position: relative;
  padding: 0 7% 0 14%;
  font-size: 17px;
  font-weight: 800;
  color: #7D3E05;
  line-height: 25px;
  background: linear-gradient(-90deg, rgba(250,238,164,0.3), rgba(253,251,239,0));
  box-shadow: 0px 5px 0px 0px #EE9E02;
  border-radius: 10px;
}
#secondPage .opt-judge {
  flex-direction: row;
  justify-content: space-between;
  width: 70%;
  height: fit-content;
  padding: 15% 15% 0;
}
#secondPage .judge-icon {
  width: 24%;
}
#secondPage .tip {
  width: 26.4%;
  margin: 2% 0 2% 60%;
}
#secondPage .danmu-list {
  position: absolute;
  bottom: 22%;
  width: 85%;
  margin-left: 5%;
  height: 60px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
.danmu-container {
  position: relative;
  width: 100%;
  height: 100%;
}
#secondPage .dm-line {
  height: 1.5em;
  white-space: nowrap;
  margin-bottom: 5px;
  min-width: 100%;
}
#secondPage .danmu {
  display: inline-block;
  min-width: unset !important;
  margin-right: 20px;
  width: fit-content;
}
#secondPage .danmu>img {
  height: 1.5em;
  width: auto;
}
#secondPage .danmu>p {
  display: none;
}
@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

#secondPage.rank-page .title-logo {
  width: 34.8%;
  top: 1.06%;
  left: 3.47%;
}
#secondPage.rank-page .wwp-logo {
  width: 20.27%;
  top: 3%;
  right: 2.27%;
}
#secondPage .rank-wrap {
  width: 90%;
  height: 100%;
  margin-top: 24%;
}
#secondPage .count-wrap {
  position: relative;
  padding-top: 65.15%;
  background: url('../image/counts-board.png') no-repeat center / cover;
  background-size: 100% 100%;
}
#secondPage .count {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  max-width: 48.3%;
}
#secondPage .ranking {
  position: absolute;
  padding-top: 106%;
  bottom: 38%;
  left: 50%;
  transform: translateX(-50%);
  background: url('../image/ranking-board.png') no-repeat center / cover;
  background-size: 100% 100%;
  z-index: -1;
}
#secondPage .items {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  width: 85.31%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#secondPage .rank-item {
  position: relative;
  height: 1.8em;
  padding-left: 26%;
  margin-bottom: 2%;
  font-weight: 800;
  font-size: 26px;
  color: #FFFFFF;
  line-height: 1.8;
}
#secondPage .rank-item::before {
  content: '';
  position: absolute;
  left: 2%;
  top: 5%;
  width: 15%;
  height: 85%;
}
#secondPage .rank1 {
  background: url('../image/no1_bg.png') no-repeat center / cover;
  background-size: 100% 100%;
}
#secondPage .rank1::before {
  background: url('../image/no1_icon.png') no-repeat center / cover;
  background-size: 100% 100%;
}
#secondPage .rank2 {
  background: url('../image/no2_bg.png') no-repeat center / cover;
  background-size: 100% 100%;
}
#secondPage .rank2::before {
  background: url('../image/no2_icon.png') no-repeat center / cover;
  background-size: 100% 100%;
}
#secondPage .rank3 {
  background: url('../image/no3_bg.png') no-repeat center / cover;
  background-size: 100% 100%;
}

#secondPage .rank3::before {
  background: url('../image/no3_icon.png') no-repeat center / cover;
  background-size: 100% 100%;
}

@media (min-width: 480px) {
  section {
    width: 414px;
    height: 828px;
    aspect-ratio: unset;
  }
}