/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure the body takes up the full height of the viewport */
}

header {
  background-color: #ffffff;
  color: #000;
  padding: 20px;
  text-align: center;
}

a:link {
  color: #ff0000; /* Unvisited link color (red) */
}

a:visited {
  color: #00ff00; /* Visited link color (green) */
}

a:hover {
  color: #ffa500; /* Mouse over link color (orange) */
}

a:active {
  color: #0000ff; /* Selected link color (blue) */
}

nav {
  text-align: center;
  margin: 20px 0;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.container {
  flex: 1; /* Allow the container to grow and take up remaining space */
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto; /* Enable vertical scrolling if content overflows */
}

h1,
h2 {
  color: #333;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

table th {
  background-color: #007bff;
  color: #fff;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  position: sticky; /* Ensure the footer stays at the bottom of the viewport */
  bottom: 0;
  width: 100%;
}
