/* Colours:
Dark blue #2F6690
Lighter blue #3A7CA5
Grey text #D9DCD6
link light blue #81C3D7
unused very dark blue #16425B
palette https://coolors.co/palette/2f6690-3a7ca5-d9dcd6-16425b-81c3d7
*/

::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  background: #D9DCD6;
}
::-webkit-scrollbar-thumb {
  background: #3a7ca5;
}
::-webkit-scrollbar-thumb:hover {
  background: #2f6690;
}

.red {
  color: red;
}

* {
  box-sizing: border-box;
}

body {
  font-size: 0.9em;
  font-family: sans-serif;
  background-color: #D9DCD6;
}

a {
  color: #81C3D7;
  cursor: pointer;
  text-decoration: none;
}

a.anchor {
    display: block;
    position: relative;
    top: -60px;
    visibility: hidden;
}

.topbox {
  display: flex;
  flex-direction: row;
  max-width: 1000px;
  color: #D9DCD6;
  background-color: #2f6690;
  margin: -12px auto 0px auto;
  padding: 5px 20px;
}

#logo {
  height: 150px;
}

#topboxright {
  display: flex;
  flex-direction: column;
}

#name {
  font-family: 'Cormorant', serif;
  font-size: 3em;
  margin-top: 0;
  margin-bottom: 0;
  padding: 20px 20px 0px 20px;
}

#subtitle {
  font-family: sans-serif;
  font-size: 1.5em;
  font-style: normal;
  padding: 0px 20px;
}

.herobox {
  height: 300px;
  max-width: 1000px;
  overflow: hidden;
  margin: auto;
}

.hero {
  width: 100%;
}

header {
  position: fixed;
  z-index: 10;
  max-width: 1000px;
  margin: auto;
  text-align: center;
  right: 0;
  left: 0;
  bottom: 30px;
  white-space: nowrap;
}

.title {
  color: #D9DCD6;
  font-size: 6em;
  display: inline-block;
}

.whitebutterfly {
  z-index: 10;
  height: 3em;
  display: inline-block;
}

.logo-text {
  font-family: 'Tangerine';
  color: #D9DCD6;
  font-size: 1.5em;
  display: inline-block;
  margin-top: -3px;
}

#menu {
  z-index: 10;
  clear: left;
  max-width: 1000px;
  margin: auto;
  padding: 0px;
  text-align: center;
  right: 0;
  left: 0;
  overflow: hidden;
  display: flex;
  background-color: #2f6690;
}

#menu a {
  float: left;
  font-size: 1.5em;
  display: block;
  color: #D9DCD6;
  text-align: center;
  padding: 10px;
  flex: 1 1 auto;
}

#menu a:hover {
  background-color: #3a7ca5;
  cursor: pointer;
}

#menu .icon {
  display: none;
}

.selectedtab {
  background-color: #3a7ca5;
}

#selectedtab:hover {
  cursor: default;
}

.titleheromenu {
  height: 65%;
}

.box {
  max-width: 1000px;
  margin: -25px auto 0px auto;
  padding: 0px;
  color: #D9DCD6;
  font-size: 1.5em;
  background-color: #3a7ca5;
}

.quotebox {
  max-width: 1000px;
  margin: 20px 100px;
  padding: 0px;
  color: #3a7ca5;
  background-color: #D9DCD6;
  border-radius: 25px;
}

.quote {
  font-family: 'Cormorant', serif;
  text-align: center;
  font-size: 1.1em;
  font-style: italic;
  padding: 20px 30px 0px 30px;
}

.reference {
  text-align: right;
  font-size: 0.8em;
  padding: 0px 30px;
}

.boxtext {
  font-size: 1em;
  padding: 20px 20px 0px 20px;
  line-height: 1.5;
}

.centeredtext {
  text-align: center;
  font-size: 1em;
  padding: 20px 20px 0px 20px;
  line-height: 1.5;
}

.centeredheading {
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  padding: 20px 20px 0px 20px;
}

#newestfirst {
  font-style: italic;
  font-weight: normal;
  font-size: 1em;
}

.italic {
  font-style: italic;
}

ul {
  list-style-position: inside;
}

li {
  line-height: 1.5;
}

.eightypercent {
  max-width: 80%;
  margin: auto;
}

#webdesign {
  padding: 20px 20px 0px 20px;
  font-size: 0.8em;
  text-align: center;
}

.footer {
  font-size: 0.8em;
  color: #D9DCD6;
  max-width: 1000px;
  margin: 0px auto 0px auto;
  text-align: center;
  background-color: #3a7ca5;
  /*to make the footer stick to the bottom:*/
  flex-shrink: 0;
}

#points-box {
  display: flex;
}

.points {
  margin: auto;
  border-radius: 10px;
  max-width: 100%;
}

.point {
  flex: 1 1 auto;
  max-width: 33%;
  padding: 0px 15px;
  text-align: center;
}

.pointbold {
  font-weight: bold;
}

#portrait {
  width: 250px;
  padding: 20px;
  border-radius: 20%;
}

.flexcontainer {
  display: flex;
}

.left {
  padding: 20px;
}

.right {
  padding: 20px;
}

#education {
  font-size: 1em;
  font-weight: bold;
  padding: 20px 20px 0px 20px;
}

/*slideshow*/
.blackbackground {
  background-color: black;
}
.slideshow-container {
  max-width: 85%;
  margin: auto;
  position: relative;
}

.mySlides {
  position: relative;
  overflow: hidden;
  height: 550px; /* whatever height you want it to be */
}

.slideimage {
  /* centre the image */
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Number text (1/3 etc) */
.numbertext {
  color: gold;
  font-size: 1em;
  padding: 8px 12px;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.goldtitle {
  color: gold;
}

/*Lessen*/
#lesgeven {
  max-width: 350px;
  align-self: center;
}

#lessen-box {
  display: flex;
  justify-content: space-between;
}

.les-tekst {
  text-align: left;
  padding: 0 5px;
}

.les-foto {
  text-align: center;
}

/*contact*/
#contact {
  text-align: left;
}

#contactbutton {
  background-color: #E64AAD;
  border: none;
  color: #D9DCD6;
  padding: 10px;
  text-align: center;
  font-size: 1.25em;
  border-radius: 10px;
  cursor: pointer;
}

#verzonden {
  color: #E64AAD;
  font-weight: bold;
  font-size: 1.25em;
}

/*notes to self*/
.note {
  color: red;
}

/*Responsive for mobile*/
@media screen and (max-width: 700px) {
  body {
    font-size: 0.8em;
    font-family: sans-serif;
    background-color: #D9DCD6;
  }
  .herobox {
/*image shrinks:
    display: flex;
    overflow: hidden;
    */
    height: 300px;
    max-width: auto;
    overflow: hidden;
    margin: auto;
  }
  .hero {
    height: 100%;
    width: auto;
    overflow: hidden;
  }
  .quotebox {
    max-width: 1000px;
    margin: 20px 50px;
    padding: 0px;
    color: #3a7ca5;
    background-color: #D9DCD6;
    border-radius: 25px;
}
.points {
  display: flex;
  flex-direction: column;
}
.point {
  flex: 1 1 auto;
  max-width: 100%;
  padding: 0px 15px;
  text-align: center;
}
}

  /*Responsive for tablet*/
  @media screen and (max-width: 950px) {

    .flexcontainer {
      display: flex;
      flex-direction: column;
    }

    .left {
      display: flex;
      justify-content: center;
    }

    #portrait {
      padding: 0px;
    }

    #name {
      font-family: 'Cormorant', serif;
      font-size: 2em;
      margin-top: 0;
      margin-bottom: 0;
      padding: 22px 20px 0px 20px;
    }

    #subtitle {
      font-family: sans-serif;
      font-size: 1em;
      font-style: normal;
      padding: 0px 20px;
    }

    #menu a {
      float: left;
      font-size: 1.1em;
      display: block;
      color: #D9DCD6;
      text-align: center;
      padding: 10px;
      flex: 1 1 auto;
    }

  }
