body {
  font-family: Arial, sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background-color: #faf3e0; /* Soft cream background */
}

.container {
  max-width: 90%; /* Adjust width for smaller screens */
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #8b5e3c; /* Warm brown for main heading */
  font-size: 1.8rem; /* Scalable font size */
  margin-bottom: 15px;
}

.description {
  text-align: center;
  font-size: 1rem; /* Base font size for descriptions */
  color: #2e2e2e; /* Neutral dark gray */
  margin: 15px 0;
  line-height: 1.6;
}

.description a {
  color: #46758d; /* Muted teal for links */
  text-decoration: none;
}

.description a:hover {
  text-decoration: underline; /* Underline on hover */
  color: #345867; /* Darker teal on hover */
}

details {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
}

details summary {
  font-size: 1.2rem; /* Larger font size for section titles */
  font-weight: bold;
  cursor: pointer;
  color: #5f4b32; /* Darker beige for section titles */
}

details summary:hover {
  text-decoration: underline; /* Feedback for interaction */
}

details summary:before {
  content: "▶"; /* Right arrow for collapsed state */
  font-size: 14px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

details[open] summary:before {
  content: "▼"; /* Down arrow for expanded state */
}

.content {
  margin-top: 10px;
}

h2 {
  color: #8b5e3c; /* Warm brown for section headings */
  font-size: 1.4rem; /* Scalable heading size */
  margin-top: 15px;
}

ul {
  padding-left: 25px; /* Better spacing for bullet points */
}

ul li {
  margin-bottom: 10px;
  color: #2e2e2e; /* Neutral dark gray */
}
/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #46758d; /* Teal background */
  color: white;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: none; /* Hidden by default */
  z-index: 1000; /* Ensure it’s above other elements */
  text-align: center;
}
/* Styling for Code Blocks */
.code-block {
  background-color: #f5f5f5; /* Light gray background */
  border: 1px solid #ddd; /* Subtle border */
  border-radius: 5px; /* Rounded corners */
  padding: 10px; /* Add padding inside the block */
  margin: 15px 0; /* Add spacing above and below the block */
  overflow-x: auto; /* Enable horizontal scrolling for long lines */
}

.code-block pre {
  margin: 0; /* Remove default margin */
  font-family: 'Courier New', Courier, monospace; /* Monospaced font */
  font-size: 14px; /* Adjust font size for readability */
  line-height: 1.5; /* Better line spacing */
  color: #333; /* Dark text for contrast */
}

.back-to-top:hover {
  background-color: #345867; /* Darker teal on hover */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem; /* Slightly smaller heading for mobile */
  }

  .description {
    font-size: 0.9rem; /* Adjust description size */
    margin: 10px 0;
  }

  details summary {
    font-size: 1rem; /* Adjust section title size */
  }

  h2 {
    font-size: 1.2rem; /* Adjust heading size for mobile */
  }

  ul {
    padding-left: 20px; /* Reduce bullet point indentation */
  }
}
