
* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #87CEEB 0%, #4A90E2 25%, #87CEEB 50%, #a6bfff 75%, #87CEEB 100%);;
  font-family: Arial, Helvetica, sans-serif;
  background-attachment: fixed;
  box-sizing: border-box;

}

a {
  text-decoration: none;
}


nav {
  padding: 0 2% 0 2%;
  margin: 0 0 0 0;
  background-color: rgba(0, 0, 0, 0.8);
  height: 9vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

}


nav p {
  color: white;
  font-size: larger;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav p:hover {

}

.Navbar {
  flex-shrink: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0 250% 0 0;
  display: flex;
  flex-direction: row;
}

nav ul li {
  margin: 0 0 0 0;
  padding: 0 1%;
}

nav ul li a {
  color: white;
  font-size: larger;
  padding: 7px;
  border-radius: 25px;
  white-space: nowrap;
}

nav ul li a:hover {
  color: #ffffff;
  background-color: #005aff;
}

.contact-bottom {
  display: flex;
  flex-direction: row;
  gap: 20px;
  position: fixed;
  left: 83%;
  top: 90%;

}


.contact-bottom a {
  display: inline-block;
}

.contact-bottom img {
  max-width: 40px;
  height: auto;
  display: block;
}

.contact-bottom img:hover {
  transform: scale(1.3);
  transition: transform 0.5s;
}

.intro {
  color: #000000;
  margin-left: 5%;
  margin-top: 4%;
  width: 25%;
}

h1 {
  font-size: xx-large;
}

.intro p {
  font-size: 26px;

}

.pfp img {
  height: auto;
  width: 25%;
  position: absolute;
  left: 70%;
  top: 10%;
}

.aboutme {
  position: absolute;
  color: #000000;
  width: 30%;
  top: 50%;
  left: 5%;
}

.aboutme h2 {
  margin: 0;
}

.aboutme p {
  font-size: large;
}

h2 {
  margin-left: 3%;
}

.fun-facts {
  position: absolute;
  float: right;
  left: 45%;
  top: 50%;

  width: 35%;
  font-size: medium;
}

.fun-facts h2 {
  margin: 0 0 2% 0;

}

.skills-head {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 8%;
}

.skills-container {
  display: flex;
  justify-content: center;
  margin-top: 5%;
}

.skill-pic p {
  font-size: larger;
  text-shadow: 2px 2px #000000;
  color: white;
  margin-bottom: 0;
}

.skill-pic {
  width: 10%;
  margin: 2%;
  border-radius: 15px;
  position: relative;
  height: 32vh;


}

.skill-pic:hover {
  transform: scale(1.2);
  transition: transform .5s;
}


.card-inside {
  width: auto;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.skill-pic:hover .card-inside {
  transform: rotatey(180deg);
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.18);
  border: 2px solid black;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.front img {
  width: 95%;
  height: auto;
}

.back {
  transform: rotateY(180deg);
  padding: 0 5px;
  background-color: rgba(0, 0, 0, 0.18);
  color: white;
  font-size: 14px;
  text-shadow: 0 0 #000;
}

/* the contact form that we are not using

.con {
  display: flex;
  justify-content: center;
  margin-top: 3%;
  font-size: 26px;
}


.contact-flex {
  margin-top: 4%;
  display: flex;
  align-items: center;
  justify-content: center;
}

input, textarea {
  text-align: center;
  font-weight: bold;
  font-family: Arial, sans-serif;
  border-radius: 10px;
  padding: 5px;
  margin: 0.5%;
  color: black;
  background-color: #ffffff;
}

.contact-form {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30vw;
  height: auto;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.58);
  border-radius: 15px;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}

textarea {
  resize: none;
}
*/
.cont {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact {
  background-color: rgba(0, 0, 0, 0.53);
  border-radius: 15px;
  padding: 3%;
  margin-top: 5%;
  color: white;
  width: 60%;

}

.contact h3 {
  font-size: 24px;
}

.contact-flex a img:hover {
  transform: scale(1.1);
  transition: transform, .5s;
}

.contact-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-flex p {
  padding: 3%;
  font-size: 18px;
}

.contact-flex a {
  width: 5%;

}

.contact-flex img {
  width: 100%;

}

.projectpage h2 {
  text-align: center;
  margin: 4% 0 0 0;
  font-size: xx-large;
}

.projects {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2%;
}

.project {
  background-color: #4083c5;
  width: 30%;
  height: 100%;
  padding: 20px 20px 35px;
  text-align: end;
  border-radius: 35px;
}

.project h3 {
  margin: 0;
  padding: 5px;
  text-align: center;
}

.project p {
  text-align: start;

}

.project img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  padding: 2px;
}

.project a {
  filter: brightness(300%);
  font-size: 30px;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 8px;
  height: 100%;

}

.project a:hover {
  filter: brightness(0);
}

.verwijzingen {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: auto;
}

.talen {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 30%;
}

.talen p {
  height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgb(255, 255, 255);
  cursor: pointer;
  border: none;
  background-size: 300% 100%;
  border-radius: 25px;
  padding: 10px;
  background-image: linear-gradient(90deg, #3A68B3, #2F57A0, #26498D, #35609E);
  box-shadow: rgb(42, 0, 125) 0px 4px 15px 0px;

}

.talen p:hover {
  transition: 0.5s ease-in-out;
  background-position: 100% 0;
}


@media only screen and (max-width: 1024px) {
  nav {
    padding: 0 1.5%;
  }

  nav p {
    font-size: 16px;
  }

  nav ul li {
    margin: 0 1.5%;
  }

  nav ul li a {
    font-size: 16px;
    padding: 5px;
  }

  .pfp img {
    top: 20%;
  }

  .skill-pic {
    height: 28vh;
    width: 14%;
  }

  .project {
    margin-top: 8%;
    height: 80%;
    width: 25%;
  }
}

@media only screen and (max-width: 540px) {
  body {
    font-size: 20px;
  }
}








