/* Base styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
}

header, footer {
  background-color: #e63946;
  color: #f1faee;
  padding: 20px;
  text-align: center;
}

h1, h2 {
  color: #101e31;
}

h1 {
  font-size: 2.5em;
  margin: 0;
}

h2 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

p, li {
  font-size: 1em;
  margin: 0.5em 0;
}

main {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  background-color: white;
}

section {
  margin-bottom: 2em;
}

a {
  color: #457b9d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 20px;
}

details {
  margin-bottom: 1em;
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #f1f1f1;
}

summary {
  font-weight: bold;
  cursor: pointer;
}

/* Elements not yet used but styled for future use */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
}

th {
  background-color: #eee;
}

blockquote {
  margin: 1em;
  padding: 1em;
  background-color: #f0f0f0;
  border-left: 5px solid #ccc;
}

button {
  background-color: #457b9d;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
}

button:hover {
  background-color: #1d3557;
}ul.grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
}

li.tile {
  background-color: #f1faee;
  border: 2px solid #457b9d;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  transition: transform 0.2s ease;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

li.tile:hover {
  transform: scale(1.03);
}

li.tile a {
  text-decoration: none;
  color: #1d3557;
  font-weight: bold;
  font-size: 1.1em;
}
