*,
*::before,
*::after {
  box-sizing: border-box;
}
@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }
}

body {
 width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: 'EB Garamond', 'Georgia', serif;
  background:  linear-gradient(to bottom, #181818, #222222);
  color: #f5f5f5;
  font-size: 16px;

}

nav {
  background-color: #000000;
  box-shadow: 0 2px 5px rgba(255, 215, 0, 0.3); 
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
}

nav a {
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0 15px;
  color: #c8971c;
}

nav a:hover {
  color: #ffd700;
  transform: translateY(-3px);
  text-shadow: 0 0 5px #ffd700, 0 0 10px #ffcc00;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

h1 {
  text-align: center;
}

h2 {
  font-size: 1em;
  text-align: center;
}


#image{
  padding: 10px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background-color: #1a1a1a;
  border: 1px solid #cfb53b;
  border-radius: 8px;
}

#img-caption {
  text-align: center;
  font-style: italic;
  font-size: 0.95rem;
  color: #c0b283;
  
}

#tribute-info {
  padding: 10px;
  margin: 0;
  line-height: 32px; 
}

#timeline {
  margin: 40px 0;
  border: 4px double #c8971c;
  padding: 10px;
  font-size: 0.95rem;
  line-height: 19px; 
}

#timeline p:not(.no-border) {
  border-bottom: 1px dashed #c0b283;
  padding-bottom: 10px;
  
}


.event:hover, #image:hover {
  text-decoration: none;
  transform: translateY(-10px);
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

#info {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

#info a {
  color: #c0b283;
}

#info a:hover {
  text-decoration: underline;
  color: #ffd700;
}

nav a:focus,
#info a:focus {
  outline: 2px dashed #ffd700;
  outline-offset: 3px;
}