:root {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #142d47;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  isolation: isolate;
  background: #fff;
}

/* The large decorative logo sits below the background portrait. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}

body::before {
  z-index: -2;
  background-image: url("img/drupal-black-logo.png");
  background-position: left -5vw center;
  background-size: min(78vw, 900px);
  opacity: .14;
}

body::after {
  z-index: -1;
  background-image: url("img/drupal-moe-background.jpg");
  background-position: right center;
  background-size: cover;
  /* Fade the white area so the logo emerges on the left, behind her. */
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 25%, #000 62%);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 32px;
  text-align: center;
}

.girl {
  display: block;
  width: min(100%, clamp(230px, 29vw, 370px));
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: 50%;
  box-shadow: 0 16px 60px #205b8c26, 0 0 0 1px #dcebf4;
}

.introduction {
  width: min(100%, 500px);
  margin-top: 28px;
  padding: 22px 26px 26px;
  border: 1px solid #ffffffd9;
  border-radius: 24px;
  background: #fffffff0;
  box-shadow: 0 12px 48px #143d6210;
}

.eyebrow {
  margin: 0 0 12px;
  color: #0078b5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.description {
  margin: 18px 0 0;
  color: #4c6071;
  font-size: 15px;
  line-height: 1.7;
}

.drupal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  margin-top: 22px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #0078b5;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.drupal-link:hover {
  background: #005f90;
}

a:focus-visible {
  outline: 3px solid #0078b5;
  outline-offset: 5px;
}

footer {
  padding: 18px 24px;
  border-top: 1px solid #dcebf4;
  background: #fffffff2;
  color: #4c6071;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}

footer p {
  margin: 4px 0;
}

footer a {
  display: inline-block;
  padding-block: 4px;
  color: #00689d;
  text-underline-offset: 3px;
}

.heart {
  white-space: nowrap;
}

@media (max-width: 600px) {
  body::before {
    background-position: left -28vw center;
    background-size: 125vw;
    opacity: .1;
  }

  body::after {
    background-position: 72% center;
    opacity: .55;
  }

  main {
    padding: 32px 16px;
    padding-bottom: 30px;
  }

  .introduction {
    margin-top: 24px;
    padding: 22px 20px;
  }

  footer {
    padding: 16px;
  }
}
