.Z150 {
  transform: scale(1.5);
  opacity: 0;
  transition: 1s;
}

.Z50 {
  transform: scale(0.5);
  opacity: 0;
  transition: 1s;
}

.Z0 {
  transform: scale(1);
  opacity: 1;
}

.Y100 {
  transform: translateY(100px);
  opacity: 0;
  transition: 1s;
}

.Y75 {
  transform: translateY(75px);
  opacity: 0;
  transition: 1s;
}

.Y50 {
  transform: translateY(50px);
  opacity: 0;
  transition: 1s;
}

.Y25 {
  transform: translateY(25px);
  opacity: 0;
  transition: 1s;
}

.Y0 {
  transform: translateY(0);
  opacity: 1;
}

.X100 {
  transform: translateX(-100px);
  opacity: 0;
  transition: 1s;
}

.X_100 {
  transform: translateX(100px);
  opacity: 0;
  transition: 1s;
}

.X75 {
  transform: translateX(-75px);
  opacity: 0;
  transition: 1s;
}

.X75 {
  transform: translateX(75px);
  opacity: 0;
  transition: 1s;
}

.X50 {
  transform: translateX(-50px);
  opacity: 0;
  transition: 1s;
}

.X-50 {
  transform: translateX(50px);
  opacity: 0;
  transition: 1s;
}

.X0 {
  transform: translateX(0);
  opacity: 1;
}

.XZ {
  transform: translate(-900px, 0) scale(0.4);
  opacity: 0;
  transition: .5s;
}

.XZ0 {
  transform: translate(0px, 0) scale(1);
  opacity: 1;
  transition: .5s;
}

.opacitys {
  opacity: 0;
  transition: 1s;
}

.reset_opacitys {
  opacity: 1;
  transition: 1s;
  transition-duration: .5s;
  transition-timing-function: ease-in-out;
}

.inTheMiddle {
  position: relative;
  cursor: pointer;
}

.inTheMiddle:hover section div::before {
  height: 100%;
  transition: .5s ease-in;
}

.inTheMiddle:hover section div::after {
  height: 100%;
  transition: .5s ease;
}

.inTheMiddle section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
  overflow: hidden;
}

.inTheMiddle section div::before, .inTheMiddle section div::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 0;
  background: black;
  left: 0;
  bottom: 50%;
  z-index: -1;
  transition: .3s;
}

.inTheMiddle section div::after {
  top: 50%;
}

.inTheMiddleRound {
  position: relative;
  cursor: pointer;
}

.inTheMiddleRound:hover section div:last-child {
  width: 100%;
  height: 100%;
}

.inTheMiddleRound section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
  overflow: hidden;
}

.inTheMiddleRound section div:last-child {
  position: absolute;
  border-radius: 50%;
  width: 0%;
  height: 0%;
  background: black;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: -1;
  transition: .3s;
}

.button_fadeinmid {
  position: relative;
  width: 180px;
  height: 64px;
  background: red;
  border-radius: 60px;
  color: white;
  cursor: pointer;
}

.button_fadeinmid section {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: transparent;
  border-radius: 60px;
  transition: .3s;
}

.button_fadeinmid div {
  position: absolute;
  top: 50%;
  left: 50%;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.button_fadeinmid:hover section {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.button_fadeinrotate {
  position: relative;
  width: 180px;
  height: 64px;
  background: red;
  color: white;
  cursor: pointer;
  overflow: hidden;
}

.button_fadeinrotate section {
  position: absolute;
  top: 0;
  left: -40%;
  width: 150%;
  height: 100%;
  background: black;
  transform: rotate(-90deg);
  transform-origin: left top;
  transition: .3s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.button_fadeinrotate div {
  position: absolute;
  top: 50%;
  left: 50%;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.button_fadeinrotate:hover section {
  height: 100%;
  transform: rotate(0deg);
}

.button_double_fadeintop {
  position: relative;
  width: 180px;
  height: 64px;
  background: red;
  color: white;
  cursor: pointer;
  overflow: hidden;
}

.button_double_fadeintop section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: black;
  transition: .3s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.button_double_fadeintop section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: .3s;
  transition-delay: .3s;
}

.button_double_fadeintop div {
  position: absolute;
  top: 50%;
  left: 50%;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.button_double_fadeintop:hover section {
  height: 100%;
}

.button_double_fadeintop:hover section::after {
  height: 0%;
}

.button_highlight {
  position: relative;
  width: 180px;
  height: 64px;
  background: red;
  color: white;
  cursor: pointer;
  overflow: hidden;
  transition: .3s;
}

.button_highlight section {
  position: absolute;
  top: -30%;
  left: -100%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.5);
  transition: .5s;
  transform: rotate(30deg);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.button_highlight div {
  position: absolute;
  top: 50%;
  left: 50%;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.button_highlight:hover {
  background: aqua;
}

.button_highlight:hover section {
  left: 150%;
}

@keyframes guodong {
  from,
  to {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes zoomInLeft {
  from {
    opacity: 0;
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  60% {
    opacity: 1;
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
  100% {
    opacity: 1;
    transform: scale3d(0) translate3d(0, 0, 0);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes bounce {
  from,
  20%,
  53%,
  80%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -30px, 0);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 35px, 0);
  }
  75% {
    transform: translate3d(0, -20px, 0);
  }
  90% {
    transform: translate3d(0, 10px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDownBig {
  from {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes home_times {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
    opacity: 1;
  }
}
