html {
  box-sizing: border-box;
}

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

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #a87e62;
}

header {
  background-color: #3a2317;
  padding: 1.5rem;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: -1.8rem;
}

footer {
  padding-top: 2rem;
  text-align: center;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding: 0;
}

nav li {
  margin: 0 20px;
}

nav a {
  color: #f4decb;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

nav a:hover {
  background-color: #1a7a9d;
  transform: translateY(-2px);
}

h1 {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 3rem;
  color: black;
  text-align: center;
  margin: 50px 0;
  margin-bottom: -30px;
  padding: 0;
  letter-spacing: 1px;
}

.Competenties {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.Competentie-item {
  text-align: center;
  background-color: #f4decb;
  padding-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h3 {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: normal;
  margin-top: 1rem;
}

.Titel-competenties {
  text-align: center;
}

.Stars {
  margin-top: -1.5rem;
}

.Introductietekst {
  font-family: "Poppins", "serif";
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-family: "Poppins", "sans-serif";
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.Container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 40px;
  background: #f4decb;
  border-radius: 10px;
  max-width: 1200px;
  margin: 50px auto;
}

.text {
  font-family: "Poppins", "sans-serif";
  font-size: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #311f13;
}

.media {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
}

.Introductietekst {
  font-family: "poppins";
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  color: #311f13;
  max-width: 80%;
  margin: 50px auto;
  margin-bottom: -20px;
}

@media (max-width: 1280px) {
  .Competenties {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  h1 {
    font-size: 3rem;
  }

  .Container {
    flex-direction: row;
    padding: 50px;
  }

  .text {
    font-size: 1.1rem;
  }

  .media {
    max-width: 350px;
  }
}

@media (max-width: 1366px) {
  .Competenties {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .Container {
    flex-direction: column;
    padding: 40px;
  }

  .text {
    font-size: 1rem;
  }

  .media {
    max-width: 300px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2rem;
  }

  .Competenties {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .Container {
    flex-direction: column;
    padding: 20px;
  }

  .text {
    font-size: 1rem;
    padding: 0 15px;
  }

  .media {
    max-width: 100%;
  }

  .Introductietekst {
    font-size: 1rem;
    max-width: 90%;
  }
}
