@font-face { font-family: Quicksand-Regular; src: url('fonts/BarlowCondensed-Regular.ttf'); }
@font-face { font-family: Quicksand-Italic; src: url('fonts/BarlowCondensed-Italic.ttf'); }
@font-face { font-family: Quicksand-Dash; src: url('fonts/BarlowCondensed-ExtraLight.ttf'); }
@font-face { font-family: Quicksand-BoldItalic; src: url('fonts/BarlowCondensed-BoldItalic.ttf'); }
@font-face { font-family: Quicksand-Bold; src: url('fonts/BarlowCondensed-Bold.ttf'); }
@font-face { font-family: Aleo-Light; src: url('fonts/Aleo-Light.otf'); }

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: ghostwhite;
}

body li {font-size: 20px;}

.banner {
    position: relative;
    width: 100%;
    height: 30vh; /* 30% of the viewport height */
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    filter: blur(0.2rem);
    opacity: 80%;
}

.banner h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 5em;
    text-align: center;
    margin: 0;
    padding: 0;
    z-index: 1;
    font-family: Quicksand-Dash;
}

/* Additional styles */
.banner h1::selection {
    color: white;
    background-color: transparent;
}

.course-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.course-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.course-header, .course-details {
    flex: 1;
    min-width: 300px;
}

.course-header {
    margin-right: 20px;
    padding-right: 70px;
}

.course-header h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.course-header p {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: Quicksand-Regular;
 }

.course-links {
    margin-top: 20px;
}

.course-details{
font-size: 20px;}

.course-details h2 {
    margin-top: 0;
}

.course-details ul {
    list-style-type: none;
    padding: 0;
}

.course-details li {
    margin-bottom: 10px;
}

.course-details li strong {
    font-weight: bold;
}

.course-price p {
    margin-top: 10px;
    font-family: Quicksand-Bold;
}

.titre_evenment {
font-family: Quicksand-BoldItalic;}

.course-gallery {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.img-container {
    display: inline-block; /* Ensures proper wrapping */
    border-radius: 5px; /* Keeps rounded corners */
}

.course-gallery img {
    display: block; /* Prevents inline spacing issues */
    width: 100%; /* Adjust as needed */
    height: auto;
    border-radius: 5px;
    opacity: 0.8; /* Image opacity */
}

#inschrijven-link {
background-color:royalblue; color: ghostwhite;border: none; border-radius: 20px; font-family: Quicksand-Regular; font-size: 24px; padding: 10px;
}

#inschrijven-link:hover {
        background-color: ghostwhite;
    color: black;
}

/* Responsive Design */

@media (max-width: 768px) {
    .banner img {
    filter: none;
}

    .banner h1{
    font-size: 10vw;
    }

    .course-container {
        padding: 10px;
    }

    .course-header, .course-details {
        min-width: 100%;
        margin-right: 0;
    }

    .course-header h1 {
        font-size: 24px;
    }

    
    .course-gallery {
        flex-direction: column;
    }


}
