body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.header {
    min-height: 75vh;
}


.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container.flex-grow-1 {
    flex: 1;
}

h2 {
    margin-bottom: 2.5%;
}

.kaarten {
    margin-bottom: 2.5%;
}

.banner-container {
    position: relative;
    text-align: center;
    color: white;
}

.banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.banner-text h1 {
    font-size: 4em;
    margin-bottom: 20px;
}

.banner-text h3 {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.banner-text .btn-primary {
    font-size: 1.2em;
    padding: 12px 30px;
}



.voorPagina-text {
    color: aliceblue;
    text-align: center;
    background: rgb(221, 221, 221, 0.5);
    padding-left: 2%;
    padding-right: 2%;
}

.voorPagina-text h1 {
    font-size: 4rem;
}

.voorPagina-text p {
    margin: 10px 0 40px;
    font-size: 1.25rem;
    color: #fff;
}

.main-content {
    padding-bottom: 60px;
}

.voorPagina-text h5 {
    margin: 0;
    text-align: center;
}

.buttons {
    margin-top: 20px;
}

.buttons button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 1em;
}

.articles {
    padding: 50px 0;
    text-align: center;
}

.articles img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 10px;
}

.dropdown-menu {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    border: none;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #007bff;
}

.dropdown-menu {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    border: none;
}

.dropdown-item {
    color: #333;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.fa-user {
    margin-right: 5px;
    vertical-align: middle;
    line-height: inherit;
}

.filter-bar {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.error {
    font-weight: bold;
    color: red;
}

.carousel-container {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.carousel-inner img {
    max-height: 300px;
    width: 100%;
    object-fit: contain;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: black;
}

.carousel-control-prev,
.carousel-control-next {
    color: black;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bewerkKnop {
    margin-bottom: 20%;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;

}

.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    position: absolute;
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-nav .dropdown-toggle::after {
    display: none;
}

.full-width-image {
    width: 99.4vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.full-width-image img {
    width: 100%;
    height: auto;
}

.voorPagina-text {
    text-align: center;
    margin-bottom: 100px;
}


.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    padding-bottom: 0;
}

.product-image-container {
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.product-image-container img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: center;
}

.product-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.product-card-title,
.product-card-text {
    margin: 5px 0;
}

.product-btn {
    margin-top: auto;
    align-self: center;
}

.info-scholen {
    margin-bottom: 40px;
    margin-left: 12%;
    margin-top: 2.5%;
}

.info-scholen h5 {
    margin-right: 12%;

}

.info-scholen .row {
    justify-content: center;
}

.info-scholen h6 {
    font-size: 1.1rem;
}

.info-scholen p {
    margin-bottom: 8px;
}

footer {
    margin-top: 7.5%;
}

.footer p {
    margin-bottom: 0.3rem;
}

.fade-out {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.fade-out.hidden {
    opacity: 0;
}