.index-page {
  max-width: unset;
}
.header-wrap {
  position: relative;
  background-color: #ffecff;
}
.left-div {
  width: 35%;
  height: 45%;
  background-color: #ffdfff;
  position: absolute;
  left: 0;
  bottom: 0;
  border-top-right-radius: 200px;
}
.right-div {
  width: 37%;
  height: 60%;
  background-color: #ffdfff;
  position: absolute;
  right: 0;
  top: 0;
  border-bottom-right-radius: 200px;
}
.header {
  position: relative;
  z-index: 500;
  margin: 0 auto 35px auto;
  display: flex;
  align-items: center;
  padding: 35px 30px;
  max-width: var(--maxWidth);
}
.header h2 {
  font-size: 50px;
  color: var(--fontColor);
  font-weight: unset;
  margin-bottom: 17px;
}
.header .intro > p {
  font-size: 28px;
  color: #797979;
  margin-top: 0;
  margin-bottom: 30px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.header .intro .btn-wrap {
  height: 75px;
}
.header .intro button {
  font-size: 30px;
  height: 75px;
  width: 230px;
}
.header .quiz-card {
  padding: 15px;
  background-color: #fff;
  border-radius: 20px;
  width: 45%;
  flex-shrink: 0;
  margin-left: 25px;
  color: var(--fontColor);
}
.header .quiz-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}
.header .quiz-card > p {
  font-size: 26px;
  margin: 5px 0 10px 0;
}
.header .quiz-card .item {
  height: 50px;
  line-height: 50px;
  text-align: center;
  border: 1px rgba(121, 121, 121, 0.44) solid;
  margin-bottom: 10px;
  font-size: 20px;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  color: var(--fontColor);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 5px;
}
.header .quiz-card .item:last-child {
  margin-bottom: 0;
}
.header .quiz-card .item:hover {
  background-color: var(--mainColor);
  border-color: var(--mainColor);
  color: #fff;
}

.content {
  max-width: var(--maxWidth);
  margin: 0 auto;
}
.tag-title {
  font-size: 35px;
  padding-top: 5px;
  border-bottom: 4px var(--mainColor) solid;
  color: var(--mainColor);
}
.quiz-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.quiz-list .item {
  width: calc(33.333% - 15px);
  margin-bottom: 30px;
  background-color: #aa01bd21;
  border-radius: 35px;
  padding: 15px;
  padding-bottom: 40px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  cursor: pointer;
}
.quiz-list .item:hover button {
  background-color: var(--mainColor);
}
.quiz-list .item:hover .img-wrap {
  border-color: var(--mainColor);
}
#item-0:hover button {
  background-color: var(--hoverColor-0);
}
#item-0:hover .img-wrap {
  border-color: var(--hoverColor-0);
}
#item-1:hover button {
  background-color: var(--hoverColor-1);
}
#item-1:hover .img-wrap {
  border-color: var(--hoverColor-1);
}
#item-2:hover button {
  background-color: var(--hoverColor-2);
}
#item-2:hover .img-wrap {
  border-color: var(--hoverColor-2);
}
#item-3:hover button {
  background-color: var(--hoverColor-3);
}
#item-3:hover .img-wrap {
  border-color: var(--hoverColor-3);
}
#item-4:hover button {
  background-color: var(--hoverColor-4);
}
#item-4:hover .img-wrap {
  border-color: var(--hoverColor-4);
}
#item-5:hover button {
  background-color: var(--hoverColor-5);
}
#item-5:hover .img-wrap {
  border-color: var(--hoverColor-5);
}
#item-6:hover button {
  background-color: var(--hoverColor-6);
}
#item-6:hover .img-wrap {
  border-color: var(--hoverColor-6);
}
.quiz-list .item .img-wrap {
  border: 10px #fff solid;
  border-radius: 25px;
  overflow: hidden;
}
.quiz-list .item .img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.quiz-list .item h3 {
  color: var(--fontColor);
  font-size: 22px;
  font-weight: unset;
  text-align: center;
  margin: 12px 0 25px 0;
  height: 66px;
  display: grid;
  place-items: center;
  justify-content: flex-start;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.quiz-list .item:hover h3 {
  font-weight: bold;
}
.quiz-list .item .btn-wrap {
  text-align: center;
}
.quiz-list .item button {
  font-size: 20px;
  font-weight: bold;
  height: 55px;
  padding: 0 45px;
}

.about-us .background {
  display: flex;
  flex-flow: column;
  width: 100%;
  height: 100%;
}
.about-us .wave {
  width: 100%;
  height: 100px;
  background-image: url('/imgs/purple-wave.png');
  background-repeat: repeat;
}
.about-us .bottom {
  background-color: #5328a5;
  color: #fff;
  padding: 0 10px;
}
.about-us .bottom .content {
  max-width: var(--maxWidth);
  margin: 0 auto;
  padding-bottom: 30px;
}
.about-us .bottom .content h1 {
  font-size: 45px;
  border-bottom: 4px #fff solid;
}
.about-us .bottom .content h2 {
  font-size: 30px;
  margin-bottom: 5px;
}
.about-us .bottom .content p {
  font-size: 20px;
  margin: 5px 0;
}
.about-us .bottom .content br {
  height: 20px;
}
.about-us .bottom .content ul {
  margin: 5px 0;
  font-size: 20px;
}
.about-us .bottom .content ul li {
  margin: 5px 0;
}

@media (min-width: 700px) and (max-width: 1150px) {
  body {
    transform: scale(0.9);
    transform-origin: top left;
    width: 111.11%;
  }
}

@media screen and (max-width: 700px) {
  .header {
    flex-flow: column nowrap;
    padding: 20px 10px;
  }
  .header .intro {
    order: 2;
  }
  .header h2 {
    font-size: 24px;
    font-weight: bold;
  }
  .header .intro > p {
    font-size: 14px;
  }
  .header .intro button {
    display: block;
    margin: 0 auto;
    height: 54px;
    background-color: #de40f9;
    width: auto;
  }
  .header .quiz-card {
    width: 100%;
    margin-left: 0;
    order: 1;
  }
  .header .quiz-card > p {
    font-size: 18px;
    font-weight: bold;
  }
  .header .quiz-card .item {
    font-size: 16px;
  }
  .tag-title {
    text-align: center;
    border-bottom: unset;
    font-size: 20px;
  }
  .tag-title span {
    border-bottom: 4px var(--mainColor) solid;
  }
  .quiz-list {
    padding: 0 10px;
  }
  .quiz-list .item {
    width: 100%;
  }
  .btn-wrap {
    text-align: center;
    margin-top: 20px;
  }
  .btn-wrap .common-btn {
    padding: 5px 40px;
  }
  .about-us .bottom .content h1 {
    font-size: 20px;
  }
  .about-us .bottom .content h2 {
    font-size: 16px;
  }
  .about-us .bottom .content p {
    font-size: 14px;
  }
  .about-us .bottom .content br {
    height: 14px;
  }
  .about-us .bottom .content ul {
    font-size: 14px;
  }
}
