html {
  scroll-behavior: smooth;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

body {
  min-height: 100vh;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

input, textarea, button, select {
  font: inherit;
  appearance: none;
  border-radius: 0;
}

@font-face {
  font-family: "Web Degular Display";
  src: url("../fonts/Degular_Display-Black.woff2") format("woff2"), url("../fonts/Degular_Display-Black.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Web Degular Display";
  src: url("../fonts/Degular_Display-Thin.woff2") format("woff2"), url("../fonts/Degular_Display-Thin.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Web Degular Text";
  src: url("../fonts/Degular_Text-Regular.woff2") format("woff2"), url("../fonts/Degular_Text-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Web Degular Text";
  src: url("../fonts/Degular_Text-Semibold.woff2") format("woff2"), url("../fonts/Degular_Text-Semibold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
:root {
  --hi: rgb(182, 0, 0);
  --grund: whitesmoke;
  --text: black;
  --hiline: rgba(182, 0, 0, 0.337);
}

html {
  font-size: 18px;
  font-size: clamp(16px, 1.13vw, 20px);
  font-family: "Web Degular Text", sans-serif;
  font-feature-settings: "onum" 1, "pnum" 1, "frac" 0, "kern" 1, "liga" 1;
}

body {
  background-color: var(--grund);
  color: var(--text);
  margin: max(7vw, 4rem) max(7vw, 2rem);
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, div, address {
  line-height: 1.2em;
}

h1, h2 {
  margin-left: -0.03em;
  font-family: "Web Degular Display";
  line-height: 0.85em;
  font-size: 3rem;
  margin-bottom: 0.4em;
}

h1 {
  font-weight: bold;
}

h2 {
  font-weight: normal;
  margin-top: 2rem;
}

h3 {
  font-weight: bold;
  margin-top: 1rem;
}

h3, h4, h5, h6 {
  font-size: 1rem;
}

a, [role=button] {
  color: var(--hi);
  text-decoration: none;
  background-image: linear-gradient(var(--hiline), var(--hiline));
  background-position: 0% calc(100% - 0.17rem);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  text-shadow: 0.05rem 0.05rem 0 var(--grund), -0.05rem -0.05rem 0 var(--grund);
  cursor: pointer;
}
a:focus-visible, [role=button]:focus-visible {
  outline: 1px solid red;
  outline-offset: 0.3rem;
}

main {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

article:nth-child(1) {
  flex-basis: 15%;
  min-width: 12rem;
  flex-shrink: 3;
}
article:nth-child(2) {
  flex-basis: 20%;
  min-width: 19rem;
  flex-shrink: 2;
}
article:nth-child(3) {
  flex-basis: 40%;
  flex-shrink: 1;
  flex-grow: 2;
}

h3 {
  text-wrap: balance;
  text-wrap: pretty;
}
