/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
  scroll-behavior: smooth;
}
html, body {
  font-family: Aptos, Calibri, sans-serif;
  font-size: 1.1em;
  line-height: 1.4;
}
header {
  background-color: #A47864;
  padding-top: 16vh;
  padding-bottom: 16vh;
}
header svg {
  margin: 16px auto 0 auto;
}
header nav{
  background-color:#344148;
  color:#fff;
}
.ballonnen {
  animation: bm 2s ease normal infinite;
}
@keyframes bm {
  0% {
    transform: scale(1.0);
  }  
  50% {
    transform: scale(1.005);
  }
  100% {
    transform: scale(1.0);
  }
}
.scroll-down {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  color: #fff;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
  padding-top: 70px;
}
.scroll-down:hover {
  opacity: .5;
}
.scroll-down span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdi 2s infinite;
  animation: sdi 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
.scroll-down span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.scroll-down span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
.scroll-down span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
@keyframes sdi {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
h1 {
  color: #fff;
  font-size: 3.4vw;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-family:Comic Sans MS, Comic Sans, "Comic Neue", cursive;
  margin:0;
  animation-delay: 0.4s !important;
  animation-fill-mode: forwards !important;
  opacity:0;
}
header p {
  color: #fff;
  font-size: 1.6vw;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-family:Comic Sans MS, Comic Sans, "Comic Neue", cursive;
  margin:0;
  animation-delay: 0.7s !important;
  animation-fill-mode: forwards !important;
  opacity:0;
}
h2 {
  font-family: Aptos, Calibri, sans-serif;
  font-size: 2.2em;
  font-weight: 600;
  line-height: 1.4;
  padding:30px 16px 0;
}
h3 {
  font-family: Aptos, Calibri, sans-serif;
  font-size: 1.6em;
  font-weight: 600;
  line-height: 0.8;
}
#fotos {
  background-color: #717388;
  padding: 2% 0;
  overflow: hidden;
}
#fotos figure {
  margin:0;
  animation: 16s cubic-bezier(1, 0.95, 0.565, 1) sliding infinite;
  white-space: nowrap;
}
#fotos img {
  width: 96%;
  margin: 0 2%;
}
@keyframes sliding {
  0% {
    transform: translateX(0%);
  }
  40% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(-100%);
  }
  90% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}
#geschiedenis {
  min-height:100vh;
  background-color:#EDE3D2;
}
#geschiedenis img{
  margin-bottom:16px;
}
#lid-worden {
  min-height:100vh;
  background-color:#6F8D6A;
  color:#fff;
}
#lid-worden figure {
  margin:0 0 16px;
  position:relative;
}
#lid-worden figure img {
  width:100%;
}
/*#lid-worden img:nth-of-type(1) {
  position:absolute;
  top:0;
  left:0;
}*/
#activiteiten {
  background-color: #005871; //background-color: #3498db;
  min-height:100vh;
}
#activiteiten h2 {
  color:#fff;
}
#activiteiten .w3-card-4{
  height:240px;
  margin:0 10% 13px;
  width:80%;
  background-color:#e8e8e8;
}
#activiteiten .w3-card-4 span{
  font-size: 1.8em;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-family:Comic Sans MS, Comic Sans, "Comic Neue", cursive;
}
#activiteiten-fotos {
  background-color: #98DDDF;
  color:#fff;
  min-height:100vh;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-family:Comic Sans MS, Comic Sans, "Comic Neue", cursive;
  text-shadow: 2px 2px 5px #000;
  padding-top:10px;
}
#activiteiten-fotos figure{
  margin: 10px 0;
}
#activiteiten-fotos img{
  margin: 0 10% 0;
  width: 80%;
}
#contact {
  background-color: #A66E4A;
  color: #fff;
  min-height:100vh;
}
#contact img{
  margin-bottom:16px;
}
#connect {
  background-color: #3f51b5;
  color: #fff;
  min-height:100vh;
}
#connect figure {
  margin:0;
  color: #fff;
  font-size: 1.6em;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-family:Comic Sans MS, Comic Sans, "Comic Neue", cursive;

}
span.email {
  display:none;
}
svg.logo g {
  display:inline;
}
svg.logo path {
  fill:#fff;
}
svg.logo path.inline {
  display:inline;
}
svg.logo path.opacity {
  opacity:1;
  stroke-width:.997685;
  stroke-linecap:round;
  stroke-linejoin:round;
}
svg.logo path.fill-opacity {
  fill-opacity:1;
  fill-rule:evenodd;
  stroke:none;
}
svg.logo path.772 {
  stroke-width:7.72082
}
svg.logo path.784 {
  stroke-width:7.84109
}
svg.logo path.776 {
  stroke-width:7.76135
}
.animate-left{position:relative;opacity: 0;}.animate-left.active{opacity: 1;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
.animate-right{position:relative;opacity: 0;}.animate-right.active{opacity: 1;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
.animate-zoom{opacity: 0;}.animate-zoom.active{opacity: 1;animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
.animate-opacity{opacity: 0;}.animate-opacity.active{animation:opac 0.8s;animation-fill-mode: forwards;}@keyframes opac{from{opacity:0} to{opacity:1}}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

