/* Responsive design - adjust layout for smaller screens */
.bold {
  font-weight: bolder;
}

.highlight-green {
  color: #00ff91;
}

.highlight-orange {
  color: #ffbb00;
}

.highlight-blue {
  color: #00bfff;
}

.highlight-red {
  color: #ef8080;
}

/* Set the base font size */
html {
  font-size: 16px; /* This is the base size (16px), which can scale based on viewport width */
}

/* Reset default browser styles */
html, body, h1, h2, h3, p, ul, ol, li {
  margin: 0;
  padding: 0;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

/* Set a default font family and size */
body {
  height: 100vh; /* Ensure body takes full height of viewport */
  display: flex;
  flex-direction: column;
  font-size: 1rem; /* 16px base font size */
  line-height: 1.5;
  font-family: Arial, sans-serif;
  background-color: rgb(60, 60, 60);
  color: rgb(217, 217, 217);
  box-sizing: border-box;
}

div {
  width: 100%;
}

/* Style for headings */
h1 {
  font-size: 2.5rem; /* 2.5 x 16px = 40px */
  margin-bottom: 20px;
  margin-top: 10px;
}

h2 {
  font-size: 2rem; /* 2 x 16px = 32px */
  margin-bottom: 10px;
}

h3 {
  font-size: 1.75rem; /* 1.75 x 16px = 28px */
  margin-bottom: 10px;
}

/* Basic styling for paragraphs */
p {
  font-size: 1rem; /* 1 x 16px = 16px */
  margin-block-end: 15px;
  margin-block-start: 15px;
}

/* Style for links */
a {
  color: rgb(175, 175, 175);
  text-decoration: none;
}
a:hover {
  color: rgb(232, 232, 232);
  text-decoration: underline; /* Underline links on hover */
}

/* Style for lists */
ul, ol {
  margin-bottom: 15px;
}

/* Style for list items */
li {
  margin-bottom: 5px;
}

/* Add a border to images */
img {
  max-width: 100%; /* Make images responsive */
}

/* Optional: Add some basic styling to the table */
table {
  border-collapse: collapse;
  width: 100%;
  background-color: rgb(53, 53, 53);
  margin: 1.5em auto;
  table-layout: fixed;
  display: table;
}

th, td {
  border: 2px solid black;
  text-align: left;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  display: table-cell;
}

tr {
  box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.12), 1px 2px 2px 1px rgba(0, 0, 0, 0.24);
}

td {
  background-color: rgb(55, 55, 55);
  font-size: 1em;
}

th {
  border: 0.125em solid rgb(0, 0, 0);
  background-color: rgb(65, 65, 65);
  font-size: 1.1em;
  font-weight: 400;
  box-shadow: none;
  font-weight: bold;
}

table td:nth-of-type(1), th:nth-of-type(1) {
  min-width: auto;
}

main {
  flex: 1; /* Ensures that the main content takes up all available space */
  box-sizing: border-box;
}

.footer {
  text-align: center;
  box-sizing: border-box;
}

/* Media Queries for smaller screens */
@media (max-width: 1024px) {
  html {
    font-size: 15px; /* Slightly smaller base font size on medium screens */
  }
  h1 {
    font-size: 2.2rem; /* 2.2 x 15px = 33px */
  }
  h2 {
    font-size: 1.8rem; /* 1.8 x 15px = 27px */
  }
  h3 {
    font-size: 1.6rem; /* 1.6 x 15px = 24px */
  }
}
@media (max-width: 768px) { /* Tablets and below */
  html {
    font-size: 14px; /* Even smaller base font size */
  }
  h1 {
    font-size: 2rem; /* 2 x 14px = 28px */
  }
  h2 {
    font-size: 1.6rem; /* 1.6 x 14px = 22.4px */
  }
  h3 {
    font-size: 1.4rem; /* 1.4 x 14px = 19.6px */
  }
  p {
    font-size: 0.95rem; /* 0.95 x 14px = 13.3px */
  }
}
@media (max-width: 480px) { /* Phones */
  html {
    font-size: 13px; /* Smaller base font size on mobile */
  }
  h1 {
    font-size: 1.8rem; /* 1.8 x 13px = 23.4px */
  }
  h2 {
    font-size: 1.5rem; /* 1.5 x 13px = 19.5px */
  }
  h3 {
    font-size: 1.3rem; /* 1.3 x 13px = 16.9px */
  }
  p {
    font-size: 0.9rem; /* 0.9 x 13px = 11.7px */
  }
}