html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background-color: rgb(255, 255, 255);
  font-family: Verdana, Geneva, Tahoma, sans-serif;

  text-align: center;
  color: rgb(0, 0, 0);
  padding-top: 5em;

  font-family: "Roboto", sans-serif;
}

h1 {
  font-size: 2.25em;
  font-weight: bold;
  line-height: 1.2;
  color: #333;
}

h3 {
  font-size: 1.25em;
  font-weight: bold;
  line-height: 1.2;
  margin-top: 0.75em;
  color: #333;
}

li {
  list-style-type: none;
}
/* home */
.daanpage {
  text-align: center;
  padding: 2em;
}

.school {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2em;
}

.school img {
  width: 8em;
  height: auto;
  margin-top: 1em;
}

.basketfoto {
  max-width: 25em;
  height: auto;
  margin-bottom: 5em;
}

/* header */
header {
  background-color: #fff;
  color: rgb(51, 51, 51);
  box-shadow: 0em 0.1em 0.25em rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625em 1.25em;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav li {
  margin: 0 0.625em;
}
nav a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}
nav a:hover {
  text-decoration: none;
}
nav h2 {
  margin: 0;
}
nav a:hover h2 {
  color: #0077c2;
}
nav h2:hover {
  color: #0077c2;
}
nav .homepage-link {
  background-color: #48b7df;
  border-radius: 0.25em;
  color: #fff;
  font-size: 1.125em;
  font-weight: bold;
  padding: 0 0.3125em;
  text-decoration: none;
}

nav .homepage-link:hover {
  background-color: #a4aeb6;
}

nav .homepage-link h2 {
  margin: 0;
}

/* footer */

footer {
  background-color: #333;
  color: #fff;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.voet {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
  font-style: normal;
  font-weight: bold;
}

footer a {
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.3s ease-in-out;
}

footer a:hover {
  color: #66c2ff;
}

/* socials dropdown menu */
nav ul li:hover > ul.dropdown-menu {
  display: block;
}

nav ul ul.dropdown-menu {
  position: absolute;
  top: 70%;
  left: auto;
  z-index: 999;
  display: none;
  min-width: 100px;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul ul.dropdown-menu li {
  margin: 0;
}

nav ul ul.dropdown-menu li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

nav ul ul.dropdown-menu li a:hover {
  color: #0077c2;
}

nav ul ul.dropdown-menu li {
  margin: 0;
}

nav ul ul.dropdown-menu li a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
}

nav ul ul.dropdown-menu li a:hover {
  color: #0077c2;
}
/* projects */

.project-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  margin-bottom: 5em;
}

.project {
  width: 100em;
  text-align: center;
  margin: 1em;
}

.project img {
  width: 10em;
  height: auto;
}

.project h2 {
  margin: 0.6em 0;
}

.project a {
  display: block;
  margin-bottom: 10px;
  color: #0077c2;
  text-decoration: none;
}
.project a:hover {
  text-decoration: underline;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.photo-grid img {
  width: 100%;
  height: auto;
}

/* skills */
.titel_skill {
  width: 100%;
  text-align: center;
  font-size: 4.5em;
  margin-bottom: 0em;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.skill {
  flex: 1 1 20em;
  margin: 1em;
  padding: 0.5em;
  padding-bottom: 2em;
  background-color: #f8f8f8;
  border-radius: 0.8em;
  text-align: center;
}

.skill img {
  width: 5em;
  height: 5em;
}

.skill h3 {
  font-size: 1.5em;
  margin-top: 0em;
  margin-bottom: 0.5em;
}

.skill p {
  font-size: 1em;
  color: #666;
}

.rating {
  margin-top: 1em;
  color: #0077c2;
  font-size: 1.2em;
}

.rating span {
  display: inline-block;
  margin-right: 0.2em;
}

.rating .filled-star::before {
  content: "\2605";
}

.rating .empty-star::before {
  content: "\2606";
}

/* Iphoen SE (375 x 667)*/

@media screen and (max-width: 375px) {
  body {
    padding-top: 60px;
    font-size: 15px;
  }

  footer {
    padding: 0.3em;
  }

  .skillsfooter {
    position: relative;
  }
  .projectfooter {
    position: relative;
  }
  footer a li {
    font-size: 1em;
  }
  footer li {
    font-size: 0.8em;
  }
  h1 {
    font-size: 20px;
  }
  body {
    font-size: 80%;
  }
  nav {
    padding: 10px;
  }

  nav a {
    font-size: 13px;
  }

  nav .homepage-link {
    font-size: 14px;
    padding: 0 3px;
  }

  nav ul ul.dropdown-menu {
    position: absolute;
    top: 80%;
    z-index: 999;
    display: none;
    padding: 0.5em;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  }

  nav ul ul.dropdown-menu li a {
    font-size: 0.9rem;
  }

  .daanfoto {
    height: 12em;
  }

  p {
    padding: 1em;
  }
}

/* iPad Air landscape (820 x 1180) */

@media screen and (min-width: 820px) and (max-width: 1180px) and (orientation: landscape) {
  body {
    padding-top: 6%;
  }

  h1 {
    font-size: 2.1rem;
  }
}

/* iPad Air  Portrait (820 x 1180) */

@media screen and (min-width: 820px) and (max-width: 1180px) and (orientation: portrait) {
  body {
    padding-top: 6%;
  }

  h1 {
    font-size: 2.1em;
  }
}

/* Laptop (1280 x 720)*/

@media screen and (min-width: 720px) and (max-width: 1280px) {
  body {
    padding-top: 6%;
  }

  nav {
    padding: 1.3%;
  }
  .skillsfooter {
    position: relative;
  }
}

/* Desktop  (1440 x 1024)*/

@media screen and (min-width: 1024px) and (max-width: 1440px) {
  body {
    padding-top: 6%;
  }

  nav {
    padding: 1.3%;
  }
}
