.background {
  background-color: #f9e237;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}
.background .top {
  width: 100%;
  height: 800px;
  max-height: 80vh;
}
.background .wave {
  width: 100%;
  height: 100px;
  background-image: url('/imgs/white-wave.png');
  background-repeat: repeat;
}
.quiz-res-page {
  max-width: 100%;
  padding-top: 15px;
}
.res-info {
  display: flex;
  justify-content: center;
}
.res-info .card {
  width: 640px;
  flex-shrink: 0;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
}
.res-info .card h1 {
  font-size: 36px;
  color: var(--fontColor);
  margin: 0 0 20px 0;
}
.res-info .card .content {
  background-color: #293c77;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.res-info .card .content .desc {
  padding: 10px 15px 15px 15px;
}
.res-info .card .content h2 {
  font-size: 30px;
  margin: 0;
  margin-bottom: 10px;
}
.res-info .card .content p {
  font-size: 16px;
  margin: 0;
}

.action {
  margin-top: 20px;
}
.action .btn-action {
  display: flex;
  flex: 1;
}
.action .btn-action button {
  font-size: 26px;
  width: 100%;
  font-weight: bold;
}
#textAgain {
  width: 35%;
}
#nextText {
  width: 65%;
  margin-left: 10px;
}
.action .btn-action a:nth-child(1) button {
  background-color: #fe0fa2;
}
.action .btn-action a:nth-child(1) button:hover {
  background-color: #ff8900;
}

.center-quiz-list {
  width: 336px;
  flex-shrink: 0;
  margin-left: 40px;
}
.left-quiz-list {
  margin-right: 40px;
}
.right-quiz-list {
  margin-left: 15px;
}
.center-quiz-list .content-item,
.left-quiz-list .content-item,
.right-quiz-list .content-item {
  margin-bottom: 20px;
}
.bottom-quiz-list {
  max-width: 1772px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 351px);
  justify-content: center;
  justify-items: center; /* 单个项目居中 */
  margin: 20px auto;
}
.bottom-quiz-list .content-item {
  margin-bottom: 20px;
}
.score {
  background-color: #43d4a4;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  height: 50px;
  line-height: 50px;
  padding: 0 15px;
}

@media screen and (max-width: 1788px) {
  .right-quiz-list {
    display: none;
  }
}

@media screen and (max-width: 1402px) {
  .left-quiz-list {
    display: none;
  }
}

@media screen and (max-width: 960px) {
  .center-quiz-list {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  .quiz-res-page {
    padding-top: 0;
    background-color: unset;
  }
  .res-info .card {
    width: 100%;
    flex-shrink: 0;
    padding: 10px;
  }
  .res-info .card h1 {
    font-size: 24px;
    padding: 0 10px;
    margin-top: 10px;
  }
  .action .btn-action {
    flex-flow: column nowrap;
    text-align: center;
  }
  #textAgain {
    width: 90%;
    display: inline-block;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  #nextText {
    width: 90%;
    display: inline-block;
    margin-left: 0;
    margin: 0 auto;
  }
  .bottom-quiz-list {
    grid-template-columns: repeat(auto-fill, 100%);
    padding: 0 10px;
  }
  .bottom-quiz-list .content-item {
    width: 100%;
    margin-bottom: 20px;
  }
}
