/* PISA 2018 resultaten infographic */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "futura-pt", "Segoe UI", sans-serif;
  font-weight: 400;
  color: #1a1a2e;
  background: #0d0a48;
  line-height: 1.5;
  overflow-x: hidden;
}

body:not(.loaded) {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.loaded {
  opacity: 1;
}

a {
  color: #27cbcd;
}

sectionBlock {
  display: block;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  margin: 1.25rem 0 0.5rem;
  font-weight: 500;
}

p {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.quote {
  font-style: italic;
  opacity: 0.9;
}

#menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 10, 72, 0.97);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}

#menu.open {
  transform: translateX(0);
}

#innerMenu {
  padding: 2rem 1.5rem 3rem;
  max-width: 320px;
  margin-left: auto;
}

#PISAmenu,
#PISA {
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

#closeMenu {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
}

#closeMenu img {
  width: 100%;
  height: auto;
}

#menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

#menu li {
  margin: 0.65rem 0;
}

#menu a.menuAnchor {
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
}

#menu a.menuAnchor:hover {
  color: #27cbcd;
}

.menuInfo {
  font-size: 0.9rem;
  line-height: 1.6;
}

.menuInfo a {
  color: #27cbcd;
}

.footerLink {
  display: block;
  color: #27cbcd;
  text-decoration: none;
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

#sect_header {
  position: relative;
  background: linear-gradient(165deg, #0d0a48 0%, #1a1560 45%, #2a2080 100%);
  color: #fff;
  padding: 4rem 0 6rem;
  min-height: 85vh;
}

#introBG {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
}

#headerBook,
#headerGirl,
#headerTablet,
#headerBookMobile {
  position: absolute;
  max-width: 28%;
  height: auto;
  pointer-events: none;
  opacity: 0.85;
}

#headerBook {
  right: 8%;
  top: 18%;
}

#headerGirl {
  right: 22%;
  bottom: 12%;
}

#headerTablet {
  right: 4%;
  bottom: 8%;
}

#headerBookMobile {
  display: none;
}

#openMenu {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 500;
  cursor: pointer;
  width: 2.5rem;
}

#openMenu img {
  width: 100%;
}

#PISA {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  margin: 0;
  color: #fff;
}

#downloadTop {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 500;
  width: 2.5rem;
}

#downloadTop img {
  width: 100%;
}

#introCon h3 {
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.92;
}

#dotCon {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0 0.75rem;
}

#dotCon .dot {
  width: 12px;
  height: 12px;
}

#dotText {
  font-size: 0.85rem;
  max-width: 36rem;
  opacity: 0.85;
}

#introBig {
  margin-top: 2rem;
  padding: 1.5rem;
  border-left: 3px solid #27cbcd;
  background: rgba(255, 255, 255, 0.06);
}

#introBig hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 1rem 0;
}

.sectionTransition,
.paralaxIllu {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  pointer-events: none;
}

.paralaxIllu {
  max-width: 420px;
  margin: -2rem auto 0;
  display: block;
}

#sect_leesvaardigheid {
  background: #f4f6fb;
  color: #1a1a2e;
  padding: 3rem 0 4rem;
  position: relative;
}

#sect_wiskunde {
  background: #fff;
  padding: 3rem 0 4rem;
}

#sect_natuurwetenschappen {
  background: #eef1f8;
  padding: 3rem 0 2rem;
}

#sect_verschillen {
  background: #fff;
  padding: 3rem 0 4rem;
}

#sect_welbevinden {
  background: linear-gradient(180deg, #1a1560 0%, #0d0a48 100%);
  color: #fff;
  padding: 3rem 0 4rem;
}

#sect_footer {
  background: #0a0835;
  color: #fff;
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.graphCon {
  width: 100%;
  min-height: 280px;
  margin: 1rem 0;
}

.legenda {
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.8;
}

.legendaLeft span {
  display: inline-block;
  margin-right: 0.5rem;
}

.legendaDot {
  width: 10px;
  height: 10px;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.legendaDash {
  width: 22px;
  height: 4px;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.collLeft,
.collRight {
  width: 100%;
  vertical-align: top;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .collLeft,
  .collRight {
    display: inline-block;
    width: 48%;
  }

  .collLeft {
    margin-right: 3%;
  }
}

.xoGroup {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.xoCon {
  display: inline-block;
  text-align: center;
  margin: 0 1rem 0.5rem 0;
  vertical-align: top;
}

.xoSwitch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ccc;
  margin: 0 auto 0.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.xoSwitch.xoNL {
  border-color: #f5a623;
}

.xoSwitch.xoEU {
  border-color: #27cbcd;
}

.xoSwitch.xoGirls {
  border-color: #e85d9a;
}

.xoSwitch.xoBoys {
  border-color: #4a90e2;
}

.xoIcon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}

.xoSwitch.xoNL .xoIcon.xoOn {
  background: #f5a623;
}

.xoSwitch.xoEU .xoIcon.xoOn {
  background: #27cbcd;
}

.xoSwitch.xoGirls .xoIcon.xoOn {
  background: #e85d9a;
}

.xoSwitch.xoBoys .xoIcon.xoOn {
  background: #4a90e2;
}

.xoSwitch.xoNL .xoIcon.xoOn {
  background: #f5a623;
}

.xoLabel {
  font-size: 0.8rem;
  margin: 0;
}

#infoLaag {
  width: 1.1rem;
  vertical-align: middle;
  margin-left: 0.25rem;
  cursor: pointer;
}

#infoLeesvaardigheid {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.55);
  padding: 2rem 1rem;
  overflow-y: auto;
}

#infoLeesvaardigheid.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.infoBlock {
  background: #fff;
  color: #222;
  max-width: 640px;
  padding: 1.5rem 1.75rem;
  border-radius: 4px;
  position: relative;
}

#closeInfo {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  cursor: pointer;
}

#closeInfo img {
  width: 1.5rem;
}

.clearBoth {
  clear: both;
}

.footerSocial {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  margin: 0.5rem 0.75rem;
  font-size: 0.9rem;
}

.iconSocial,
.iconSocialLinkedin {
  width: 1.25rem;
  vertical-align: middle;
  margin-right: 0.35rem;
}

.hideSmall {
  display: none;
}

.hideBig {
  display: block;
}

.smallBreak {
  display: none;
}

@media (min-width: 900px) {
  .hideSmall {
    display: block;
  }

  .hideBig {
    display: none;
  }

  #headerBookMobile {
    display: none !important;
  }
}

@media (max-width: 899px) {
  #headerBook,
  #headerGirl,
  #headerTablet {
    display: none;
  }

  #headerBookMobile {
    display: block;
    position: absolute;
    right: 5%;
    top: 22%;
    max-width: 40%;
  }

  .smallBreak {
    display: inline;
  }

  #sect_header {
    min-height: auto;
    padding-bottom: 3rem;
  }
}

#bufferWelbevinden {
  height: 2rem;
}

svg text {
  font-family: "futura-pt", "Segoe UI", sans-serif;
  font-size: 11px;
}
