/* =======================================================Début du chargement */
#preload .box1 {
  background: #c43333;
  top: 0;
  left: 0;
  position: fixed;
  width: 50%;
  height: 100%;
  z-index: 9999999;
  overflow: hidden;
  -webkit-animation: animate-box 2s;
  -moz-animation: animate-box 2s;
  -ms-animation: animate-box 2s;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}

#preload .box2 {
  background: #c43333;
  top: 0;
  right: 0;
  position: fixed;
  width: 50%;
  height: 100%;
  z-index: 9999999;
  overflow: hidden;
  -webkit-animation: animate-box 2s;
  -moz-animation: animate-box 2s;
  -ms-animation: animate-box 2s;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}

.wrapper {
  width: 900px;
  margin: 0 auto;
}

#preload {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  overflow: hidden;
}

#preload .line {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #24a4e5;
  -webkit-animation: animate-line 1s;
  -moz-animation: animate-line 1s;
  -ms-animation: animate-line 1s;
  opacity: 0;
  z-index: 999999999;
}

@-webkit-keyframes animate-line {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
    opacity: 1;
  }
}

@keyframes animate-line {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
    opacity: 1;
  }
}
@-webkit-keyframes animate-box {
  0% {
    width: 50%;
  }
  100% {
    width: 0;
  }
}
@keyframes animate-box {
  0% {
    width: 50%;
  }
  100% {
    width: 0;
  }
}
/* =======================================================Fin du chargement */