* {
  font-family: 'Lato', sans-serif;
}

body {
  background-color: white;
  background-image: url('/Images/Background-Grade.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top center;
  background-size: cover;
}

.wrapper {
  background-color: white;
  margin: 2% 5%;
  padding: 2em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* subtle shadow */
  border-radius: 8px; /* optional, smooth corners */
}

.navbar {
  background-color: #dbe8d4;
  padding: 1em;
  justify-content: center;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
}

a {
  text-decoration: none;
  color: inherit;
  margin: 0;
  font-weight: bold;
}

.cgrid {
  display: grid;
  gap: 1em;
  margin: 0 5%;
}

.col2 {
  grid-template-columns: repeat(2, 1fr);
}

.col3 {
  grid-template-columns: repeat(3, 1fr);
}

.col4 {
  grid-template-columns: repeat(4, 1fr);
}

.col5 {
  grid-template-columns: repeat(5, 1fr);
}

.col6 {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 768px) {
  .col2, .col3, .col4, .col5, .col6 {
    grid-template-columns: 1fr;
  }
}

.box {
  background-color: #efefef;
  border: 3px solid #000;
  padding: 3%;
  margin: 2%;
}

.main a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.backquote {
  font-style: italic;
  font-weight: 300;
  color: #555; /* slightly lighter than black */
  border-left: 2px solid #efefef;
  padding-left: 1em;
  margin: 2em auto; /* top/bottom spacing and horizontal centering */
  max-width: 80%; /* prevents it from stretching too wide */
}

h1 {
  margin: 1% 2%; /* slight left margin */
  text-transform: uppercase;
  font-weight: bold;
  color: #000;
  border-bottom: 2px solid #000;
  padding-bottom: 0.2em;
}

/* Shared styles for H2 and H3 */
h2, h3 {
  background-color: #dbe8d4;
  margin-top: 1em;
}

/* H2 – Bold */
h2 {
  font-weight: bold;
  font-size: 1.8em; /* Optional size tweak */
  padding: 0.2em;
}

/* H3 – Smaller than H2 */
h3 {
  font-weight: normal;
  padding: 0.1em;
  font-size: 1.4em;
}

/* H4 – Small, bold, light gray (#efefef), no background */
h4 {
  font-size: 1.2em;
  font-weight: bold;
  background: none;
  margin-top: 1em;
}

/* Table block wrapper */
.tableHead {
  margin: 0;
  padding: 0;
  text-align: center;
  border-radius: 50px 50px 0 0;
  background-color: #efefef;
  border: solid black 3px;
}

.tableHead h1,
.tableHead h2,
.tableHead h3,
.tableHead h4,
.tableHead p {
  margin: 0;
  padding-top: 0.2em;
  padding: 0;
  text-align: center;
  background-color: transparent;
}

/* Table directly below */
.tableHead table {
  border-top: none; /* removes double-border with label above */
  border-radius: 0 0 8px 8px;
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background-color: transparent;
}

/* Table header cells */
th {
  background-color: #efefef; /* same as .box background */
  color: black;
  text-align: center;
  font-weight: 600; /* slightly bold */
  font-size: 1.1em;
  padding: 0.5em;
  border: none;
  border-bottom: 4px solid;
}

/* Table data cells */
td {
  background-color: #fff;
  color: black;
  padding: 0.5em;
  border: none;
  border-bottom: 1px solid #ddd; /* thinner, lighter inner borders */
  text-align: center;
  vertical-align: top;
}

.f {
  background-color: #dbe8d4;
  color: #444; /* light text, not pure black */
  text-align: center;
  padding: 0.5em;
  font-size: 0.9em;
  margin-top: 1%;
}

.content {
  margin: 0 5%;
  max-width: 800px; /* optional: keeps long text readable */
  line-height: 1.6;  /* improves readability */
}