#logo-container {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.animation {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 180px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 50px;
}

.animation__plane {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  animation: flight 3s ease-in-out infinite alternate;
}

.animation__plane img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.animation__plane--shadow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 60px;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  animation: flightShadow 3s ease-in-out infinite alternate;
}

.animation__cloud {
  position: absolute;
}

.animation__cloud--back {
  top: 10%;
  left: 20%;
  width: 120px;
  height: 48px;
  opacity: 0.6;
  animation: cloudBack 10s linear infinite;
}

.animation__cloud--back .cloud-svg {
  filter: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(200%) hue-rotate(180deg) brightness(1.1)
    contrast(0.9);
  opacity: 0.8;
}

.animation__cloud--middle {
  top: 30%;
  left: 60%;
  width: 90px;
  height: 36px;
  opacity: 0.7;
  animation: cloudMiddle 8s linear infinite;
}

.animation__cloud--middle .cloud-svg {
  filter: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(200%) hue-rotate(180deg) brightness(1.1)
    contrast(0.9);
  opacity: 0.7;
}

.animation__cloud--front {
  top: 60%;
  left: 10%;
  width: 105px;
  height: 42px;
  opacity: 0.8;
  animation: cloudFront 6s linear infinite;
}

.animation__cloud--front .cloud-svg {
  filter: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(200%) hue-rotate(180deg) brightness(1.1)
    contrast(0.9);
  opacity: 0.9;
}

.cloud-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.2) saturate(0.8);
}

.animation__loader {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  opacity: 0.5;
  background: linear-gradient(
    90deg,
    #e4170d 0%,
    #e4170d 20%,
    #fc662c 20%,
    #fc662c 40%,
    #febf18 40%,
    #febf18 60%,
    #33ac97 60%,
    #33ac97 80%,
    #e4170d 80%,
    #e4170d 100%
  );
  background-size: 500% 100%;
  border-radius: 2px;
  animation: colorBars 3s linear infinite;
}

@keyframes flight {
  0% {
    transform: translate(-50%, -50%);
  }
  25% {
    transform: translate(-50%, -60%);
  }
  75% {
    transform: translate(-50%, -40%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

@keyframes flightShadow {
  0% {
    transform: translate(-50%, 0) scale(0.8);
    opacity: 0.2;
  }
  25% {
    transform: translate(-50%, 0) scale(0.9);
    opacity: 0.15;
  }
  75% {
    transform: translate(-50%, 0) scale(1.1);
    opacity: 0.25;
  }
  100% {
    transform: translate(-50%, 0) scale(0.8);
    opacity: 0.2;
  }
}

@keyframes cloudFront {
  0% {
    transform: translate(300%, -200%);
  }
  100% {
    transform: translate(-700%, 200%);
  }
}

@keyframes cloudMiddle {
  0% {
    transform: translate(200%, -150%);
  }
  100% {
    transform: translate(-500%, 150%);
  }
}

@keyframes cloudBack {
  0% {
    transform: translate(250%, -180%);
  }
  100% {
    transform: translate(-600%, 180%);
  }
}

@keyframes colorBars {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

#logo-container.sm .animation {
  height: 120px;
  max-width: 300px;
}

#logo-container.sm .animation__plane {
  width: 40px;
  height: 40px;
}

#logo-container.sm .animation__cloud--back {
  width: 60px;
  height: 24px;
}

#logo-container.sm .animation__cloud--middle {
  width: 45px;
  height: 18px;
}

#logo-container.sm .animation__cloud--front {
  width: 50px;
  height: 20px;
}

#logo-container.lg .animation {
  height: 250px;
  max-width: 600px;
}

#logo-container.lg .animation__plane {
  width: 80px;
  height: 80px;
}

#logo-container.lg .animation__cloud--back {
  width: 100px;
  height: 40px;
}

#logo-container.lg .animation__cloud--middle {
  width: 75px;
  height: 30px;
}

#logo-container.lg .animation__cloud--front {
  width: 85px;
  height: 34px;
}

.loader-animation__text {
  margin: 16px 0 0;
  color: #233d44;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}
