body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #1b140f;
  color: #e6d3b3;
}

header {
  background: #3b2a1a;
  padding: 20px;
  text-align: center;
}

nav a {
  margin: 0 10px;
  color: #d2b48c;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #ffffff;
}

main {
  padding: 20px;
}

footer {
  text-align: center;
  padding: 10px;
  background: #3b2a1a;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 50px auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: #8b5a2b;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.container {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.container::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background: #fff;
  border: 3px solid #8b5a2b;
  top: 25px;
  border-radius: 50%;
}

.right::before {
  left: -8px;
}

.content {
  background: #2a1e14;
  padding: 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.content:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(139, 90, 43, 0.6);
}

.details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: #d2b48c;
}

.content:hover .details {
  opacity: 1;
  max-height: 200px;
  margin-top: 10px;
}

.quiz-box {
  max-width: 700px;
  margin: 50px auto;
  background: #2a1e14;
  padding: 20px;
  border-radius: 10px;
}

.question {
  font-size: 20px;
  margin-bottom: 15px;
}

.option {
  display: block;
  background: #3b2a1a;
  color: #e6d3b3;
  padding: 10px;
  margin: 10px 0;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.option:hover {
  background: #8b5a2b;
}

button {
  background-color: #5a3e2b;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin-top: 10px;
  cursor: pointer;
}

button:hover {
  background-color: #8b5a2b;
}

#easterEgg {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  opacity: 0;
  cursor: pointer;
}

#eggMessage {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #2a1e14;
  color: #e6d3b3;
  padding: 20px;
  border: 2px solid #8b5a2b;
  border-radius: 8px;
  text-align: center;
  z-index: 999;
}

@media (max-width: 768px) {
  nav {
    display: block;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  .timeline::after {
    left: 20px;
  }

  .container {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
  }

  .container::before {
    left: 10px;
  }

  .right {
    left: 0;
  }
}