/* Algemene opmaak */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #eafaf1;
    padding: 0 10px;
}

/* Hoofdnavigatie */
header {
    background-color: #88cc88;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffe600;
}

/* Secties */

header {
    margin-bottom:20px;
}
section {
    padding: 60px 0;
    text-align: center;
    border-radius: 20px;
    background-color: #f5fff5;
    margin-bottom: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Over Mij Sectie */
#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#about img {
    width: 180px;
    height: 180px;
    border-radius: 15%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

#about h1, #projects h2, #contact h2 {
    font-size: 2.5rem;
    color: #4caf50;

}
#projects h2{
margin-bottom: 20px;
}

#about p {
    max-width: 800px;

    font-size: 1.1rem;
    color: #555;
}

#projects p, #contact p {
    font-size: 1rem;
    color: #777;
}

/* Projecten Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.project {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    margin: auto;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.project img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.project h3 {
    color: #4caf50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.project p {
    font-size: 0.95rem;
    color: #666;
}

/* Dit is de bestaande stijl voor de project a-knop */
.project a, button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #88cc88;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none; 
    font-size: 1rem; 
    cursor: pointer; 
}

.project a:hover, button:hover {
    background-color: #66b266;
}


/* Contact sectie */
#contact p a {
    color: #4caf50;
    text-decoration: none;
    font-weight: bold;
}

#contact p a:hover {
    text-decoration: underline;
}

/* Pop-up styling (niet gebruikt in deze versie) */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.popup-content h2 {
    margin-bottom: 15px;
    color: #4caf50;
}

.popup-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #666;
}

.popup-content a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #88cc88;
    color: white;
    border-radius: 20px;
    text-decoration: none;
}

.popup-content a:hover {
    background-color: #66b266;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

/* Responsiveness voor mobiele apparaten */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-bottom: 10px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}

.project ul {
    list-style-type: disc;
    margin-top: 10px;
    padding-left: 20px;
}

