@font-face {
  font-family: writing;
  src: url("../fonts/writing.ttf");
}
*{
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
#container{
  max-width: 1800px;
  position: relative;
}
body{
  height: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: linear-gradient(#bdc3c7, #2c3e50);
  font-family: sans-serif;
}
/* Header */

header{
  background-image: url("../images/achtergrond.jpg");
  color: white;
  width: 100%;
  height: 500px;
}
h1{
  text-align: center;
  padding-top: 200px;
  font-size: 3em;
  width: 100%;
}
h4{
  width: 100%;
  text-align: center;
  margin-top: 20px;
  color: white;
}

/* Navigatie */

nav{
  color: white;
}
.navbar{
  padding: 0 16px;
}
nav li{
  cursor: pointer;
  padding: 8px 0;
  text-align: center;
}
nav li:hover{
 background-color: white !important;
 color: black;
}
.bg-dark{
  background-color: black !important;
}
/* standaard */

a{
  color: black;
  text-decoration: none;
}
a:hover{
  background-color: rgba(0, 0, 0, 0.1);
  color: black;
  text-decoration: none;
}
h3{
  background-color: black;
  color: white;
  font-size: 2em;
  text-align: left;
  padding-bottom: 3px;
  padding-left: 10px;
  margin-bottom: 30px
}
p{
  padding: 0 10px;
}

/* Intro */

#boven{
  padding: 80px 0;
  padding-top: 120px;
}
#boven img{
  height: 200px;
  width: 200px;
  margin: 0 auto;
  margin-top: -80px;
  object-fit: cover;
  border-radius: 100%;
  border: 5px solid black;
}
#boven h3{
  margin: 0;
  margin-bottom: 10px;
}
#vaardig:hover{
  background-color: black;
  color: white;
}
.skills{
  margin-top: 20px;
  text-align: center;
  width : 100%;
  cursor: pointer;
}
.skills:nth-of-type(1){
  margin-bottom: 0;
}
.skills:nth-of-type(2){
  color: red;
  font-size: 1.5em;
  margin-top: 0;
}
#pop2{
  display: flex;
  justify-content: center;
  position: absolute;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 auto;
  height: 0%;
  width: 100%;
  background-color: black;
  border-radius: 5% 5% 5% 5%;
  color: red;
  transition: all 1s;
  overflow: hidden;
  z-index: 20;
}
#inhoud{
  background-color: rgba(255,255,255,0.3);
  color: black;
  width: 100%;
  text-align: center;
  overflow: hidden;
}
table{
  text-align: left;
  margin: 0 auto;
}
td{
  padding: 5px 0;
}
th{
  width: 50%;
}
/* snake */

#slangetje{
  background-color: rgba(255,255,255,0.3);
  padding-bottom: 30px;
}
#slangetje iframe{
  margin: 0 auto;
  width: 509.5px;
  height: 562.5px;
}
#snake span{
  display: none;
}
#helaas img{
  width : 100%;
}
#helaas p{
  width: 90%;
  margin: 0 auto;
}
/* contact */

#contact{
  background-color: rgba(255,255,255,0.3);
  color: black;
  width: 100%;
  text-align: left;
  padding-bottom: 50px;
  display: block;
}
#contact form{
  padding-top: 50px;
}
#contact div{
  padding: 0;
}
#contact span{
  color: red;
}
#fout{
  height : 100px;
}
.nee{
  display: none;
  color: darkred;
}
#ja{
  display: none;
  color: darkgreen;
}
#pop{
  display: none;
  position: fixed;
  background-color: rgba(0,0,0,0.8);
  color: black;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}
#pop p{
  text-align: center;
  background-color: white;
  width: 100%;

}
#pop div{
  margin-top: 40vh;
  width: 50%;
  margin-left: 25%;
}
#pop h3{
  margin-bottom: 0;
}
#uit{
  background-color: black;
  cursor: pointer;
  color: grey;
  font-size: 2em;
  text-align: right;
}
/* portfolio */

#port{
  position: relative;
  background-color: rgba(255,255,255,0.3);
  color: black;
  width: 100%;
  padding-bottom: 40px;
  overflow: hidden;
}
.porto{
  position: relative;
  transition: all 1s ease;
}
#port img{
  width: 100%;
  object-fit: cover;
  height: 300px;
  padding: 0;
  margin: 0;

}

#port h2{
  margin-top: 1%;
  background-color: black;
  color: white;
  width: 100%;
  font-size: 1.5em;
  padding-bottom: 3px;
  margin-bottom: 0;
}
.beschrijving a{
  overflow: hidden;
  color: white;
  height: 20px;
}
.infor{
  color: white;
  position: absolute;
  width: 100%;
  padding: 0 15px;
  height: 305px;
  left: 0;
  top: 30px;
}
.linkje{
  display: block;
  width: 100%;
  margin: 10px 0;
  text-align: center;
}
.beschrijving{
  background-color: rgba(0,0,0,0.9);
  width: 100%;
  padding: 0 15px;
  overflow: hidden;
  margin: 0;
  transition: all 1.5s;
}
.voortgang{
  width: 100%;
  height: 25px;
  background-color: black;
  box-shadow: inset 0 0 5px grey;
}
.schuif{
  background-color: black;
  margin: 0;
  text-align: center;
}

.schuif:hover{
  cursor: pointer;
  background-color: white;
  color: black;
}
#links, #rechts{
  height: 100%;
  width: 50%;
  padding-top: 130px;
}
#links p, #rechts p{
  width: 30%;
  margin: 0 35%;
  text-align: center;
  color: white;
  font-size: 2em;
  transform: scale(.5,5);
}
#links {
  margin-left: 50%;
}
#links:hover, #rechts:hover{
  background-color: rgba(255,255,255,0.7);
  cursor: pointer;
}

/* opleiding en WerkErvaring */

section{
  padding: 30px 0;
  text-align: center;
}
#op section{
  font-family: writing;
  font-size: 1.3em;
  width: 18%;
  background-image: url("../images/papier.jpg");
  margin-bottom: 30px;
  overflow: hidden;
  border-image: url(../images/hout.jpg) 30 round;
}
#op p{
  padding: 0;
}
h5{
  color: red;
}
#functie{
  display: none;
}
.klap{
  text-align: center;
  cursor: pointer;
  display: inline-block;
  width: 100%;
  font-weight: bold;
}
.klap:hover{
  background-color: black;
  color: white;
}

/* footer */

footer{
  position: sticky;
  width: 100%;
  bottom: 0;
  background-color: black;
  height: 30px;
}
footer p{
  color: white;
  width: 100%;
  text-align: center;
  padding-top: 2px;
}
footer a{
  color: white;
  text-decoration: none;
}
footer a:hover{
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

/* media */

@media only screen and (max-width: 768px) {

  #boven img{
    margin-top: 0;
  }
  #op section{
    margin-left: 10%;
    width: 80%;
  }
  #slangetje{
    display: none;
  }
  #slangetje1{
    display: none;
  }

}
@media screen and (min-width: 769px) and (max-width: 992px){
  #op section{
    width: 30%;
  }
}
