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

/* Hieronder zie je de gebruikte lokale fonts van Dafont */
@font-face {
  font-family: bright-almond;
  src: url(../assets/fonts/Bright\ Almond\ Personal\ Use\ Only.woff2);
}
@font-face {
  font-family: quicksand;
  src: url(../assets/fonts/Quicksand_Book.woff2);
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fffef9;
}

header ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  padding-bottom: 1.4rem;
}

header .logo {
  display: flex;
  justify-content: center;
}

header .logo img {
  height: 8rem;
  width: 8rem;
}

header .navigatie {
  font-family: bright-almond;
  display: flex;
  justify-content: center;
}

header .navigatie a:link {
  font-family: bright-almond;
  text-decoration: none;
  font-size: 0.8rem;
  font-size: 1.4rem;
  color: black;
}

header .navigatie a:visited {
  font-family: bright-almond;
  text-decoration: none;
  font-size: 1.4rem;
  color: black;
}

header .navigatie a:hover {
  font-family: bright-almond;
  text-decoration: none;
  font-size: 1.4rem;
  color: gray;
  opacity: 0.6;
}

header .navigatie a:active {
  font-family: bright-almond;
  text-decoration: none;
  font-size: 1.4rem;
  color: gray;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fffef9;
}
footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding-top: 2rem;
  padding-bottom: 1.2rem;
}
footer ul li {
  display: inline-block;
}

footer ul li a img {
  width: 2rem;
  height: 2rem;
}

footer a {
  text-decoration: none;
  font-size: 1.4rem;
  color: black;
}

.footer-copy {
  padding-bottom: 1.4rem;
  padding-top: 1.4rem;
}

footer a:link {
  text-decoration: none;
  font-size: 1.4rem;
  color: black;
}

footer a:visited {
  text-decoration: none;
  font-size: 1.4rem;
  color: black;
}

footer a:hover {
  text-decoration: none;
  font-size: 1.4rem;
  color: gray;
  opacity: 0.6;
}

footer a:active {
  text-decoration: none;
  font-size: 1.4rem;
  color: gray;
}

h1 {
  font-family: bright-almond, Cambria, Cochin, Georgia, Times, "Times New Roman",
    serif;
  color: #8f5d46;
  font-size: 2rem;
  padding: 1rem;
  text-align: center;
}

h2 {
  font-family: bright-almond, Cambria, Cochin, Georgia, Times, "Times New Roman",
    serif;
  font-size: 1.6rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

h3 {
  font-family: bright-almond, Cambria, Cochin, Georgia, Times, "Times New Roman",
    serif;
  font-size: 1.4rem;
  padding-top: 1.4rem;
  padding-bottom: 1rem;
}

h4 {
  font-family: bright-almond, Cambria, Cochin, Georgia, Times, "Times New Roman",
    serif;
  color: #8f5d46;
  font-size: 1rem;
  padding-bottom: 0.2rem;
}

p {
  color: #51513a;
  font-family: quicksand, serif;
  font-size: 0.8rem;
}

footer {
  font-family: quicksand, serif;
  font-size: 0.6rem;
}

main {
  background-color: #cbc7b7;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  padding-bottom: 6rem;
}

#knop-naar-boven {
  font-family: quicksand, serif;
  font-size: 0.8rem;
  position: absolute;
  bottom: 2.3rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background-color: #fffef9;
  color: black;
  border: none;
  font-size: 1rem;
  text-align: center;
}

#knop-naar-boven:hover {
  color: #cbc7b7;
}

.intro {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  justify-items: stretch;
  align-items: center;
  grid-gap: 2rem;
  padding: 1rem;
  max-width: 37.5rem;
  margin: 0 auto;
}

.intro-foto {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  max-height: 15rem;
  border-radius: 50%;
}

.tekstblok-intro {
  grid-column: 1;
  grid-row: 1;
}

.intro-tekst {
  color: black;
  font-weight: 700;
  font-size: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.tweedelijn-derdelijn {
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
}

.nice {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  justify-items: stretch;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  background-color: #b1a294;
  padding: 1rem;
}

.foto-1,
.foto-2,
.foto-3 {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-titel {
  grid-column: 1 / 4;
  text-align: left;
}

.project-p {
  grid-column: 1 / 4;
  text-align: left;
}

.intro-projecten {
  padding-bottom: 1rem;
}

.boektopia {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  justify-items: stretch;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  background-color: #b1a294;
  padding: 1rem;
}

.studio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  justify-items: stretch;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  background-color: #b1a294;
  padding: 1rem;
}

.halloweentrail {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  justify-items: stretch;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  background-color: #b1a294;
  padding: 1rem;
}
.openingsshoweyc {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  justify-items: stretch;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  background-color: #b1a294;
  padding: 1rem;
}

.grootdebat {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  justify-items: stretch;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  background-color: #b1a294;
  padding: 1rem;
}

.biografie {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 100%;
  margin: 2rem auto;
  text-align: center;
}

.foto-erin {
  max-height: 15rem;
  width: auto;
  border-radius: 1rem;
}

.werkervaring ul {
  color: #51513a;
  font-family: quicksand, serif;
  font-size: 0.8rem;
}

.jobnaam {
  font-weight: 700;
  text-decoration: underline;
}

.social-media {
  max-width: 2rem;
  height: auto;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  justify-items: center;
  text-align: center;
  gap: 1rem;
}

.insta {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.linkedln {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
}

.mail {
  grid-column: span 2;
  font-size: 1.2rem;
  text-decoration: none;
  color: #51513a;
}

.mail:hover {
  color: gray;
  opacity: 0.6;
}

.insta :hover {
  color: gray;
  opacity: 0.6;
}

.linkedln:hover {
  color: gray;
  opacity: 0.6;
}

/* Hieronder zijn de aanpassingen voor IPAD Pro scherm in portrait mode */
@media screen and (min-width: 1024px) and (min-height: 1366px) and (orientation: portrait) {
  header .logo img {
    height: 12rem;
    width: 12rem;
  }

  footer ul li a img {
    height: 3rem;
    width: 3rem;
  }

  h1 {
    font-size: 3.3rem;
  }
  h2 {
    font-size: 2.1rem;
  }
  h3 {
    font-size: 1.7rem;
  }
  h4 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1.4rem;
  }

  main {
    max-width: 64rem;
    padding: 1.8rem;
  }

  #knop-naar-boven {
    font-size: 1.4rem;
    bottom: 0.2rem;
  }

  .intro {
    grid-gap: 6rem;
  }
  .intro-foto {
    max-height: 22rem;
  }
  .intro-tekst {
    font-size: 4rem;
  }

  .tweedelijn-derdelijn {
    font-size: 1.6rem;
  }

  .nice {
    max-width: 64rem;
  }

  .boektopia {
    max-width: 64rem;
  }

  .studio {
    max-width: 64rem;
  }

  .halloweentrail {
    max-width: 64rem;
  }

  .openingsshoweyc {
    max-width: 64rem;
  }

  .grootdebat {
    max-width: 64rem;
  }

  .foto-erin {
    max-height: 28rem;
  }

  .werkervaring ul {
    font-size: 1.4rem;
  }

  .social-media {
    max-width: 3rem;
    height: auto;
  }

  .mail {
    font-size: 1.4rem;
  }
}

/* Hieronder zijn de aanpassingen voor IPAD Pro scherm in landscape mode */
@media screen and (min-width: 1366px) and (min-height: 1024px) and (orientation: landscape) {
  header .logo img {
    height: 15rem;
    width: 15rem;
  }

  footer ul li a img {
    height: 3rem;
    width: 3rem;
  }

  h1 {
    font-size: 3.6rem;
  }
  h2 {
    font-size: 2.6rem;
  }
  h3 {
    font-size: 2.2rem;
  }
  h4 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1.6rem;
  }

  main {
    max-width: 85.38rem;
  }

  #knop-naar-boven {
    font-size: 1.6rem;
  }

  .intro {
    grid-gap: 6rem;
  }
  .intro-foto {
    max-height: 28rem;
  }
  .intro-tekst {
    font-size: 4rem;
  }

  .tweedelijn-derdelijn {
    font-size: 2rem;
  }

  .nice {
    max-width: 85.38rem;
  }

  .boektopia {
    max-width: 85.38rem;
  }

  .studio {
    max-width: 85.38rem;
  }

  .halloweentrail {
    max-width: 85.38rem;
  }

  .openingsshoweyc {
    max-width: 85.38rem;
  }

  .grootdebat {
    max-width: 85.38rem;
  }

  .biografie {
    flex-direction: row;
  }

  .foto-erin {
    max-height: 32rem;
  }

  .werkervaring ul {
    font-size: 1.6rem;
  }

  .social-media {
    max-width: 4rem;
    height: auto;
  }

  .mail {
    font-size: 1.6rem;
  }
}

/* Aanpassingen voor een laptop 1280x720*/
@media screen and (min-width: 1280px) and (min-height: 720px) {
  header .logo img {
    height: 12rem;
    width: 12rem;
  }

  footer ul li a img {
    height: 4rem;
    width: 4rem;
  }

  h1 {
    font-size: 3.3rem;
  }
  h2 {
    font-size: 2.4rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1.6rem;
  }

  main {
    max-width: 85.38rem;
    padding: 3rem;
  }

  #knop-naar-boven {
    font-size: 1.6rem;
    bottom: 0.2rem;
  }

  .intro {
    grid-gap: 6rem;
  }
  .intro-foto {
    max-height: 20rem;
  }
  .intro-tekst {
    font-size: 4rem;
  }

  .tweedelijn-derdelijn {
    font-size: 1.6rem;
  }

  .nice {
    max-width: 85.38rem;
  }

  .boektopia {
    max-width: 85.38rem;
  }

  .studio {
    max-width: 85.38rem;
  }

  .halloweentrail {
    max-width: 85.38rem;
  }

  .openingsshoweyc {
    max-width: 85.38rem;
  }

  .grootdebat {
    max-width: 85.38rem;
  }

  .biografie {
    flex-direction: row;
  }

  .foto-erin {
    max-height: 32rem;
  }

  .werkervaring ul {
    font-size: 1.6rem;
  }

  .social-media {
    max-width: 3rem;
    height: auto;
  }

  .mail {
    font-size: 1.6rem;
  }
}

/* Aanpassing voor de desktop van 1440x720  */
@media screen and (min-width: 1280px) and (min-height: 720px) {
  header .logo img {
    height: 16rem;
    width: 16rem;
  }

  footer ul li a img {
    height: 3rem;
    width: 3rem;
  }

  h1 {
    font-size: 3.6rem;
  }
  h2 {
    font-size: 2.6rem;
  }
  h3 {
    font-size: 2.4rem;
  }
  h4 {
    font-size: 2rem;
  }

  p {
    font-size: 1.8rem;
  }

  main {
    max-width: 90rem;
    padding: 3rem;
  }

  #knop-naar-boven {
    font-size: 1.8rem;
    bottom: 0.2rem;
    padding: 0.4rem;
  }

  .intro {
    grid-gap: 6rem;
  }
  .intro-foto {
    max-height: 28rem;
  }
  .intro-tekst {
    font-size: 4rem;
  }

  .tweedelijn-derdelijn {
    font-size: 2rem;
  }

  .nice {
    max-width: 90rem;
  }

  .boektopia {
    max-width: 90rem;
  }

  .studio {
    max-width: 90rem;
  }

  .halloweentrail {
    max-width: 90rem;
  }

  .openingsshoweyc {
    max-width: 90rem;
  }

  .grootdebat {
    max-width: 90rem;
  }

  .biografie {
    flex-direction: row;
  }

  .foto-erin {
    max-height: 32rem;
  }

  .werkervaring ul {
    font-size: 1.8rem;
  }

  .social-media {
    max-width: 4rem;
    height: auto;
  }

  .mail {
    font-size: 1.8rem;
  }
}
