body {
  font-size: 100%;
  font-family: arial, sans-serif;
  background: rgba(255,255,255,1);
}

a {
  text-decoration: none;
  color: black;
}

header {
  display: none;
  /*position: fixed;*/
  position: relative;
  width: 94%;
  max-width: 650px;
  /*always keepa little margin on small devices*/
  height: 90px;
  text-align: center;
  margin: 30px auto 0 auto;
}

header h1{
  /* min-width: 300px; */
  max-width: 70vw;
}

header h2{
  max-width: 100vw;
}

.header--visible{
  display: table;
}

.menuIcon {
  position: absolute;
  top: 6px;
  left: 0;
  padding: 0 32px 32px 0;
}

.menuIcon img {}

@media screen and (max-width: 959px) {
  /*based on window resizing, not on device*/
  .menuIcon {
    display: inline-block;
  }
  header h1 {
    display: inline-block;  /*auto-width*/
    margin: 0 auto;
    /*debug TODO*/
    /*this is a temporary solution, zonder dit moet je maar s zien wat er gebeurt*/
    /*top:0;*/
    /*position: absolute;*/
  }
  header h2 {
    margin-bottom: 0;
    /*to delete webkit's automatic generated "webkit-margin-after"*/
  }
}



@media screen and (min-width: 960px) {
  /*based on window resizing, not on device*/
  .menuIcon {
    display: none;
  }
}



#crossy {
    position: absolute;
    /* z-index: 8; */
    width: 24px;
    top: 11px;
    left: 0;
    margin: 0;
}

#crossy, #crossy::after, #crossy::before {
    /*timeline.css assigns box-sizing:border-box, this eliminates that problem*/
    box-sizing: content-box;
}

.line {
    width: 24px;
    height: 3px;
    background: black;
    border-radius: 4px;
    margin: 0 5px 5px 0;
    padding: 0;
}

.upper {
    transition: ease all 0.5s;
    -webkit-transition: ease all 0.5s;
    -moz-transition: ease all 0.5s;
}

.middle {
    transition: ease all 0.5s;
    -webkit-transition: ease all 0.5s;
    -moz-transition: ease all 0.5s;
}

.upperMorph {
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    /* IE 9 */
    -webkit-transform: rotate(45deg);
    /* Chrome, Safari, Opera */
    margin-left: -2px;
    margin-top: 7px;
}

.middleMorph {
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    /* IE 9 */
    -webkit-transform: rotate(-45deg);
    /* Chrome, Safari, Opera */
    margin-left: -2px;
    margin-top: -7px;
}

@media screen and (max-width: 959px) {



}

@media screen and (min-width: 960px) {
  #crossy{
    display: none;
  }
}


nav {
  display: none;
  position: fixed;
  z-index: 1;
  height: -moz-calc(100vh - 90px);
  height: -webkit-calc(100vh - 90px);
  height: -o-calc(100vh - 90px);
  height: calc(100vh - 90px);
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
}

nav ul {}

nav li {
  font-size: 1.25em;
  padding: 4px;
  list-style: none;
}

nav a:hover {
  text-decoration: underline;
}

.arrowRight {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid white;
  margin: 0 6px 0 -12px;
}

@media screen and (max-width: 959px) {
  /*based on window resizing, not on device*/
  nav {
    width: 100%;
    background: white;
    top: 150px;
    text-align: center;
    left: -100%;
    overflow: scroll;
  }
  nav ul {
    /*margin: 0;*/
    margin-bottom: 100px;
    /*extra headroom for menu scroll*/
    padding: 0;
  }
}


/* @media only screen and (max-width: 959px) and (orientation:landscape) {
  nav {
    overflow: scroll;
  }
} */

@media screen and (min-width: 960px) {
  /*based on window resizing, not on device*/
  nav {
    width: 360px;
    top: 165px;
    text-align: left;
    /*left: 0;*/
  }
}

.slideInNav {
  left: 0;
}

.slideOutNav {
  left: -100%;
}

.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* position: fixed; */
  position: relative;
  /* z-index: 4; */
  /* top: 0; */
  width: 100%;
  max-width: 650px;
  height: 100vh;
  /* height: -moz-calc(100vh - 100px); */
  /* height: -webkit-calc(100vh - 100px); */
  /* height: -o-calc(100vh - 100px); */
  /* height: calc(100vh - 100px); */
  margin: 0;

  box-sizing: border-box;
  margin: auto;
  padding: 0 10px;

  text-align: center;


  -webkit-transition: all 1s ease;
  transition: all 1s ease;

  /* overflow: scroll; */
  /* background: red; */
  /* border: 4px solid yellow */
}

@media screen and (max-width: 959px){
/* @media screen and (max-width: 599px){ */
  .intro{
    justify-content: flex-start;

  }
}

/*2 QUICK FIXES FOR MARGIN DIFFERENCE BETWEEN INTRO AND HEADER h1/h2*/
.intro h1{
  padding-top: 1px;
}

.intro h2{
  margin-top: -2px;
}

.intro__open{
  background: none;
  border: 1px solid black;
  box-sizing: border-box;
  padding: 0 12px;
  box-shadow: 2px 2px 6px black;
}

.intro__open:hover{
  cursor: pointer;
}

article {
  display: none;
  width: 94%;
  text-align: center;
  margin: auto;
}

article img {
  width: 100%;
  max-width: 650px;
  /*always keepa little margin on small devices*/
  /*max-width: 650px;*/
  /*always keepa little margin on small devices*/
  /*max-height: 100vh;*/
  margin-top: 30px;
}

.imgGroup p {
  font-size: 1.1em;
  font-style: italic;
  /*text-transform: uppercase;*/
  /*font-weight: bold;*/
}

.hideme {
  /*display: none;*/
  opacity: 0;
}

@media screen and (max-width: 959px) {
  /*based on window resizing, not on device*/
  .hideme {
    margin-top: 0;
  }
}

@media screen and (min-width: 960px) {
  /*based on window resizing, not on device*/
  .hideme {
    margin-top: 120px;
  }
}

#pageNav {
  font-size: 0.95em;
  width: 100%;
  max-width: 650px;
  text-align: center;
  margin: 30px auto 0 auto;
  height: 20px;
}

#pageNav * {
  /*every child*/
  display: inline-block;
  margin: 0;
  padding: 0;
}

#pageNav * :hover {
  /*every child*/
  cursor: pointer;
  text-decoration: underline;
}

.prevPage {
  float: left;
}

.page {}

.nextPage {
  float: right;
}

footer {
  display: flex;
  justify-content: center;
  font-size: 0.8em;
  width: 100%;
  margin: 30px 0 10px 0;
  /*border-top: 1px solid grey;*/
  text-align: center;
}

@media screen and (max-width: 959px) and (orientation: portrait){
  footer{
      position: fixed;
      bottom: 0;
  }
}

footer p {
  font-size: 0.8em;
  color: grey;
}

footer a {
  color: grey;
}
