@font-face {
  font-family: "Hanken-Bold";
  font-style: bold;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/HankenGrotesk-VariableFont_wght.ttf) format("truetype");
}

@font-face {
  font-family: "Hanken-Reg";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/HankenGrotesk-VariableFont_wght.ttf) format("truetype");
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-highlight: #9e00e7;
  --font-family-text: "Hanken-Reg", Arial, sans-serif;
  --font-family-heading: "Hanken-Bold", sans-serif;
}

html {
  font-family: var(--font-family-text);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 160%;
  font-size: 18px;
  height: 100%;
}
img {
  width: 100%;
}

body {
  --padding: 0rem 1rem;
  padding: var(--padding);
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}

main {
  max-width: 70rem;
  margin: 0 auto;
}

li {
  list-style: none;
}

a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

a:hover {
  color: var(--color-highlight);
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 0.4rem 1.4rem;
  font-family: var(--font-family-heading);
  border-radius: 8px;
  justify-self: start;
  font-size: 1.1rem;
  transition-duration: 0.25s;
  transition-timing-function: ease-in-out;
}

button:hover {
  background-color: var(--color-highlight);
}

strong,
b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.section {
  padding: 3rem 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-size: inherit;
  font-weight: 600;
  line-height: 120%;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.5rem;
  font-family: var(--font-family-heading);
}

h3 {
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

hr {
  width: 8.8rem;
  height: 0.3rem;
  background-color: var(--color-black);
  margin-bottom: 1rem;
}

.grid {
  --columns: 4;
  --gutter: 4rem 1rem;
  display: grid;
  padding: 0 var(--margin);
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
  align-content: start;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.flex-column {
  --gap: 1rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.wasichmache {
  margin-bottom: var(--gutter);
}

.btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

footer {
  height: 3rem;
  max-width: 70rem;
  width: 100%;
  margin: 4rem auto 0;
  color: var(--color-grey);
  display: flex;
  gap: 1rem;

  a {
    color: var(--color-grey);
    font-size: 16px;
  }
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 0 3rem;
    /*    padding: var(--padding); */
  }

  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
  .wasichmache {
    position: relative;
    grid-column: 2 / span 3;
  }

  hr {
    position: absolute;
    left: -4rem;
    top: -1rem;
  }
}
