/* Basisstijl */
.rochester-regular {
  font-family: "Rochester", cursive;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Rochester", cursive;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

nav {
  background-color: #6b8e23;
  padding: 10px;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 24px; /* Aangepast voor betere leesbaarheid op kleinere schermen */
}

nav a:hover {
  color: #000;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #6b8e23;
  color: white;
  font-size: 24px;
  width: 100%;
  position: relative;
  margin-top: 20px;
}

.footer-icons {
  font-size: 24px;
  margin: 5px;
}

footer i:hover {
  color: #000;
}

.jumbotron {
  color: white;
  background-image: url("Jumbotron.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh; /* Volledige hoogte van het scherm */
  display: flex;
  justify-content: center;
  align-items: center;
}

.jumbotron h1 {
  font-size: 32px; /* Iets kleiner voor betere schaalbaarheid */
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.header {
  background-color: #6b8e23;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 60px;
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  position: relative;
}

.flex-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-top: 60px;
  flex-direction: column; /* Standaard kolomrichting voor mobiele weergaven */
}

.section-content {
  display: flex;
  align-items: center;
  flex-direction: column; /* Mobiele apparaten */
  margin-bottom: 20px;
  width: 100%;
}

.section-content img {
  width: 100%; /* Standaard volle breedte voor mobiele apparaten */
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.section-content .text {
  width: 100%;
  font-size: 18px; /* Kleiner voor leesbaarheid op mobiele apparaten */
  padding: 20px;
  text-align: center;
}

#ervaring .text,
#hobbys .text {
  text-align: center;
  font-size: 22px; /* Kleiner voor consistentie */
}

#cv .text,
#contact .text {
  text-align: center;
  font-size: 22px;
}

#cv img,
#contact img {
  order: 2;
}

#cv .text,
#contact .text {
  order: 1;
}

/* Media Queries */

/* Voor tablets (768px en groter) */
@media (min-width: 768px) {
  nav a {
    font-size: 26px;
  }

  .jumbotron h1 {
    font-size: 36px;
  }

  .flex-section {
    flex-direction: row; /* Wijziging naar rijrichting voor tablets */
  }

  .section-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .section-content img,
  .section-content .text {
    width: 48%; /* Halve breedte voor tabletweergave */
  }

  .section-content .text {
    font-size: 24px;
  }
}

/* Voor desktops (1024px en groter) */
@media (min-width: 1024px) {
  nav a {
    font-size: 30px;
  }

  .footer-icons {
    font-size: 30px;
  }

  .jumbotron h1 {
    font-size: 40px;
  }

  .section-content .text {
    font-size: 28px;
  }
}
