/* Button Link Styles */
.button-link {
  font-size: 1rem; /* Readable size */
  font-weight: bold;
  font-style: italic;
  display: inline-block;
  margin-top: 10px;
  transition: all 0.3s ease-in-out; /* Smooth transition for multiple properties */
  background-color: #FDF997; /* Bright Yellow Background */
  color: #0000FD; /* Blue Text */
  padding: 10px 20px;
  border: 3px solid #003366; /* Dark Blue Border */
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer; /* Ensures clickable behavior */
}

/* Hover Effect (Mouse Users) */
.button-link:hover {
  background-color: #1f3f7f !important; /* Tribute blue */
  color: #FDF997 !important;           /* Soft yellow */
  transform: scale(1.3);
  font-size: 1.3rem;
}

.image-swap-button {
  width: 500px;
  height: 100px;
  background-image: url('/pics/500x100_yellow_soldier.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  border: 4px solid #1f3f7f;
  border-radius: 10px;
  cursor: pointer;
  transition: background-image 0.3s ease, transform 0.3s ease;
  display: block;
  margin: 2rem auto;
  padding: 0;
}

.image-swap-button:hover {
  background-image: url('/pics/500x100_blue_soldier.jpg');
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(253, 249, 151, 0.6);
}

/* Focus Effect (Keyboard Users) */
.button-link:focus-visible {
  outline: 5px solid #FDF997; /* High contrast yellow outline */
}

/* Active State (When Clicked) */
.button-link:active {
  background-color: #000000; /* Black */
  color: #FDF997; /* Bright Yellow */
}

.large-tribute {
  font-size: 3rem;
  padding: 36px 64px;
  border-width: 8px;
  min-width: 520px;
  max-width: 90vw;
  letter-spacing: 1.2px;
  line-height: 1.4;
  display: inline-block;
  box-sizing: border-box;
}

/* Visited Links */
.button-link:visited {
  color: #003366; /* Dark Blue */
}

/* Footer Button Adjustments */
.footer-links button {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  border: 3px solid #003366;
  background-color: #FDF997;
  color: #003366;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

/* Hover Effect for Footer Buttons */
.footer-links button:hover {
  background-color: #003366;
  color:  #FDF997;
  transform: scale(1.1);
}

.footer-links {
  list-style-type: none; /* Removes bullet points */
  padding: 0;
  margin: 0;
}

.footer-links li {
  display: block; /* Ensures each button appears on its own line */
  margin-bottom: 10px; /* Adds spacing between buttons */
}

/* Accessibility Enhancements */
button:focus {
  outline: 3px solid red; /* High-contrast focus */
}

.accessibility-icon {
  border: none;
  background-color: transparent;
}
button.accessibility-icon-button:focus img {
  outline: none;
}

.footer-links {
  list-style-type: none;
  padding-left: 0;
}

.footer-links li::marker {
  content: none;
}

.footer-links li::before {
  content: none;
  display: none;
}