/* General Styles */
body {
  background: url("/images/background-1st-page.jpg");
  background-size: cover; /* Cover the entire body */
  background-position: center; /* Center the background */
  background-repeat: no-repeat; /* Prevent repeating */
}

/* Header */
header {
  background: #076a22;
  color: #ffffff;
  text-align: center;
  margin-bottom: auto;
}

.logo {
  height: 180px;
  display: flex;
  justify-content: center; /* Center logo horizontally */
  width: 150px; /* Set a fixed width for logo */
  margin: 0 auto;
}

nav ul {
  list-style: none; /* Remove bullet points */
  padding: 0; /* Remove default padding */
  margin: 10px 0; /* Margin for spacing */
}

nav ul li {
  display: inline; /* Display items inline */
  margin: 0 15px; /* Space between navigation items */
}

nav ul li a {
  color: white; /* White text for links */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Bold text */
}

nav ul li a:hover {
  text-decoration: underline; /* Underline on hover */
}

/* Main Content */
div.main {
  width: 400px;
  margin: 100px auto 0; /* Center content and adjust top margin */
}

h2 {
  text-align: center;
  padding: 20px;
  font-family: 'Times New Roman', Times, serif;
}

div.register {
  background-color: rgb(255, 255, 255);
  width: 100%;
  max-width: 400px; /* Limit width for better layout */
  font-size: 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
  color: #000;
  margin: auto; /* Center the register div */
  padding: 20px;
}

form#register {
  margin: 20px;
}

label {
  font-family: 'Times New Roman', Times, serif;
  font-size: 18px;
  font-style: italic;
}

input#name {
  width: 100%;
  max-width: 300px; /* Maintain a limit for input width */
  border: 1px solid rgb(0, 0, 0);
  border-radius: 3px;
  outline: 0;
  padding: 7px;
  background-color: #fff;
  box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.3);
}

input[type="submit"] {
  width: 100%;
  max-width: 200px; /* Ensure it fits well within the container */
  padding: 7px;
  font-size: 16px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 600;
  border: none;
  border-radius: 3px;
  background-color: white;
  color: black;
  cursor: pointer;
  border: 1px solid rgb(0, 0, 0);
  margin-bottom: 20px;
}

label, span, h2 {
  text-shadow: 1px 1px 5px rgb(255, 255, 255);
}

/* Footer */
.footer {
  background-color: #0c4c1c;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  width: 30%;
  text-align: center;
}

.footer-logo img {
  width: 100px; /* Adjust width for better layout */
  height: auto;
  object-fit: contain;
}

.footer-contact {
  width: 35%;
  text-align: center;
}

.footer-contact h4 {
  margin-bottom: 10px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 10px;
}

.footer-contact li i {
  margin-right: 10px;
  font-style: normal;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
  }
  .footer-logo, .footer-contact {
      width: 100%;
      text-align: center;
      margin-bottom: 20px;
  }
  .footer-contact ul {
      padding-left: 0;
  }
}
