* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url('../img/as.PNG') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

.signup-container {
  width: 350px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: slideDown 1s ease;
  z-index: 2;
  position: relative;
}

.signup-container h1 {
  text-align: center;
  color: #e0601a;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

input {
  width: 100%;
  height: 45px;
  margin-bottom: 10px;
  padding: 10px;
  background-color: rgba(150, 196, 171, 0.9);
  border: none;
  border-radius: 8px;
  outline: none;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 40%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.1rem;
  color: #333;
  user-select: none;
}

button {
  width: 100%;
  height: 45px;
  background: #0e2512;
  color: #e0601a;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 10px;
}

.error-message {
  color: red;
  font-size: 0.9rem;
  margin: 4px 0 10px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-objects {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
  padding: 0 20px;
}

.animated-objects .left-img,
.animated-objects .right-img {
  width: 120px;
  max-width: 20vw;
}

.animated-objects .left-img {
  animation: floatRight 5s ease forwards;
}

.animated-objects .right-img {
  animation: floatLeft 5s ease forwards;
}

@keyframes floatRight {
  0% {
    transform: translateX(100vw);
    opacity: 1;
  }

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

@keyframes floatLeft {
  0% {
    transform: translateX(-100vw);
    opacity: 1;
  }

  100% {
    transform: translateX(-60.5vw);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .animated-objects {
    display: none;
  }

  .signup-container {
    width: 90%;
    padding: 30px 20px;
  }
}

.hidden {
  display: none;
}