body::before {
 content: "";
 position: fixed;
 /* or absolute */
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(255, 255, 255, 0.288);
 /* light overlay */
 z-index: -1;
 /* keeps it behind the content */
}

body {
    font-family: "Metal Mania";
    background-image: url('./images/a parchment-textured.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    font-size: 24px;
}

h1 {
    text-align: center;
    font-size: 48px;
    color: #4B3F72;
    text-shadow: 2px 2px 4px #aaa;
    margin-bottom: 20px;
    border: 5px solid #4B3F72;
    border-radius: 15px;
    background-color: #f5e6c4b7;
    position: sticky;
    box-shadow: 10px 10px 20px #339d9b;
    top: 0;
    animation: textGlowPulse 3s infinite ease-in-out;   
}

nav {
    border: 3px solid #d4af3721;
    background-color: #f5e6c4;
}

table {
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    width: 50%;
    box-shadow: 10px 10px 20px #339d9b;
    background-color: #f5e6c4b7;
    border-radius: 15px;
    border: 2px solid #4B3F72;
}

td {
    padding: 12px 15px;
    border-right: 1px solid #4B3F72;
    border-bottom: 1px solid #4B3F72;
    text-align: center;
}


/* === Links === */
a {
  color: #339d9b;                             /* Default link color */
  text-decoration: none;                                 /* No underline by default */
  display: inline-block;                                 /* Lets transform effects work properly */
}

a:hover {
  color: #b33a3a;                          /* Changes color on hover */
  text-decoration: underline;                           /* Adds underline when hovered */
  transform: scale(1.15) rotate(-5deg);                 /* Makes it bigger and tilted */
  animation: glowPulse 3s infinite ease-in-out;         /* Adds glowing pulse */
}

/* === Glowing Element === */
#glow {
  transition: transform 0.3s ease, filter 0.3s ease;   /* Smooth animation */
  filter: drop-shadow(0 0 10px #4B3F72);             /* Red glow around it */
  animation: glowPulse 3s infinite ease-in-out;        /* Pulsing glow effect */
}

/* === Glow Animation === */
@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px #603cd8);           /* Normal glow */
  }
  50% {
    filter: drop-shadow(0 0 20px #603cd8);           /* Brighter glow mid-pulse */
  }
}

@keyframes textGlowPulse {
  0%, 100% {
    text-shadow: 2px 2px 4px #aaa, 0 0 10px #603cd8;
  }
  50% {
    text-shadow: 2px 2px 4px #aaa, 0 0 20px #603cd8, 0 0 30px #603cd8;
  }
}

/* === Footer Styles === */
footer {
    margin-top: 50px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: auto;
    padding-bottom: 10px;
    height: 30px;
    text-align: center;
    background-color: #f5e6c4b7;
    border: 3px solid #4B3F72;
    border-radius: 15px 15px 0 0;
}

footer p {
    margin: 10px 0;
    color: #4B3F72;
}

.contact-info a {
    color: #339d9b;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #b33a3a;
    text-decoration: underline;
    transform: scale(1.1);
}