/* PRELOADER CSS */

/* first loader css */

#loader {
  position: absolute;
  background: white;
  width: 100%;
  height: 100vh;
  top: 0px;
  left: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.notLoaded {
  height: 100vh;
  overflow: hidden;
  position: fixed;
  margin: 0px;
  width: 100%;
}

.page-loader .page-loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 12px;
}

.img {
  background-image: url('../images/logo.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: calc(30px + (40 - 30) * ((100vw - 320px) / (1920 - 320)));
  height: calc(30px + (40 - 30) * ((100vw - 320px) / (1920 - 320)));
  animation: 2s anim-lineXY ease-out infinite;
}

.waviy {
  /* font-family: 'Alfa Slab One', cursive; */
  font-family: "Public Sans, sans-serif";
  position: relative;
  display: inline-block;
  color: #000;
  text-transform: uppercase;
  animation: anim-lineYX 2s infinite;
  animation-delay: calc(.1s * var(--i));
  font-size: calc(22px + (30 - 22) * ((100vw - 320px) / (1920 - 320)));
}

.waviy img {
  height: calc(23px + (36 - 23) * ((100vw - 320px) / (1920 - 320)));
}

@keyframes waviy {

  0%,
  40%,
  100% {
    transform: translateY(0)
  }

  20% {
    transform: translateY(-20px)
  }
}

@keyframes anim-lineYX {
  0% {
    opacity: 0;
    transform: translateX(80%);
  }

  20% {
    opacity: 0;
  }

  50% {
    opacity: 1;
    transform: translateX(0%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes anim-lineXY {
  0% {
    opacity: 0;
    transform: translateX(-80%);
  }

  20% {
    opacity: 0;
  }

  50% {
    opacity: 1;
    transform: translateX(0%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}