/* styles.css - Shared game rule styling for GameNight */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 2rem;
  margin: auto;
  max-width: 900px;
  background-color: #fefefe;
  color: #222;
  line-height: 1.7;
  font-size: 18px; /* Increased base font size */
}

h1 {
  text-align: center;
  color: #b22222;
  margin-bottom: 0.25em;
}

h2 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3em;
  margin-top: 2em;
  color: #444;
}

ul, ol {
  padding-left: 1.5em;
}

ul li, ol li {
  margin-bottom: 0.4em;
  font-size: 1.2em; /* Slightly larger list items */
}

code, pre {
  background-color: #f4f4f4;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: monospace;
}

.section {
  margin-top: 2.5em;
}

footer {
  text-align: center;
  padding: 1em 0;
  margin-top: 3em;
  position: relative;
}

footer::after {
  content: "";
  display: block;
  width: 64px;
  height: 64px;
  margin: 1em auto 0;
  background-image: url("../images/meeple.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Suit styling helpers */
.suit { font-weight: bold; font-size: 1.2em; }
.red { color: red; }
.black { color: black; }

/* Game link styling */
.game-link {
  text-transform: uppercase;
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Responsive scaling for mobile devices */
@media screen and (max-width: 600px) {
  body {
    font-size: 20px;
  }

  .game-link {
    font-size: 2.2em;
  }

  ul li, ol li {
    font-size: 1.3em;
  }
}


.liverpool-table {
  width: 80%;
  margin: 1em auto;
  border-collapse: collapse;
  font-size: 1.1em;
}

.liverpool-table th,
.liverpool-table td {
  border: 1px solid #ccc;
  padding: 0.5em;
  text-align: left;
  background-color: #fdfdfd;
}

.liverpool-table thead {
  background-color: #f0f0f0;
  font-weight: bold;
}

.liverpool-table th:first-child,
.liverpool-table td:first-child {
  width: 75%;
}

.liverpool-table th:last-child,
.liverpool-table td:last-child {
  width: 25%;
}
