@font-face {
  font-family: "Hatton Variable";
  src: url("fonts/Hatton-Variable.ttf") format("truetype");
}
* {
  box-sizing: border-box;
}

body {
  font-family: "Hatton Variable", Helvetica, sans-serif;
  font-weight: normal;
  font-variation-settings: "wght" 325;
  hyphens: manual;
  word-break: keep-all;
  -webkit-font-smoothing: subpixel-antialiased;
  isolation: isolate;
  height: 100vh;
  width: 100vw;
  padding: 0;
  margin: 0;
}

h1,
h2 {
  margin: 0;
  font-weight: normal;
}

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

a:hover {
  cursor: pointer;
}

.grid {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 30px;
}

.content-wrapper {
  display: grid;
  max-width: 1200px;
  margin: 2em auto 0 auto;
  padding: 0 20px 0 20px;
}

@media screen and (min-width: 600px) {
  .content-wrapper {
    margin: 8em auto 0 auto;
    padding: 0 100px 0 20px;
  }
}

.intro-wrapper {
  max-width: 65ch;
}

@media (pointer: fine) {
  .workLink:hover {
    color: #22a5f7;
  }
}

.redacted {
  background-image: linear-gradient(#f8bd7f, #f5ac72);
  background-position: 0% 50%;
  background-repeat: no-repeat;
  background-size: 100% 100px;
  transition: background-size 0.5s;
}

@media (pointer: coarse) {
  .intro-wrapper.clear .redacted {
    background-size: 0% 1em;
    transition: background-size 0.5s;
  }
}

@media (pointer: fine) {
  .intro-wrapper:hover .redacted {
    background-size: 0% 1em;
    transition: background-size 0.5s;
  }
}

.redacted__inner {
  mix-blend-mode: lighten;
}

.intro-headline,
.currentParagraph {
  font-size: 1.6em;
  line-height: 1.6em;
}

.currentParagraph {
  margin-top: 0.7em;
}

@media screen and (min-width: 600px) {
  .intro-headline,
  .currentParagraph {
    font-size: 2.6em;
    line-height: 1.4em;
  }
}

.contact {
  margin-top: 50px;
  font-size: 1.2em;
}

.contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.contact ul li {
  margin-right: 20px;
  margin-bottom: 10px;
}

@media screen and (min-width: 600px) {
  .contact {
    font-size: 1.5em;
  }

  .contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact ul li {
    margin-right: 20px;
    margin-bottom: 0px;
  }
}

@media (pointer: fine) {
  .contact a:hover {
    border-bottom: 1px solid black;
  }
}

.footer {
  padding: 0 20px 0 20px;
  display: flex;
  justify-content: flex-end;
}

.imprintLink {
  opacity: 0.6;
  transition: 0.25s;
}

@media (pointer: fine) {
  .imprintLink:hover {
    opacity: 1;
  }
}

.backLink {
  font-size: 1.4em;
  display: block;
  margin-bottom: 40px;
}

.imprint {
  display: block;
  margin: 100px auto;
  padding: 0 20px;
  max-width: 70ch;
  font-family: sans-serif;
}

@media (min-width: 30em) and (max-width: 50em) {
  .imprint {
    display: block;
    margin: 100px auto;
    max-width: 70ch;
    font-family: sans-serif;
  }
}
