@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/roboto-400.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/open-sans-600.woff2) format("woff2"); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: 50px; background: #000; color: #6f6f6f; font: 14px/24px "Roboto", sans-serif; }
a { color: #fff; text-decoration: none; }

.logo h1 { margin: 5px 0 0; line-height: 0; text-align: center; }
.logo img { width: 200px; height: auto; }

/* Three across on computers, one per row on phones. */
.grid { max-width: 1170px; margin: 0 auto; padding: 50px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; margin: 35px; margin-top: 20px; margin-bottom: 20px; }
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.tile span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 15px 15px 25px;
  background: #000; color: #fff; font: 600 20px/26px "Open Sans", sans-serif; text-align: center;
  opacity: 0; transition: opacity 250ms ease-in-out;
}
.tile:hover span, .tile:focus-visible span { opacity: 1; }

footer { padding: 0 15px; text-align: center; color: #fff; }
footer p { margin: 0 0 25px; }
footer p:last-child { margin: 0; }
footer .name { font-size: 16px; letter-spacing: 3px; }

@media (max-width: 1199px) { .grid { max-width: 970px; } }
@media (max-width: 993px) { .grid { max-width: 750px; } .tile { margin: 0 15px; } }
@media (max-width: 767px) {
  body { font-size: 12px; line-height: 20px; }
  .grid { grid-template-columns: 1fr; padding: 50px 0 0; }
  .tile { margin: 0 15px; }
  footer p { margin-bottom: 20px; }
}
