/* Apply Roboto font globally */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;                 /* Remove default browser margins */
  padding: 3cm;              /* Increased gap on all sides for a bigger margin */
  line-height: 1.6;          /* Maintain good readability */
  background-color: #fafafa; /* Light background for a softer feel */
  color: #333;               /* Standard dark text color */
  text-align: justify;       /* Ensure the text is justified */
  box-sizing: border-box;    /* Include padding in width/height calculations */
}

/* Styling for headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;          /* Use bold weights for headings */
  margin-top: 1rem;          /* Space above headings */
  margin-bottom: 0.5rem;     /* Space below headings */
  color: #222;               /* Slightly darker color for headings */
}

/* Subtle underlining for <h1> to distinguish main title */
h1 {
  border-bottom: 1px solid #ddd;  /* Thin underline for the main title */
  padding-bottom: 0.2rem;         /* Minimal padding below the title */
}

/* Add styles for links */
a {
  color: #007acc;             /* Blue links for visibility */
  text-decoration: none;
}
a:hover {
  text-decoration: underline;  /* Underline on hover */
}

/* Add styles for tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;            /* Add space above and below tables */
  background-color: #fff;     /* White background for contrast */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
th, td {
  border: 0.5px solid #ddd;  /* Thin borders for table cells */
  padding: 6px 8px;          /* Reduced padding for compact cells */
  text-align: left;
  font-size: 0.85rem;        /* Slightly smaller font size for tables */
}
th {
  background-color: #f4f4f4; /* Light gray background for table headers */
  font-weight: 500;
  text-transform: uppercase; /* Uppercase for headers */
}

/* Add styles for block quotes */
blockquote {
  margin: 1rem 0;                /* Space around blockquotes */
  padding: 0.5rem;               /* Padding inside blockquotes */
  border-left: 3px solid #007acc; /* Highlight with a left border */
  background-color: #f9f9f9;
  font-style: italic;
  color: #555;
}

/* Add styles for lists */
ul, ol {
  margin: 1rem 0;          /* Space for lists */
  padding-left: 1.5rem;    /* Indent lists slightly */
}
li {
  margin-bottom: 0.5rem;   /* Space between list items */
}

/* Add styles for code blocks */
pre, code {
  font-family: 'Courier New', Courier, monospace;
  background-color: #f4f4f4;
  color: #d6336c;
  padding: 0.5rem;         /* Padding inside code blocks */
  border-radius: 3px;
  font-size: 0.9rem;       /* Slightly smaller font size */
}
pre {
  overflow-x: auto;        /* Enable horizontal scrolling for long code */
  margin: 1rem 0;          /* Space around code blocks */
}

/* Add a footer style */
footer {
  margin-top: 1.5rem;      /* Space above footer */
  text-align: center;
  font-size: 0.8rem;       /* Smaller font size for the footer */
  color: #666;
  border-top: 1px solid #ddd;
  padding-top: 0.5rem;     /* Padding inside footer */
}
