* {
  padding: 0;
  margin: 0
}

body {
  background-color: #000000;
  overflow:hidden;
}

form {
  padding-top:10px;
}

form div {
  width: 90%;
  margin: auto;
  padding: 10px;
}

form div input,
form div textarea {
  width: 100%;
  font-size: 1em;
  border: 0px;
  border-bottom: 1px solid black;
  border-top: 1px solid white;
  padding: 10px;
  background-color:#eee;
  margin-left: -10px;
}

form div textarea {
  height:60px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  font-weight: 100;
}

a {
  color: white;
  text-decoration: none;
  cursor: hand;
}

/* unvisited link */
a:link {
  color: white;
}

/* visited link */
a:visited {
  color: white;
}

/* mouse over link */
a:hover {
  color: red;
}

/* selected link */
a:active {
  color: white;
}

.text_link {
  font-weight: bold;
  color: black !important;
  text-decoration: underline;
}

.crossfade > figure {
  animation: imageAnimation 40s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 0;
}


/* timings: 4 * 6 = 24 -> 0, 6, 12, 18, 24 
   slower: 0, 20, 40, 60 + imageAnimation 80s
*/

.crossfade > figure:nth-child(1) {
  background-image: url('../img/denhaag.jpg');
}
.crossfade > figure:nth-child(2) {
  animation-delay: 10s;
  background-image: url('../img/malaga.jpg');
}
.crossfade > figure:nth-child(3) {
  animation-delay: 20s;
  background-image: url('../img/denhaag.jpg');
}
.crossfade > figure:nth-child(4) {
  animation-delay: 30s;
  background-image: url('../img/malaga.jpg');
}


@keyframes imageAnimation {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
  }
  8% {
    animation-timing-function: ease-out;
    opacity: 1;
  }
  17% {
    opacity: 1
  }
  25% {
    opacity: 0
  }
  100% {
    opacity: 0
  }
}

.title {
  text-align: center;
  margin: 20px;
}


h1,
.cnt_btn_send {
  font-family: 'Paytone One', sans-serif;
  color: white;
  font-size: 1.5em;
  font-weight: 100;
}


.title .plate,
.cnt_btn_send {
  border-radius: 20px;
  background: black;
  border: 2px solid #818181;
  -webkit-box-shadow: 0px 0px 4px 4px rgba(255,255,255,1);
  -moz-box-shadow: 0px 0px 4px 4px rgba(255,255,255,1);
  box-shadow: 0px 0px 4px 4px rgba(255,255,255,1);
  display: inline-block;
  padding: 10px;
  width:80%;
  max-width: 500px;
}

.cnt_btn_send {
  width: 100%;
  text-align: center;
  margin-left: -12px;
}

.plate div {
  display: inline-block;
}

.title.bottom {
  position: absolute;
  bottom: 0px;
  margin: 0px;
  left: 20px;
  right: 20px;
  height: 15%;
}



.frame {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 15%;
  bottom: 15%;
}


.frame .content {
  height:100%;
  width:100%;
  border-radius: 20px;
/*  background: rgba(255,255,255,0.4); */
  color: white;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
}

.chapters {
  position: relative;
  z-index: 2;
  height: 100%;
}

.chapters p {
  height: 20%;
  line-height:20%;
  line-height: 150%;
  display: block;
  text-align: center;
  position: relative;
  font-size: 7.0vh;
  color: white;
  text-shadow: 3px 3px 3px black, 3px 3px 3px black;
  letter-spacing: 2px;
  font-family: 'Paytone One', sans-serif;
}

.chapters p:hover {
  color: red;
}

#chapters_home {
  top: -500px;
}

#chapters_expertise {
  left: -2000px;
}

#chapters_resume {
  right: -2000px;
}

#chapters_projects {
  left: -2000px;
}

#chapters_contact {
  bottom: -500px;
}


.footer {
  position: absolute;
  bottom: 0;
  background: black;
  color: white;
  width: 100%;
  text-align: center;
}

.footer .bar div {
  display: inline-block;
  padding: 10px;
  font-family: 'Paytone One', sans-serif;
  color: white;
  font-size: 1.5em;
  font-weight: 100;
}

.ta_c {
  text-align: center;
}

.g-recaptcha,
.g-recaptcha div {
  padding-top: 0px;
}




/* wider then a phone */

@media only screen and (max-width: 600px) {
  .title h1 {
    padding: 0px;
    margin-right:0px;
    width: 100%;
  }
  .kinde_schema {
    width: 340px;
  }
}

@media only screen and (min-width: 600px) {
  .frame {
    left: 100px;
    right: 100px;
  }
}

/* phone rotated horizontally */
@media only screen and (max-height: 400px) {
  .bottom .bar div,
  h1 {
    font-size: 0.8em;
    padding: 0px;
  }
  .plate {
    padding: 0px !important;
  }
  .title {
    margin: 10px;
  }
}




/* JARALLAX BG IMG */

.jarallax {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.jarallax > .jarallax-img {
    position: absolute;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#jarallax-container-0 {
    opacity: 0.7;
}

