
/* Source: https://www.youtube.com/watch?v=3Z780EOzIQs&list=LL&index=12&t=57s */
.gallery-grid {
    display: grid;
    place-items: center;
}

.gallery-slider {
    height: 250px;
    margin: auto;
    position: relative;
    width: 90%;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.gallery-slide-track:hover {
    animation-play-state: paused;
}
.gallery-slide {
    height: 200px;
    width: 250px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
}

    .gallery-slide a img {
        height: 200px;
        width: 200px;
        transition: transform 1s;
    }

    .gallery-slide a:hover {
        transform: translateZ(20px);
    }

.gallery-slider::before,
.gallery-slider::after {
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    content: '';
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
}

.gallery-slider::before {
    left: 0;
    top: 0;
}

.gallery-slider::after {
    right: 0;
    top: 0;
    transform: rotate7(180deg);
}




.gallery-slide-track {
    display: flex;
    width: calc(250px*2 * 4);
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 4))
    }
}



.navbar-toggler {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
}

    .navbar-toggler span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #333;
        margin-bottom: 5px;
        transition: all 0.3s;
    }

#nav-toggle:checked ~ .navbar-collapse {
    display: block;
}

.navbar-collapse {
    display: none;
    padding-top: 40px;
}

@media (min-width: 768px) {
    .navbar-collapse {
        display: block;
        padding-top: 0;
    }

    .navbar-toggler {
        display: none;
    }
}


@media (min-width: 768px) {
    .navbar .ms-auto > a {
        margin-right: auto !important;
        position: absolute;
        right: 20px;
    }
}
@media (max-width: 767px) {
    .navbar .ms-auto > a {
        margin-right: auto !important;
        position: absolute;
        right: 80px;
    }
}









/* Style for the tabs */
.nav-link {
    cursor: pointer;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #f8f9fa; /* Default color for inactive tabs */
    color: #007bff; /* Default text color */
    border-radius: 0.375rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

    /* Highlight the active tab */
    .nav-link.active {
        background-color: #007bff; /* Active tab background */
        color: white; /* Active tab text color */
        font-weight: bold;
        border-color: #007bff; /* Optional: active tab border color */
    }

    /* Optional: Hover effect for tabs */
    .nav-link:hover {
        background-color: #e2e6ea;
    }


.card-img-top {
    object-fit: cover; /* Ensures the image covers the space while maintaining its aspect ratio */
    width: 100%; /* Makes the image take up full width of the parent container */
    height: 250px; /* Set a fixed height */
}