@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --font-family-sans-serif:
    -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Helvetica Neue",
    arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --max-width: 1558px;

  --color-white: #fff;
  --color-black: #131313;
  --color-grey-blue: #004760;
  --color-blue-light: #bff0ff;
  --color-blue-dark: #2a119b;
  --color-red-purple: #67003c;
  --color-green-light: #b2e898;
  --color-yellow-light: #f2f665;
  --color-grey-60: #656563;
  --color-grey-40: #999;
  --color-grey-10: #efefed;
  --color-red: #ff1d5e;
  --color-pink: #dabcff;
  --color-pink-bright: #ff1d5e;
  --color-text: var(--color-black);
  --color-success: #018215;
  --color-success-light: #e5ffea;
  --color-error: #d61010;
  --color-error-light: #ffecec;
  --color-a11y: rgb(0 48 179);
}

body {
  color: var(--color-black);
  font-family: "Inter", var(--font-family-sans-serif);
}

.button-secondary {
  border-width: 0;
}

.stadkamer-top {
  background-color: var(--color-grey-10);
  position: relative;

  &::before,
  &::after {
    aspect-ratio: 1;
    background-color: var(--color-grey-10);
    bottom: 0;
    content: "";
    position: absolute;
    translate: 0 100%;
    width: 2rem;
  }

  &::before {
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    left: 0;
  }

  &::after {
    right: 0;
    clip-path: polygon(0 0, 100% 100%, 100% 0);
  }
}

.stadkamer-menu,
.stadkamer-top-menu {
  width: min(calc(100% - 4rem), var(--max-width));
  margin-inline: auto;
}

.stadkamer-top-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 3.5rem;
  gap: 16px;

  a {
    font-size: clamp(0.75rem, 0.13vw + 0.72rem, 0.88rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-decoration: none;
  }
}

.stadkamer-logo {
  width: 100%;
  max-width: 248px;
}

.stadkamer-menu {
  align-items: center;
  display: flex;
  gap: 1rem;
  height: 6.5rem;
  position: relative;
  justify-content: space-between;
}

ul.stadkamer-main-menu {
  display: none;
  
  @media (min-width: 40rem) {    
    display: flex;
    gap: 1rem;
  }
  
  @media (min-width: 64rem) {
    translate: -50%;
    position: absolute;
    left: 50%;
    gap: 1.5rem;
  }
  

  a {
    font-size: clamp(0.88rem, 0.13vw + 0.85rem, 1rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
    text-decoration: none;
    white-space: nowrap;
  }

  ul {
    display: none;
  }
}

footer {
  background-color: var(--color-black);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-block-start: 2rem;
  padding-block-end: 0.75rem;  
  
  @media (min-width: 48rem) {
    padding-block-start: 4rem;
    padding-block-end: 1.5rem;
  }
}

footer > .stadkamer-footer-menu,
footer > .stadkamer-privacy-menu {
  width: min(calc(100% - 4rem), 886px);
  margin-inline: auto;
}

ul.stadkamer-footer-menu:has(.has-children) {
  display: grid;
  gap: 2rem;
  
  @media (min-width: 48rem) {
    grid-template-columns: repeat(3, 1fr);
  }
}

ul.stadkamer-footer-menu {
  .has-children {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  a {
    font-size: clamp(0.88rem, 0.13vw + 0.85rem, 1rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    font-weight: var(--font-weight-bold);
    text-decoration: none;

    + ul.stadkamer-footer-menu {
      color: var(--color-grey-40);
    }
  }

  .stadkamer-footer-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

ul.stadkamer-privacy-menu {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;

  a {
    color: var(--color-grey-40);
    font-size: clamp(0.88rem, 0.13vw + 0.85rem, 1rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
    text-decoration: none;
  }
}
