@import url(https://use.typekit.net/pfd7syd.css);

@font-face {
  font-family: "cofo-sans-variable";
  src: url("cofo-sans-variable.woff2") format("woff2-variations");
  font-weight: 1 1000; /* wichtig: Range statt fixer Wert! */
}

* {
  box-sizing: border-box;
  margin: 1;
  padding: 0;
}
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
h1 {
  font-family: "cofo-sans-variable", sans-serif;
  font-variation-settings:
    "wght" 50,
    "slnt" 0;
  text-align: center;
}
p {
  font-size: 2rem;
  line-height: 1.2em;
  font-family: "cofo-sans-variable", sans-serif;
  font-variation-settings:
    "wght" 200,
    "slnt" 0;
  text-align: center;
}

@media (max-width: 768px) {
  p {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  p {
    font-size: 1rem;
  }
}

.email-tag {
  position: fixed;
  transform: translate(-50%, -50%);
  font-size: 0.85rem;
  background: #111;
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  pointer-events: none;
}

body.dark {
  background: #111;
  color: #fff;
}

body.dark h1 {
  color: #fff;
}
