/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and layout */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Header section */
header {
    background: linear-gradient(135deg, #faf9fa, #474747);
    color: #0096ff;
    padding: 1rem 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1400;
}

/* Logo styling */
header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 130px;  /* Adjust size of the logo */
    height: auto;
    margin-right: 45px;
}

header .logo h1 {
    font-size: 3.0rem;
}

/* Navigation menu */
header nav ul {
    list-style-type: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
}

header nav ul li a:hover {
    color: #0096ff;  /* Accent color for hover */
}


/* Hero section */
.hero {
    background: linear-gradient(135deg, #474747, #faf9fa);
    background-size: cover;
    background-position: center;
    color: black;
    padding: 100px 80px;
    text-align: center;
    margin-top: 70px;  /* To make room for the fixed header */
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Race section */
#races {
    padding: 60px 20px;
    background-color: rgb(78, 125, 212);
    text-align: center;
}

#races h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.race-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.race-item {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 250px;
    text-align: center;
}

.race-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.race-item button {
    background-color: #1e3a8a;  /* Blue button color */
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.race-item button:hover {
    background-color: #2563eb;  /* Lighter blue on hover */
}

/* Results section */
#results {
    padding: 10px 20px;
    background-color: #ecf0f1;
    text-align: center;
}

#results h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.results-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.result-item {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 300px;
}

.result-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.result-item p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Gallery Section */
#gallery {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

#gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#gallery p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Gallery Container */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Gallery Item */
.gallery-item {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 100%;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.gallery-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-item p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.gallery-item button {
    background-color: #1e3a8a;  /* Blue button color */
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: point
}
.video-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
}

.video-container iframe {
    width: 400px; /* Breedte van de video */
    height: 225px; /* Hoogte van de video */
}

/* Zorg ervoor dat de video-container goed reageert op verschillende schermgroottes */
@media (max-width: 768px) {
    .video-container iframe {
        width: 100%; /* Volledige breedte op kleinere schermen */
        height: auto; /* Automatische hoogte om de verhoudingen goed te houden */
    }
}