@font-face {
  font-family: "Ms Madi";
  src: url("../fonts/MsMadi-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Comic Relief";
  src: url("../fonts/ComicRelief-Regular.woff2") format("woff2");
}
:root {
  color-scheme: light dark;
  --achtergrond: light-dark(#d9c6b0, #401d09);
  --tekst: light-dark(#401d09, #d9c6b0);
  --accent: light-dark(#a62014, #bf702a);
  --rand: #8c6849;
  --goud: #d4af37;
  --titel: light-dark(#401d09, #f0dcc0);
  --knoptekst: #d9c6b0;
}

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

img {
  max-width: 100%;
}

body {
  font-family: "Comic Relief", system-ui;
  background-color: var(--achtergrond);
  color: var(--tekst);
}

/**************************
* MARK: Header
**************************/

header {
  max-width: inherit;
}
h1 {
  font-family: "Ms Madi", cursive;
  font-weight: normal;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 0.9;
  margin: 0;
}

h1 span {
  display: block;
}

h1 span:last-child {
  margin-left: 1.5em;
}
/**************************
* MARK: Footer
**************************/

footer {
  max-width: inherit;
}

/**************************
* MARK: Main
**************************/

main {
  max-width: none;
}

figure {
  margin: 0;
  position: relative;
}

figure nav a {
  border: 2px solid var(--goud);
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 2.75em;
  min-height: 2.75em;
  padding: 0.5em 0.75em;
  border-radius: 2em;
  background-color: rgb(64 29 9 / 0.65);
  color: var(--knoptekst);
  text-decoration: none;
  display: grid;
  place-items: center;
}
figure nav a:nth-of-type(1) {
  left: 69%;
  top: 34%;
} /* lamp */
figure nav a:nth-of-type(2) {
  left: 84%;
  top: 54%;
} /* stoel */
figure nav a:nth-of-type(3) {
  left: 66%;
  top: 75%;
} /* tafel */
figure nav a:nth-of-type(4) {
  left: 22%;
  top: 58%;
} /* sofa */
figure nav a:nth-of-type(5) {
  left: 50%;
  top: 60%;
} /* decor*/
figure nav a:nth-of-type(6) {
  left: 17%;
  top: 95%;
} /* songtekst */

@media (width > 40em) {
  figure nav a:nth-of-type(1) {
    left: 66%;
    top: 42%;
  } /* lamp */
  figure nav a:nth-of-type(2) {
    left: 61%;
    top: 60%;
  } /* stoel */
  figure nav a:nth-of-type(3) {
    left: 51%;
    top: 73%;
  } /* tafel */
  figure nav a:nth-of-type(4) {
    left: 34%;
    top: 64%;
  } /* sofa */
  figure nav a:nth-of-type(5) {
    left: 50%;
    top: 57%;
  } /* decor*/
  figure nav a:nth-of-type(6) {
    left: 95%;
    top: 65%;
  } /* songtekst */
}
figure h1 {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  color: var(--titel);
}
/**************************
* MARK: Section ...
**************************/
