html {
  box-sizing: border-box;
}

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

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  background-color: #f9f9f9;
  position: relative;
}

.logo {
  position: absolute;
  left: 0.5rem;
  top: -3.5rem;
  max-width: 13rem;
  height: auto;
}

h1 {
  color: rgb(25, 62, 62);
  font-size: 3.5rem;
  text-align: center;
  font-family: "PT Sans Caption", sans-serif;
  margin: 0;
}

.error {
  font-family: "Londrina Shadow", sans-serif;
  opacity: 0.8;
  font-weight: bold;
  font-size: 3rem;
  margin-top: 0.5rem;
  color: rgb(25, 62, 62);
}

body {
  background-color: #256262;
}

li {
  color: black;
  list-style-type: none;
  text-align: center;
  font-family: "Work Sans", sans-serif;
}

h2 {
  color: #ffffff;
  text-align: center;
  font-size: 3.2rem;
  font-family: "Work Sans", sans-serif;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.small-h2 {
  font-size: 1.5rem;
}

.subtitel {
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  font-family: "Londrina Shadow", sans-serif;
}

.subtitel:hover {
  opacity: 0.5;
}

h3 {
  color: white;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 1rem 0;
  font-family: "Work Sans", sans-serif;
}

p {
  color: #000000;
  text-align: center;
  font-size: 1.25rem;
  font-family: "Work Sans", sans-serif;
}

.geintje-text {
  color: #ffffff;
  font-size: 0.9375rem;
  opacity: 0.6;
  font-family: "Work Sans", sans-serif;
}

.audio-projects,
.video-projects {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 2rem 0;
}

.kintyp {
  justify-self: center;
}

.magazine {
  justify-items: center;
}

.project {
  flex: 1;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.different {
  margin-top: 1rem;
  text-align: center;
}

audio {
  width: 100%;
  border-radius: 8px;
}

.project h3 {
  font-family: "PT Sans Caption", sans-serif;
  color: rgb(255, 255, 255);
  font-size: 2rem;
  text-align: center;
}

.project p {
  color: rgb(255, 255, 255);
  background-color: rgb(25, 62, 62);
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.5rem;
  border-radius: 0.3125rem;
  max-width: 50rem;
  margin: 1.5625rem auto;
  text-align: center;
  font-family: "Work Sans", sans-serif;
}

.afbeeldingen-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  justify-items: center;
  padding: 2rem 1rem 1rem 1rem;
  background-color: rgba(255, 255, 255, 0.629);
  border-radius: 1rem;
  box-shadow: 0rem 5rem 8rem rgba(0, 0, 0, 0.1);
}

.afbeeldingen-container img {
  width: 100%;
  max-width: 100rem;
  object-fit: cover;
  border-radius: 2rem;
  margin: 0 auto;
}

.afbeeldingen-container img:hover {
  transform: scale(1.05);
  box-shadow: 0px 4rem 8rem rgba(0, 0, 0, 0.2);
}

.center {
  justify-self: center;
}

.center p {
  color: rgb(255, 255, 255);
  background-color: rgb(25, 62, 62);
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.5rem;
  border-radius: 0.3125rem;
  max-width: 50rem;
  margin: 1.5625rem auto;
  text-align: center;
  font-family: "Work Sans", sans-serif;
}

.different {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  justify-items: center;
  padding: 2rem 1rem 1rem 1rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  box-shadow: 0rem 5rem 8rem rgba(0, 0, 0, 0.1);
}

.flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 60rem;
}

.image {
  display: block;
  margin: 0 auto;
  text-align: center;
  border: 0.3125rem solid #333;
  border-radius: 0.625rem;
  box-shadow: 0rem 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.tekst {
  background-color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  padding: 1.25rem;
  border-left: 0.25rem solid rgb(25, 62, 62);
  border-radius: 0.3125rem;
  max-width: 50rem;
  margin: 1.5625rem auto;
  text-align: justify;
  font-family: "Work Sans", sans-serif;
}

.s-text {
  font-size: 1rem;
  color: #ffffff;
  font-weight: bolder;
  opacity: 0.8;
  margin-bottom: 2rem;
  padding-bottom: 3rem;
  font-family: "PT Sans Caption", sans-serif;
}

.social-icon {
  gap: 0.9375rem;
  width: 9.375rem;
  margin-right: 0.5rem;
  padding: 1.25rem;
  border-radius: 0.3125rem;
  max-width: 50rem;
  margin: 1.5625rem auto;
  text-align: justify;
}

.social-icon a:hover {
  opacity: 0.8;
}

.waarschuwing {
  background-color: #f9f9f9;
  padding: 0.5rem;
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2rem rgba(2, 44, 27, 0.1);
  font-size: 1.25rem;
  padding: 1rem 2rem;
  font-family: "PT Sans Caption", sans-serif;
}

.waarschuwing a:hover {
  opacity: 0.6;
  color: rgb(8, 38, 28);
}

li a {
  color: black;
  text-decoration: none;
  margin-right: 1rem;
}

.social-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9375rem;
  flex-wrap: wrap;
  margin: 0;
}

.social-footer .social-icon {
  width: 3rem;
  height: 3rem;
  padding: 0.2rem;
  border-radius: 0.3125rem;
  max-width: 50rem;
  margin: 0;
  text-align: center;
}

footer p {
  color: rgb(25, 62, 62);
}

footer {
  background-color: #f9f9f9;
  opacity: 0.9;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  font-family: "PT Sans Caption", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* iPhone 14 Pro Max (Portrait) */
html,
body {
  width: 100%;
  overflow-x: hidden; /* Voorkom horizontaal scrollen */
}

header {
  padding: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-top: 1rem;
}

h2 {
  font-size: 2rem;
  margin: 0.5rem 0;
}

h3 {
  font-size: 1.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Aanpassingen specifiek voor iPhone 14 Pro Max */
@media (max-width: 430px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
  }

  .logo {
    top: 0.5rem;
    max-width: 8rem;
  }

  .audio-projects {
    flex-direction: column;
    gap: 1.5rem;
  }
  .project {
    padding: 0.5rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  }
  .project p {
    font-size: 0.875rem;
    line-height: 1.4;
    padding: 0.5rem;
    max-width: 90%;
    margin: 0.5rem auto;
  }
  .afbeeldingen-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .video-projects {
    gap: 2rem;
  }
  .video-projects .project {
    flex: 100%;
  }

  .video-projects .project p {
    font-size: 0.875rem;
  }

  .video-projects .project video {
    max-width: 100%;
  }
  h1,
  h2 {
    font-size: 2rem;
  }

  .tekst {
    font-size: 0.875rem;
    padding: 1rem;
  }

  .social-footer {
    flex-direction: column;
    gap: 1rem;
  }

  .social-footer .social-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  footer {
    padding: 0.5rem;
  }
}

/* iPad Pro (Portrait & Landscape) */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  .afbeeldingen-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .audio-projects,
  .video-projects {
    flex-direction: column;
    align-items: center;
  }
}

/* Laptop (1280x720) */
@media (max-width: 1280px) {
  h1 {
    font-size: 3.5rem;
  }

  .afbeeldingen-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop (1440x1024) */
@media (max-width: 1440px) {
  h1 {
    font-size: 3.5rem;
  }

  .afbeeldingen-container {
    grid-template-columns: repeat(6, 1fr);
  }
}
