/* Colours, taken from the coat of arms. */
:root {
  --blue: #28447f;
  --orange: #c78230;
  --white: #ffffff;
  --black: #000000;
  --page: #d9dee4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--blue);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

img { display: block; max-width: 100%; }

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
  background: var(--blue);
  color: var(--white);
  border-bottom: 6px solid var(--orange);
}
.coa {
  width: 11rem;
  height: auto;
}
h1 {
  margin: 1.25rem 0 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: .25em;
  text-indent: .25em; /* keeps the spaced-out letters visually centred */
  text-transform: uppercase;
  line-height: 1;
}

.button {
  padding: .7rem 1.5rem;
  background: var(--orange);
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.button:hover { background: var(--white); }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 96rem;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}
.gallery .wide { grid-column: 1 / -1; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery .wide img { aspect-ratio: 16 / 7; }

footer {
  display: flex;
  justify-content: center;
  padding: 0 1rem 2.5rem;
}
footer img { width: 2.5rem; }

@media (max-width: 40rem) {
  header { padding: 2.5rem 1rem; }
  .coa { width: 8.5rem; }
  h1 { font-size: 2rem; }
  .gallery { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem .5rem; }
  .gallery img, .gallery .wide img { aspect-ratio: 3 / 2; }
}
