/*
Theme Name: Bowling Vereniging Venray
Author: Giel van Gorp
Version: 1.0
*/

.header-overview{
    width: 100%;
    height: min(50vw, 300px);

    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: transparent;
}

.header-overview .black-cover{
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);

    display: flex;
    justify-content: center;
    align-items: center;
}

.header-overview .black-cover .header-content{
    text-align: center;
    font-family: var(--font);
}

.header-content .text-shadow{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.home-page-info-section { 
    color: var(--secondary-color);
    text-align: center;
    font-family: var(--font);
    font-weight: bolder;

    font-size: clamp(.8rem, 2.4vw, 1.1rem);
}

.title{
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.sub-title{
    font-size: clamp(.8rem, 2.4vw, 1.2rem);
}

.logo-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    background: #f8f8f8;
    padding: 10px 0;
}

.logos {
    display: flex;
    gap: 30px;
    animation: scroll 15s linear infinite;
}

.logos img {
    height: 70px; /* Pas aan naar wens */
}

.sponsor-title {
    font-family: var(--font);
    color: var(--secondary-color);
}

@keyframes scroll {
    from { transform: translateX(-50%); }
    to { transform: translateX(0%); }
}

.sponsor-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    background-color: #fff; /* Of andere achtergrondkleur */
    padding: 1rem 0;
}

.sponsor-carousel-track {
    display: flex;
    width: max-content;
    animation: scroll-logos 25s linear infinite;
}

.sponsor-logo {
    flex: 0 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    height: 60px; /* pas aan naar wens */
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.sponsor-logo img:hover {
    filter: grayscale(0%);
}

@keyframes scroll-logos {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.image-slider .slide {
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.news-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}