@font-face {
  font-family: AcuminPro;
  font-weight: bold;
  src: url("../fonts/Acumin-BdPro.otf") format("opentype");
}

@font-face {
  font-family: AcuminPro;
  src: url("../fonts/Acumin-RPro.otf") format("opentype");
}

html, body {
  font-family: var(--font-body);
  color: var(--color-white);
  background-color: var(--color-green-dark);
}

/* NEW-DESIGN PAGES — override the old absolute #content layout */
body.page-home,
body.page-proefles,
body.page-lesinformatie,
body.page-historie,
body.page-technieken,
body.page-aanmelden {
  background-color: var(--color-green-dark);
}

body.page-home #content,
body.page-proefles #content,
body.page-lesinformatie #content,
body.page-historie #content,
body.page-technieken #content,
body.page-aanmelden #content {
  position: relative;
  height: auto;
  min-height: 100vh;
  background-color: var(--color-surface);
  overflow-x: hidden;
  overflow-y: auto;
}

/* Push content below fixed header on new-design pages */
.homepage-body,
.proefles-body,
.lesinformatie-body,
.historie-body,
.technieken-body,
.aanmelden-body {
  padding-top: var(--header-height);
}

/* CONTENT */
#content {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;

  overflow-x: hidden;
  overflow-y: auto;

  z-index: 2;
}

/* HEADER */
#header {
  position: absolute;
  top: 0px;
  left: 0px;
  min-height: var(--header-height);
  width: 100%;

  background-color: var(--color-green-dark);

  z-index: 100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  box-sizing: border-box;
}

#header #logo {
  height: 90px;
  width: 330px;
  flex-shrink: 0;

  background-image: url("../images/JudoclubBunde_Gevelbord_Final.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

#header nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

#header nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 14px;
  transition: background-color 200ms, color 200ms;
  display: flex;
  align-items: center;
}

#header nav a:hover {
  color: #FEE587;
}

#header nav a.selected {
  background-color: rgba(0, 0, 0, 0.2);
}

@media all and (max-width: 700px) {
  #header {
    flex-direction: column;
    align-items: flex-start;
  }

  #header nav {
    margin-top: 6px;
  }

  #header nav a {
    font-size: 14px;
    padding: 10px 16px;
  }
}
