/* login.css */

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-image: url('../img/DJI_0088.JPG');
  background-size: cover; /* Make the image cover the entire background */
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional: Fixed background */
  margin: 0;
  padding: 0;
}

nav {
  font-family: Arial, sans-serif;
  font-size: 35px;
  height: 60px;
  background: grey;
  padding: 10px;
  align-items: center;
  grid-gap: 24px;
  margin: 0 auto; /* Center the nav horizontally */
  text-align: center; /* Center the text horizontally */
}

a {
  text-decoration: none;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120vh;
  margin: 0; /* Add margin and padding to body */
  padding: 0;
}

.form {
  background-color: white;
  width: 400px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.title {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 20px;
}

.input-container {
  margin-bottom: 20px;
  text-align: left;
}

.input {
  width: 100%; /* Make input fields full width */
  padding: 10px;
  border: none;
  background-color: #f8f8f8;
  border-radius: 5px;
  outline: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.input:focus {
  background-color: #999;
}

/* Adjust button styles for mobile */

.home-button {
  display: block;
  width: 100%;
  background-color: #4ef154;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.home-button:hover {
  background-color: #45a049;
}

.home-user-button {
  display: block;
  width: 100%;
  background-color: #0ae4d2;
  color: black;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.home-user-button:hover {
  background-color: #093be0;
}

.home-forgot-button {
  display: block;
  width: 100%;
  background-color: #e4bc0a;
  color: black;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.home-forgot-button:hover {
  background-color: #e07c09;
}

/* Media query for smaller screens (e.g., phones) */

@media screen and (max-width: 600px) {
  /* Your mobile-specific styles here */
  body {
    font-size: 14px; /* Adjust font size for smaller screens */
  }
  nav {
    font-size: 24px; /* Adjust font size for smaller screens */
  }

  .form {
    width: 100%; /* Make the form full width for small screens */
    max-width: none; /* Remove the maximum width for small screens */
  }

  .input {
    font-size: 14px;
  }
}
