* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  user-select: none;
}
body {
  width: 100%;
  height: 100%;
}
p h1 {
  -webkit-user-seletct: none;
  -moz-user-seletct: none;
}
.main {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: no-repeat center url("./assets/bg.jpg");
  top: 0;
  left: 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  align-items: center;
}
.wrapper {
  position: absolute;
  display: flex;
  bottom: 10vh;
  margin: 0 auto;
  height: 80vw;
  width: 80vw;
  margin: auto;
  justify-content: center;
  align-content: center;
  background-image: linear-gradient(315deg, #373b44, #73c8a9);
  box-shadow: #000 0 0 20px;
  border-radius: 50%;
}
@keyframes bgspan {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}
.light {
  position: absolute;
  top: 0.8vw;
  height: 3.2vw;
  width: 3.2vw;
  border-radius: 50%;
  transform-origin: 1.6vw 38.4vw;
}
.light-twinkling {
  animation: 1s twinkling 3, 100ms 3s twinkling 3;
}
.light:nth-child(2n) {
  background-color: #fafce7;
}
.light:nth-child(2n + 1) {
  background-color: #ffe58b;
}
.light:nth-child(2) {
  transform: rotate(36deg);
}
.light:nth-child(3) {
  transform: rotate(72deg);
}
.light:nth-child(4) {
  transform: rotate(108deg);
}
.light:nth-child(5) {
  transform: rotate(144deg);
}
.light:nth-child(6) {
  transform: rotate(180deg);
}
.light:nth-child(7) {
  transform: rotate(216deg);
}
.light:nth-child(8) {
  transform: rotate(252deg);
}
.light:nth-child(9) {
  transform: rotate(288deg);
}
.light:nth-child(10) {
  transform: rotate(324deg);
}
.panel {
  position: absolute;
  top: 7.5vw;
  height: 64vw;
  width: 64w;
  background-color: #b7b7b7;
  border-radius: 52vw;
}
.sector {
  position: absolute;
  width: 33vw;
  height: 64vw;
  font-size: 4.5vw;
  font-weight: 700;
  font-family: Microsoft YaHei;
  border-radius: 0 32vw 32vw 0;
  overflow: hidden;
  transform-origin: left center;
  border-style: solid;
  border-color: #73c8a9;
  border-width: 2px;
}
.sector:nth-child(1) {
  transform: rotate(-18deg);
}
.sector:nth-child(2) {
  transform: rotate(18deg);
}
.sector:nth-child(3) {
  transform: rotate(54deg);
}
.sector:nth-child(4) {
  transform: rotate(90deg);
}
.sector:nth-child(5) {
  transform: rotate(126deg);
}
.sector:nth-child(6) {
  transform: rotate(162deg);
}
.sector:nth-child(7) {
  transform: rotate(198deg);
}
.sector:nth-child(8) {
  transform: rotate(234deg);
}
.sector:nth-child(9) {
  transform: rotate(270deg);
}
.sector:nth-child(10) {
  transform: rotate(306deg);
}
.sector:nth-child(2n + 1) .sector-inner {
  background: #80d1c8;
}
.sector:nth-child(2n) .sector-inner {
  background: #f8f5d6;
}
.sector-inner {
  text-align: center;
  display: block;
  width: 13vw;
  padding: 1.6vw 0.96vw 0 18.24vw;
  height: 62.4vw;
  transform: translateX(-32vw) rotate(36deg);
  transform-origin: right center;
  border-radius: 32vh 0 0 32vw;
}
.sector-inner span {
  display: block;
  transform-origin: center;
  transform: rotate(-19deg);
  color: #d46854;
}
.pointer {
  position: absolute;
  left: -6.8vw;
  top: 25.6vw;
  z-index: 10;
  height: 9.6vw;
  width: 9.6vw;
  padding: 1.92vw;
  color: #fff899;
  line-height: 4.8vw;
  font-size: 3.84vw;
  font-family: STZhongsong;
  text-align: center;
  background-color: #ff770f;
  border-radius: 50%;
  border: 0.32vw solid #ff770f;
  transition: transform 3s cubic-bezier(0.2, 0.93, 0.43, 1);
}
.pointer img {
  position: relative;
  top: 2vw;
  width: 10vw;
}
.pointer::after {
  content: "";
  position: absolute;
  left: 4.48vw;
  top: -7.68vw;
  border-width: 3.84vw 1.92vw;
  border-style: solid;
  border-color: transparent;
  border-bottom-color: #ff770f;
  transform-origin: center;
}
.point::after {
  content: "";
  position: absolute;
  left: 4.48vw;
  top: -7.68vw;
  border-width: 3.84vw 1.92vw;
  border-style: solid;
  border-color: transparent;
  border-bottom-color: #b2b6b6;
  transform-origin: center;
}
.result {
  position: absolute;
  top: 26vh;
  font-size: 5vw;
  color: #ef8301;
  font-family: STLiti;
}
#title1 {
  position: absolute;
  font-family: "Comic Sans MS", cursive, sans-serif;
  top: 12vh;
  font-size: 15vw;
  width: 65vw;
  font-weight: bolder;
  font-style: italic;
  background-image: linear-gradient(0, #e96443, #904e95);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
@keyframes twinkling {
  50% {
    background: transparent;
  }
}
.title img {
  position: relative;
  top: -35vh;
  width: 20vw;
}
@media only screen and (max-width: 400px) {
  .result {
    top: 30vh;
  }
}
@media only screen and (min-width: 430px) {
  .wrapper {
    transform: scale(0.9);
    bottom: 8vh;
  }
}
@media only screen and (min-width: 500px) {
  .wrapper {
    transform: scale(0.8);
    top: 40vh;
  }
}
@media only screen and (min-width: 630px) {
  .wrapper {
    position: absolute;
    transform: scale(0.7);
    top: 38vh;
  }
  .title img {
    transform: scale(0.9);
  }
}
@media only screen and (min-width: 740px) {
  .wrapper {
    position: absolute;
    transform: scale(0.6);
    top: 38vh;
  }
  .result {
    font-size: 4vw;
  }
}
@media only screen and (min-width: 900px) {
  .wrapper {
    position: absolute;
    transform: scale(0.5);
    top: 38vh;
  }
  .result {
    font-size: 3vw;
    top: 30vh;
  }
  .title img {
    transform: scale(0.8);
  }
}
@media only screen and (min-width: 1000px) {
  .wrapper {
    transform: scale(0.4);
    top: 40vh;
  }
  .title img {
    transform: scale(0.7);
  }
  .result {
    font-size: 2.5vw;
    top: 33vh;
  }
}
@media only screen and (min-width: 1100px) {
  .wrapper {
    transform: scale(0.4);
    top: 20vh;
  }
  .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: scale(0.5);
  }
  .title img {
    position: relative;
    left: -75vw;
    top: 0;
  }
  .result {
    font-size: 2.5vw;
    writing-mode: tb-rl;
    top: 33vh;
    right: 20vw;
  }
}
@media only screen and (min-width: 1900px) {
  .wrapper {
    transform: scale(0.4);
    top: 32vh;
  }
}
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2");
}
