body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.form-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

label {
  font-size: 14px;
  color: #555;
}

.input-field {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.input-field:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #D4AF37;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #c39c30;
}

.switch-page {
  font-size: 14px;
  color: #555;
}

.switch-page a {
  color: #D4AF37;
  text-decoration: none;
}

.switch-page a:hover {
  text-decoration: underline;
}

#background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

@media (max-width: 1024px) {
  .form-container {
    width: 80%;
    padding: 20px;
  }

  h2 {
    font-size: 22px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 10px;
  }

  .input-field {
    font-size: 15px;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .form-container {
    width: 90%;
    padding: 15px;
  }

  h2 {
    font-size: 20px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 10px;
  }

  .input-field {
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 18px;
  }

  .form-group label {
    font-size: 12px;
  }

  .input-field {
    font-size: 14px;
    padding: 10px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 10px;
  }
}
