/* Additional animations */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

body {
  margin: 0;
  padding: 0;
  background-image: url('./bg-3_tb.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 100vh;
}

@keyframes backgroundSlide {
  from {
    background-position: center 0;
  }
  to {
    background-position: center 100%;
  }
}

body.active {
  animation: backgroundSlide 10s linear infinite;
}

.container {
  background: rgba(235, 229, 229, 0.2);
  border-radius: 15px;
  padding: 20px;
  width: 400px;
  margin-right: 50px;
  display: flex;
  justify-content: space-between; /* Add this to push content to the left and right */
  align-items: center; /* Center vertically */
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.animation-container {
  flex: 1; /* Occupy remaining space on the left side */
  display: flex;
  justify-content: flex-start; /* Align content to the left */
  align-items: center; /* Center vertically */
  margin-left: 20px; /* Adjust margin as needed */
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;  /* Added padding to move the group to the right */
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  transform-origin: top left;
  transition: transform 0.3s ease;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.8);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  outline: none;
}

.form-group input:focus + label {
  transform: translateY(-20px) scale(0.8);
}

.submit-btn {
  width: 40%;
  padding: 10px;
  margin-left: 115px; /* Move the button to the right */
  background-color: rgb(104, 194, 87);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
/* Change header styles */
.header {
  font-family: 'Verdana', cursive;
  text-align: center;
  margin-bottom: 20px;
  color: rgb(104, 194, 87); /* Change header color */
  font-size: 28px; /* Change font size */
}
.marquee-heading {
  font-size: 24px;
  white-space: nowrap; /* Prevent line breaks within the marquee */
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
.form-group input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.8);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px; /* Adjust this value as needed */
}
.popup {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: none;
}

.popup p {
  margin-bottom: 15px;
}

.popup-btn {
  background-color: #4fa857;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-btn:hover {
  background-color: #449a4a;
}
.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.firework {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  transform-origin: center;
  animation: fireworkAnimation 2s linear infinite;
}

@keyframes fireworkAnimation {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  20%, 80% {
    opacity: 0;
    transform: scale(0.5);
  }
  40%, 60% {
    opacity: 0;
    transform: scale(0.3);
  }
}
/* Additional styles for animation */
.animation-container {
  font-family: 'Verdana', sans-serif;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  font-size: 24px;
  font-weight: bold;
  color: #4fa857;
  white-space: nowrap;
}