/*voor alle pagina's*/
Html {
  box-sizing: border-box;
}

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

@font-face {
  font-family: Chicle;
  src: url(../assets/Chicle-Regular.woff);
}

body {
  background-color: #f2e4d8;
  font-family: sans-serif;
  width: 100vw;
  margin: 0;
  height: auto;
}

header {
  background-color: #d9c6bf;
  display: flex;
  justify-content: space-between;
}

nav {
  padding: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: right;
  align-items: flex-start;
}

p {
  color: #2f312b;
  line-height: 1.2rem;
}

nav > a {
  padding-left: 3rem;
  font-size: 1rem;
  text-decoration: none;
  color: #5e755a;
  text-transform: uppercase;
}

.logo {
  width: 7rem;
}

a:hover {
  color: #a4b5bf;
}

main {
  font-family: "podium-soft-variable", sans-serif;
  padding-top: 3rem;
  min-height: 44rem;
  margin-bottom: 3rem;
}

.intro {
  color: #2f312b;
  margin: 4rem 0 4rem 0;
  width: 100vw;
  padding: 0 15rem 0 15rem;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  color: #d98f8f;
  border-bottom: solid;
  border-bottom-color: #d98f8f;
  border-width: 0.3rem;
  text-align: center;
  letter-spacing: 0.2rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h2 {
  color: #d98f8f;
  font-size: 2.8rem;
  letter-spacing: 0.1rem;
  margin-left: 1rem;
  margin-top: 3rem;
  margin-bottom: 1.8rem;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: -0.05rem;
  font-weight: 400;
  font-style: normal;
}

article > p {
  margin-left: 4.5rem;
  margin-bottom: 2rem;
  width: 58rem;
}

.margin {
  margin-top: -1rem;
}

h3 {
  color: #5e755a;
  font-size: 2rem;
  margin-left: 4.5rem;
  margin-bottom: 1.5rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin: 0 1rem 1rem 1rem;
}

.home {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-template-columns: repeat(3, auto);
  gap: 1.4rem;
}

div > img {
  width: 31.6vw;
  height: 22vw;
}

.affiche > img {
  width: 23vw;
  height: 33vw;
}

.affiche {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0.5rem;
}

.dichter {
  margin-left: 1rem;
  width: 69.5rem;
}

footer {
  background-color: #d9c6bf;
  color: #5e755a;
  height: 7rem;
  display: flex;
  align-items: center;
  bottom: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: 8rem;
}

footer > p {
  color: #5e755a;
}

article {
  padding-bottom: 3rem;
}

/*Alleen voor "over mij"-pagina*/
.mezelf {
  border-style: solid;
  border-width: 1rem;
  width: 37rem;
  height: auto;
  border-color: white;
}

.biografie {
  align-items: center;
  width: 95vw;
  margin: 9rem 2rem 0 2rem;
}

.tekst {
  text-align: left;
  font-size: 1.32rem;
  max-width: 46rem;
  min-width: 20rem;
  color: #2f312b;
}

/*Alleen voor "contact"-pagina*/
.icontact {
  width: 22.5rem;
  margin: 0 0 2rem 1rem;
}

li > img {
  width: 22.5rem;
  height: auto;
  margin-top: -5rem;
}

ul {
  list-style: none;
  display: grid;
  grid-template-columns: 25rem 10rem 10rem 10rem;
  max-width: 100vw;
}

li {
  margin-top: 5rem;
  margin-right: 7rem;
  margin-left: 1rem;
}

a {
  color: #5e755a;
  text-decoration: none;
}

.mail {
  margin: 2rem 0 0 1rem;
  color: #2f312b;
  font-size: 1.32rem;
  line-height: 3rem;
}

.media:hover {
  opacity: 60%;
}

/*Dit is de styling voor laptop*/
@media screen and (max-width: 1280px) {
  /*Over mij*/
  header {
    width: 100vw;
  }

  .home {
    gap: 1.15rem;
  }
  .biografie {
    margin: 7rem 2rem 0 2rem;
  }

  .mezelf {
    width: 31rem;
  }

  .tekst {
    max-width: 43rem;
    font-size: 1.17rem;
  }
}

/*Dit is de styling voor Ipad pro (portrait)*/
@media only screen and (min-width: 834px) and (max-width: 1024px) and (orientation: portrait) {
  /*Home*/
  nav > a {
    font-size: 1.3rem;
  }

  .dichter {
    width: 62rem;
  }

  .home {
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
  }

  div > img {
    width: 47.5vw;
    height: 33vw;
  }

  .affiche > img {
    width: 47.5vw;
    height: 69vw;
  }

  .affiche {
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
  }

  footer {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: space-between;
    padding: 0 1.2rem 0 1.2rem;
    font-size: 1.3rem;
    margin-top: 29rem;
  }

  .margin {
    margin-top: 3rem;
  }

  /*Over mij*/
  .mezelf {
    width: 75vw;
  }

  .biografie {
    margin: 5rem 0 0 1.5rem;
    justify-content: center;
  }

  .tekst {
    margin-top: 3rem;
    max-width: 75vw;
    font-size: 1.7rem;
    margin-bottom: 8rem;
    line-height: 2rem;
  }
}

/*Dit is de styling voor Ipad pro (landscape)*/
@media screen and (min-width: 1300px) and (max-width: 1366px) and (orientation: landscape) {
  /*Over mij*/
  nav > a {
    font-size: 1.3rem;
  }

  .biografie {
    margin-top: 9rem;
  }

  .tekst {
    max-width: 50vw;
    font-size: 1.25rem;
    line-height: 1.5rem;
  }

  footer {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: space-between;
    padding: 0 1.2rem 0 1.2rem;
    font-size: 1.3rem;
  }
}

/*Dit is de styling voor iphone 14 pro max*/
@media screen and (max-width: 500px) {
  body {
    width: 100vw;
  }

  .intro {
    width: 95vw;
    padding: 0 0 0 1.5rem;
    text-align: left;
  }

  article > p {
    width: 95vw;
    padding: 0 0 0 1.5rem;
    text-align: left;
    margin: 0 0 1rem;
  }

  .dichter {
    width: 95vw;
    padding: 0 0 0 1.5rem;
    text-align: left;
    margin: 0 0 1rem;
  }

  .home {
    grid-template-columns: auto;
  }

  .affiche {
    grid-template-columns: auto;
  }

  h2 {
    display: flex;
    justify-content: center;
    margin-left: 0;
    padding-left: 0;
  }

  h3 {
    display: flex;
    justify-content: center;
    margin-left: 0;
  }

  .mail {
    margin-left: 2rem;
  }

  div > img {
    width: 90vw;
    height: auto;
  }

  div {
    justify-content: center;
    flex-wrap: wrap;
  }

  nav {
    justify-content: center;
    gap: 1rem;
    width: 20rem;
    padding: 2rem 0 2rem 0;
  }

  nav > a {
    padding-left: 0;
  }

  .affiche > img {
    width: 90vw;
    height: auto;
  }

  /* over mij*/
  .mezelf {
    max-width: 95vw;
  }

  .biografie {
    margin: 1rem 0 0 0;
    justify-content: center;
    margin-bottom: 5rem;
    padding: 1rem;
    width: 100vw;
  }

  .tekst {
    margin-top: 1rem;
  }

  /*Contact*/

  .icontact {
    margin-left: 2.2rem;
  }

  ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3.5rem;
    margin-top: 7rem;
    justify-content: center;
  }

  li {
    margin: 0;
  }

  .media {
    width: 5rem;
  }
}
