.info-popup {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-300%, -50%);
  animation: slideInpopup 3s ease-out forwards, floatpopup 6s ease-in-out infinite;
  animation-delay: 0s, 3s;
  opacity: 0;

  width: 936px;
  max-height: 70vh;
  overflow-y: auto;

  background: radial-gradient(circle at 30% 30%, #40e0d0 0%, #006d75 100%);
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  text-align: center;
  font-size: clamp(1.2rem, 2vw, 2rem);
  z-index: 10;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-radius: 160px;
}

.info-popup::before,
.info-popup::after {
  content: "";
  position: absolute;
  background: radial-gradient(circle at 30% 30%, #2a9c99 0%, #004347 100%);
  border-radius: 50%;
  z-index: -1;
}

.info-popup::before {
  width: 390px;
  height: auto;
  top: -180px;
  left: 80px;
}

.info-popup::after {
  width: 437px;
  height: auto;
  top: -200px;
  right: 80px;
}

@keyframes slideInpopup {
  0% {
    transform: translate(-300%, -50%) rotate(-4deg);
    opacity: 0;
  }
  40% {
    transform: translate(-180%, -50%) rotate(4deg);
    opacity: 0.5;
  }
  70% {
    transform: translate(-90%, -50%) rotate(-2deg);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
  }
}

@keyframes floatpopup {
  0%, 100% {
    transform: translate(-50%, -52%);
  }
  25% {
    transform: translate(-50%, -48%);
  }
  50% {
    transform: translate(-51%, -50%);
  }
  75% {
    transform: translate(-49%, -50%);
  }
}

.popup-heading {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-top: 1.5rem;
  font-weight: 900;
  color: var(--petrol-color);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.popup-text {
  font-size: clamp(2.3rem, 3.3vw, 3.5rem);
  line-height: 1.5;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}