@use 'synergy-colors';
@use 'synergy-fonts';
@use 'synergy-animations';


//SPINER////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////77
.loader {
  position: relative;
  font-family: map-get(synergy-fonts.$bigTitle, font-family);
  font-weight: map-get(synergy-fonts.$bigTitle, font-weight);
  font-size: map-get(synergy-fonts.$bigTitle, font-size);
  line-height: map-get(synergy-fonts.$bigTitle, line-height);
  text-align: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to right, rgba(114, 107, 225, 0.2), rgba(206, 107, 255, 0.2), rgba(105, 248, 181, 0.2));

}

.loaderBox {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  animation: loader_513 2s linear infinite;
  margin-top: 10%;
}

.shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-radius: 15px;
}

.shape {
  background-color: map-get(synergy-colors.$blue, 300 );
  animation: rectangle_513 4s linear infinite;
  animation-delay: 2s;
}

@keyframes loader_513 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rectangle_513 {
  0% {
    transform: scale(1, 1);
    border-radius: 15px;
  }

  25% {
    border-radius: 30px;
    box-shadow: 0px 0px 5px rgba(133, 133, 133, 0.523);
    background-color: map-get(synergy-colors.$purple, 300 );
    transform: scale(0.9);
  }

  50% {
    border-radius: 20px;
    transform: scale(1.4);
    background-color: map-get(synergy-colors.$green, 300 );
    box-shadow: 2px 5px 50px rgba(90, 90, 90, 0.206);
  }
}
  

.loaderDots {
  height: 100%;
  width: 100%;
  margin-top: 1%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box {
  width: 20px;
  height: 20px;
  margin: 0 8px;
  border-radius: 50%;
  animation: jump_4123 1s ease-in-out infinite;
}

.box:nth-child(1) {
  background-color: map-get(synergy-colors.$blue, 300 );
  animation-delay: 0.2s;
}

.box:nth-child(2) {
  background-color: map-get(synergy-colors.$purple, 300 );
  animation-delay: 0.4s;
}

.box:nth-child(3) {
  background-color: map-get(synergy-colors.$blue, 300 );
  animation-delay: 0.6s;
}

.box:nth-child(4) {
  background-color: map-get(synergy-colors.$green, 300 );
  animation-delay: 0.8s;
}

@keyframes jump_4123 {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}



