/* General page styling */
html, body {
  background-color: #0a1d37;
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png'); /* Example texture image */
  background-repeat: repeat;
  background-size: 1500px 1500px; /* Zoom in the texture */
  color: #e0e0e0;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
}

/* Flex container for header and main content */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #11284f;
}

.logo {
  font-size: 2em;
  font-weight: bold;
  color: #4db8ff;
}

.nav-tabs {
  display: flex;
  gap: 20px;
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png'); /* Example texture image */
  background-repeat: repeat;
  background-size: 300px 300px; /* Adjust size for better appearance */
  padding: 0px; /* Add padding to ensure buttons are not too close to the edges */
  padding-right: 5%;
  box-sizing: border-box; /* Include padding in width calculations */
}

.nav-tabs button {
  padding: 10px 15px;
  background-color: #4db8ff;
  color: #0a1d37;
  border: 10px;
  border-radius: 15px;
  cursor: pointer;
}

.nav-tabs button:hover {
  background-color: #66c2ff;
}

/* Main content layout with sidebar and content */
.main-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Sidebar with donate and community sections */
.sidebar {
  background-color: #132c51;
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png'); /* Example texture image */
  background-repeat: repeat;
  background-size: 1500px 1500px; /* Zoom in the texture */
  padding: 10px;
  border-radius: 10px;
  width: 250px; /* Fixed width for the sidebar */
  max-width: 25%; /* Ensure it doesn't take too much space on larger screens */
  box-sizing: border-box; /* Ensure padding doesn’t affect the width */
}

.sidebar h2 {
  margin-top: 10;
  color: #4db8ff;
}

.sidebar button {
  width: 100%;
  text-align: center;
  padding: 12px;
  margin-bottom: 10px; /* Add space between buttons */
}

/* Content area (chart and toggle) */
.content {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero section */
.hero {
  width: 100%;
  height: 170px;
  background-color: #11284f;
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png'); /* Example texture image */
  background-repeat: repeat;
  background-size: 1500px 1500px; /* Zoom in the texture */
  margin-bottom: 20px;
  border-radius: 10px;
  text-align: center;  
  color: #4db8ff;
  font-size: 2em;
  font-weight: bold;
  padding-top: 30px;
}

/* Plot container */
#myPlot {
  width: 100%;
  max-width: 700px;
  background-color: #132c51;
  padding: 20px;
  border-radius: 20px;
  margin: 0 auto;
}

/* Button styling */
button {
  padding: 10px 20px;
  background-color: #4db8ff;
  color: #0a1d37;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #66c2ff;
}

/* Story card container */
.story-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Individual story card styling */
.story-card {
  background-color: #132c51;
  border: 1px solid #4db8ff;
  padding: 20px;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  color: #e0e0e0;
}

.story-card h2 {
  color: #4db8ff;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.story-card p {
  margin: 5px 0;
}

.story-card p strong {
  color: #66c2ff;
}

/* Add hover effect on story card */
.story-card:hover {
  transform: scale(1.05);
  background-color: #0e3a68;
}

/* Statistic info card */
.statistics-info {
  background-color: #132c51;
  border: 1px solid #4db8ff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #e0e0e0;
  margin-bottom: 20px;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.statistics-info strong {
  color: #66c2ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    max-width: none;
    margin-bottom: 20px;
  }

  .story-cards-container {
    justify-content: flex-start;
  }
}

/* Card for displaying statistics info */
.statistics-info-card {
  background-color: #132c51;
  border: 1px solid #4db8ff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #e0e0e0;
  margin-bottom: 20px;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

/* Optional: Additional styling for text inside the card */
.statistics-info-card p {
  margin: 10px 0;
  font-size: 1.1em;
}
