/* Import the font in your HTML head:
<link href="https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap" rel="stylesheet">
*/

/* Colors */
:root {
  --olive: #808000;        /* Olive green */
  --dark-olive: #556b2f;   /* Dark olive green */
  --text-light: #f0f0f0;
  --text-dark: #222;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--dark-olive);
  font-family: 'MedievalSharp', serif;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* Page Container */
.content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1000px;
  background-color: var(--olive);
  padding: 0;
}

/* Site Title */
.site-title {
  font-size: 2.5rem;
  text-align: center;
  padding: 1rem 0;
  background-color: var(--olive);
  color: var(--text-light);
  border-bottom: 2px solid #ccc;
}

/* Navigation Bar */
.navbar {
  background-color: var(--olive);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.navbar a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.navbar a:hover {
  text-decoration: underline;
}

/* Main Content Area */
.main {
  flex: 1;
  padding: 2rem;
  color: var(--text-light);
}

.main h1, .main h2, .main p, .main ul, .main li, .main a {
  color: var(--text-light);
}

/* Footer */
.footer {
  background-color: var(--olive);
  color: var(--text-light);
  text-align: center;
  padding: 1rem;
  font-family: system-ui, sans-serif;
}

/* Coat of Arms Image */
.coat {
  display: block;
  max-width: 90%;
  margin: 2rem auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .main {
    padding: 1rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
}
.rule-list {
  margin-bottom: 2rem;
}
p {
  font-family: system-ui, sans-serif;
}
.center {
  text-align: center;
  padding: 1rem;
  font-family: system-ui, sans-serif;
}