@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* =======================
   GENERAL PAGE STYLES
======================= */
html {
  scroll-padding-top: 50px;
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 0 10px;
  padding-top: 25px;
  margin-bottom: 75px;
  background-color: #f8f9fa;
  color: #333;
  max-width: 100%;
  text-align: center;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

h1, h2 {
  margin-top: 20px;
  color: #222;
}

.small-text {
  font-size: 12px;
  color: #666;
}

/* -----------------------
   FOOTER STYLES
------------------------ */
footer {
  position: fixed;
  background-color: #f8f9fa;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  z-index: 100;
  font-family: 'Oswald', sans-serif;
}

footer a {
  text-decoration: none;
}

footer p {
  font-size: 0.75em;
}

footer img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* -----------------------
   NAVBAR STYLES
------------------------ */
.navbar {
  position: fixed !important;
  background-color: #f8f9fa;
  overflow-x: auto;
  text-align: center;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul {
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar li {
  float: center;
  display: inline-block;
  margin: 5px;
}

/* -----------------------
   TABLE STYLES (generic)
------------------------ */
table {
  font-family: "Raleway", sans-serif;
  margin: 10px auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  overflow-x: auto;
}

th, td {
  text-align: right;
  padding: 8px 10px;
  border: 1px solid #ccc;
}

th {
  font-weight: bold;
}

th:first-child,
td:first-child {
  text-align: left;
}

table p {
  text-align: center;
}

/* Alternate row color for generic tables */
table tbody:nth-of-type(even) {
  background-color: #f2f2f2;
}

/* -----------------------
   UTILITY CLASSES
------------------------ */
.clickable-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.clickable-row:hover {
  background-color: #f0f0f0;
}

ul {
  list-style-position: inside;
  padding-left: 0;
}

/* -----------------------
   RESPONSIVE TWEAKS
------------------------ */
@media (max-width: 600px) {
  nav a {
    font-size: 14px;
    padding: 8px 10px;
  }

  th, td {
    font-size: 12px;
    padding: 6px 8px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
  }

  .small-text {
    font-size: 8px;
  }

  body {
    padding: 0 0.75em;
    padding-top: 60px;
  }

  nav {
    font-size: 1.2em;
  }
}
