/* Landing page: choose between lucasdietrich.com and lucasdietrich.art */

@font-face {
  font-display: swap;
  font-family: "areal-book";
  src: url("/assets/fonts/ArealBL-Book.woff2") format("woff2"),
    url("/assets/fonts/ArealBL-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: #fff;
}

body.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 40px 100px;
  font-family: "areal-book", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing__choices {
  flex: 1;
  display: flex;
  padding-top: 100px;
  flex-direction: column;
  justify-content: center;
  gap: 104px;
  font-size: 37px;
  line-height: 40px;
}

.landing__choice {
  display: block;
}

.landing__domain,
.landing__label {
  display: block;
}

.landing__choice:hover .landing__domain,
.landing__choice:focus-visible .landing__domain {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.landing__choice:focus-visible {
  outline: none;
}

.landing__footer {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.4em;
  font-size: 15px;
  line-height: 20px;
}

.landing__footer a + a::before {
  content: "·";
  display: inline-block; /* keeps the dot out of the hover underline */
  margin-right: 0.4em;
}

.landing__footer a:hover,
.landing__footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  body.landing {
    padding-left: 100px;
    padding-right: 100px;
  }

  .landing__choices {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .landing__choice {
    width: 50%;
    padding-right: 20px;
  }

  .landing__footer {
    left: 100px;
    right: 100px;
    bottom: 50px;
    font-size: 20px;
    line-height: 24px;
  }
}
