/* Preloader */

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #efefef;
  z-index: 9999;
}

/* Circle loader */

.logo-loading {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 380px;
  height: 88px;
  transform: translateY(-50px);
  -moz-transform: translateY(-50px);
  -o-transform: translateY(-50px);
  -ms-transform: translateY(-50px);
  -webkit-transform: translateY(-50px);
}

.logo-loading img {
  width: 100%;
  display: block;
}

#circle {
  display: block;
  position: absolute;
  top: 90px;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  height: 50px;
  width: 50px;
  border: 4px rgba(0, 0, 0, 0.25) solid;
  border-top: 3px solid #ffab40;
  border-bottom: 3px solid #438e6a;
  border-radius: 50%;
  -webkit-animation: spin 1s infinite linear;
  animation: spin 1s infinite linear;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0) scale(0.6);
  }

  100% {
    -webkit-transform: rotate(360deg) scale(1);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0) scale(0.6);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes spin1 {
  0% {
    -moz-transform: rotate(0deg) scale(0.6);
    -o-transform: rotate(0deg) scale(0.6);
    -ms-transform: rotate(0deg) scale(0.6);
    transform: rotate(0deg) scale(0.6);
  }

  50% {
    -moz-transform: rotate(359deg) scale(1);
    -o-transform: rotate(359deg) scale(1);
    -ms-transform: rotate(359deg) scale(1);
    transform: rotate(359deg) scale(1);
  }

  100% {
    -moz-transform: rotate(0) scale(0.6);
    -o-transform: rotate(0) scale(0.6);
    -ms-transform: rotate(0) scale(0.6);
    transform: rotate(0) scale(0.6);
  }
}

@media screen and (max-width: 980px) {
  .logo-loading {
    width: 300px;
    height: 69px;
  }

  #circle {
    top: 50px;
    height: 45px;
    width: 45px;
  }
}

@media screen and (max-width: 736px) {
  .logo-loading {
    width: 250px;
    height: 59px;
  }

  #circle {
    top: 40px;
    height: 40px;
    width: 40px;
  }
}

