/*@fontfaces*/
@font-face {
  font-family: "josefinsans";
  src: url(../Fonts/JosefinSans-Regular.ttf);
}

@font-face {
  font-family: "akrobatlight";
  src: url(../Fonts/Akrobat-Light.otf);
}

@font-face {
  font-family: "akrobatSemibold";
  src: url(../Fonts/Akrobat-SemiBold.otf);
}

@font-face {
  font-family: "akrobatbold";
  src: url(../Fonts/Akrobat-Bold.otf);
}



/* root, html, body setup*/
:root {
  font-size: 16px;
}


html, body {
  width: 100vw;
  margin: 0px;
  cursor: default;
  user-select: none;
}

/*general page setup*/
div.section {
  z-index: 1;
  margin: 0;
  width: 100vw;
  height: 100vh;
  padding: 0px;
  background-color: #222222 !important;
}

h2.pagetitle {
  font-size: 2.2rem;
  color: #3355DD;
  position: absolute;
  top: 15vh;
  left: 50vw;
  transform: translateX(-50%);
}

h3.undertitle {
  font-size: 1.8rem;
  color: #DDDDDD;
}

p.maintext {
  font-size: 1rem;
  font-family: 'josefinsans',Arial, Helvetica, sans-serif;
  color: #DDDDDD;
  margin-left: 20vw;
  margin-right: 20vw;

}

img#downarrow{
  width: 50px;
  transition: width 0.2s;
}

img#uparrow{
  width: 30px;
}

img#downarrow, img#uparrow{
  position: fixed;
  display: block;
  transform: translateX(-50%);
  left: 50vw;
  padding: 10px;
  border-radius: 30px;
  z-index: 1000;
}

img#uparrow {
  top: 2vh;
}

img#downarrow {
  bottom: 5vh;
}

img#downarrow:hover, img#uparrow:hover {
  background-color: rgba(100, 100, 100, 0.5);
  /*animation-play-state: paused;*/
}

/*fixed vertical nav list*/

ul#navmenu{
  position: fixed;
  right: 0vh;
  z-index: 3;
  list-style: none;
}

div#menudiv {
  position: absolute;
  top: calc(20vh - 20px);
  right: 0px;
  z-index: 3;
  text-align: right;
  margin-right: 0px;
}

p#menuind{
  font-size: 1.1rem;
  color: white;
  font-family: 'akrobatlight', Arial, Helvetica, sans-serif;
  display: inline;
  margin-right: 10px;
  padding-bottom: 2px;
  padding-top: 2px;
  padding-left: 0px;
  border-bottom: 1px solid #DEDEDE;
  border-top: 1px solid #DEDEDE;
  margin-right: 0px;
}

ul#navmenu {
  margin-top: 0px;
  padding-top: 20px;
  padding-bottom: 10px;
  margin-right: 0px;
  padding-right: 0px;
}

p#menuind:hover {
  cursor: default;
}

li {
  color: #DEDEDE;
  border-right: solid 3px #3355DD;
  padding-right: 9px;
  font-family: 'josefinsans', Arial, Helvetica, sans-serif;
  text-decoration: none;
  padding-top: 5px;
  padding-bottom: 5px;
}

a.navlink {
  color: #DEDEDE;
  transition: color 0.5s;
  text-decoration: none;
}

/*vertical settings dropdown*/

div#setsdiv {
  display: none;
  position: fixed;
  bottom: 200px;
  right: 0px;
  z-index: 103;
  text-align: right;
}

li#arrowtoggle:hover, li#navtoggle:hover {
  color: #3355DD;
  cursor: pointer;
}

li#arrowtoggle:hover, li#navtoggle:hover, li#disclaimer:hover {
  color: #3355DD;
}


/*homepage setup */

div#pageone {
  height: 100vh;
  background-image: url(../images/tilefillimg.jpg);
  background-size:cover;
}

wh{
    border-bottom: 2px #3355DD solid;
    border-radius: 2px;
}

h1#main-header {
  margin-top: 0px;
  padding-top: 0vh;
  text-align: center;
  font-size: 4rem;
  width: 100%;
  color: #DDDDDD;
  font-family: "josefinsans", Arial, Helvetica, sans-serif;
}

h2#your-engi-sol {
    width: 100%;
    text-align: center;
    color: #3355DD;
    font-family: "josefinsans", Arial, Helvetica, sans-serif;
}

/*second page*/

#pagetwo {
    background-image: url(../images/turbo1.jpg);
    background-size: cover;
    background-position: 0% 30%;
}

#page2left {
  font-family: 'akrobatlight', Arial, Helvetica, sans-serif;
  letter-spacing: 3px;
  font-size: 1.7rem;
  position: absolute;
  left: 5%;
  top: 50px;
  color: white;
}

#page2right {
  font-family: 'akrobatlight', Arial, Helvetica, sans-serif;
  font-size: 1.7rem;
  letter-spacing: 3px;
  position: absolute; 
  right: 8%;
  top: 50px;
  color: white;
}

.undertitle{
  font-size: 1.4rem;
  color: white;
  font-family: 'akrobatlight',Arial, Helvetica, sans-serif;
  width: 100%;
  text-align: center;
}

#page2gridcontainer{
    width: 100%;
    margin: 0;
    margin-top: 20px;
    height: 60%;
    display: flex;
    align-content: center;
    justify-content: center;
}

#page2grid{
    display: flex;
    justify-content: center;
    border: white 2px solid;
    width: 65%;
    height: 100%;
    flex-wrap: wrap;
    background-image: url(../images/groen2.jpg);
    background-size:cover;
    
}

.tile{
    color: white;
    width: 25%;
    height: 50%;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-family: 'akrobatlight';
    font-weight: 100;
}

.tiletext{
    text-align: center;
    font-size: 1.6rem;
}

#tile1, #tile3, #tile6, #tile8{
    background-color: rgba(0,0,0,0.3);
}
#tile2, #tile4, #tile5, #tile7{
    background-color: rgba(0,0,0,0.3);
}

.tilefill{
    font-size: 1rem;
    display: none;
    height: 100px;
    position: absolute;
    margin-left: 25px;
}

/*Third page*/
#pagethree {
  background-image: url(../images/groen2.jpg);
  background-size: cover;
  background-position: 0% 30%;
}

#page3left {
font-family: 'akrobatlight', Arial, Helvetica, sans-serif;
letter-spacing: 3px;
font-size: 1.7rem;
position: absolute;
left: 5%;
top: 90px;
color: white;
}

#page3right {
font-family: 'akrobatlight', Arial, Helvetica, sans-serif;
font-size: 1.7rem;
letter-spacing: 3px;
position: absolute; 
right: 5%;
top: 90px;
color: white;
}

#page3gridcontainer{
  width: 100%;
  margin: 0;
  margin-top: 100px;
  height: 60%;
  display: flex;
  align-content: center;
  justify-content: center;
}

#page3grid{
  background-image: url(../images/turbo1.jpg);
  background-position: 0% 30%;
  display: flex;
  justify-content: center;
  border: white 2px solid;
  width: 65%;
  height: 100%;
  flex-wrap: wrap;
  background-size:cover;
  
}

#tile31, #tile33, #tile36, #tile38{
  background-color: rgba(0,0,0,0.3);
}
#tile32, #tile34, #tile35, #tile37{
  background-color: rgba(0,0,0,0.3);
}

/*fourth page*/

#pagefour{
    background-image: url(../images/groen2.jpg);
    background-size: cover;
}

h2.pagetitle {
  font-family: 'akrobatbold', Arial, Helvetica, sans-serif;
}

#pagetitle4{
    font-size: 3rem;
    border-bottom: solid 2px white;
    margin: 0;
    color: white;
    font-family: 'akrobatlight', Arial, Helvetica, sans-serif;
}

h3.contactinfo{
    color: white;
    font-family: 'akrobatlight', Arial, Helvetica, sans-serif;
    font-size: 1.6rem;
    margin-top: 0;
    padding: 0;
}

#personalcontainer{
    height: 30%;
    background-color: rgba(0,0,0, 0.5);
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    top: 40%;
    border-radius: 5px;
    max-width: 550px;
}

#foto{
    margin-top: 1px;
    border: white 2px solid;
    border-radius: 2px;
    float: left;
    /*width: 30%;*/
    height: 100%;
}

#aboutme{
    float: left;
    padding-left: 10px;
    padding-right: 5px;
    border-bottom: 2px white solid;
    margin-bottom: 10px;
}

#personallist {
    display: inline-block;
    list-style: none;
    margin-top: 5px;
    padding-inline-start: 10px;
}

.perslistitem {
    border: none;
    font-family: 'akrobatSemibold', Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
}

show {
    text-align: center;
    display: block;
    width: 6rem;
    border-bottom: white 1px solid;
}

show:hover {
    color: #3355DD;
    border-bottom: #3355DD 1px solid;
}

show:active {
    color: #DD5533;
    border-bottom: #DD5533 1px solid;
}

#mapcontainer{
    display: none;
    height: 100%;
    width: 100%;
    z-index: 10;
}

#map {
    width: 75%;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 12.5%;
    border: white 2px solid;
    border-radius: 2px;
}

#maphide {
    z-index: 11;
    border-bottom: 1px solid white;
    color: white;
    display: inline;
    position: absolute;
    background-color: rgba(0,0,0, 0.5);
    font-family: 'akrobatbold', Arial, Helvetica, sans-serif;
    bottom: 40%;
    left: 12.5%;
    padding: 5px;
    border-radius: 0px 2px 2px 0px;
}

#maphide:hover {
    color: #3355DD;
    border-bottom: #3355DD solid 1px;
}

#maphide:active {
    color: #DD5533;
    border-bottom: #DD5533 solid 1px;
}

#mail{
  color: #DEDEDE;
  text-decoration: underline 2px;
}

/*mediaqueries*/
@media screen and (max-width: 850px){
  :root{
    font-size: 16px;
  }

  #menudiv{
    display: none;
  }

  #page2left, #page2right, #page3left, #page3right{
    font-size: 1.5rem;
    letter-spacing: 1px !important;
  }

  img#uparrow, img#downarrow{
    height: 20px;
  }

  .tile{
    width: 50%;
    height: 25%;
  }

  #page2grid, #page3grid{
    height: 100%;
    width: 90%;
  }

  #personalcontainer{
    margin-left: 2%;
    margin-right: 2%;
    width: 96%;
  }

}

@media screen and (max-width: 700px){
  :root{
    font-size: 15px;
  }

  #page2left, #page2right, #page3left, #page3right{
    font-size: 1.4rem;
    letter-spacing: 1px !important;
  }

  #page3left, #page3right{
    font-size: 2.5rem;
  }
  #personalcontainer{
    margin-left: 2%;
    margin-right: 2%;
    width: 96%;
  }

}

@media screen and (max-width: 500px){
  :root{
    font-size: 13px;
  }

  #page3left, #page3right{
    font-size: 1.2rem;
  }
  #personalcontainer{
    margin-left: 2%;
    margin-right: 2%;
    width: 96%;
  }
}

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

  :root{
    font-size: 10px;
  }

  #personalcontainer{
    margin-left: 2%;
    margin-right: 2%;
    width: 96%;
  }

  #personallist{
    padding-inline-start: 10px;
  }
}
