body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: url('tech-background.png') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
}
header, nav, section, footer {
    text-align: center;
    padding: 20px;
}
header {
    text-align: center;
    padding: 50px 20px;
}

header img {
    width: 150px;
    margin-bottom: 20px;
}

.logo {
    width: 100%;
    max-width: 450px; /* maximale grootte */
    height: auto; /* automatisch hoogte behouden */
    display: block;
    margin: 0 auto; /* centreer het logo */
}

h1 {
    font-size: 2.5em;
    margin: 0;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

nav a {
    text-decoration: none;
    color: #00bcd4;
    font-weight: bold;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #00bcd4;
    left: 0;
    bottom: -5px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: inline-block;
    margin: 20px 10px;
    padding: 15px 30px;
    background: #00bcd4;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.2em;
    text-decoration: none;
    position: relative;
    box-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4;
    animation: glow 1.5s infinite alternate;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    max-width: 300px;
    min-height: 320px; /* vaste hoogte voor de kaarten */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* zorgt dat de knop onderaan blijft */
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #00bcd4;
}

.project-card h3 {
    margin-bottom: 10px;
    color: #00bcd4;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px #00bcd4;
    }
    to {
        box-shadow: 0 0 20px #00bcd4;
    }
}