*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
} 
body {
  font-family: Rubik, sans-serif;
  background-color: #ece4f3;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.back-home {
  position: absolute;
  top: 20px;
  left: 24rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #692b71;
  font-weight: bold;
}

.back-home .material-icons {
  font-size: 22px;
  margin-right: 5px;
}

.signup-container {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

.back-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #692b71;
}

.progress-container {
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 5px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #692b71, #9c27b0);
  transition: width 0.4s ease-in-out;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.password-container {
  position: relative;
}

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

.password-container .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.buttons{
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap:20px;
}

button {
  width: 100%;
  padding: 12px;
  background: #692b71;
  border: none;
  border-radius: 5px;
  font-weight: normal;
  color: white;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  opacity: 0.9;
}

.hearts-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.heart {
  position: absolute;
  color: #ff4081;
  font-size: 24px;
  animation: float 2s linear infinite;
  transform-origin: center;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(1);
  }
  50% {
    transform: translateY(-100px) scale(1.5);
  }
  100% {
    transform: translateY(-100vh) scale(1);
  }
}

h2 {
  font-size: 18px;
  color: #692b71;
  font-weight: normal;

}
.info {
  font-size: 12px;
  color: #692b71;
  text-align: justify;
}
input::placeholder {
  font-size: 12px;
}

@media (max-width: 500px) {
  .signup-container {
    width: 100%;
  }
  h2 {
    font-size: 18px;
    color: #692b71;
    font-weight: normal;
  
  }
}

@media (max-width: 660px) {
  .back-home {
    position: absolute;
    top: 20px;
    left: 12px;
  }
  .signup-container {
    width: 100%;
  }
  h2 {
    font-size: 18px;
    color: #692b71;
    font-weight: normal;
  
  }
}
