/*
 Theme Name:   Arcachon
 Theme URI:    https://smartfire.pro
 Author:       Smartfire SAS
 Author URI:   https://smartfire.pro
 Template:     smartfire-wordpress-theme-v1
 Version:      1.0.0
*/

/* LOADER */

body.loading-screen {
  overflow: hidden !important;
}

.smartfire-lottie-loader {
  position: fixed;
  z-index: 1010;
  background-color: var(--loaderColor);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.smartfire-lottie-loader lottie-player {
  width: 100%;
  height: 100%;
}

.smartfire-lottie-loader > svg {
  content: "";
  position: absolute;
  bottom: -54px;
  width: 100%;
  height: 54px;
}

.smartfire-lottie-loader.hide {
  transition: 0.8s ease-in-out;
  transition-property: transform, background-color;
  transform: translateY(calc(-100vh - 54px));
  background-color: #202f46;
}

.smartfire-lottie-loader.hide lottie-player {
  transition: transform 0.8s ease-in-out;
  transform: scale(0.5);
}

.smartfire-lottie-loader.hide > svg {
  transition: transform 0.8s ease-in-out;
  transform: scaleY(0);
  transform-origin: top center;
}

.smartfire-lottie-loader.hide > svg > path {
  transition: fill 0.8s ease-in-out;
  fill: #202f46;
}

@keyframes fadeIn {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(1000px);
  }
}

@media screen and (max-width: 767px) {
  .smartfire-lottie-loader > svg {
    width: 148%;
    height: 86px;
    bottom: -84px;
  }

  .smartfire-lottie-loader.hide {
    transform: translateY(calc(-100vh - 86px));
  }

  .smartfire-lottie-loader.hide > svg {
    transition-duration: 0.6s;
  }
}

/* END LOADER */
