/* General page styling */
body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header section */
header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  gap: 15px;
}

#logo {
  max-width: 50px;
  height: auto;
}

.header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

header h1 {
  font-size: 1.2rem;
  margin: 0;
}

header p {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
}

/* Main content layout */
main {
  flex: 1;
}

/* Story Section */
.story-section {
  padding: 60px 20px;
  background: #f7f7f7;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
}

.story-container h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin: 0 0 20px 0;
  font-weight: bold;
}

.story-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin: 0 0 50px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.story-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Story Text */
.story-text {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.story-chapter {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e1e5e9;
}

.story-chapter:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.story-chapter h2 {
  font-size: 1.8rem;
  margin: 0 0 20px 0;
  color: #3b82f6;
  font-weight: bold;
}

.story-chapter p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Story Sidebar */
.story-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.milestone {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.milestone h3 {
  font-size: 1.3rem;
  margin: 0 0 15px 0;
  color: #3b82f6;
  font-weight: bold;
}

.milestone p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.milestone ul {
  margin: 0;
  padding-left: 20px;
  color: #666;
}

.milestone li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.milestone li:last-child {
  margin-bottom: 0;
}

/* Footer styling */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 16px 0;
  font-size: 0.9rem;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-text,
  .milestone {
    padding: 30px 20px;
  }
  
  .story-container h1 {
    font-size: 2rem;
  }
  
  .story-intro {
    font-size: 1.1rem;
  }
  
  .story-chapter h2 {
    font-size: 1.5rem;
  }
  
  .story-chapter p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .story-section {
    padding: 40px 15px;
  }
  
  .story-text,
  .milestone {
    padding: 25px 15px;
  }
  
  .story-container h1 {
    font-size: 1.8rem;
  }
  
  .story-intro {
    font-size: 1rem;
  }
  
  .story-chapter h2 {
    font-size: 1.3rem;
  }
  
  .story-chapter p {
    font-size: 0.95rem;
  }
}
