/* PRELOADER */
.preloader {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99999;
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.86, 0, 0.09, 1);
    -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.09, 1);
    transition-delay: 1s;
    transition-delay: 1s;
  }
  .preloader .loadbar {
    width: 0%;
    height: 100%;
    max-height: 6px;
    background: #e3e3e3;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    overflow: hidden;
  }
  .preloader figure {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fade 0.30s;
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.86, 0, 0.09, 1);
    -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.09, 1);
    position: relative;
  }
  .preloader figure span {
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    text-align: center;
    font-size: 14px;
    font-family: 'pingfang',sans-serif;
  }
  .preloader figure img {
    height: 110px;
    display: inline-block;
    opacity: 1;
    /* animation:rotateClockwise 5s linear infinite; */
  }
  
  @keyframes fade {
    0% {
      transform: translateY(-50px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* @keyframes rotateClockwise{
    from{
        transform: rotate(360deg);
    }
    to{
        transform: rotate(0deg);
    }
  } */

  .page-loaded .preloader {
    height: 0;
  }
  
  .page-loaded .preloader .loadbar {
    max-height: 100%;
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.86, 0, 0.09, 1);
    -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.09, 1);
  }
  
  .page-loaded .preloader figure {
    transform: translateY(50px);
    opacity: 0;
  }  

  @media screen and (max-width:767px) {
    .preloader figure span {
        font-size: 10px;
        font-family: system-ui, sans-serif;
    }
    .preloader figure img {
        height: 90px;
    }
  }