
/* 开始按钮 */
input[type="button"] {
    color: black;
}

#startbutton {
    position: absolute;
    top: 60%;
    left: 50%;
    #transform: translateX(-50%);
    transform:translate(-50%,-50%);
    font-size: 40px;
    padding: 10px 20px;
    z-index: 100;
    outline: none;
    border-radius: 25px;
    cursor: pointer;
    display: none;
    background-color: #fff;
}

/* 摇杆容器 */
#joystick_box {
    position: absolute;
    transform: translateX(-50%,-50%);
    z-index: 900;
}
/* 未反转摇杆 */
.joystick_box_normal {
    /*bottom: 120px;*/
    /*left: 120px; */
}
/* 反转了的摇杆 */
.joystick_box_fan {
    /*top: 130px; */
    /*left: 130px; */
}


/* 攻击按钮容器 */
.btn_box_att {
    position: absolute;
    bottom: 150px;
    right: 200px;
    transform: translateX(-50%,-50%);
    z-index: 200;
}

/* 选择，开始按钮容器 */
.btn_box_select {
    position: absolute;
    bottom: 20px;
    right: 50%;
    transform: translateX(-50%,-50%);
    z-index: 200;
    background-color: transparent;
    display: flex;
    flex-direction: column;
}
.btn_box_select span {
    margin-bottom: 10px;
}

/* 基础攻击按钮，未定义大小*/
.btn {
    height:20px;
    line-height:20px;
    text-align:center;
    background-color:red;
    color:#e0ffff;
    cursor:pointer;
    border-radius:50px;
    opacity:0.6;
    font-weight: bold;
}
/* 按钮点下 */
.btn.isTouch {
    background-color:linen
}
/* 定义按钮大小 A键 */
.btn-a{
    position:absolute;
    padding: 20px 25px 20px 25px;
}
/* 定义按钮大小 技能键 */
.btn-a1{
    position:absolute;
    padding: 15px 20px 15px 20px;
    width: 25px;
    font-size: 12px;
}
/* 定义按钮大小 B键（攻击） */
.btn-big{
    position:absolute;
    padding: 40px 45px 40px 45px;
}
/* 定义按钮大小 开始和选择 */
.btn-select{
    padding: 10px 15px 10px 15px;
}











/* loading动画 */
.loading1 {
    position: absolute;
    top: 40%;
    left: 50%;
    #transform: translateX(-50%);
    transform:translate(-50%,-50%);
    z-index: 100;
    outline: none;
    cursor: pointer;
    display: none;
}
.load_6 {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.load_6:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 6px;
  box-sizing: border-box;
  border: 26px solid #61E8EA;
  border-color: #61E8EA transparent #61E8EA transparent;
  animation: load_6 1.2s infinite;
}
@keyframes load_6 {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}