* {
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
}

em {
  font-style: normal;
  font-size: 2.1rem;
  color: #E73492;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

button {
  cursor: pointer;
  border: 0;
  outline: 0;
}

img {
  width: 100%;
  height: 100%;
  display: block;
}

/* 版心居中 */
.w {
  width: 34.9rem;
  margin: auto;
}

/* 清除浮动 */
.clearfix::before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

body {
  background: #EFEDFA;
  height: 51.6rem;
  min-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  font-family: Source Han Sans CN, Source Han Sans CN-Bold;
}

header {
  position: relative;
}

.banner {
  height: 51.6rem;
  background: url(../img/banner.png?v=1.1) no-repeat;
  background-size: 100% auto;
}

header .exit_btn {
  display: none;
  position: absolute;
  right: 12rem;
  top: 2.9rem;
  width: 5.8rem;
  height: 2.2rem;
}

@keyframes scaleDraw {

  /*定义关键帧、scaleDrew是需要绑定到选择器的关键帧名称*/
  0% {
    transform: scale(1);
    /*开始为原始大小*/
  }

  25% {
    transform: scale(1.1);
    /*放大1.1倍*/
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.1);
  }
}

.img_btn {
  position: absolute;
  top: 67%;
  left: 50%;
  margin-left: -17rem;
  width: 31.3rem;
  height: 6.1rem;
  -webkit-animation-name: scaleDraw;
  /*关键帧名称*/
  -webkit-animation-timing-function: ease-in-out;
  /*动画的速度曲线*/
  -webkit-animation-iteration-count: infinite;
  /*动画播放的次数*/
  -webkit-animation-duration: 5s;
  /*动画所花费的时间*/
}

/* center */
.group_buying {
  height: 25.3rem;
}

.title {
  vertical-align: middle;
  text-align: center;
}

.title .left,
.title .right {
  display: inline-block;
  width: 1.7rem;
  height: 1.2rem;
}

.title .left {
  background: url(../img/left.png) no-repeat;
  background-size: 100%;
}

.title .right {
  background: url(../img/right.png) no-repeat;
  background-size: 100%;
}

.title .text {
  width: 8.4rem;
  height: 2.1rem;
  font-size: 2.1rem;
  font-weight: 700;
  color: #6343ca;
  line-height: 2.6rem;
}

/* 订单列表 */
.order_form {
  position: relative;
  height: 17.2rem;
  overflow: hidden;
}

.order_form ul li {
  margin-bottom: 2rem;
}

.order_form ul li>div {
  float: left;
  height: 4.4rem;
  line-height: 4.4rem;
}

.order_form .order_right {
  float: right;
  width: 8rem;
}

/* 左 */
.order_left>img {
  float: left;
  width: 4.4rem;
  height: 4.4rem;
}

.order_left>span {
  margin-left: 0.8rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #2c1d6c;
}

/* 中 */
.order_center {
  margin-left: 1.4rem;
}

.order_center p,
.order_center p:last-child span {
  display: inline-block;
  height: 1.2rem;
  font-size: 1.2rem;
  line-height: 2.6rem;
}

.order_center p:first-child {
  font-weight: 500;
  color: #2c1d6c;
}

.order_center p:last-child {
  margin-top: 0.5rem;
  padding-left: 0.5rem;
  font-weight: 400;
  color: #8b7fbc;
}

.order_center .time .timeBar label {
  font-size: 1.2rem;
}

/* 右 */
.order_right button {
  width: 6.3rem;
  height: 3.1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 3.1rem;
  border-radius: 0.5rem;
  vertical-align: middle;
}

.order_right button:first-child {
  background: #cccccc;
}

.order_right button:last-child {
  width: 5.7rem;
  height: 2.81rem;
  margin-left: 1.5rem;
  background: #ed4172;
  -webkit-animation-name: scaleDraw;
  /*关键帧名称*/
  -webkit-animation-timing-function: ease-in-out;
  /*动画的速度曲线*/
  -webkit-animation-iteration-count: infinite;
  /*动画播放的次数*/
  -webkit-animation-duration: 5s;
  /*动画所花费的时间*/
}

.order_right button.active {
  position: relative;
  top: -0.2rem;
  box-shadow: 0 0.3rem #9a002c;
}

.order_details {
  height: 18.4rem;
}

.order_price {
  height: 33rem;
}

.list_btn button {
  margin-left: 2.1rem;
  margin-top: 4rem;
  width: 9rem;
  height: 3.7rem;
  opacity: 1;
  background: #EFEDFA;
  border-radius: 1.9rem;
  border: 0.1rem solid #7a57de;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  color: #7a57de;
  line-height: 3.7rem;
}

.list_btn .active {
  color: #fff;
  background: #7a57de;
}

.user_type {
  height: 27.9rem;
}

.skill {
  height: 80rem;
}

.data_gram {
  position: relative;
  height: 61.7rem;
}

.data_gram .study_btn {
  position: absolute;
  top: 43rem;
  left: 50%;
  margin-left: -14.5rem;
  width: 29rem;
  height: 7.6rem;
  -webkit-animation-name: scaleDraw;
  /*关键帧名称*/
  -webkit-animation-timing-function: ease-in-out;
  /*动画的速度曲线*/
  -webkit-animation-iteration-count: infinite;
  /*动画播放的次数*/
  -webkit-animation-duration: 5s;
  /*动画所花费的时间*/
}

.contents {
  height: 37.9rem;
}

.teacher,
.question,
.footer {
  background: #6F4CD8;
}

.question .title,
.teacher .title {
  margin-top: -2rem;
  padding-bottom: 2rem;
}

.teacher .title .text,
.question .title .text {
  color: #fff;
}

.question .title .left,
.teacher .title .left {
  background: url(../img/left2.png) no-repeat;
  background-size: 100%;
}

.question .title .right,
.teacher .title .right {
  background: url(../img/right2.png) no-repeat;
  background-size: 100%;
}

.teacher {
  height: 88rem;
}

.question {
  height: 90rem;
}

.footer {
  width: 100%;
  text-align: center;
  color: #fff;
  padding-top: 1.6rem;
  padding-bottom: 1.3rem;
}

.footer p {
  font-size: 1rem;
  line-height: 2.5rem;
}

/* footer */
footer {
  display: none;
  position: sticky;
  bottom: 0;
  padding: 0 0.7rem;
  width: 36.1rem;
  height: 7rem;
  opacity: 1;
  background: #ffffff;
}

footer>div {
  float: left;
}

.box_left p {
  height: 3rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: left;
  color: #e01c6a;
  line-height: 3rem;
}

.box_left span {
  margin-left: 0.6rem;
  width: 5.4rem;
  height: 1rem;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: line-through;
  text-align: left;
  color: #bdbdbd;
  line-height: 2.6rem;
}

.box_left img {
  width: 15.9rem;
  height: 2.6rem;
}

.box_right {
  margin-left: 0.9rem;
  line-height: 7rem;

}

.box_right button {
  width: 9.6rem;
  height: 4.2rem;
  font-size: 1.4rem;
  line-height: 4.2rem;
  font-weight: bold;
  color: #FF67A3;
  border-radius: 0.5rem;
  border-top: 0.1rem solid #FF56B5;
  border-bottom: 0.1rem solid #FF56B5;
  border-left: 0.1rem solid #FF56B5;
  background: #fff;
  vertical-align: middle;
}

.box_right button:last-child {
  width: 10rem;
  margin-left: -0.5rem;
  color: #fff;
  background: linear-gradient(90deg, #FF7B8A, #FF54B7);
}

/* 关闭 */
.close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
}

/* 遮罩 */
.mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .4);
}

/* 购买弹窗 */
.buyBox {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -20.5rem;
  margin-left: -17.205rem;
  width: 34.5rem;
  height: 41rem;
  background: #f9f8fe;
  text-align: center;
  border: 0.1rem solid #a886f5;
  border-radius: 1.6rem;
  box-shadow: 0rem 0.5rem 1rem 0rem rgba(146, 152, 231, 0.40);
}

.buyBox>div,
.buyBox p {
  margin: auto;
}

.buyBox .title {
  margin-top: 2.8rem;
}

.select {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: space-evenly;
}

.buyBox .describe {
  margin-top: 0.9rem;
  width: 22rem;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  color: #685f8f;
  line-height: 1.5rem;
}

.buyBox .select button {
  margin: 2rem;
  width: 13.2rem;
  height: 4.7rem;
  background: #ffe4f2;
  border: 0.1rem solid #df4194;
  border-radius: 2.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  color: #df4194;
  line-height: 4.7rem;
}

.buyBox .select .active {
  color: #FFFFFF;
  background: #DF4395;
}

.buyBox .tip {
  margin-bottom: 1.8rem;
  height: 1.5rem;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  color: #8b7fbc;
  line-height: 1.5rem;
}

.buyBox .login>p {
  width: 29.5rem;
  height: 4.8rem;
  line-height: 4.8rem;
  text-align: left;
  border-bottom: 0.1rem solid #c4b8f9;
}

.buyBox .login span {
  display: inline-block;
  width: 7.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: #8172bd;
  line-height: 1.7rem;
}

.buyBox .login input {
  padding: 1.1rem 0.6rem;
  width: 12rem;
  height: 1.3rem;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: left;
  color: #111;
  line-height: 1.6rem;
  outline-style: none;
  border: 0rem;
  background: #f9f8fe;
}

input::-webkit-input-placeholder {
  /* placeholder颜色 */
  color: #C9C2E8;
  /* placeholder字体大小 */
  font-size: 1.3rem;
}

.buyBox .login .vcode {
  width: 8.4rem;
  height: 2.8rem;
  background: #e8426f;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 2.8rem;
  vertical-align: middle;
}

.buyBox .pay_price {
  margin: 2rem auto;
  height: 2.4rem;
  color: #8172BD;
  font-weight: 500;
}

.buyBox .pay_price em {
  font-weight: bold;
}

.buyBox .pay_btn,.buyBox .go_url{
  width: 20rem;
  height: 4rem;
  background: #F45E8F;
  border-radius: 2.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  color: #fff;
  line-height: 4rem;
}

/* 添加微信 */
.teacherCode {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -19.5rem;
  margin-left: -17.2rem;
  width: 34.4rem;
  text-align: center;
  background: #f9f8fe;
  border: 0.1rem solid #a886f5;
  border-radius: 1.6rem;
  box-shadow: 0rem 0.5rem 1rem 0rem rgba(146, 152, 231, 0.40);
}
.b{
font-weight: 500;
color: #e8426f;
}
.teacherCode .process {
  width: 22.8rem;
  height: 5rem;
  margin-top: 3.6rem;
}

.teacherCode .tips {
  margin-top: 2.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  color: #2c1d6c;
  line-height: 2rem;
}

.wxCode {
  position: relative;
  margin: 0 auto ;
}
.wxId{
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  color: #906de9;
}
.wxImg{
  display: inline-block;
  width: 12rem;
  height: 12rem;
}
p.next{
  position: absolute;
  top: 15%;
  right: -4rem;
  width: 8rem;
  height: 3.1rem;
  background: url(../img/wx_change.png)no-repeat;
  background-size: 100%;
  -webkit-animation-name: scaleDraw;
  /*关键帧名称*/
  -webkit-animation-timing-function: ease-in-out;
  /*动画的速度曲线*/
  -webkit-animation-iteration-count: infinite;
  /*动画播放的次数*/
  -webkit-animation-duration: 5s;
  /*动画所花费的时间*/
}

.swiper-container {
  width: 14rem;
  height: 14rem;
  padding: 0 5rem;
}
.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 14rem;
  height: 14rem;
}
.swiper-slide.swiper-slide-active{
  width: 14.1rem !important;
}
.swiper-button-next, .swiper-button-prev{
  width: 2.5rem !important;
  height: 2.5rem !important;
  margin-top: -1.25rem !important;
  background-size: 100% !important;
}
.tips_btn {
  width: 15rem;
  height: 2.7rem;
  background: #e8426f;
  border-radius: 0.4rem;
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 2.7rem;
}

.tips_text {
  margin: 1rem auto;
  font-size: 1.2rem;
  font-weight: 400;
  color: #8b7fbc;
  line-height: 1.7rem;
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  border-radius: 1.4rem;
  text-align: center;
  transform: translateX(-50%);
  color: #eee;
  z-index: 10;
  background: rgba(0, 0, 0, .75);
  padding: 0.6rem 0.8rem;
  font-size: 1.2rem;
}
