.intro {
  --intro-color: #fff;
  --intro-accent: #18bfef;
  color: var(--intro-color);
  padding: 19rem 4rem 0rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transition: opacity 1s ease, transform 1s ease;
  position: relative;
  cursor: default;
  text-align: center;
  z-index: 1;
  min-height: 40vh;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.intro :is(input, select, textarea, strong, b, h1, h2, h3, h4, h5, h6) {
  color: inherit;
}

.intro a {
  color: var(--intro-color);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s, border-bottom-color 0.2s;
}
.intro a:hover {
  border-bottom-color: transparent;
  color: var(--intro-accent) !important;
}

.intro blockquote { border-left-color: var(--intro-color); }
.intro code {
  background: rgba(255,255,255,0.075);
  border-color: var(--intro-color);
}
.intro hr { border-bottom-color: var(--intro-color); }

.intro :is(input[type="submit"], input[type="reset"], input[type="button"], button, .button) {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--intro-color);
  color: var(--intro-color) !important;
  transition: box-shadow 0.2s, color 0.2s, background 0.2s;
}
.intro :is(input[type="submit"], input[type="reset"], input[type="button"], button, .button):hover {
  box-shadow: inset 0 0 0 2px var(--intro-accent);
  color: var(--intro-accent) !important;
}
.intro :is(input[type="submit"].primary, input[type="reset"].primary, input[type="button"].primary, button.primary, .button.primary) {
  background: var(--intro-color);
  box-shadow: none;
  color: #1e252d !important;
}
.intro :is(input[type="submit"].primary, input[type="reset"].primary, input[type="button"].primary, button.primary, .button.primary):hover {
  background: var(--intro-accent);
}

.intro h1 {
  font-size: 5rem;
  line-height: 1;
  word-break: break-word;
  max-width: 100%;
  justify-content: center;
}
.intro p {
  font-size: 1.25rem;
  font-style: italic;
  margin-top: -0.25rem;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
}

.intro + .header { margin-top: -20rem; }
.intro + .header .logo {
  transform: translateY(2rem);
  opacity: 0;
  visibility: hidden;
}

.intro.hidden {
  pointer-events: none;
  transform: translateY(2rem);
  transition: opacity 0.5s, transform 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
}
.intro.hidden + .header .logo {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

body.is-preload .intro {
  transform: translateY(2rem);
  opacity: 0;
}
body.is-preload .intro:not(.hidden) + .header + .nav {
  transform: translateY(4rem);
  opacity: 0;
}

/* --- Media Queries --- */
@media (max-width: 980px) {
  .intro {
    padding: 4rem 2rem 2rem 2rem;
    min-height: 90vh;
  }
  .intro p br { display: none; }
  .intro + .header { margin-top: -14rem; }
}

@media (max-width: 736px) {
  .intro {
    padding: 2.5rem 1rem 1rem 1rem;
    min-height: 80vh;
  }
  .intro h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: center;
    justify-content: center;
  }
  .intro p {
    font-size: 1rem;
    margin-top: 0;
  }
  .intro .actions { display: none; }
}

/* Extra: voor iPhone Mini en zeer kleine schermen */
@media (max-width: 400px) {
  .intro {
    padding: 1.0rem 0.5rem 0.5rem 0.5rem;
    min-height: 7vh;
    max-width: 90vw;
    overflow-x: hidden;
    word-break: break-word;
  }
  .intro h1,
  .intro p,
  .intro * {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}