header {
width: 100%;}

body {font-family: 'Open Sans', sans-serif;
font-weight: 300;}

a {color: black;
text-decoration: none;}

@keyframes laden {
  from {
top: 40vh;
margin-bottom: 100vh;}
  to {
top:50px;
margin-bottom: 100px;}
}

div.titel {
  position: relative;
width: 100%;
top: 40vh;
margin-bottom: 100vh;
text-align: center;
animation-name: laden;
    animation-duration: 2s;
  animation-delay: 0.5s;
animation-fill-mode: forwards;
animation-timing-function: ease-in-out;}

span.first {font-size: 58pt;
font-family: lie_to_meregular;}

span.last {font-size: 16pt;
  font-family: normafixed_tryoutregular;
}


div.lijn {height: 2px;
background-color: #D3B361;
width: 320px;
margin: 12px auto 5px auto;
border-radius: 2px;}

.menubalk {width: 100%;
background-color: #F2F2F2;}

nav {
width: 90%;
max-width: 800px;
display: flex;
justify-content: space-between;
margin: auto;
font-family: normafixed_tryoutregular;
font-size: 16pt;}

nav >  a {padding: 10px;}

main {width: 100%;}

div.content {width: 90%;
max-width: 800px;
margin: 0px auto;
padding: 10px 0px 50px 0px;}

div.grijs {background-color: #F2F2F2;
width: 100%;}

h2 {margin: 20px 0px;
font-size: 24pt;
font-weight: bold;}

p.tekst {line-height: 1.6;}

div.kaders {display: flex;
justify-content: center;
flex-wrap: wrap;
position: relative;}

.kader {width: 190px;
height: auto;
background-color: white;
margin: 5px;
border-radius: 10px;}

.kader:hover {cursor: pointer;}

@keyframes open {
  from {transform: translate(0px, -25px);
  opacity: 0;}
  to {transform: translate(0px, 0px);
  opacity: 1;}
}

@keyframes close {
  from {opacity: 1;}
  to {opacity: 0;}
}

.kadermeer {width: 100%;
height: auto;
display: flex;
justify-content: space-around;
animation: open 0.5s ease-in-out;
}

.close {animation: close 1s ease-in-out;}

.kaderminder {display: none;}

img.icon {width: 100px;
margin: 20px auto;
display: block;}

.kadermeer > .uitleg {
width: 45%;}


p.info {width: 100px;
margin: auto auto 20px auto;
font-size: 11pt;
text-align: center;
}

p.tekstuitleg {display: none;
text-align: center;
margin: auto auto 20px auto;
line-height: 1.4;}

h4 {width: 100%;
text-align: center;
font-weight: 600;
font-size: 12pt;
margin-bottom: 25px;}

h4.tweelijnen {margin-bottom: 10px;}

table {width: 40%;
display: none;
margin-top: 60px;;
margin-bottom: 30px;
font-size: 11.6pt;}

.kadermeer > table {display: table;}

td {padding: 8px 0px;}

table tr td:nth-child(2) {
    text-align: right;
}

tr {border-bottom: 1px solid #F2F2F2;}

tr:last-child {border: 0px;}


tr.rij {height: 15px;}

.geen {border: 0px;}

.haakjes {font-size: 9pt;
padding-left: 10px;}

.inspring {padding-left: 10px;}

.dik {font-weight: 600;}

.sluit {position: absolute;
  z-index: 10;
right: 25px;
top: 25px;
display: none;
background-image: url(private/icons/kruis.svg);
background-position: center right;
background-repeat: no-repeat;
background-size: 18px;
padding: 5px 25px 5px 5px;
animation-name: open;
animation-duration: 1s;}

.sluit:hover {cursor: pointer;}
div.gegevens {width: 380px;
overflow: auto;}

img.geg {width: 50px;
  float: left;
  display: block;
  clear: both;}

h3 {margin: 15px 0px;
float: left;}

.afspraak {margin-bottom: 10px;}

.flex {display: flex;
justify-content: space-between;}

footer {width: 100%;
padding-bottom: 10px;
padding-top: 10px;
overflow: auto;}

p.social {font-size: 10pt;
text-align: center;
width: 100%;}

div.social {
width: 320px;
margin: auto;
padding: 5px 0px;
display: flex;
justify-content: center;}

a.social {width: 25px;
  height: 25px;
margin: 5px;
background-size: 100%;}

a.face {background-image: url(private/icons/facebook.svg);}
a.insta {background-image: url(private/icons/instagram.svg);}

@media only screen and (min-width: 670px) {

.box {
  position:relative;
  transition: 0.5s;
  -webkit-transition:0.5s;
}

.box:hover {
}

.box::before, .box::after {
  width: 100%;
  height:100%;
  z-index: 3;
  content:'';
  position: absolute;
  top:0;
  left:0;
  box-sizing: border-box;
  -webkit-transform: scale(0);
  transition: 0.5s;
}

.top::before {
  border-bottom: 1px solid black;
  -webkit-transform-origin: 0% 100%;
}

.top::after {
  border-top: 0;
  border-right: 0;
  -webkit-transform-origin: 50% 50%;
}

.box:hover::after, .box:hover::before {
  -webkit-transform: scale(1);
}
}
@media only screen and (max-width: 900px) {
  .flex {display: block;}
  iframe {width: 100%;}
  .links {margin-bottom: 25px;}

}

@media only screen and (max-width: 670px) {
  .kader {width: 155px;}
  h4 {font-size: 10pt;}
  .kadermeer {width: 100%;
  display: block;
padding: 30px;}
.kadermeer > .uitleg {width: 100%;}
  .tekstuitleg {width: 100%;}
  table {width: 100%;
  margin: auto;}
  .groot {font-size: 12pt;}

  @keyframes down {
    from {transform: translate(0px, -25px);
    opacity: 0;}
    to {transform: translate(0px, 0px);
    opacity: 1;
    background-color: rgb(248,248,248);}
}
nav.down {
animation: down 0.5s ease-in-out;
background-color: rgb(248,248,248)}

  nav {display: none;
    width: 100%;
text-align: center;
font-size: 16pt;
background-color: rgba(255,255,255);}

  nav > a {width: 75%;
    margin: auto;
    display: block;
    border-top: 1px solid lightgray;
    padding: 15px;}

.menubalk {background-color: white;}
  .menu {height: 45px;
  width: 100%;
  background-color: #F2F2F2;
background-image: url(private/icons/menu.svg);
background-repeat: no-repeat;
background-position: center;
background-size: 35px;}
}

@media only screen and (max-width: 400px) {
  h3 {font-size: 10pt;}
  div.gegevens {width: 320px;}



}
