/* Reset default browser styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Set global font and background styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  margin: 0;
  padding: 0;
}

/* Center the form vertically and horizontally */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#logo {
  max-height: 200px;
  max-width: 100%;
  display: block;
  padding: 60px 0 20px 0;
}

h1 {
  text-align: center;
  color: #333333;
  margin-bottom: 10px;
  font-size: 32px;
}

/* Style form group container */
.form-group {
  width: 100%;
  margin-bottom: 15px;
}

/* Style form labels */
label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333333;
}

/* Style form inputs and select */
input,
select {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

/* Style form inputs and select on focus */
input:focus,
select:focus {
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Style form button */
button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background-color: #333333;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

/* Style form button on hover */
button:hover {
  background-color: #555555;
}

/* Style footer */
footer {
  background-color: #333333;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  border-radius: 20px;
  margin: 50px 0 20px 0;
  border: 2px solid darkred;
}

/* Style footer link */
footer a {
  color: #ffffff;
  text-decoration: none;
}

/* Style footer link on hover */
footer a:hover {
  text-decoration: underline;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }

  /* Adjust padding and font size for better mobile readability */
  label,
  input,
  select {
    padding: 8px;
    font-size: 14px;
  }

  .form-group {
    margin-bottom: 5px;
  }

  label {
    margin-bottom: 2px;
  }

  /* Reduce margin on footer */
  footer {
    margin-top: 20px;
  }
}
