html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "arimo", sans-serif;
  background-color: #4f3b3c;
}

main {
  color: #efe6d8;
  padding: 1.5em;
  max-width: 1200px; /* bepaalt de maximale breedte */
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: #efe6d8;
}

p {
  font-size: 16px;
  line-height: 1.6;
}

canvas {
  border: 1px solid #000;
  margin-top: 20px;
}

h1 {
  color: black;
  font-family: "Bebas Neue", sans-serif;
  color: #efe6d8;
  font-size: 5em;
  text-align: left;
  letter-spacing: 0.2em;
  margin: 0;
  padding: 0;
}

h2 {
  font-family: "Arimo", sans-serif;
  font-size: 2em;
}

section {
  margin-bottom: 4em;
}

.highlight {
  color: #f88d42;
  margin-top: 0;
  text-align: end;
}

img {
  max-width: 700px; /* of een waarde die voor jou prettig leest */
  width: 100%;
  height: auto;
}

nav {
  background-color: #3d3030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  height: 5em;
}

nav a {
  color: #efe6d8;
  margin-left: 1em;
  margin-right: 3em;
}

.nav-links:hover {
  font-weight: bold;
  color: #f88d42;
  border-bottom: #efe6d8 4px solid;
  padding-bottom: 6px;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
}

.logo {
  width: 5em;
}

.banner-img {
  width: 100vw;
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

#personalPhoto {
  width: 320px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-top: 1em;
}

/* Footer */
footer {
  background-color: #3d3030;
  color: #efe6d8;
  display: flex;
  justify-content: space-between; /* verdeelt links en rechts */
  align-items: center; /* centreert verticaal */
  padding: 0.9em 1em;
  margin-top: 2em;
}

footer article {
  display: flex;
  align-items: center;
  gap: 1em; /* moderne manier voor spacing */
  margin-right: 1em;
}

.link-footer {
  display: flex;
  flex-direction: column; /* tekst boven, LinkedIn onder */
  gap: 0.5em;
  color: #efe6d8;
}

.icon-logo {
  width: 2em;
  margin-right: 0.5em;
}

.link-footer a {
  color: #efe6d8;
  text-decoration: none;
}

.link-footer a:hover {
  text-decoration: underline;
}

/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 600px;
}

.subtitle {
  font-size: 1.2em;
  margin-top: 0.5em;
  color: #e6d9c8;
}

.cta-button {
  display: inline-block;
  margin-top: 1.5em;
  padding: 0.8em 1.6em;
  background-color: #f88d42;
  color: #3d3030;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s ease;
}

.cta-button:hover {
  background-color: #ff9f5c;
  transform: translateY(-3px);
}

/* HERO PHOTO */
.hero-photo img {
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

/* INTRO SECTION */
.intro {
  font-size: 1.1em;
  max-width: 800px;
  line-height: 1.7;
}

/* grid layout for medium screens */
@media (max-width: 1024px) {
  img {
    width: 100%;
    height: auto;
  }

  .projecten > div {
    grid-template-columns: repeat(2, 1fr);
  }

  .projecten .project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
  }

  footer article {
    margin-right: 0;
  }

  .skills-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 3em;
  }
}

/* responsive layout for small screens */
@media (max-width: 700px) {
  nav a {
    margin-right: 0.2em;
  }

  img {
    width: 100%;
    height: auto;
  }

  .projecten > div {
    grid-template-columns: 1fr;
  }

  .container-right {
    flex-direction: column;
    align-items: flex-start;
  }

  .container-right img {
    max-width: 100%;
    height: auto;
  }

  .project-grid {
    flex-direction: column;
    gap: 0;
  }

  .process-section {
    flex-direction: column;
  }

  footer {
    padding: 1.5em 1em;
  }

  footer article {
    flex-direction: column;
    gap: 0.5em;
  }

  .link-footer {
    align-items: center;
  }

  .icon-logo {
    margin-right: 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-photo img {
    max-width: 100%;
  }
}
