/* Zorgt alle marges en padding wordt weggehaald zodat mijn navbar en header heel de site innemen*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: darkslategray;
    text-align: center;
    justify-content: center;
    color: white;
    font-size: 2.5em; 
    font-weight: bold; 
    display: flex;
}

nav{
    background-color: darkslategrey;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position:relative;
}

nav a {
    text-decoration: none;
    color: white; 
    padding: 10px; 
    font-weight: bold;

}
nav a:hover {
    color: lightgray; 
    font-weight: bold;

}
body {
    background-color: lightgray;
    font-size: 16px;
}


.container {
    padding: 3rem;
}

section {
    margin-bottom: 0.5rem;
}

section h2 {
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid black;
    
    
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.card {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    align-items: center;
    display: flex;
    flex-direction: column;
    

}

.card img {
    max-width: 50%;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
}


footer {
    text-align: center;
    background-color: darkslategray;
    padding: 1rem 0;
    bottom: 0;
    width: 100%;
    color: white;
    position: relative;

}


.card video {
    width: 75%; /* Schaal de video naar de volledige breedte */
    height: auto; /* Houd verhoudingen in stand */
    max-width: 100%; /* Beperk de grootte binnen de card */
}






  @media (max-width: 600px) {
    nav {
        flex-direction: column;
    }

    nav a {
        margin: 0.1rem 0;
    }

}