

*,
*::before,
*::after {
    box-sizing: border-box;
}



:root {
    --color-text: #111;
    --color-background: #eee;

}


body {
    margin: 0;
    padding: 0;
    color: var(--color-text);
     font-family: "Inter",sans-serif;
     margin: 0;

}




header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    background-image: url(../images/Achtergrondmenu.png);
    background-size: cover;
}

header img {
    margin: 10px 0 10px 20px;
    height: 65px;
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;

}






.menu {
    position: fixed;
    inset: 0;
    background-color: #b22435;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding: 60px 20px;
    z-index: 2000;

    /* leren */

    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    /* leren */
.menu.open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}


.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.menu li {
    margin: 20px 0;
}

.menu a {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: block;
    cursor: pointer;
}

/* Alleen Teams krijgt klik-effect */
.klik {
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.klik:active {
    background-color: rgba(255, 255, 255, 0.3); /* lichter rood/wit effect */
    padding-left: 15px; /* schuift iets naar rechts bij klik */
}







body.noscroll {
    overflow: hidden;
}

/* Bron: chat */
#closemenu {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
    z-index: 3000;
}


/**************/
/* KNOPPEN    */
/**************/
.knoppen {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}


#hamburgermenu,
.zoekicon {
    font-size: 30px;
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.rotated {
    display: inline-block;
    transform: scaleX(-1);
}


.lettertype button {
    background-color: #c1082c;
    color: white;
    border: none;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
    margin-left: 25px;
}

.lettertype button:hover {
    background-color: #a10625;
}



/* Main  */


.blok {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
}

.blok img {
    width: 100%;
    display: block;
}

.blok-info {
    position: absolute;
    top: 45px;
    left: 30px;
    color: white;
}

.blok-info h2,
.blok-info p {
    margin: 0;

}

.blok-info button {
    margin-top: 250px;
    padding: 8px 14px;
    border: none;
    background: white;
    color: black;
    font-weight: bold;
    font-size: 15px;
}

.blok-info button:hover {
    background: #b22435;
    color: white;
    transform: scale(1.05);
}

/* BLOK 1 */

.blok1 {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
}

.blok1 img {
    width: 100%;
    display: block;
}

.blok-info1 {
    position: absolute;
    top: 45px;
    left: 30px;
    color: black;
}

.blok-info1 h2,
.blok-info1 p {
    margin: 0;

}

.blok-info1 button {
    margin-top: 100px;
    padding: 8px 14px;
    border: none;
    background: white;
    color: black;
    font-weight: bold;
    font-size: 15px;

}

.blok-info1 button:hover {
    background: #b22435;
    color: white;
    transform: scale(1.05);
}

/* VIDEO-SECTIE  */

.videos {
    margin-top: 30px;
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
    background: #111;
}


.videos h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #ffffff;
}

.video-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    scrollbar-color: #c1082c transparent;

}


.video-item {
    min-width: 220px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.video-item img {
    width: 100%;
    display: block;
}

.video-item p {
    margin-top: 8px;
    font-weight: bold;
    color: #ffffff;
}

/* bron: chat*/

.wedstrijd-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    scrollbar-color: #c1082c transparent;
}

.wedstrijd-item {
    min-width: 220px;
    scroll-snap-align: start;
    color: #000000;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    color: var(--color-text);

}

.wedstrijd-item p {
    margin: 0;
}





/* BLOK 2 */


.blok2 {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
}

.blok2 img {
    width: 100%;
    display: block;
}

.blok-info2 {
    position: absolute;
    top: 45px;
    left: 30px;
    color: rgb(255, 255, 255);
}

.blok-info2 h2,
.blok-info2 p {
    margin: 0;
}

.blok-info2 button {
    margin-top: 100px;
    padding: 8px 14px;
    border: none;
    background: #c1082c;
    color: rgb(255, 255, 255);
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}


.blok-info2 button:hover {
    background: #ffffff;
    color: #c1082c;
    transform: scale(1.05);
}



/* BLOK 3 */

.blok3 {
    width: 100%;
    margin-bottom: 5px;
    padding: 20px;
}

.blok3 img {
    width: 100%;
    display: block;
}

.blok-info3 {
    color: rgb(0, 0, 0);
    margin-top: 15px;
    position: static;
}

.blok-info3 h2,
.blok-info3 p {
    margin: 0 0 10px 0;
    color: var(--color-text);
}

.blok-info3 button {
    margin-top: 15px;
    padding: 5px 4px;
    border: none;
    background: #414141;
    color: white;
    font-weight: bold;
    font-size: 12px;

}


.blok-info3 button:hover {
    background: #b22435;
    color: white;
    transform: scale(1.05);
}



hr {
    border: none;
    border-top: 1px solid #c1082c;
    width: 100%;
    margin: 20px 0;
}


/* BLOK 4 */

.blok4 {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
}

.blok4 img {
    width: 100%;
    display: block;
}

.blok-info4 {
    position: absolute;
    top: 45px;
    left: 30px;
    color: rgb(255, 255, 255);
}

.blok-info4 h2,
.blok-info4 p {
    margin: 0;

}

.blok-info4 button {
    margin-top: 250px;
    padding: 8px 14px;
    border: none;
    background: #ffffff;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 15px;
}


/*blok5*/

.blok5 {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
}

/* H2 */
.blok5 h2 {
    margin-bottom: 10px;
}


.komende-wedstrijden ul {
    list-style: none;
    display: flex;
    gap: 35px;
    padding: 0;
    margin: 0 0 10px 0;
    border-bottom: 2px solid transparent;
}

.komende-wedstrijden li {
    position: relative;
    font-weight: bold;
    color: black;
    cursor: pointer;
    padding-bottom: 5px;
}


.komende-wedstrijden li.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #c1082c;
}


.wedstrijd-vak {
    position: relative;
    display: inline-block;
}


.wedstrijd-bg {
    display: block;
}


.wedstrijd-info {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;

}

.wedstrijd-info h3 {
    font-size: 35px;
    margin-bottom: 10px;

}

.wedstrijd-info p {
    margin: 5px 0;
    font-size: 1rem;
}



/*andere pagina1*/


.wedstrijden-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.wedstrijden-header h2 {
    margin: 7px;
    font-size: 25px;

}


.blok1-team {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
}


.blok1-team h2 {
    margin-bottom: 10px;
}


.komende-wedstrijden ul {
    list-style: none;
    display: flex;


}

.komende-wedstrijden li {
    position: relative;
    font-weight: bold;
    color: black;
    cursor: pointer;
    padding-bottom: 5px;
    color: var(--color-text);
}


.komende-wedstrijden li.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #c1082c;
}


.wedstrijd-vak {
    position: relative;
    display: inline-block;
}


.wedstrijd-bg {
    display: block;
}


.wedstrijd-info {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;

}

.wedstrijd-info h3 {
    font-size: 35px;
    margin-bottom: 10px;
}

.wedstrijd-info p {
    margin: 5px 0;
    font-size: 1rem;
}



/*hoi`*/


.wedstrijd1 {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
}


.wedstrijd-info1 {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgb(0, 0, 0);

}

.wedstrijd-info1 p {
    margin: 5px 0;
    font-size: 15px;
    color: var(--color-text);

}


.spelers {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
}



/*slider bron: chat*/

.spelers-slider {
    width: 100%;
    padding: 20px;
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    display: block;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-dots {
    display: none;
}




/* Footer */

footer {
    display: flex;
    flex-wrap: wrap;
    margin: 30px;
}


footer section {
    width: 50%;
}

footer h2 {
    visibility: hidden;
}


footer ul {
    list-style: none;
    padding-left: 0;
    margin: 0;

}

footer h3 {
    margin-bottom: 8px;
}

.footer-ajaxnieuws {
    margin-top: 25px;

}

.footer-ajaxnieuws button {
    margin-top: 10px;
    padding: 8px 14px;
    border: none;
    background: #b22435;
    color: rgb(255, 255, 255);
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}



.footer-socials {
    display: block;
    width: 100%;
    padding: 0;
}



/* joris heeft mij beetje geholpen */

@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;

    }


    :root {
        --color-text: #ffffff;
        --color-background: #000000;
    }
}