body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: radial-gradient(circle, rgba(56,0,0,0.9136029411764706) 29%, rgba(245,8,9,1) 100%);
}

.login-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fade-in 0.5s ease-out;
  max-width: 400px; /* Set a max width for the login container */
  width: 100%; /* Make it responsive */
  box-sizing: border-box; /* Include padding in width calculation */
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #4CAF50;
}

button {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease-in-out;
  margin-bottom: 10px;
}

button:hover {
  background-color: #45a049;
}

@keyframes fade-in {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 600px) {
  .login-container {
      margin: 20px; /* Reduce margin on smaller screens */
      padding: 15px; /* Reduce padding on smaller screens */
  }
}
