/* fonts */
.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.roboto-slab-regular {
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.card {
    transition: background-color 0.3s;
    position: relative;
    cursor: pointer; /* Voeg een cursor toe om aan te geven dat de kaart klikbaar is */
}

/* Verander de achtergrondkleur in grijs bij hover */
.card:hover {
    background-color: #ccc;
}

/* Voeg wazigheid toe aan de afbeelding bij hover */
.card:hover .card-img-top {
    filter: blur(5px);
}

/* Stijl om de pagetitel weer te geven binnen de kaart */
.card .card-title-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(120, 129, 255);
    color: white;
    padding: 5px 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s, visibility 0.3s; /* Voeg een overgang toe voor de titelvisibility */
    visibility: hidden; /* Titel standaard verborgen */
    opacity: 0; /* Begin met een lage opaciteit */
}
.card-z {
    overflow: hidden; /* Ensures image doesn't overflow the card */
    transition: transform 0.3s ease-in-out;
}

.card-z img {
    transition: transform 0.3s ease-in-out; /* Smooth transition for the zoom effect */
}

.card-z:hover img {
    transform: scale(1.10); /* Slight zoom effect (5% bigger) */
}
/* Stijl voor de info-knop */
.info-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s, opacity 0.3s; /* Voeg overgang toe voor zichtbaarheid en opaciteit */
    opacity: 0; /* Begin met een lage opaciteit */
}

/* Maak de pagetitel zichtbaar bij hover */
.card:hover .card-title-container {
    transform: translateY(0);
    visibility: visible; /* Maak de titel zichtbaar bij hover */
    opacity: 1; /* Laat de opaciteit toenemen om de titel zichtbaar te maken */
}

/* Maak de info-knop zichtbaar bij hover */
.card:hover .info-button {
    opacity: 1; /* Laat de opaciteit toenemen om de knop zichtbaar te maken */
}
.video{
    object-fit: cover;
    height: 75vh;
    width: 100%;
}


.nav-link i {
    will-change: transform; /* Optimize rendering for better performance */
    transition: transform 0.5s ease;
}

.nav-link:hover i {
    transform: scale(1.2); /* Smooth scale effect */
}



#scroll-down {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}
.label {
    position: absolute;
    top: 0px;
    right: 25px;
    background: #FFC831;
    color: white;
    padding: 10px 15px;
    mix-blend-mode: luminosity;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

/* Limit visibility to 3 images per row */
.overflow-hidden {
    max-width: 100%; /* Full width of the container */
}

/* Control the number of visible images based on screen size */
@media (min-width: 992px) { /* Large screens */
    .card {
        flex: 0 0 calc(100% / 3); /* Show 3 images at a time */
    }
}

@media (min-width: 768px) and (max-width: 991px) { /* Medium screens */
    .card {
        flex: 0 0 calc(100% / 2); /* Show 2 images at a time */
    }
}

@media (max-width: 767px) { /* Small screens */
    .card {
        flex: 0 0 100%; /* Show 1 image at a time */
    }
}
@media (max-width: 767px) { /* Target devices with a max-width of 767px */
    .card {
        flex: 0 0 calc(100% / 1); /* Show 1 image at a time (full width) */
    }

    .card img {
        height: auto; /* Maintain aspect ratio */
        width: 100%; /* Make the image fill the card */
    }
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
#carousel-wrapper::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
}

/* Hide scrollbar for IE and Edge */
#carousel-wrapper {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Ensure the carousel-wrapper is fully visible */
#carousel-wrapper {
    overflow: auto; /* Allows scrolling without visible scrollbar */
}

.nav-a {
    background-image: linear-gradient(
            to right,
            #ffffff,
            #ffffff 50%,
            #ffffff 50%
    );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.nav-a:before {
    content: '';
    background: #ffffff;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

.nav-a:hover {
    background-position: 0;
}

.nav-a:hover::before {
    width:100%;
}

#gradient {
    background-color: sandybrown; /* Fallback for unsupported browsers */
    background-image: linear-gradient(to right, #bb8c1c , #7f3f00);
    background-size: 200% 200%; /* Increase size for smoother effect */
    animation: rotateGradient 5s linear infinite; /* Faster animation */
}

/* Keyframes for rotation */
@keyframes rotateGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


