.wrap {
  height: 100%;
  background: url('./../img/1-01.png') no-repeat;
  background-size: 100% 100%;
  position: relative;
}
/* 背景1 */
.wrap-bg1 {
  display: none;
  width: 100%;
  text-align: center;
  position: relative;
}
.logo {
  width: 60px;
  position: absolute;
  top: 11%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.logo-1 {
  width: 85%;
  margin-top: 6px;
}
.logo-2 {
  width: 100%;
  
}
/* 背景2 */
.wrap-bg2 {
  display: none;
  height: 180px;
  position: relative;
}
.logo-bg2 {
  padding: 5% 0 0 1%;
  height: 83%;
}
.bg2-time {
  width: 120px;
  height: 80px;
  position: absolute;
  top: 57%;
  left: 78%;
  transform: translate(-50%,-50%);
}
.bg2-time-name {
  width: 90px;
  height: 28px;
  margin: 0 auto;
  text-align: center;
  line-height: 28px;
  border-radius: 20px;
  font-weight: 600;
  color: #e3344a;
  font-size: 15px;
  border: 1px solid #332c29;
  background-color: #fff100;
}
.bg2-time-number {
  width: 100%;
  height: 23px;
  line-height: 23px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  border: 1px solid #332c29;
  background-color: #fbc42c;
  color: #e3344a;
  position: absolute;
  bottom: 0;
}
.bg2-time-left,.bg2-time-right{
  height: 27px;
  width: 1px;
  border: 0.5px solid black;
  box-sizing: border-box;
  position: absolute;
  top: 37%;
}
.bg2-time-left {
  left: 30%;
}
.bg2-time-right {
  right: 30%;
}
/* 首页 */
.wrap-mian {
  display: none;
  text-align: center;
}
.nav {
  display: flex;
  width: 88%;
  height: 64px;
  margin: 15px auto 0;
}
.nav-info {
  flex: 1;
  margin-right: 10px;
  border-radius: 5px;
  box-sizing: border-box;
  border: 1px solid #554846;
}
.nav-info:last-child {
  margin-right: 0px;
}
.nav-info-img {
  height: 47px;
  width: 100%;
}
.nav-info-name {
  height: 17px;
  width: 100%;
  text-align: center;
  line-height: 17px;
  font-size: 12px;
  background-color: #fff100;
  border-radius: 0 0 5px 5px;
}
.main-detail {
  width: 60%;
  height: 100px;
  margin: 18px auto 0;
}
.start {
  width: 175px;
  margin-top: 29px;
}
.rule {
  width: 80px;
  float: left;
}
.ranking{
  width: 80px;
  float: right;
}
/* 答题 */
.answer {
  display: none;
  /* height: 366px; */
  width: 86%;
  background: url('./../img/2-09.png') no-repeat;
  background-size: 100% 100%;
  /* border: 1px solid blue; */
  margin: 0 auto;
  padding: 0 0 5px 0;
  /* text-align: center; */
}
.answer-topic {
  padding: 10px;
  margin-bottom: 10px;
  font-size: 15px;
}
.answer-img {
  width: 138px;
  margin: 0 auto;
}
.answer-img img {
  width: 100%;
}
.answer-list {
  width: 100%;
  margin-top: 10px;
  display: inline-block;
}
.answer1 {
  line-height: 24px;
  width: 82%;
  margin: 0 auto;
  font-size: 15px;
  margin-bottom: 10px;
  border-radius: 14px;
  color: #e3344a;
  border: 1px solid #e3344a;
  padding-left: 10px;
}
.active {
  background-color: #e3344a;
  color: white;
}
.next-bottom {
  width: 90px;
  height: 28px;
  line-height: 28px;
  font-weight: 600;
  margin: 0 auto 10px;
  text-align: center;
  border-radius: 15px;
  font-size: 14px;
  background-color: #ecbe51;
}
.warning {
  color: red;
  font-size: 12px;
}
/* 模态框 */
.mode {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
}
.model-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .4);
}
/* 开始答题 */
.model-content1 {
  display: none;
  height: 180px;
  padding-top: 20px;
  width: 50%;
  text-align: center;
  background: url('./../img/2-08.png') no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 73%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.pupil1,.pupil2 {
  height: 28px;
  line-height: 28px;
  width: 127px;
  border-radius: 20px;
}
.pupil1,.pupil2 {
  margin: 0 auto 13px;
  color: #e3344a;
  background-color: #f4e245;
  border: 2px solid #e3344a;
}
.pupil1Active {
  color: white;
  background-color: #e3344a;
}
.button-start {
  width: 127px;
  margin-top: 14.5px;
}
/* 活动规则 */
.model-content2 {
  display: none;
}
.model-content2,.model-content3 {
  display: none;
  width: 87%;
  height: 88%;
  text-align: center;
  background: url('./../img/2-06.png') no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.c2-con-text {
  width: 80%;
  /* border: 1px solid red; */
  text-align: justify;
  margin: 0 auto;
  padding-top: 20px;
}
.c2-rule-title {
  font-size: 18px;
  font-weight: bold;
}
.c2-rule-text {
  font-size: 14px;
}
.c2-title,.c3-title {
  width: 90px;
  margin-top: 20px;
}
.c2-button,.c3-button {
  width: 84px;
  position: absolute;
  bottom: -1%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.c3-con {
  margin: 0 auto;
  width: 97%;
  float: left;
}
.c3-class {
  color: #e3344a;
  font-size: 16px;
  text-align: left;
  padding: 5px;
  width: 33px;
  text-align: center;
  margin: 0 0 3px 16px;
  border-radius: 6px;
  font-weight: 600;
}
.c3-list {
  height: 32px;
  line-height: 32px;
  width: 88%;
  margin: 0 auto 9px;
  background-color: #e3344a;
  border-radius: 6px;
  text-align: initial;
}
.list-number {
  display: inline-block;
  width: 35px;
  height: inherit;
  text-align: center;
  color: white;
  font-size: 12px;
}
.list-user {
  display: inline-block;
  height: inherit;
  width: 36px;
  vertical-align: top;
}
.list-name {
  display: inline-block;
  width: 70px;
  height: inherit;
  color: white;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: normal;
  vertical-align: top;
  overflow: hidden;
}
.list-time {
  float: right;
  padding-right: 5px;
  color: white;
  font-size: 12px;;
}
.me-wrap {
  width: 85%;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid black;
  position: absolute;
  bottom: 5%;
  left: 49%;
  transform: translate(-50%,-50%);

}
.me-wrap .c3-list {
  width: 100%;
}
.c3-ul {
  /* border: 1px solid black; */
  height: 30px;
  line-height: 30px;
  width: 80%;
  margin: 15px auto 0;
}
.c3-ul li {
  float: left;
  width: 50%;
}
.c3-ul li p {
  width: 90px;
  margin: 0 auto;
  border: 1px solid #e3344a;;
  font-size: 15px;
  font-weight: 700;
  border-radius: 20px;
  color: #e3344a;
 
}
.p-active {
  background-color: rgb(255, 241, 0);
  border: 1px solid black!important;
}
/* 恭喜完成 */
.model-content4 {
  display: none;
  height: 295px;
  width: 88%;
  background: url('./../img/2-07.png') no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.c4-time,.c4-total,.c4-number {
  width: 240px;
  height: 32px;
  line-height: 32px;
  border-radius: 10px;
  margin-bottom: 15px;
  color: #fffde3;
  background-color: #e3344a;
 
}
.c4-time span:first-child,.c4-total span:first-child,.c4-number span:first-child{
  display: inline-block;
  font-weight: 600;
  padding: 0 15px 0 20px;
  height: 100%;
  border-right: 3px solid #fffde3;
}
.c4-time span:last-child,.c4-total span:last-child,.c4-number span:last-child {
  padding-left: 20px;
}
.c4-wrap {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.ct-bottom {
  width: 90px;
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translate(-50%,-50%);
}
@media(max-width:375px) {
  .c3-list {
    height: 27px;
    line-height: 27px;
  }
  .list-user {
    width: 32px;
  }
  .list-name {
    width: 55px;
  }
}
@media (max-width:320px) {
  .c3-list {
    height: 23px;
    line-height: 23px;
    margin: 0 auto 6px;
  }
  
  .list-user {
    width: 26px;
  }
  .list-name {
    width: 35px;
  }
  .me-wrap {
    width: 85%;
    margin-top: 0px;
    padding-top: 10px;
    bottom: 6%;
    left: 49%;
  }
}