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

body {
    background-image: url(../img/Schermafbeelding\ 2025-10-01\ 194020.png); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    justify-content: flex-start;
    align-items: center;
}

.navigation a {
    background-color: #242b80;
    color: white;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navigation a:hover {
    background-color: #3049ad;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

h1, h2, h3 {
    color: white;
    text-shadow: 2px 2px 4px #000000;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.2rem;
    text-align: center;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    margin-top: 40px;
}

.hero h1 {
    margin-bottom: 30px;
}

.skills-section {
    text-align: center;
}

.skills-section h2 {
    margin-bottom: 50px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.flip-card {
    background-color: transparent;
    width: 140px;
    height: 140px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, 
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.flip-card-front img {
    width: 80%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.flip-card-back {
    background-color: #242b80;
    color: white;
    transform: rotateY(180deg);
    padding: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.contact-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 40px;
}

.contact-form {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    color: white;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.95);
    color: #000;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.contact-form input[type="submit"],
.contact-form input[type="reset"] {
    background-color: #242b80;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form input[type="submit"]:hover,
.contact-form input[type="reset"]:hover {
    background-color: #3049ad;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.projects-section {
    text-align: center;
}

.projects-section h1 {
    margin-bottom: 30px;
}

.project-card {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 15px;
    margin-top: 30px;
}

.project-card h3 {
    margin-bottom: 30px;
}

.project-image {
    margin: 30px 0;
}

.project-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.project-info {
    margin-top: 30px;
}

.project-languages {
    color: white;
    text-shadow: 2px 2px 4px #000000;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.project-link {
    display: inline-block;
    background-color: #242b80;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-link:hover {
    background-color: #3049ad;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 30px 15px;
    }
    
    .hero {
        padding: 40px 15px;
        margin-top: 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .project-card {
        padding: 30px 20px;
    }
    
    .skills-container {
        gap: 30px;
    }
}

@media screen and (max-width: 480px) {
    .navigation {
        padding: 15px 10px;
        gap: 10px;
    }
    
    .navigation a {
        padding: 10px 15px;
        font-size: 0.9rem;
        flex: 1 1 auto;
        min-width: calc(50% - 5px);
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    .container {
        padding: 20px 10px;
    }
    
    .hero {
        padding: 30px 15px;
        margin-top: 15px;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form input[type="submit"],
    .contact-form input[type="reset"] {
        width: 100%;
        padding: 12px;
    }
    
    .project-card {
        padding: 25px 15px;
    }
    
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 10px;
    }
    
    .flip-card {
        width: 120px;
        height: 120px;
    }
    
    .flip-card-back {
        font-size: 12px;
        padding: 10px;
    }
}

@media screen and (max-width: 360px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    .navigation a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .flip-card {
        width: 100px;
        height: 100px;
    }
    
    .skills-container {
        gap: 15px;
    }
}