@font-face {
  font-family: "Londrina Solid";
  src: url("fonts/LondrinaSolid-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --text: #1c1a17;
  --link: #1c1a17;
  --font: "Londrina Solid", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141311;
    --text: #f2efe9;
    --link: #f2efe9;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
}

/* The logo takes all the space the text line leaves, and scales to fit
   without distortion at any window size or aspect ratio. */
main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  padding: 2vmin;
  gap: 1.5vmin;
}

.logo {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.contact {
  flex: none;
  margin: 0;
  text-align: center;
}

.contact a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
