/* Emily Westland: single landing page. Plain CSS, no build step, no third-party code. */

:root {
  --overlay: #d200af9e;
  --text: #fff;
  --icon-size: 7.5vh;
}

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

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: url("img/background-1600.jpg") center top / auto no-repeat;
}

/* The photo is drawn at natural size, centred horizontally and pinned to the top, so bigger screens need a bigger crop of it.
   The crops are the middle band of the original 6040x4031 photo, from its vertical midpoint down (what the old page showed). */
@media (min-width: 1601px), (min-height: 1601px) {
  body {
    background-image: url("img/background-2560.jpg");
  }
}

@media (min-width: 2561px) {
  body {
    background-image: url("img/background-3840.jpg");
  }
}

.overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 15px;
  background-color: var(--overlay);
  text-align: center;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.tagline {
  margin: 0 0 1.5rem;
}

.social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: block;
  border-radius: 4px;
}

.social a:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.social img {
  display: block;
  height: var(--icon-size);
  width: auto;
}

.home {
  color: var(--text);
}
