<style>
.reveal .title {
  font-size: 1.5em; /* Adjust size as needed for titles */
  line-height: 1.0;
}

/* Style for the body text */
.reveal body {
  font-size: 0.5em; /* Set a more standard font size for body text */
  color: #333333; /* Dark gray color for readability */
  line-height: 1.5; /* Improved line spacing for readability */
  font-family: Arial, sans-serif; /* Set a default font family */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}

/* Style for table captions */
.reveal caption {
  caption-side: top;
  text-align: left;
  font-weight: bold;
  font-size: 0.9em; /* Adjusted font size */
  color: #333333;
}

/* Style for main headers (h1) */
.reveal h1 {
  font-size: 0.1; /* Larger size for main headers */
  color: rgb(8, 8, 8); /* Darker font color */
  background-color: transparent; /* Remove background color */
  padding: 8px; /* Reduced padding */
  margin-bottom: 15px; /* Reduced space below the header */
  border-radius: 5px; /* Rounded corners */
}

/* Style for subheaders (h2) */
.reveal h2 {
  font-size: 1.0em; /* Adjusted font size */
  color: white; /* White font color */
  background-color: rgb(110, 17, 153); /* Purple background */
  padding: 6px; /* Reduced padding */
  margin-bottom: 10px; /* Reduced space below the header */
  border-radius: 5px;
}

/* Style for smaller headers (h3) */
.reveal h3 {
  font-size: 1.2em; /* Adjusted font size */
  color: white; /* White font color */
  background-color: #333333; /* Darker background for contrast */
  padding: 4px; /* Added padding for consistency */
  margin-bottom: 8px; /* Reduced space below the header */
  border-radius: 5px; /* Rounded corners */
}

/* Style for topics or specific sections */
.topic {
  font-size: 1em; /* Standard font size */
  font-weight: bold;
  color: #333333; /* Darker color for better readability */
  margin-top: 15px; /* Reduced space above the section */
  margin-bottom: 8px; /* Reduced space below the section */
  padding: 4px; /* Reduced padding */
  background-color: #F0F8FF; /* Light blue background */
  border-left: 4px solid #1E90FF; /* Slightly thinner blue left border */
}

.reveal table {
  margin: auto;
  width: 100% !important;
  border-collapse: collapse;
  font-size: 0.6em;  /* Adjust based on your content */
  line-height: 1.2;  /* Tighter line height */
  border-bottom: 2px solid #2c3e50;  /* Added table bottom border */
}

.reveal table th,
.reveal table td {
  padding: 0.2em 0.3em;  /* Reduced padding */
  border-bottom: 1px solid;
  white-space: nowrap;  /* Prevents text wrapping */
}

.reveal .table-caption {
  font-size: 0.8em;  /* Smaller caption size */
  margin-bottom: 0.5em;
}

</style>