* {
  box-sizing: border-box; /* Zorgt ervoor dat padding en marges geen invloed hebben op de totale breedte */
  font-size: xx-large;
}

/* 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;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Zorgt ervoor dat de footer onderaan blijft */
  overflow-x: hidden; /* Voorkomt horizontale scroll */
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  flex: 1; /* Zorgt ervoor dat de container de beschikbare ruimte gebruikt */
  width: 100%; /* Volledige breedte voor de container */
}

/* Responsieve afbeeldingen */
img {
  max-width: 100%;
  height: auto;
}

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: 30px;
}

nav a:hover {
  color: #000;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #6b8e23;
  color: white;
  font-size: 30px;
  width: 100%; /* Volledige breedte van het scherm */
  position: relative;
  margin-top: 20px;
}

footer i:hover {
  color: #000;
}

.footer-icons {
  font-size: 30px;
  margin: 5px;
}

.container {
  margin-top: 60px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  display: flex; /* Flexbox voor indeling */
  flex-direction: column; /* Kolommen onder elkaar */
}

/* Nieuwe indeling voor het profiel */
.header {
  display: flex;
  align-items: center;
}

.profile-pic {
  width: 150px;
  height: 150px;
  background-color: #bfc8ad;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.profile-pic img {
  max-width: 100%;
  border-radius: 50%;
}

.name {
  font-size: 2em;
  font-weight: bold;
  color: black;
}

.section-title {
  background-color: #6b8e23;
  padding: 10px;
  color: white;
  margin-top: 20px;
  font-size: 1.2em;
  border-radius: 5px;
}

.section-content {
  background-color: #e8e8e8;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Sectie voor opleiding en werkervaring */
.section {
  display: flex; /* Flexbox om secties naast elkaar te zetten */
  justify-content: space-between; /* Ruimte tussen de secties */
  gap: 20px; /* Ruimte tussen de secties */
}

.left-column {
  flex: 1; /* Gelijke ruimte voor beide kolommen */
}

.right-column {
  flex: 1; /* Gelijke ruimte voor beide kolommen */
  padding-left: 20px; /* Ruimte tussen de kolommen */
}

.skillbar {
  position: relative;
  display: block;
  margin-bottom: 15px;
  width: 100%;
  background: #eee;
  height: 35px;
  border-radius: 4px;
  transition: 0.4s linear;
}

.skillbar-title {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 10px;
  color: black;
  background: lightgreen;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  height: 35px;
  line-height: 35px; /* Verticaal centreren */
  padding-left: 10px; /* Ruimte aan de linkerkant */
}

.skillbar-bar {
  height: 35px;
  width: 0; /* Start met een breedte van 0 */
  background: lightgreen;
}

.skill-bar-percent {
  position: absolute;
  right: 10px;
  top: 0;
  font-size: 11px;
  height: 35px;
  line-height: 35px; /* Verticaal centreren */
  color: rgba(0, 0, 0, 0.4);
}

/* Mobile styles */
@media (max-width: 767px) {
  .header {
    flex-direction: column; /* Maak de header kolomgericht */
    align-items: center; /* Centreer de inhoud */
  }

  .profile-pic {
    margin-bottom: 20px; /* Voeg marge toe onder de profielafbeelding */
  }

  .section {
    flex-direction: column; /* Maak de secties onder elkaar */
  }

  .left-column,
  .right-column {
    padding-left: 0; /* Verwijder padding aan de linkerzijde */
    width: 100%; /* Volledige breedte voor kolommen */
  }

  .container {
    width: 100%; /* Volledige breedte van de container */
    padding: 10px; /* Verminder padding voor mobiel */
  }
}
