/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  text-align: center;
}

body {
  background-color: #d4d9ed;
}

.cont_principal {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cont_error {
  position: absolute;
  width: 100%;
  height: 300px;
  top: 50%;
  margin-top: -150px;
}

.cont_error > h1 {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 150px;
  color: #fff;
  position: relative;
  left: -100%;
  transition: all 0.5s;
}

.cont_error > p {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 5px;
  color: #9294ae;
  position: relative;
  left: 100%;
  transition: all 0.5s;
  transition-delay: 0.5s;
}

.cont_aura_1 {
  position: absolute;
  width: 300px;
  height: 120%;
  top: 25px;
  right: -340px;
  background-color: #8a65df;
  box-shadow: 0 0 60px 20px rgba(137, 100, 222, 0.5);
  transition: all 0.5s;
}

.cont_aura_2 {
  position: absolute;
  width: 100%;
  height: 300px;
  right: -10%;
  bottom: -301px;
  background-color: #8b65e4;
  box-shadow: 0 0 60px 10px rgba(131, 95, 214, 0.5), 0 0 20px 0 rgba(0, 0, 0, 0.1);
  z-index: 5;
  transition: all 0.5s;
}

.cont_error_active > .cont_error > h1 {
  left: 0;
}

.cont_error_active > .cont_error > p {
  left: 0;
}

.cont_error_active > .cont_aura_2 {
  animation-name: animation_error_2;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transform: rotate(-20deg);
}

.cont_error_active > .cont_aura_1 {
  transform: rotate(20deg);
  right: -170px;
  animation-name: animation_error_1;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@-webkit-keyframes animation_error_1 {
  from {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(25deg);
  }
}

@-moz-keyframes animation_error_1 {
  from {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(25deg);
  }
}

@-o-keyframes animation_error_1 {
  from {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(25deg);
  }
}

@keyframes animation_error_1 {
  from {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(25deg);
  }
}

@-webkit-keyframes animation_error_2 {
  from {
    transform: rotate(-15deg);
  }
  to {
    transform: rotate(-20deg);
  }
}

@-moz-keyframes animation_error_2 {
  from {
    transform: rotate(-15deg);
  }
  to {
    transform: rotate(-20deg);
  }
}

@-o-keyframes animation_error_2 {
  from {
    transform: rotate(-15deg);
  }
  to {
    transform: rotate(-20deg);
  }
}

@keyframes animation_error_2 {
  from {
    transform: rotate(-15deg);
  }
  to {
    transform: rotate(-20deg);
  }
}

/* 小屏幕样式 */
@media (max-width: 768px) {
  .cont_error > h1 {
    font-size: 100px;
  }

  .cont_error > p {
    font-size: 18px;
  }

  .cont_aura_1 {
    width: 200px;
    right: -240px;
  }

  .cont_aura_2 {
    height: 200px;
    bottom: -201px;
  }
}

/* 超小屏幕样式 */
@media (max-width: 480px) {
  .cont_error > h1 {
    font-size: 70px;
  }

  .cont_error > p {
    font-size: 14px;
  }

  .cont_aura_1 {
    width: 150px;
    right: -190px;
  }

  .cont_aura_2 {
    height: 150px;
    bottom: -151px;
  }
}
