body {
  max-width: 900px;
  width: 90%;
  margin: auto;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* header and footer areas */
.menu li { display: inline-block; padding: 5px; border-radius: 5px; }
a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
}
.menu { text-align: right; }
.title { font-size: 1.1em; }
footer {
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9em;
}
.footer {
  display: flex;
  align-items: normal;
  justify-content: center;
}
.footer ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.copyright {
  font-size: 1.0em;
  color: #999;
}
.container {
  flex: 1;
}
h1 { font-size: 1.5rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.3rem; }
.author { font-size: 0.9em; }
.date { font-size: 0.9em; }
hr {
  border: 0;
  border-top: 1px solid #333;
}

/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; vertical-align: top; }
tr:nth-child(even) { background: #eee; }

.tiles-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 -5px;
}

.tile {
  width: calc(50% - 10px);
  margin: 5px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tile-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tile-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
}

.tile-description {
  font-size: 14px;
  margin: 10px;
}

@media (max-width: 768px) {
  .tile {
    width: calc(100% - 10px);
  }
}

.alert {
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.partner {
  margin-top: 1em;
  max-width:30%;
  min-width:80px;
  max-height: 32px;
  height: auto;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.partner-wide {
  margin-top: 1em;
  min-width:80px;
  max-height: 40px;
  height: auto;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.logo {
  margin-top: 1em;
  max-width: 25%;
  max-height: 32px;
  height: auto;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
