* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  -webkit-user-drag: none;
}
@font-face {
  font-family: 'comicz';
  src: url(https://static.igem.wiki/teams/4263/wiki/fonts/comicz.ttf);
}
li {
  list-style: none;
}
body {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #151726;
  top: 0;
  left: 0;
}
/* loading animation begin*/
body {
  overflow: hidden;
}

.loading-out {
  position: absolute;
  z-index: 9999;
  background: rgb(244, 232, 204);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

/* loading animation end*/
.special_td {
  border-radius: 50%;
}
.rounded-triangle,
.rounded-triangle2 {
  position: absolute;
  width: 20px;
  height: 20px;
  border-bottom-left-radius: 6px;
  background-color: #ff0000;
}
.rounded-triangle::before,
.rounded-triangle2::before,
.rounded-triangle::after,
.rounded-triangle2::after {
  content: "";
  position: absolute;
  background-color: inherit;
  width: 20px;
  height: 20px;
  border-bottom-left-radius: 6px;
}
.rounded-triangle::before,
.rounded-triangle2::before {
  transform: rotate(135deg) skewY(-45deg) scale(0.707, 1.414) translate(-50%, 0);
}
.rounded-triangle::after,
.rounded-triangle2::after {
  transform: rotate(-135deg) skewX(-45deg) scale(1.414, 0.707) translate(0%, 50%);
}
.rounded-triangle {
  transform: rotate(-60deg) skewX(-30deg) scale(1, 0.866);
}
.rounded-triangle2 {
  transform: rotate(120deg) skewX(-30deg) scale(1, 0.866);
}
@keyframes fontColor {
  to {
    color: #ffa000;
    font-size: 43px;
    border-radius: 50%;
  }
}
.big_box {
  width: 90vw;
  height: 80vh;
  min-width: 1200px;
  min-height: 530px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10vh;
  padding: 0 50px 50px 50px;
}
.big_box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-25%, -25%);
  width: 30%;
  height: 60%;
  border-radius: 50%;
  background: linear-gradient(#ee9ca7, #ffdde1);
}
.main_game {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  overflow: hidden;
}
.main_game .rules_father {
  z-index: 10;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.main_game .rules_father .rules {
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, #ff96f9, #c32bac);
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  color: #fff;
  line-height: 24px;
  font-size: 18px;
}
.main_game .rules_father .rules p {
  padding: 5% 10%;
}
.main_game .rules_father .rules span {
  position: absolute;
  width: 35px;
  height: 35px;
  right: 5%;
  bottom: 8%;
  font-size: 20px;
  border: 5px solid red;
  border-radius: 50%;
}
.main_game .rules_father .rules span::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: red;
  border: 1px solid #fff;
  width: 4px;
  border-radius: 4px;
  height: 20px;
}
.main_game .rules_father .rules span:hover {
  transform: scale(1.3);
}
.main_game .rules_father img {
  z-index: -1;
  width: 8%;
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translate(-50%, 0);
}
.main_game .answer_father {
  z-index: 10;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.main_game .answer_father .answer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  width: 60%;
  height: 70%;
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/game1-solution.png);
  background-size: 100% 100%;
}
.main_game .answer_father .answer span {
  position: absolute;
  width: 35px;
  height: 35px;
  right: 5%;
  bottom: 8%;
  font-size: 20px;
  border: 5px solid red;
  border-radius: 50%;
}
.main_game .answer_father .answer span::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: red;
  border: 1px solid #fff;
  width: 4px;
  border-radius: 4px;
  height: 20px;
}
.main_game .answer_father .answer span:hover {
  transform: scale(1.3);
}
.main_game .rule {
  position: absolute;
  top: 10%;
  left: 24%;
  width: 60px;
  height: 60px;
  border: 5px solid #617477;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  color: #fff;
  background-color: #d445bf;
  z-index: 10;
}
.main_game .rule:hover {
  transform: scale(1.2);
}
.main_game .option {
  width: 100%;
  height: 100%;
  display: block;
}
.main_game .option .package_enter {
  position: absolute;
  right: 5%;
  top: 10%;
  width: 90px;
  height: 90px;
  background: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/package.png);
  background-size: contain;
}
.main_game .option .package_enter:hover {
  transform: scale(1.1);
}
.main_game .option p {
  margin-top: 20px;
  text-align: center;
  font-size: 40px;
  font-family: "comicz";
  text-shadow: 0px 0px 2px #000;
  color: black; 
}
.main_game .option div {
  width: 4rem;
  height: 4rem;
  font-size: 1.2rem;
  border-radius: 50%;
  position: absolute;
  text-align: center;
  line-height: 4rem;
  filter: saturate(0%);
  background-size: 100%;
}
.main_game .option div:nth-child(n+3):nth-child(-n+6) {
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/option1.png);
}
.main_game .option div:nth-child(n+3):nth-child(-n+6):hover {
  box-shadow: 0 0 30px #60b5cc;
}
.main_game .option div:nth-child(n+7):nth-child(-n+10) {
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/option2.png);
}
.main_game .option div:nth-child(n+7):nth-child(-n+10):hover {
  box-shadow: 0 0 30px #9edfc7;
}
.main_game .option div:nth-child(n+11):nth-child(-n+14) {
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/option3.png);
}
.main_game .option div:nth-child(n+11):nth-child(-n+14):hover {
  box-shadow: 0 0 30px #e87081;
}
.main_game .card_detail {
  width: 100%;
  height: 100%;
  background-color: #64a5a6;
  display: none;
}
.main_game .card_detail img {
  height: 100%;
  position: relative;
  left: 5%;
}
.main_game .card_detail div {
  position: absolute;
  height: 80%;
  width: 35%;
  top: 10%;
  right: 20%;
  background-color: #afdac8;
  padding: 20px;
  overflow: auto;
  border: 3px solid #2f5f61;
  border-radius: 30px 0 0 30px;
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.main_game .card_detail div::-webkit-scrollbar {
  width: 12px;
  background-color: #afdac8;
}
.main_game .card_detail div::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #8b8e9a;
}
.main_game .card_detail div::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(240, 240, 240, 0.5);
}
.main_game .card_detail span {
  position: absolute;
  width: 60px;
  height: 60px;
  right: 5%;
  bottom: 10%;
  border-radius: 10px;
  background-color: #8ccdb9;
  text-align: center;
  line-height: 60px;
  font-size: 30px;
}
.main_game .card_detail span:hover {
  animation: fontColor 1s forwards;
}
.main_game .package {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #64a5a6;
  display: none;
}
.main_game .package .decoration {
  position: absolute;
  top: 8%;
  right: 2.5%;
  width: 60px;
  height: 80px;
  border-radius: 5px;
  transform: rotate(-10deg);
  background-color: #3d8785;
}
.main_game .package .decoration:before {
  content: "?";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 80px;
  text-align: center;
  line-height: 80px;
  font-size: 30px;
  color: #3d8785;
  background-color: #7dd1d1;
  transform: rotate(-10deg) translateY(4px);
  border-radius: 5px;
}
.main_game .package .package_back {
  position: absolute;
  bottom: 6%;
  left: 25%;
  width: 10%;
  height: 10%;
  background-color: #519e9e;
  border-radius: 20px;
  border: 5px solid #1e7876;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: "comicz";
}
.main_game .package .package_next {
  position: absolute;
  bottom: 6%;
  right: 25%;
  width: 10%;
  height: 10%;
  background-color: #eaa48c;
  border-radius: 20px;
  border: 5px solid #b47c66;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.main_game .package .package_head {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translate(-50%);
  width: 300px;
  height: 60px;
  border-radius: 30px;
  text-align: center;
  line-height: 40px;
  border: 10px solid #126f6b;
  background-color: #338c83;
  color: #fff;
  font-size: 24px;
  font-family: "comicz";
}
.main_game .package ul li {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #fff;
  bottom: 10%;
  left: 50%;
}
.main_game .package ul li:first-child {
  transform: translateX(-125%);
}
.main_game .package ul li:last-child {
  transform: translateX(25%);
  opacity: 0.3;
}
.main_game .package .package_set {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50px;
  border: 10px solid #308483;
  width: 80%;
  height: 80%;
  background-color: rgba(116, 186, 183, 0.3);
  display: flex;
  align-items: center;
}
.main_game .package .package_set .card-list {
  display: flex;
  width: 100%;
  height: 100%;
  padding-left: 3rem;
  padding-right: 3rem;
  align-items: center;
}
.main_game .package .package_set .card {
  display: grid;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 80%;
  width: 28%;
  padding: 1.5rem;
  border-radius: 16px;
  background-color: #7dd1d1;
  box-shadow: -1rem 0 3rem #000;
  transition: 0.2s;
  font-size: 160px;
  color: #499e9e;
}
.main_game .package .package_set .card img {
  width: 100%;
  margin: 0 auto;
}
.main_game .package .package_set .card:hover {
  transform: translateY(-1rem);
}
.main_game .package .package_set .card:hover ~ .card {
  transform: translateX(80px);
}
.main_game .package .package_set .card:not(:first-child) {
  margin-left: -80px;
}
.main_game .knowledge_card {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  height: 100%;
  display: none;
  width: 100%;
  text-align: center;
  z-index: 15;
  font-family: 'comicz';
}
.main_game .knowledge_card .card {
  position: relative;
  top: 0;
  left: 0%;
  text-align: center;
  width: 100%;
  height: 100%;
  font-size: 20px;
  line-height: 30px;
}
.main_game .knowledge_card .card .winner {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: #7bc5c0;
  padding-top: 20px;
}
.main_game .knowledge_card .card .winner img {
  position: absolute;
  left: 15%;
  top: 20%;
  height: 60%;
}
.main_game .knowledge_card .card .winner div {
  position: absolute;
  height: 60%;
  width: 35%;
  top: 20%;
  right: 15%;
  background-color: #afdac8;
  padding: 20px;
  overflow: auto;
  border: 3px solid #2f5f61;
  border-radius: 30px 0 0 30px;
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  line-height: 28px;
}
.main_game .knowledge_card .card .winner div::-webkit-scrollbar {
  width: 12px;
  background-color: #afdac8;
}
.main_game .knowledge_card .card .winner div::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #8b8e9a;
}
.main_game .knowledge_card .card .winner div::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(240, 240, 240, 0.5);
}
.main_game .knowledge_card .card .winner span {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  width: 11%;
  height: 11%;
  font-size: 20px;
  background: linear-gradient(to right bottom, #ecd1cb 0%, #eb9e8a 40%, #eb9e8a 60%, #ecd1cb 100%);
  border-radius: 25px;
  border: 4px solid #86574d;
  bottom: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main_game .knowledge_card .card2 {
  position: relative;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  width: 100%;
  height: 100%;
  font-size: 20px;
  line-height: 30px;
}
.main_game .knowledge_card .card2 .winner2 {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  width: 60%;
  border-radius: 25px;
  border: 5px solid #227572;
  background-color: #7bc5c0;
  height: 30%;
  top: 35%;
  padding-top: 20px;
}
.main_game .knowledge_card .card2 .winner2 span {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  width: 15%;
  font-size: 20px;
  background: linear-gradient(to right bottom, #ecd1cb 0%, #eb9e8a 40%, #eb9e8a 60%, #ecd1cb 100%);
  border-radius: 25px;
  border: 4px solid #86574d;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45%;
  bottom: -25%;
}
.main_game .again {
  position: absolute;
  top: 10%;
  left: 70%;
  margin-top: 5px;
  width: 50px;
  height: 50px;
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/again.png);
  background-size: 100%;
}
.main_game .again:hover {
  transform: scale(1.2);
}
.main_game .home {
  position: absolute;
  top: 10%;
  left: 12%;
  width: 60px;
  height: 60px;
  background: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/icon.png);
  background-size: contain;
}
.main_game .home:hover {
  transform: scale(1.2);
}
.main_game div[class^="game"] {
  width: 100%;
  height: 100%;
  display: none;
}
.main_game .g3_tip {
  position: absolute;
  top: 10%;
  left: 82%;
  z-index: 2;
  width: 46.9px;
  height: 59.5px;
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/tips.png);
  background-size: 100%;
}
.main_game .g3_tip:hover {
  transform: scale(1.2);
}
.main_game .game1 {
  background-image: radial-gradient(circle, #bbe5f7, #a7e4f9 40%, #60b5cc);
  background-size: 100% 100%;
  position: relative;
}
.main_game .game1 .g2_title {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translate(-50%, 0);
  font-family: 'comicz';
}
.main_game .game1 .g2_title .level {
  background-color: #94d0e9;
  width: 200px;
  height: 50px;
  border-radius: 10px;
  color: #319eea;
  font-size: 20px;
  overflow: hidden;
}
.main_game .game1 .g2_title .level .level_box {
  margin-top: 5px;
  margin-left: 10px;
  text-align: center;
  line-height: 32px;
  width: 180px;
  height: 40px;
  background-color: #fff;
  border: 4px solid #52d0e9;
  border-radius: 10px;
}
.main_game .game1 .g2_title .level_bottom {
  text-align: center;
  position: relative;
  font-size: 16px;
  letter-spacing: 2px;
}
.main_game .game1 .g2_title .level_bottom::after {
  content: '';
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/game2-border.png);
  position: absolute;
  width: 200px;
  height: 20px;
  background-size: 100% 100%;
  left: 0px;
  bottom: -20px;
}
.main_game .game1 table {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/game2-p1.png);
  background-size: contain;
  border-spacing: 0;
  border: 3px solid #000;
  border-collapse: collapse;
}
.main_game .game1 table tr td {
  width: 40px;
  height: 40px;
  background-color: #fff;
  opacity: 0.3;
  border: 1px solid #000;
}
.main_game .game1 .target {
  left: 20%;
  width: 240px;
  height: 240px;
}
.main_game .game1 .target tr td {
  width: 30px;
  height: 30px;
  opacity: 1;
}
.main_game .game2 {
  background-image: radial-gradient(circle, #96c8c9, #72a7a8 40%, #469893);
  position: relative;
}
.main_game .game2 .g2_rotate,
.main_game .game2 .g2_target {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.main_game .game2 .g2_rotate .circle,
.main_game .game2 .g2_target .circle {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #80cac5;
  border-radius: 50%;
}
.main_game .game2 .g2_rotate .circle::after,
.main_game .game2 .g2_target .circle::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  margin-top: 5px;
  margin-left: 5px;
  background-color: #cde9e9;
  border-radius: 50%;
}
.main_game .game2 .g1_round {
  position: absolute;
  font-family: 'comicz';
  top: 10%;
  left: 50%;
  transform: translate(-50%);
  width: 150px;
  height: 65px;
  border-radius: 16px;
  border: 6px solid #b57c66;
  color: #c3583a;
  background-color: #e5bcab;
  font-size: 22px;
  font-weight: bold;
  line-height: 53px;
  text-align: center;
}
.main_game .game2 .g1_btn {
  position: absolute;
  top: 10%;
  left: 82%;
  width: 70px;
  height: 70px;
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/btn.png);
  background-size: 100%;
}
.main_game .game2 .g1_btn:hover {
  transform: scale(1.2);
}
.main_game .game2 .g1_btn .rounded-triangle {
  width: 16px;
  height: 16px;
  position: absolute;
  background-color: #ffffff;
  transform: rotate(-30deg) skewX(-30deg) scale(1, 0.866) translate(-50%, -50%);
  top: 45%;
  left: 40%;
}
.main_game .game2 .g1_btn .rounded-triangle::before,
.main_game .game2 .g1_btn .rounded-triangle::after {
  width: 16px;
  height: 16px;
}
.main_game .game2 .g1_btn .g1_start {
  display: none;
  position: relative;
}
.main_game .game2 .g1_btn .g1_start span {
  display: inline-block;
  width: 8px;
  height: 25px;
  background-color: #fff;
  border-radius: 10px;
  position: absolute;
}
.main_game .game2 .g1_btn .g1_start :first-child {
  left: 22px;
  top: 19px;
}
.main_game .game2 .g1_btn .g1_start :last-child {
  left: 34px;
  top: 19px;
}
.main_game .game2 .g2_time_pa {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 100px;
  display: none;
}
.main_game .game2 .g2_time_pa .g2_time_out {
  width: 200px;
  height: 100px;
  background-color: #d7b19f;
  border: solid 3px #000;
  border-radius: 25px;
  text-align: center;
  font-size: 20px;
  display: table-cell;
  vertical-align: middle;
}
.main_game .game2 .time_limit {
  width: 220px;
  height: 60px;
  position: absolute;
  bottom: 10%;
  right: 10%;
}
.main_game .game2 .time_limit .g1_time {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid #ccc;
  vertical-align: middle;
}
.main_game .game2 .time_limit .g1_time .time_top1 {
  position: absolute;
  top: 6px;
  left: 24px;
  width: 4px;
  height: 20px;
  border-radius: 2px 2px 0 0;
  background-color: #ccc;
}
.main_game .game2 .time_limit .g1_time .time_top2 {
  position: absolute;
  top: 25px;
  left: 24px;
  width: 20px;
  height: 4px;
  background-color: #ccc;
  border-radius: 0 2px 2px 0;
}
.main_game .game2 .time_limit .g1_time .time_bottom {
  position: absolute;
  top: 27px;
  left: 7px;
  border-radius: 0 0 20px 20px;
  background-color: #ea7f9b;
  width: 40px;
  height: 20px;
}
.main_game .game2 .time_limit .g1_clock {
  display: inline-block;
  position: relative;
  height: 60px;
  width: 120px;
  background-color: #c7c8c8;
  border-radius: 5px;
  color: #000;
  font-size: 20px;
  margin-left: 15px;
  vertical-align: middle;
}
.main_game .game2 .time_limit .g1_clock :first-child {
  margin-left: 5px;
}
.main_game .game2 .time_limit .g1_clock span {
  text-align: center;
  line-height: 50px;
  display: inline-block;
  background-color: #5c5a5a;
  height: 50px;
  border-radius: 5px;
  margin-top: 5px;
  width: 20px;
  color: #fff;
}
.main_game .game3 {
  background-image: radial-gradient(circle, #e6d1b1 20%, #d48e8e);
  position: relative;
}
.main_game .game3 .title {
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  height: 72px;
  width: 180px;
  border-radius: 63px 63px 27px 27px;
  background-color: #d27682;
  border: 8px solid #fff;
  text-align: center;
  line-height: 56px;
  font-size: 40px;
  color: #fff;
  font-family: 'comicz';
}
.main_game .game3 .time {
  position: absolute;
  top: 12%;
  left: 32%;
  font-size: 30px;
  color: #fff;
}
.main_game .game3 .time em {
  font-style: normal;
}
.main_game .game3 .role {
  position: absolute;
  width: 3%;
  z-index: 3;
}
.main_game .game3 .role img {
  width: 100%;
}
.main_game .game3 .g3_ending {
  position: absolute;
  top: 48%;
  left: 53%;
  width: 3%;
  height: 7%;
  background-image: url(https://static.igem.wiki/teams/4263/wiki/images/game-images/end.png);
  background-size: 100%;
}
.main_game .game3 table {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 60%;
  height: 60%;
  border: 2px solid #000;
  border-spacing: 0;
}
.main_game .game3 table tr {
  border: 1px solid #b9baba;
  height: 10%;
}
.main_game .game3 table tr td {
  width: 5%;
  border: 1px solid #b9baba;
  background-color: #fff;
}
