@font-face {
  font-family: "Roboto";
  src: url(../font/Roboto/static/Roboto-Regular.ttf) format("truetype");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Roboto";
  src: url(../font/Roboto/static/Roboto-Bold.ttf) format("truetype");
  font-weight: 700;
}

/* Reset & Basisstijlen */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: hidden;
  font-family: "Roboto", Helvetica, sans-serif;
  background: #fff;
  color: #555;
}

/* Header */
#header {
  padding: 1.5em 2em 0.5em 2em;
  text-align: center;
  background: #f8f8f8;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

h1 {
  font-size: 2.25em;
  font-weight: 700;
  margin: 0 0 0.2em 0;
  color: #333;
}

.subtitle {
  font-size: 1.1em;
  color: #777;
  margin: 0 0 0.5em 0;
  display: block;
}

/* Icons */
.icons {
  list-style: none;
  padding: 0;
  margin: 0.8em 0 0 0;
}

.icons li {
  display: inline-block;
  margin: 0 0.5em;
}

.icons a {
  font-size: 1.3em;
  color: #666;
  transition: color 0.2s ease;
}

.icons a:hover {
  color: #00a2ff;
}

.icon:before {
  font-family: "Font Awesome 5 Brands";
  display: inline-block;
}

.icon.fa-envelope:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* Main Layout */
#main {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#portfolio-container {
  display: flex;
  flex: 1;
  padding: 0 2em;
}

/* Kolommen */
.profile-column {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2em;
  height: calc(100vh - 200px);
}

.content-column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2em;
}

/* Profielfoto */
.profile-image img {
  max-width: 90%;
  max-height: calc(100% - 4em);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Tekstcontent */
.intro h2 {
  font-size: 1.7em;
  color: #444;
  margin-bottom: 0.8em;
  font-weight: 400;
}

.intro p {
  font-size: 1.2em;
  line-height: 1.7;
  color: #666;
  margin: 0 0 2em 0;
}

/* Navigatielinks */
.text-links {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
}

.text-links li {
  margin: 1.5em 0;
}

.text-links a {
  font-size: 1.4em;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  padding-bottom: 2px;
}

.text-links a:hover {
  color: #00a2ff;
  border-bottom-color: #00a2ff;
}

/* Responsive */
@media screen and (max-width: 980px) {
  #portfolio-container {
    padding: 2em 1em 1em 1em;
  }

  .profile-column,
  .content-column {
    width: 100%;
    padding: 0.5px 0 0 0;
    height: auto;
  }

  .profile-image img {
    max-height: 60vh;
  }

  .text-links a {
    font-size: 1.3em;
  }
  .portfolio-content {
    padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  #header {
    padding: 1em 1em 0.5em 1em;
  }

  h1 {
    font-size: 1.8em;
  }

  .subtitle {
    font-size: 1em;
  }

  .icons a {
    font-size: 1.3em;
  }

  .intro h2 {
    font-size: 1.4rem;
  }

  .intro p {
    font-size: 1.05rem;
  }

  .text-links a {
    font-size: 1.1rem;
  }
}
/* Voeg dit toe aan het BOTTOM van je bestaande main.css */

/* Verbeterde mobiele centrering */
@media screen and (max-width: 980px) {
  .profile-image {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .profile-image img {
    width: auto;
    max-width: 95%;
    height: auto;
  }
}

/* Scroll aanpassingen voor mobiel */
@media screen and (max-width: 980px) {
  html,
  body {
    overflow-y: auto; /* Scroll toestaan op mobiel */
    height: auto;
  }

  #main {
    min-height: 100vh;
    height: auto;
  }

  #portfolio-container {
    display: block;
  }
}
