.content{
  vertical-align: top;
  background-color:#000000e6; /* Slightly more opaque for better readability */
  max-width: 600px;
  padding: 1rem; /* Add padding for better touch targets */
}

body {
  background-color: #000 !important;
  color: #000;
  animation: fadeColor .2s ease-out forwards;

}

a {
  color: #000;
  text-decoration: none !important;
  animation: fadeColor .2s ease-out forwards;
}

a:hover {
  color: #fff !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important; /* Thicker for better visibility */
  text-decoration-color: #fff !important;
  transition: all 0.2s ease-in-out;
}

* {
    font-family: "Afacad", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

@keyframes fadeColor {
  0% {
    color: #000;
  }
  100% {
    color: #e0e0e0; /* Improved contrast - WCAG AA compliant */
  }
}

/* Replace Bootstrap utilities */
.ms-3 {
  margin-left: 1rem;
}

.mt-3 {
  margin-top: 1rem;
}

/* Replace Bootstrap typography */
.h1 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.h5 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Replace Bootstrap list classes */
.list-inline {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.list-inline-item {
  display: inline-block;
}

.list-inline-item:not(:last-child) {
  margin-right: 1rem; /* Increased spacing for better touch targets */
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}