:root {
    --gf-pink: #E33A93;
    --gf-cyan: #7BCED5;
    --gf-blue: #01B1EC;
    --gf-red: #ED1C25;
}

@font-face {
    font-family: "GF";
    src: url("fonts/GhentFestive500-Regular.ttf") format("opentype");
}

@font-face {
    font-family: "GF";
    src: url("fonts/GhentFestive500-Bold.ttf") format("opentype");
    font-weight: bold;
}

* {
    font-family: "GF" !important;
}

a {
    color: var(--gf-cyan);
}

a:hover {
    text-decoration-color: var(--gf-cyan);
}

nav strong {
    color: var(--gf-pink);
}

.site-logo {
    height: 1em;
    display: inline-block;
    vertical-align: middle;
}

header h1 {
    color: var(--gf-pink);
}

.header-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin: 0 0 1rem 0;
    position: relative;
}


.header-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

h2 {
    color: var(--gf-cyan);
}

h3 {
    color: var(--gf-pink);
}

.acht-dagen.grid {
    grid-template-columns: 0.8fr 0.3fr;
    gap: var(--pico-grid-column-gap, 1rem);
    align-items: center;
    margin-bottom: 0.5rem;
}

.rapha-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.rapha-logo img {
    max-width: 100%;
    max-height: 250px;
    margin: 0;
}

section img {
    margin: 1rem 0;
}

.kaderplaatje-img {
    display: block;
    margin: 1rem auto;
    max-width: 600px;
    width: 100%;
    height: auto;
}

.club-logos .grid {
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 0;
    grid-column-gap: var(--pico-grid-column-gap, 1rem);
    align-items: center;
    justify-items: center;
}

.club-logos .grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.club-logos .grid img {
    max-width: 100%;
    height: auto;
    margin: 0.25rem 0;
    object-fit: contain;
    max-height: 300px;
}

.club-logos .logo-dark {
    display: none;
}

.club-logos .logo-light {
    display: block;
}

html[data-theme="dark"] .club-logos .logo-dark {
    display: block;
}

html[data-theme="dark"] .club-logos .logo-light {
    display: none;
}

footer {
    margin-bottom: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.partner-logos {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

[data-theme="light"] .partner-logo-dark {
    display: none;
}

[data-theme="light"] .partner-logo-light {
    display: inline;
}

[data-theme="dark"] .partner-logo-light {
    display: none;
}

[data-theme="dark"] .partner-logo-dark {
    display: inline;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
}

.social-links .icon {
    width: 1.5em;
    height: 1.5em;
}


.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
}

.icon-instagram {
    filter: brightness(0) saturate(100%) invert(38%) sepia(95%) saturate(2792%) hue-rotate(310deg) brightness(94%) contrast(90%);

}

.icon-strava {
    filter: brightness(0) saturate(100%) invert(44%) sepia(95%) saturate(4764%) hue-rotate(359deg) brightness(103%) contrast(99%);
}

.icon-email {
    filter: brightness(0) saturate(100%) invert(80%) sepia(17%) saturate(1089%) hue-rotate(147deg) brightness(92%) contrast(88%);
}

.icon-theme {
    filter: brightness(0) saturate(100%) invert(80%) sepia(17%) saturate(1089%) hue-rotate(147deg) brightness(92%) contrast(88%);
}

.funky-text {
    background: linear-gradient(to right, var(--gf-pink), var(--gf-blue), var(--gf-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.button-cyan {
    background-color: var(--gf-cyan);
    border-color: var(--gf-cyan);
}

.button-cyan:hover {
    background-color: var(--gf-pink);
    border-color: var(--gf-pink);
}

header hgroup p {
    font-size: 2rem;
}

.strava-calendar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.strava-calendar iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile menu */
.nav-menu-mobile {
    display: none;
}

.nav-links-desktop {
    display: block;
}

.nav-menu-mobile details[role="list"] summary,
.nav-menu-mobile details.dropdown summary {
    background-color: var(--gf-cyan) !important;
    border-color: var(--gf-cyan) !important;
}

.nav-menu-mobile details[role="list"] summary:hover,
.nav-menu-mobile details.dropdown summary:hover {
    background-color: var(--gf-pink) !important;
    border-color: var(--gf-pink) !important;
}

@media (max-width: 768px) {
    .nav-links-desktop {
        display: none;
    }

    .nav-menu-mobile {
        display: block;
    }

    .acht-dagen.grid {
        grid-template-columns: 1fr;
    }

    .acht-dagen>div {
        order: 1;
    }

    .rapha-logo {
        order: 2;
        text-align: center;
        margin-top: -1rem;
        justify-content: center;
    }

    .rapha-logo img {
        max-width: 50%;
    }

    .club-logos .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .club-logos .grid img {
        max-height: 150px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}