* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #1f1f1f;
    color: #e0e0e0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
}

header {
    background-color: #2c2c2c;
    text-align: center;
    padding: 10px;
    border-bottom: 4px solid #ff6b35;
}

header h1 {
    font-size: 2.5em;
    color: #ffffff;
}

header p {
    font-size: 1.2em;
    margin-top: 10px;
    color: #cfcfcf;
}

nav {
    margin-top: 20px;
}

nav a {
    color: #ff6b35;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    text-decoration: underline;
}

section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffffff;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-card {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    flex: 1 1 calc(50% - 20px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.project-card a {
  color: #ededed;
  text-decoration: none; /* eventueel om de onderstreping weg te halen */
}

.project-card:hover {
    transform: scale(1.03);
    cursor: pointer;
}

.services {
    list-style: none;
    padding-left: 0;
    line-height: 2;
    font-size: 1.1em;
}

.mail-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #ff6b35;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.mail-btn:hover {
    background: #e55d2e;
}

footer {
    background: #141414;
    text-align: center;
    padding: -20px;
    font-size: 0.9em;
    color: #aaa;
    margin-top: 60px;
}

footer .container {
    padding: 25px;
}

/* Fade-in initial state */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When visible */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 30px 10px;
  }
  .projects {
    flex-direction: column;
    gap: 15px;
  }
  .project-card {
    flex: 1 1 100%;
    padding: 15px;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.7em;
  }
  section h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
  }
  nav {
    margin-top: 10px;
  }
  nav a {
    margin: 0 8px;
    font-size: 1em;
  }
  .container {
    padding: 15px 5px;
  }
  .mail-btn {
    padding: 8px 12px;
    font-size: 1em;
  }
  .services {
    font-size: 1em;
    line-height: 1.7;
  }
  footer .container {
    padding: 12px;
    font-size: 0.8em;
  }
}
