html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
} 

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #2b2b2b;
  background-color: #fff;
}


:root {
  --color-primary: #ffcc00;
  --color-secondary: #6a2cff;
  --color-text: #2b2b2b;
  --color-light: #f9f9f9;
  --color-dark: #111;
  --radius: 1rem;
  --max-width: 1200px;
}

header,
main,
footer {
  width: 100%;
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

p {
  max-width: 60ch;
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

header a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}

header img {
  height: 50px;
  width: auto;
}

main > section:first-of-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

main > section:first-of-type img {
  max-width: 100%;
}

main > section:first-of-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

main > section:first-of-type img {
  max-width: 100%;
}

#waarom ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

#waarom li {
  background-color: var(--color-light);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

#waarom img {
  height: 60px;
  margin-bottom: 1rem;
}

#wat,
#spel,
#over-ons,
#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

figure img {
  max-width: 100%;
}

#andere-koekjes ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

#andere-koekjes article {
  background-color: var(--color-light);
  padding: 2rem;
  border-radius: var(--radius);
}

#andere-koekjes a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: #000;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
}

form {
  margin-top: 2rem;
}

input,
button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
}

fieldset {
  margin: 1.5rem 0;
  border: none;
}

button {
  background-color: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

