
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* Body Styling */
body {
  background-color: rgb(32, 32, 45);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 10px;
}

/* Form Container */
form {
  background-color: rgb(28, 28, 44);
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Inputs */
form input {
  background-color: rgba(44, 44, 70, 0.5);
  border: none;
  outline: none;
  color: white;
  padding: 10px;
  border-radius: 4px;
  flex-basis: 200px;
  flex-grow: 1;
  min-width: 0;
}

/* Button */
form button {
  background-color: rgba(120, 120, 143, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
  flex-basis: 100px;
  flex-grow: 1;
  min-width: 0;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: rgba(150, 150, 170, 0.8);
}

/* Responsive */

/* Extra small devices (400px and below) */
@media (max-width: 400px) {
  form input,
  form button {
    flex-basis: 100%;
  }
}

/* Small devices (576px and below) */
@media (max-width: 576px) {
  form {
    flex-direction: column;
  }
  form input,
  form button {
    flex-basis: 100%;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  form input {
    flex-basis: 48%;
  }
  form button {
    flex-basis: 100%;
  }
}

/* Small laptops (992px and below) */
@media (max-width: 992px) {
  form input {
    flex-basis: 45%;
  }
  form button {
    flex-basis: 100%;
  }
}

