body {
    font-family: 'Marcellus', serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #6F8FAF, #f5f5f5)
}

header {
    font-family: 'Marcellus', sans-serif;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 20px;
    text-align: center;
}

.logo {
    margin-right: auto; 
}

nav {
    margin-left: auto;
    display: flex;
}

header nav a {
    color: white    ;
    margin-left: 20px;
    text-decoration: none;
    display: flex;
    justify-content: right;
}

header nav a:hover {
    color: #003366;
}

/* About sectie */

#about{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    height: 375px;
}

.email-button{
    display: inline-block;
    background-color: #5bc6d9;
    color: white;
    text-decoration: none;
    font-family: 'Marcellus', serif;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    position: relative;
}

.email-button:hover {
    background-color: #43acc0;
}

#about::before{
    color: black;
    background-size: 100%;
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

#about h1{
    color: white;
    isolation: isolate;
}

#about p{
    color: white;
    isolation: isolate;
    text-align: center;
}

/* Ervaringssectie */
.experience-box {
    background-color: #f5f5f5; 
    border-radius: 50px;
    padding: 20px; 
    margin: 20px auto; 
    max-width: 600px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    text-align: center; 
}

/* Stijl voor ervaringselementen */
.experience-item {
    display: flex; 
    align-items: center; 
    margin: 10px 0;
}

.experience-item p{
    margin-left: 10px;
}

.experience-logo {
    width: 50px; 
    height: auto; 
    margin-right: 15px; 
}

.experience-box h3 {
    color: #6F8FAF;
    margin-bottom: 20px; 
}

/* Footer-sectie */
footer {
    margin-top: 50px;
    text-align: center;
    padding: 20px;
}

footer p {
    text-align: center;
}

.linkedin-button {
    display: inline-block;
    background-color: #5bc6d9;
    color: white;
    text-decoration: none;
    font-family: 'Marcellus', serif;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    position: relative;
}

.linkedin-button img {
    height: 16px;
    width: 16px;
    margin-left: 10px;
    vertical-align: middle;
}

.linkedin-button:hover {
    background-color: #43acc0;
}


/* Responsieve stijlen */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    header nav {
        display: none;

    }
    
    #about {
        padding: 20px;
        text-align: center;
    }

    .experience-box {
        max-width: 90%;
        padding: 10px;
    }

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

    .experience-item p{
        display: none;
    }

    .email-button, .linkedin-button {
        width: 90%;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header img {
        max-width: 40px;
    }

    header h1 {
        font-size: 1.5em;
        text-align: center;
    }

    .experience-logo {
        width: 40px;
    }

    .email-button, .linkedin-button {
        font-size: 14px;
    }
}
