html {
  box-sizing: border-box;
}

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

/*Iphone 14 pro max*/
@media screen and (orientation: portrait) and (max-width: 430px) {
  .grid-item {
    display: flex;
    flex-wrap: wrap;
  }

  header {
    width: 100vw;
    position: relative;
  }

  footer {
    position: relative;
  }

  .grid-container,
  .grid-item,
  .grid-item-zonder-kleur,
  .titel-projecten {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
    justify-content: center;
  }

  .foto-afronding {
    max-width: 9rem;
    max-height: 12rem;
  }

  .logo-instagram,
  .logo-gmail,
  .logo-facebook,
  .logo-linkedin,
  .logo-tiktok {
    max-width: 4rem;
    max-height: 4rem;
  }

  .h1-contact-pagina,
  .h1-overmij {
    font-size: 2rem;
  }

  .foto-overmij {
    max-width: 19rem;
    max-height: 19rem;
  }

  .main-tekst-overmij,
  .tekst-overmij,
  .main-overmij {
    flex-direction: column;
    margin: 1rem;
  }

  .tekst-header2,
  .tussentekst-home {
    font-size: 0.4rem;
  }

  .grid-item-overmij {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    justify-content: center;
  }
  .tekst-overmij,
  .main-tekst-studies {
    font-size: 5rem;
    padding-bottom: 4rem;
  }

  .main-tekst-studies {
    padding-top: 8rem;
    padding: 1rem;
  }

  .grid-item-overmij {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    grid-template-rows: 1fr 1fr;
    padding: 1rem;
    justify-content: center;
  }
}

@media screen and (min-width: 1300px) and (max-width: 1366px) and (orientation: landscape) {
  .grid-container {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1000px) {
  .header {
    width: 100vw;
  }

  footer {
    width: 100vw;
    position: relative;
  }
}
