/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  padding: 20px;
}

/* Main Container */
#main {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Title Styles */
#title {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 2.5rem;
}

.subtitle {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.2rem;
  color: #7f8c8d;
}

/* Image Container */
#img-div {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 5px;
  text-align: center;
}

#image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}

#img-caption {
  margin-top: 15px;
  font-style: italic;
  color: #555;
}

/* Timeline Section */
.timeline-title {
  text-align: center;
  margin: 30px 0 20px;
  color: #2c3e50;
  font-size: 1.8rem;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.timeline-item {
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 3px solid #27ae60;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #27ae60;
}

.timeline-date {
  font-weight: bold;
  color: #27ae60;
  margin-bottom: 5px;
}

/* Quote Section */
.quote-section {
  background-color: #f9f9f9;
  padding: 30px;
  margin: 30px 0;
  border-left: 5px solid #27ae60;
  font-style: italic;
}

.quote-author {
  text-align: right;
  margin-top: 10px;
  font-weight: bold;
}

/* Tribute Info */
#tribute-info {
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Link Styles */
#tribute-link {
  display: block;
  text-align: center;
  margin: 30px auto;
  padding: 15px 30px;
  background-color: #27ae60;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
  max-width: 300px;
}

#tribute-link:hover {
  background-color: #219653;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 30px;
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  #main {
    padding: 15px;
  }

  #title {
    font-size: 2rem;
  }

  .timeline-title {
    font-size: 1.5rem;
  }
}
