#mobile-menu-label {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--white-color);
    box-shadow: 0 2px 15px 0 rgba(0,0,0,0.1);
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: relative;
    z-index: 10;
}
#mobile-menu-label span {
    display: block;
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background-color: var(--primary-color);
    position: absolute;
    transition: all 250ms ease-in-out;
}

#mobile-menu-label span:nth-of-type(1){
    transform: translateY(-8px);
}
#mobile-menu-label span:nth-of-type(3){
    transform: translateY(8px);
}

#mobile-menu {
    display: none;
}

#mobile-menu:checked ~ #wrap #mobile-menu-label span:nth-of-type(1) {
    margin: 0;
    transform: rotate(135deg);
}
#mobile-menu:checked ~ #wrap #mobile-menu-label span:nth-of-type(2) {
    transform: scale(0);
}
#mobile-menu:checked ~ #wrap #mobile-menu-label span:nth-of-type(3) {
    margin: 0;
    transform: rotate(-135deg);
}

@media only screen and (max-width: 1000px) {
    .news-blocks .col {
        margin: 0 auto 20px auto;
    }

    .page-image-text {
        padding: 40px;
        margin-top: -50px;
    }

    .section-contact .col {
        margin: 0 auto;
    }

    #body {
        padding-top: 100px;
    }
}

@media only screen and (max-width: 800px) {
    #mobile-menu-label {
        display: flex;
    }
    #header .menu {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        background:
            url('../images/swirls_flipped.svg') no-repeat 0 300px,
            url('../images/swirls_flipped.svg') no-repeat calc(100% + 520px) -30px,
            linear-gradient(180deg, rgba(255,255,255,1) 100%, rgba(0,0,0,1) 100%) bottom
        ;
        background-size:
            calc(100% + 10px) 1032px,
            950px 560px,
            100% 100%
        ;
        transition: transform 400ms ease-in-out;
    }

    #header .menu li a,
    #header .menu li a:hover,
    #header .menu li:last-of-type a {
        margin: 20px;
        font-size: 20px;
        text-align: center;
    }

    #header .menu .sub-menu {
        position: static;
        display: block;
        box-shadow: none;
        background: transparent;
        padding: 0;
        min-width: 0;
    }

    #header .menu .sub-menu li a {
        font-size: 16px;
        margin: 8px 20px;
        padding: 6px 10px;
    }

    #header {
        height: 80px!important;
        background: transparent!important;
        box-shadow: none!important;
    }

    #mobile-menu:not(:checked) ~ #wrap #header .menu {
        transform: translateX(100%);
    }

    #header-logo,
    body.scrolled #header-logo {
        width: 50px;
        height: 50px;
        margin: 0;
    }

    .news-block .news-block-content-inner {
        padding: 20px;
        font-size: 14px;
        line-height: 18px;
    }

    .cols.wrap {
        width: 100%;
    }

    .section-partners .col {
        margin: 0 auto;
    }
    .partner-logos {
        margin-top: 30px;
    }

    #footer-top {
        padding-top: 20px;
        margin-bottom: 0;
    }

    #body {
        padding-bottom: 100px;
    }

    .page-image-text {
        padding: 30px;
        margin-top: -40px;
    }

    .section-contact h2 {
        display: none;
    }

    #page .contact-data {
        margin-top: 0;
    }

    #page .contact-form {
        margin-top: 50px;
        box-shadow: none;
        background-color: transparent;
        padding: 0;
    }
}

@media only screen and (max-width: 600px) {
    #body {
        padding-bottom: 30px;
    }

    .news-block .news-block-content-inner {
        padding: 10px;
    }

    .news-block a i {
        display: none;
    }

    #content h2 {
        font-size: 30px;
        max-width: 290px;
        margin-left: 4px;
        margin-bottom: 30px;
    }

    .section-intro{
        margin-bottom: 0;
    }

    #page header p, #content header p {
        font-size: 20px;
        line-height: 25px;
    }

    #content .col-header ~ .col {
        margin-top: 0;
    }
    #content .col-header header {
        margin-bottom: 20px;
    }

    .button {
        padding: 7px 12px;
        font-size: 14px;
        line-height: 18px;
    }

    .section-content {
        margin-bottom: 80px;
    }

    #content .section-news h3 {
        font-size: 20px;
        line-height: 25px;
        text-align: left;
        margin-bottom: 20px;
    }

    .news-blocks .col {
        margin: 0 auto;
    }

    #content .news-block-image {
        width: 28%;
    }
    #content .news-block-content {
        width: 72%;
    }
    .news-block {
        margin-bottom: 10px;
    }
    .buttons {
        justify-content: flex-start;
    }
    .section-news .buttons {
        justify-content: center;
    }
    .section-news {
        margin-bottom: 45px;
    }
    .block-cta {
        padding: 20px;
        margin-bottom: 50px;
    }

    #content .block-cta h3, #page .block-cta h3 {
        font-size: 20px;
        line-height: 25px;
    }

    #body {
        background:
            linear-gradient(180deg, rgba(129,204,168,0) 0.04%, rgba(129,204,168,0.5) 100%) no-repeat bottom,
            url('../images/swirls_flipped.svg') no-repeat 0 300px,
            url('../images/swirls_flipped.svg') no-repeat calc(100% + 520px) -30px
        ;
        background-size:
            100% 100%,
            calc(100% + 10px) 300px,
            950px 260px
        ;
    }

    #page h2 {
        font-size: 20px;
        line-height: 25px;
        font-weight: 500;
    }

    #page .page-image-text h3 {
        font-size: 20px;
        line-height: 25px;
    }

    .page-image-text {
        padding: 20px;
        margin-top: -30px;
    }

    .page-intro {
        margin-bottom: 30px;
    }

    #page .page-outro {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    #page .page-video {
        margin-bottom: 0;
    }

    #footer-top {
        font-size: 16px;
        line-height: 20px;
    }

    #page .contact-data {
        padding: 30px;
    }

    #page .contact-form h3 {
        font-size: 20px;
        line-height: 25px;
    }

    .section-news header {
        margin-bottom: 40px;
    }


    .error-404 h2 {
        font-size: 35px;
        line-height: 44px;
    }

    .error-404-title {
        font-size: 40vw;
    }

    .error-404-title span:nth-of-type(2){
        font-size: 30vw;
    }


}

@media only screen and (max-width: 400px) {


    #footer-bottom-right {
        text-align: left;
        margin-top: 20px;
    }

    #page .contact-data {
        padding: 20px;
    }

}
@media only screen and (max-width: 900px) {
    /* 2×300 + 30 gap */
    .leden-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 630px;
        gap: 30px;
    }

    .themalijn-layout .themalijn-intro {
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 600px) {
    .leden-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 300px;
        gap: 20px;
    }

    .leden-header {
        margin-bottom: 40px;
    }

    .leden-header h2 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .section-ledenbanner {
        padding: 40px 0;
        margin-bottom: 60px;
    }

    .ledenbanner-footer {
        flex-wrap: wrap;
    }

    .ledenbanner-nav {
        margin-left: auto;
    }

    .news-block-category {
        top: auto;
        bottom: 12px;
        left: 12px;
    }
}
