/* Base menu styling */
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #1a1a1a;
}

/* Menu items */
.menu li {
  margin: 10px;
}

/* Links */
.menu a {
  display: block;
  padding: 10px 15px;
  color: #ffffff;
  background-color: #2f4f4f;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: 1.65rem; /* Smaller font size */
  #font-size: 9px; /* Smaller font size */
}

/* Hover effect */
.menu a:hover {
  background-color: #001f3f;
}

/* Responsive stacking on small screens */
@media screen and (max-width: 600px) {
  .menu ul {
    flex-direction: column;
    align-items: center;
  }

  .menu li {
    width: 100%;
    text-align: center;
  }

  .menu a {
    font-size: 0.9rem; /* Slightly larger on small screens for readability */
  }
}