* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
/* Algemene body-instellingen */
body {
    background-color: #f3f4f6; /* Lichte achtergrondkleur */
    color: #333;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header en Navigatiebalk */
header {
    background: linear-gradient(145deg, #5ca6e6, #3a7bbf); /* Zelfde kleurverloop als de knoppen */
    color: #ffffff;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    transition: background 0.3s ease-in-out;
}

nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Navigatie Links */
nav a {
    color: #f0f2f5; /* Lichte tint blauwgrijs voor de tekst */
    font-weight: bold;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    background: linear-gradient(145deg, #5ca6e6, #3a7bbf); /* Licht naar donker kleurverloop */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.3); /* Schaduw en lichtglans */
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2); /* Witte overlay voor subtiel glans effect */
    transition: left 0.3s;
}

nav a:hover::before {
    left: 100%; /* Glanzend schuivend effect */
}

nav a:hover {
    background: linear-gradient(145deg, #3a7bbf, #295f8d); /* Donkerder kleurverloop bij hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Vergrote schaduw voor diepte */
    transform: translateY(-2px); /* Licht verhoogd effect */
}

nav a:active {
    transform: translateY(0); /* Druk-animatie */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Minder schaduw bij indrukken */
}

/* Sectie-inhoud */
.content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
    margin-top: 2rem;
}

.content-section h2 {
    color: #4a4a4a;
}

.content-section p {
    color: #555;
}

.content-section a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    color: #ffffff;
    background-color: #4a90e2;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.content-section a:hover {
    background-color: #3a7bbf;
}

/* Mobiele weergave */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav a {
        width: 100%;
        text-align: center;
    }
}



main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
}

.welcome {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
    margin-top: 2rem;
}

.profile-photo {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.welcome h2 {
    font-size: 1.8em;
    margin-bottom: 0.5rem;
    color: #333;
}

.welcome p {
    font-size: 1em;
    color: #555;
    margin: 0.3rem 0;
}

.welcome a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    color: #ffffff;
    background-color: #0077b6;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.welcome a:hover {
    background-color: #005f8a;
}

/* LinkedIn en CV Download Knoppen */
.button {
    display: inline-block;
    padding: 0.7rem 2rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    margin-top: 1rem;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

/* LinkedIn knop */
.button.linkedin {
    background: linear-gradient(145deg, #0077b6, #005f8a); /* Blauw LinkedIn kleurverloop */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.3); /* Schaduw en lichtglans */
}

.button.linkedin::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2); /* Witte overlay voor glans effect */
    transition: left 0.3s;
}

.button.linkedin:hover::before {
    left: 100%; /* Glanzend effect */
}

.button.linkedin:hover {
    background: linear-gradient(145deg, #005f8a, #00466d); /* Donkerder blauw bij hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Vergrote schaduw voor diepte */
    transform: translateY(-2px); /* Licht verhoogd effect */
}

.button.linkedin:active {
    transform: translateY(0); /* Druk-animatie */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Minder schaduw bij indrukken */
}

/* Download CV knop */
.button.cv {
    background: linear-gradient(145deg, #4a90e2, #3a7bbf); /* Zelfde blauw als navigatie en knoppen */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.3); /* Schaduw en lichtglans */
}

.button.cv::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2); /* Witte overlay voor glans effect */
    transition: left 0.3s;
}

.button.cv:hover::before {
    left: 100%; /* Glanzend effect */
}

.button.cv:hover {
    background: linear-gradient(145deg, #3a7bbf, #295f8d); /* Donkerder blauw bij hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Vergrote schaduw voor diepte */
    transform: translateY(-2px); /* Licht verhoogd effect */
}

.button.cv:active {
    transform: translateY(0); /* Druk-animatie */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Minder schaduw bij indrukken */
}

/* Sectie-inhoud */
.content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
    margin-top: 2rem;
}

.content-section h2 {
    color: #4a4a4a;
}

.content-section p {
    color: #555;
}

.content-section a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    color: #ffffff;
    background-color: #4a90e2;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.content-section a:hover {
    background-color: #3a7bbf;
}

/* Profiel container */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 80%;
    max-width: 800px;
}

/* Profiel foto */
.profile-photo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4a90e2;
}

/* Profiel info tekst */
.profile-info {
    text-align: left;
}

.profile-info h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.profile-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

/* Container voor de projecten */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

/* Project styling */
.project {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease-in-out;
}

.project:hover {
    transform: scale(1.05); /* Maak het project iets groter bij hover */
}

/* Project foto styling */
.project-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Project info styling */
.project-info h2 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 0.8rem;
}

/* Beschrijving tekstvak met scrollbar */
.project-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    height: 80px; /* Beperk de hoogte van de beschrijving */
    overflow-y: auto; /* Voeg een verticale scrollbar toe als de tekst langer is dan het vak */
    padding-right: 10px; /* Ruimte voor de scrollbar */
}

/* Styling van de scrollbar */
.project-info p::-webkit-scrollbar {
    width: 8px;
}

.project-info p::-webkit-scrollbar-thumb {
    background-color: #4a90e2;
    border-radius: 4px;
}

.project-info p::-webkit-scrollbar-track {
    background-color: #f0f2f5;
}

.project-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.project-link:hover {
    background-color: #357ab7; /* Verandert naar donkerder blauw bij hover */
}

/* Container voor CV-secties */
.cv-container {
    width: 80%;
    max-width: 900px;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* CV-sectie styling */
.cv-section {
    margin-bottom: 2rem;
}

.cv-section h3 {
    font-size: 1.6rem;
    color: #333;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Lijst styling voor items in secties */
.cv-section ul {
    list-style-type: none;
    padding-left: 0;
}

.cv-section ul li {
    font-size: 1rem;
    margin: 0.5rem 0;
}

.cv-section ul li a {
    color: #4a90e2;
    text-decoration: none;
}

.cv-section ul li a:hover {
    text-decoration: underline;
}

