:root {
    --edge-border-width: 20px;
    --bs-gutter-x: 1rem;
}

html {
    --globalnav-height: 44px;
    --global-nav-ad-bar-height: 0px;
    --content-height: 500px;
}


::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Zorgt ervoor dat padding en border inbegrepen zijn in de totale breedte/hoogte */
}

body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-synthesis: none;
    background: #edc0bf;
    background: linear-gradient(90deg, #edc0bf 0,#c4caef 58%);
    background-size: cover;
    margin: 0;
    padding-top: 40px;
}

.row {
    margin-left: 0;
    margin-right: 0;
    margin-top: 2rem !important; /* Iets meer ruimte boven en onder */
    margin-bottom: 2rem !important;
    padding-left: 5px; /* Standaard Bootstrap padding */
    padding-right: 5px;
}

.col-md-6 {
    padding: 0; /* Verwijder extra padding om overlap of te veel ruimte te voorkomen */
}

.col-lg-4, .col-md-6, .col-12 {
    padding-left: 10px; /* Verkleint de padding aan de zijkanten */
    padding-right: 10px;
    flex: 1 1 calc(33.333% - 10px); /* Pas de breedte aan met kleinere ruimte tussen de kolommen */
    /* max-width: calc(33.333% - 10px); /* Zorgt ervoor dat er drie kolommen zijn op grote schermen */
}

#mostViewedShortContainer{
    display: flex;
    width: 90%;
}

#mostViewedVideoContainer{
}

.mb-4 {
    margin-bottom: 1rem !important;
}


/* Glassmorphism Navbar Styles */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(237, 192, 191, 0.8);
    background: linear-gradient(90deg, rgba(237, 192, 191, 0.8) 0%, rgba(196, 202, 239, 0.8) 58%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
}

#user-pic {
    border-radius: 50% !important;
    width: 50px; /* Aanbevolen om breedte en hoogte in CSS te beheren */
    height: 50px;
    object-fit: cover;
}

.navbar-expand-lg, .navbar-nav {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center;
}

/* BEGIN SJENZU LOGO AND TEXT STYLES */
.navbar-brand {
    display: flex;
    align-items: center;
    color: #4b2d40;
    font-size: 32px;
    margin-left: 20px;
}

.navbar-icon {
    width: 50px;
    height: 50px;
    margin-left: 20px;
}

.nav-item {
    margin-left: 20px;
}

.nav-link {
    font-size: 18px;
    font-weight: 500;
    color: #4b2d40;
    border: none;
    text-decoration: none;
    background: transparent;
    position: relative;
    display: table;
    margin: 0 auto;
    padding: 0;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: rgba(75, 45, 64, 0.6);
    opacity: 0.6;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #4b2d40;
    opacity: 0.7;
}

.nav-link:hover::after {
    transform: scaleX(1);
    width: 100%;
}

.nav-link.active {
    opacity: 1;
}

.nav-link.active::after {
    transform: scaleX(1);
    width: 100%;
}


.nav-signup {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    border-radius: 15px;
    background: #4b2d40;
    box-shadow: none;
    padding: 5px 10px;
    border: 2px solid #4b2d40;
}
/* END SJENZU LOGO AND TEXT STYLES */

.navbar-toggler {
    border: none;
    background-color: transparent;
    padding: 0;
    margin-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1060;
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon,
.navbar-toggler-close-icon {
    width: 40px;
    height: 40px;
    fill: #4b2d40;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbar-toggler-icon.active,
.navbar-toggler-close-icon.active {
    display: block;
}

.navbar-toggler-close-icon {
    position: absolute;
    top: 0;
    left: 0;
}

.navbar-toggler-icon,
.navbar-toggler-close-icon {
    background-color: transparent;
}

.navbar-toggler:focus, .navbar-toggler:active{
    outline: none;
    background-color: transparent;
    box-shadow: none;
}

/* Styling voor de SVG-kleur */
.navbar-toggler-icon svg,
.navbar-toggler-close-icon svg {
    fill: #4b2d40; /* Pas de kleur aan naar je gewenste kleur (bijv. paars) */
}




/* Glassmorphism Content Styles */
.glassmorphism {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.unit-wrapper-theme-dark {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #4b2d40;
    border-radius: 15px;
    background: rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-left: var(--edge-border-width);
    margin-right: var(--edge-border-width);
}

/* CAROUSEL FIXES */
.carousel {
    background-color: transparent;
}

.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: transparent;
    opacity: 0;
    z-index: 1;
    position: relative;
    pointer-events: none; /* Zorgt ervoor dat niet-actieve items niet klikbaar zijn */
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
}

.carousel-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    z-index: 2;
    pointer-events: auto; /* Alleen het actieve item is klikbaar */
}

.carousel-item a {
    position: relative;
    z-index: 3;
    text-decoration: none;
}

.carousel-item:hover {
    z-index: 3;
}


.carousel-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Hiermee duw je de tekst naar beneden */
    align-items: center;
    height: 100%; /* Zorg ervoor dat de wrapper de volledige hoogte van de carousel inneemt */
    padding-top: 40px; /* Voeg verticale padding toe om de tekst lager te plaatsen */
    position: relative;
}


.carousel-item-next,
.carousel-item-prev {
    opacity: 1;
    transform: translateX(100%);
    pointer-events: none;
}

.carousel-item-prev {
    transform: translateX(-100%);
}

/* Zorg ervoor dat de afbeeldingen zich aanpassen aan de beschikbare ruimte */
.carousel-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-top: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    height: 350px;
}

/* Verberg de knoppen standaard */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: opacity 0.6s ease; /* Maak de overgang iets langer */
    pointer-events: none; /* Zorg ervoor dat de knoppen niet klikbaar zijn wanneer ze onzichtbaar zijn */
}

/* Toon de knoppen wanneer de muis over de carousel beweegt */
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
    pointer-events: auto; /* Maak de knoppen weer klikbaar */
    transition: opacity 0.3s ease;
}

/* Zorg ervoor dat de knoppen zichtbaar blijven tijdens het klikken */
.carousel-control-prev:active,
.carousel-control-next:active {
    opacity: 1; /* Zorg dat de knop zichtbaar blijft bij klik */
    pointer-events: auto; /* Zorg dat de knop klikbaar blijft */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(75, 45, 64, 0.6); /* Aangepaste kleur */
    border-radius: 50%;
    padding: 10px;
    pointer-events: none;
    transition: background-color 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(75, 45, 64, 0.9); /* Feller bij hover */
}

/* Carousel-indicatoren */
.carousel-indicators {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.carousel-indicators li {
    width: 10px !important;
    height: 10px !important;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators .active {
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators .active {
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-indicators button:hover,
.carousel-indicators button:focus {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ADDITIONAL STYLES */
.unit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 30px; /* Maakt de knoppen verder afgerond */
}

.gsi-material-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 30px; /* Maakt de knop verder afgerond */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.gsi-material-button:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gsi-material-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.gsi-material-button-icon {
    width: 20px;
    height: 20px;
}

.gsi-material-button-contents {
    font-size: 16px;
    color: #000;
}

/* Stijlen voor de gebruikersmodal */
#userModalBody {
    padding: 20px;
}

#modalUserPic {
    border: 2px solid #ccc;
    padding: 5px;
}

#modalUserName {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: bold;
}

#modalUserEmail {
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: #666;
}




/* Modal dialog adjustments for size */
.modal-dialog {
    width: 100%; /* Zorg ervoor dat de modal de volledige breedte inneemt */
    max-width: none; /* Verwijder de maximale breedtebeperking */
    height: auto; /* Laat de hoogte zich aanpassen aan de inhoud */
    margin: 5px auto; /* Geef een kleine marge om ruimte aan de randen te houden */
    padding: 0;
    position: relative;
}

/* Glassmorphism effect on modal background */
.modal-content {
    background: rgba(255, 255, 255, 0.3); /* Glassmorphism effect */
    backdrop-filter: blur(10px); /* Blurring the background */
    border-radius: 20px; /* Rounded corners for a better appearance */
    padding: 20px; /* Set equal padding on all sides */
    padding-bottom: 0; /* Extra padding at the bottom for the close button */
    box-sizing: border-box; /* Ensures padding doesn't affect width/height */
}

/* Remove border from modal header and modal footer */
.modal-header,
.modal-footer {
    border: none; /* Remove borders from header and footer */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

/* Adjust modal-body padding and margin */
.modal-body {
    padding: 0; /* Remove padding */
    margin: 0;  /* Remove margin */
    max-height: 80vh; /* Adjust this as per your needs */
    height: auto;
    overflow-y: auto; /* Allow scrolling if content is too large */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Centered close button in the modal footer */
.modal-footer {
    height: 60px; /* Adjust the footer height */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

/* Close button adjustments */
.modal-footer .btn-close {
    background-color: rgba(255, 255, 255, 0.8); /* Background color for visibility */
    border-radius: 50%; /* Make the button circular */
    padding: 5px;
    width: 35px; /* Smaller width for a more proportional circular button */
    height: 35px; /* Smaller height for a more proportional circular button */
    font-size: 1rem; /* Font size for the "X" */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, 0.5); /* Add a border for better visibility */
    position: absolute; /* To position it centrally in the modal-footer */
    bottom: 0; /* Slightly lower in the footer */
    outline: none; /* Remove the default browser outline */
}

/* Custom X icon */
.modal-footer .btn-close::before {
    content: "✕"; /* Custom close icon */
    font-size: 1rem; /* Adjust the size of the "X" */
    color: #4b2d40; /* Dark "X" for contrast */
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Hover effect for the close button */
.modal-footer .btn-close:hover {
    background-color: rgba(255, 255, 255, 0.7); /* Solid background on hover */
    color: #4b2d40; /* Make the "X" transparent */
}

/* Remove the default button styling */
.btn-close {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
}

/* Adjust iframe inside the modal */
iframe {
    border-radius: 15px;
    overflow: hidden;
    width: 100%; /* Ensure the iframe takes up the full width */
    height: 75vh; /* Adjust height to fit within the modal */
    border: none; /* Remove any iframe borders */
}

.video-title {
    font-size: 16px; /* Iets kleinere lettergrootte voor titels */
    white-space: normal; /* Laat de tekst doorlopen naar de volgende regel */
    word-wrap: break-word; /* Zorgt ervoor dat woorden worden gesplitst als ze te lang zijn */
    overflow: visible; /* Verbergt eventuele overloop van tekst */
    text-overflow: ellipsis; /* Voegt ellipsis toe aan te lange titels */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limiteer de titel tot maximaal 2 regels */
    -webkit-box-orient: vertical;
    padding: 0;
}

.video-thumbnail {
    width: 100%;
    border-radius: 15px;
    object-fit: cover; /* Zorgt ervoor dat de afbeelding wordt bijgesneden en niet uitgerekt */
    height: 350px;
}

.video-item-container {
    overflow: hidden;
    height: 100%; /* Zorg ervoor dat de container de volledige hoogte inneemt */
    width: 100%;
    padding: 10px;
    gap: 5px
}

#mostViewedShortContainer, #mostViewedVideoContainer {
    margin-bottom: 1rem; /* Voegt wat ruimte toe aan de onderkant */
}

#playlistContainer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap:5px;
}

.unit-copy-wrapper {
    position: relative;
    text-align: center;
    flex-grow: 0;
    margin-top: calc(var(--global-nav-collection-height));
}

.unit-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.unit-image-wrapper.responsive-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.unit-image-wrapper.responsive-video video {
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 100%;
}

.pagehead {
    font-size: 46px;
    line-height: 1.07143;
    font-weight: 450;
    letter-spacing: -0.005em;
    font-family: "Roboto Thin", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    color: #4b2d40; /* Zorgt ervoor dat de kleur consistent is */
    margin: 0;
    text-align: center;
    margin-bottom: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.pagetitle {
    font-size: 46px;
    line-height: 1.07143;
    font-weight: 450;
    letter-spacing: -0.005em;
    font-family: "Roboto Thin", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    color: #4b2d40; /* Zorgt ervoor dat de kleur consistent is */
    text-align: center;
    margin-bottom: 10px;
    position: static;
    transform: none;
;
}

.headmargin {
    padding-top: 20px;
}

.puzzle-info p {
    margin: 0;
    font-size: 14px;
    color: #4b2d40;
}


.headline {
    text-align: center;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    font-size: 46px;
    line-height: 1.07143;
    font-weight: 500;
    letter-spacing: -0.005em;
    font-family: "Roboto Thin", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    color: #4b2d40; /* Zorgt ervoor dat de kleur consistent is */
}

.subhead {
    text-align: center;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    font-size: 32px;
    line-height: 1.10722;
    font-weight: 400;
    letter-spacing: -0.004em;
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    margin-top: 6px;
    color: #4b2d40; /* Zorgt ervoor dat de kleur consistent is */
}

.headline:hover {
    opacity: 0.6;
}

.subhead:hover {
    opacity: 0.6;
    text-decoration: underline;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    flex-shrink: 0;
}
.social{
    display: flex;
    justify-content: center;
}

.social:hover {
    color: #4b2d40;
}

.footer .copyright {
    padding-top: 10px;
    margin-top: 0;
}

.hidden {
    display: none;
}

.filter-header{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    width: 100%;
    position: relative;
}

.button-container {
    display: flex;
    gap: 10px;
    align-items: center;
    order: -1;
}

.filter-btn {
    height: 35px;
    background: rgba(255, 255, 255, 0.2); /* Transparante achtergrond */
    backdrop-filter: blur(10px); /* Glassmorphism */
    -webkit-backdrop-filter: blur(10px); /* Voor Safari */
    border-radius: 15px; /* Afgeronde hoeken */
    border: 2px solid rgba(255, 255, 255, 0.1); /* Licht transparante rand */
    padding: 5px 10px; /* Ruimte binnen de knoppen */
    color: #4b2d40; /* Tekstkleur */
    font-size: 16px; /* Lettergrootte */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Overgangen voor hover- en klik-effecten */
}

.nonefilter {
    padding: 5px 10px;
    height: 35px;
    background-color: transparent;
    border-color: transparent;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.4); /* Lichte hover-effect */
    color: #4b2d40; /* Tekst blijft dezelfde kleur */
}

.filter-btn.active {
    background-color: #4b2d40; /* Paarse achtergrond voor de actieve knop */
    color: #fff; /* Witte tekst voor de actieve knop */
    border-color: #4b2d40; /* Paarse rand voor de actieve knop */
}

/* ✅ Zorg dat modal-content boven alles ligt en klikbaar is */
.modal { z-index: 1050 !important; }
.modal-backdrop { z-index: 1040 !important; }

.modal-dialog,
.modal-content,
.modal-body,
.custom-modal-body {
    pointer-events: auto !important;
}

#btnGoogleLogin,
#btnSignupGoogle,
.gsi-material-button {
    pointer-events: auto !important;
    position: relative;
    z-index: 1;
}


@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.about-us-image {
    width: 100%; /* Stel de gewenste breedte in */
    max-width: 200px;
    height: auto; /* Zorg ervoor dat de afbeelding proportioneel blijft */
    display: block; /* Verwijder eventuele extra ruimte rond de afbeelding */
    margin-top: 10px; /* Centreer de afbeelding horizontaal */
    margin-bottom: 10px;

}

.about-section-padding {
    text-align: center; /* Zorgt ervoor dat de tekst horizontaal wordt gecentreerd */
    padding: 0 10%; /* 20px boven/onder, 15% links/rechts voor centrering */
    font-size: 1rem; /* Lettergrootte aanpassen */
    line-height: 1.6; /* Regelafstand voor leesbaarheid */
    color: #333; /* Kleur van de tekst */
    display: flex; /* Flexbox gebruiken voor extra controle */
    justify-content: center; /* Horizontale uitlijning van het flexelement */
    align-items: center; /* Verticale uitlijning van het flexelement */
    flex-direction: column; /* Zorgt ervoor dat de tekst op een nieuwe regel begint */
    height: 100%; /* Zorgt ervoor dat de tekst de volledige hoogte inneemt */
    margin-top: 10px;
}


/* Container voor de games */
#gamesContainer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5px;
}

/* Game-item container */
.game-item {
    flex: 1 1 calc(33.333% - 10px); /* Voor drie kolommen naast elkaar */
    max-width: calc(33.333% - 10px); /* Zorg dat ze niet breder worden dan dit */
    padding: 10px; /* Voegt ruimte tussen de items toe */
}

/* Stijlen voor game-afbeeldingen */
.game-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover; /* Zorgt ervoor dat de afbeelding wordt bijgesneden en niet uitgerekt */
}



/* MEDIA QUERIES */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        margin-right: 15px;
        padding:0;
    }

    .responsive-video {
        padding-bottom: 65%;
    }

    #playlistContainer .video-item {
        flex: 1 1 calc(33.333% - 15px); /* Voor drie kolommen naast elkaar */
        max-width: calc(33.333% - 15px); /* Zorg dat ze niet breder worden dan dit */
        gap:5px;
    }

    .video-thumbnail {
        /*  height: auto; /* Maak de thumbnails hoger zoals eerder aangepast */
        /* width: 100%; /* Zorg ervoor dat de thumbnails de volledige breedte van de kolom innemen */
    }
}



@media (max-width: 1000px) {


    .unit-image-wrapper {
        display: -ms-flex;
    }

    .headline {
        font-size: 30px;
    }

    .subhead {
        font-size: 20px;
    }

    .unit-image-wrapper.responsive-video {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 75%;
    }

    .about-section-padding {
        font-size: 0.875rem;
        margin: 5px;
    }

    .headmargin {
        padding-top: 5px;
    }

    .about-us-image {
        width: 150px; /* Stel de gewenste breedte in */
        height: auto; /* Zorg ervoor dat de afbeelding proportioneel blijft */
        max-width: 100%; /* Zorg dat de afbeelding niet groter wordt dan de container */
        display: block; /* Verwijder eventuele extra ruimte rond de afbeelding */
        margin: 5px;
    }

    .copyright p {
        text-align: center;
        width: 100%;
    }

    /* Video containers: tweekoloms lay-out */
    #playlistContainer .video-item {
        flex: 1 1 calc(50% - 15px); /* Twee naast elkaar met een gelijke tussenruimte */
        max-width: calc(50% - 15px); /* Zorg dat ze niet breder worden dan dit */
        margin-bottom: 15px; /* Consistente ruimte onder de containers */
    }


    #gamesContainer .game-item {
        flex: 1 1 calc(50% - 10px); /* Twee kolommen naast elkaar */
        max-width: calc(50% - 10px);
    }

    .video-thumbnail {
        height: auto; /* Automatische hoogte voor een mooie verhouding */
        width: 100%; /* Zorg ervoor dat de thumbnails de volledige breedte innemen */
    }


    .filter-header {
        flex-direction: column;
        align-items: center;
    }

    .button-container {
        margin-bottom: 10px;
        justify-content: center;
        order: 0;

    }

    .filter-btn {
        width: auto;
        font-size: 14px;
    }

    .nonefilter {
        padding: 3px;
    }

    .pagehead {
        position: static; /* Reset de positionering */
        transform: none; /* Verwijder de translate */
        margin-top: 10px;
        text-align: center;
    }

    .pagetitle {
        position: static; /* Reset de positionering */
        transform: none; /* Verwijder de translate */
        margin-top: 10px;
        text-align: center;
        font-sixe: 32px;
    }


    @media (max-width: 991px) {

        .col-lg-4, .col-md-6, .col-12 {
            flex: 1 1 calc(50% - 10px);
            max-width: calc(50% - 10px);
        }

        #playlistContainer .video-item {
            flex: 1 1 calc(50% - 10px); /* Twee naast elkaar met een gelijke tussenruimte */
            max-width: calc(50% - 10px); /* Zorg dat ze niet breder worden dan dit */
        }


        .video-item-container {
            width: 100%;
        }

        .video-thumbnail {
            height: auto; /* Automatische hoogte voor een mooie verhouding */
            width: 100%; /* Zorg ervoor dat de thumbnails de volledige breedte innemen */
        }

        .headline {
            font-size: 30px;
        }

        .subhead {
            font-size: 15px;
        }

        .about-section-padding {
            font-size: 0.875rem;
            padding-left: 5%;
            padding-right: 5%;
        }


        .navbar-nav .nav-item {
            margin-bottom: 10px;
        }

        .navbar-toggler {
            margin-bottom: 10px;
            margin-left: 10px;
        }

        .navbar-collapse {
            padding: 10px 0;
            padding-left: 20px;
        }

        .filter-header {
            flex-direction: column;
            align-items: center;
        }

        .button-container {
            margin-bottom: 10px;
            justify-content: center;
            order: 0;
        }

        .filter-btn {
            width: auto;
            font-size: 14px;
        }

        .pagehead {
            position: static; /* Reset de positionering */
            transform: none; /* Verwijder de translate */
            margin-top: 10px;
            font-size: 30px;
        }

        .pagetitle {
            position: static; /* Reset de positionering */
            transform: none; /* Verwijder de translate */
            margin-top: 10px;
            font-size: 30px;
        }

        .video-title {
            font-size: 14px; /* Kleiner lettertype voor tablets en kleinere schermen */
        }


        @media (max-width: 615px) {
            #playlistContainer .video-item {
                flex: 1 1 100%; /* Eén per rij op de kleinste schermen */
                max-width: 100%;
            }

            #gamesContainer .game-item {
                flex: 1 1 100%; /* Eén per rij op de kleinste schermen */
                max-width: 100%;
            }

            .col-lg-4, .col-md-6, .col-12 {
                flex: 1 1 100%;
                max-width: 100%;
            }

            .video-title {
                font-size: 12px; /* Nog kleiner lettertype voor mobiele telefoons */
            }

            .about-section-padding {
                font-size: 0.75rem; /* Nog kleinere tekst op smartphones */
            }

            .about-us-image {
                max-width: 100px; /* Verminder de grootte van de afbeelding op zeer kleine schermen */
                width: 100%;
                height: auto;
            }

            .modal-dialog {
                width: 95%; /* Iets kleiner dan de volledige breedte voor ruimte aan de randen */
                max-width: 95%;
                margin: 5px auto; /* Centreer de modal */
                height: auto;
            }

            .modal-content {
                border-radius: 15px; /* Kleinere border radius voor kleine schermen */
                margin: 0;
                padding: 0;
                max-height: 85vh; /* Limiteer de maximale hoogte */
            }

            .modal-body {
                height: auto;
                max-height: 75vh; /* Limiteer de hoogte van de modal body */
                padding: 10px; /* Iets meer padding voor een betere uitstraling */
                overflow-y: auto; /* Scrollbaarheid voor lange inhoud */
            }

            iframe {
                border-radius: 15px;
                overflow: hidden;
                width: 95%; /* Ensure the iframe takes up the full width */
                max-height: 70vh; /* Adjust height to fit within the modal */
                border: none; /* Remove any iframe borders */
            }

        }
    }
}



