@font-face {
    font-family: "Bowlby One SC";
    src: url("../fontawesome/webfonts/BowlbyOneSC-Regular.ttf");
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fontawesome/webfonts/IBMPlexSans-Regular.ttf");
}

@font-face {
    font-family: "IBM Plex Sans Bold";
    src: url("../fontawesome/webfonts/IBMPlexSans-Bold.ttf");
}

@font-face {
    font-family: "Poppins Regular";
    src: url("../fontawesome/webfonts/Poppins-Regular.ttf");
}

@font-face {
    font-family: "Poppins Bold";
    src: url("../fontawesome/webfonts/Poppins-Bold.ttf");
}

@font-face {
    font-family: "Poppins Medium";
    src: url("../fontawesome/webfonts/Poppins-Medium.ttf");
}

@font-face {
    font-family: "Poppins Light";
    src: url("../fontawesome/webfonts/Poppins-Light.ttf");
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

/* STRUCTURE */

* {
    margin: 0;
    padding: 0;
}

body>* {
    padding-left: 0px !important;
    padding-right: 0px !important;
    font-family: "Poppins Regular";
    color: #000;
    font-size: 62.5%;
}

.center {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    text-align: center;
}

.right {
    float: right;
}

main>* {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

main>.part2>.headblock {
    height: 40px;
    background-color: #FFCC00;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 40% 30%, 0% 60%);
}

.container-fluid {
    padding: 0 !important;
}

section {
    padding: 4% 0 2% 0;
}

section .subchapter {
    padding: 0;
}

article {
    border: none !important;
}

.title-dots {
    max-width: 120px !important;
    padding: 0 0 2% 0;
}

main>.schoolRules {
    background-color: #007E54;
    height: 130px;
    padding: 40px 0px 40px 0px !important;
}

main>.schoolRules>button {
    width: 150px;
}

.verhuur {
    margin-top: 4rem !important;
}

.containerfullwidth {
    width: 100%;
    max-height: 50vh;
    overflow: hidden;
    padding: 0 !important;
}

.fullwidth {
    width: 100%;
}

/* TYPE GENERAL */

p,
ol {
    font-size: 1.6em;
    line-height: 1.6em;
    font-family: "Poppins Regular";
    margin-bottom: 0.8rem !important;
}

h1 {
    font-family: "Bowlby One SC";
    text-align: center;
}

h2 {
    font-family: "Bowlby One SC";
    text-align: center;
}

dt,
dd {
    font-size: 1.4em;
    line-height: 1.6em;
    font-family: "Poppins Regular";
}

small {
    padding-bottom: 4%;
    display: block;
}

.verhuur li,
.maaltijden li,
.content li {
    list-style-type: circle;
    font-size: 1.6em;
}

strong {
    font-family: "Poppins Bold";
}

.intro2 {
    font-weight: 600;
    width: 75%;
    text-align: center;
    margin: 40px auto;
}

.font-header-2 {
    font-family: "Bowlby One SC";
    font-size: 4.8em !important;
    font-weight: 400;
    text-align: center;
}

.font-header-text-1 {
    font-family: "Bowlby One SC";
    font-size: 4.8em !important;
    font-weight: 400;
    text-align: center;
}

.font-header-text-2 {
    font-family: "Poppins Regular";
    font-size: 2.4em !important;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
    color: #000;
    width: 50%;
    margin: 0 auto 24px auto;
}

.intro p {
    font-family: "Poppins Regular";
    font-size: 1.8em !important;
    font-weight: 400;
    line-height: 2em;
    text-align: center;
    color: #FFF;
    width: 50%;
    margin: 2.4rem auto 2.4rem auto;
}

.intro h1 {
    color: #FFF;
}

.font-header-text-3 {
    font-family: "Poppins Regular";
    font-size: 20px !important;
}

.font-header-text-4 {
    font-family: "Poppins Regular";
    font-size: 1.6em !important;
}

.font-header-text-5 {
    font-size: 1.4em;
    font-family: 'Bowlby One SC';
}

.font-header-text-6 {
    font-family: "IBM Plex Sans Bold";
    font-size: 1.2em !important;
}


/* MENU */

header {
    display: block;
    padding-left: 0px !important;
    padding-right: 0px !important;
    position: static;
    z-index: 100;
}

.home>header {
    background-color: #FFF;
}

.blue>header {
    background-color: #4C76BA;
}

.red>header {
    background-color: #EB5E57;
}

.green>header {
    background-color: #007E54;
}

.purple>header {
    background-color: #A3195B;
}

.yellow>header {
    background-color: #FFCC00;
}

header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;

    font-size: 16px;
    font-family: "Bowlby One SC";
}

header li {
    float: left;
    width: calc(100% / 6);
    box-sizing: border-box;
}

header li a {
    display: block;
    height: 120px;
    text-decoration: none;
}

header li a div {
    color: white;
    text-align: center;
    padding-top: 25px;
}

header li a.first {
    background-color: #FFF;
    box-sizing: border-box;
    clip-path: polygon(0 0,
            /* left top */
            100% 0,
            /* right top */
            100% 80%,
            /* right bottom */
            0 100%
            /* left bottom */
        );
}

header li a.first img {
    display: block;
    width: 60%;
    max-width: 10rem;
    margin: 0 auto;
    padding-top: 5%;
    box-sizing: border-box;
}

header li a.first:hover {
    border-top: 8px solid #FFCC00;
}

header li a.second {
    background-color: #4C76BA;
    box-sizing: border-box;
    clip-path: polygon(0 0,
            /* left top */
            100% 0,
            /* right top */
            100% 65%,
            /* right bottom */
            0 80%
            /* left bottom */
        );
}

header li a.second:hover {
    border-top: 8px solid #23447A;
}

header li.active a.second {
    border-top: 8px solid #23447A;

}

header li a.third {
    background-color: #EB5E57;
    box-sizing: border-box;
    clip-path: polygon(0 0,
            /* left top */
            100% 0,
            /* right top */
            100% 75%,
            /* right bottom */
            0 65%
            /* left bottom */
        );
}

header li a.third:hover {
    border-top: 8px solid #D54D46;
}

header li.active a.third {
    border-top: 8px solid #D54D46;
}

header li a.forth {
    background-color: #007E54;
    box-sizing: border-box;
    clip-path: polygon(0 0,
            /* left top */
            100% 0,
            /* right top */
            100% 63%,
            /* right bottom */
            0 75%
            /* left bottom */
        );
}

header li a.forth:hover {
    border-top: 8px solid #045D40;
}

header li.active a.forth {
    border-top: 8px solid #045D40;
}

header li a.fifth {
    background-color: #A3195B;
    box-sizing: border-box;
    clip-path: polygon(0 0,
            /* left top */
            100% 0,
            /* right top */
            100% 80%,
            /* right bottom */
            0 63%
            /* left bottom */
        );
}

header li a.fifth:hover {
    border-top: 8px solid #7B073F;
}

header li.active a.fifth {
    border-top: 8px solid #7B073F;
}

header li a.sixth {
    background-color: #FFCC00;
    box-sizing: border-box;
    clip-path: polygon(0 0,
            /* left top */
            100% 0,
            /* right top */
            100% 61%,
            /* right bottom */
            0 80%
            /* left bottom */
        );
}

header li a.sixth:hover {
    border-top: 8px solid #FE9A05;
}

header li.active a.sixth {
    border-top: 8px solid #FE9A05;
}


/*intro's*/

section.intro {
    color: #FFF;
    padding: 2.4rem 0;
    text-align: center;
}

.blue .intro {
    background-color: #4C76BA;
}

.red .intro {
    background-color: #EB5E57;
}

.green .intro {
    background-color: #007E54;
}

.purple .intro {
    background-color: #A3195B;
}

.yellow .intro {
    background-color: #FFCC00;
}

/* THEMES */
.blue h2 {
    color: #4C76BA;
}

.red h2 {
    color: #EB5E57;
}

.green h2 {
    color: #007E54;
}

.purple h2 {
    color: #A3195B;
}

.yellow h2 {
    color: #FFCC00;
}

img.blueborder {
    border-bottom: 0.8rem solid #3C619D;
}

img.redborder {
    border-bottom: 0.8rem solid #EB5E57;
}

img.greenborder {
    border-bottom: 0.8rem solid #007E54;
}

.purpleborder {
    border-bottom: 0.8rem solid #A3195B;
}

img.yellowborder {
    border-bottom: 0.8rem solid #FFCC00;
}

.yellowhead {
    background-repeat: no-repeat;
    width: 100%;
    height: 48px;
    background-image: url(../images/yellow\ chapter\ top.svg);
    background-color: #FFF;
    background-size: cover;
}

.bluehead {
    background-repeat: no-repeat;
    width: 100%;
    height: 48px;
    background-image: url(../images/bluehead.svg);
    background-size: cover;
}

.redhead {
    background-repeat: no-repeat;
    width: 100%;
    height: 48px;
    background-image: url(../images/redhead.svg);
    background-size: cover;
}

.greenhead {
    background-repeat: no-repeat;
    width: 100%;
    height: 48px;
    background-image: url(../images/greenhead.svg);
    background-size: cover;
}

.purplehead {
    background-repeat: no-repeat;
    width: 100%;
    height: 48px;
    background-image: url(../images/purplehead.svg);
    background-size: cover;
}

.yellowhead2 {
    background-repeat: no-repeat;
    width: 100%;
    height: 48px;
    background-image: url(../images/yellowhead.svg);
    background-size: cover;
}

/* cards */
article.card {
    background-repeat: no-repeat;
    background-position: center;
}

/* footer */

footer {
    background-color: #111;
    width: 100%;
    padding: 2.4rem 0;
}

footer p,
footer h5,
footer dt,
footer dd {
    color: #FFF;
}

footer p {
    font-size: 1.2em;
}

footer h5 {
    font-size: 1.6em;
}

footer article {
    margin-bottom: 8%;
    max-width: 80% !important;
}

footer dl {
    margin-top: 0.4rem;
    margin-bottom: 0;
}

footer dt {
    display: inline-block;
    width: 8% !important;
    font-size: 1.2em;
}

footer dd {
    background-color: #A3195B;
    border-radius: 50px;
    display: inline-block;
    margin-left: 5px !important;
    margin-right: 5px !important;
    padding: 0.4rem 0.8rem;
    font-size: 1em;
}

.socials a {
    display: inline-block;
    height: 48px;
    width: 48px;
    color: transparent;
    margin: 0 2%;
}

.socials a.call {
    background: url(../images/socialsCall.svg) no-repeat;
}

.socials a.call:hover {
    background: url(../images/socialsCallhover.svg) no-repeat;
    color: transparent;
}

.socials a.mail {
    background: url(../images/socialsMail.svg) no-repeat;
}

.socials a.mail:hover {
    background: url(../images/socialsMailhover.svg) no-repeat;
    color: transparent;
}

.socials a.fb {
    background: url(../images/socialsFB.svg) no-repeat;
}

.socials a.fb:hover {
    background: url(../images/socialsFBhover.svg) no-repeat;
    color: transparent;
}

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

footer ul li {
    margin: 4% 0;
    font-size: 1.2em;
}

footer ul li a {
    color: #FFF;
}

footer ul li a:hover {
    color: #FFF;
    background-color: #A3195B;
}


/* Google Maps */

.maps {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

iframe {
    width: 80%;
    height: 32rem;
    padding: 0.8rem;
    border: 2px solid #FFCC00 !important;
    margin: 0 auto;
}







/* equal height for colums */

.row.equal-cols {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.row.equal-cols:before,
.row.equal-cols:after {
    display: block;
}

.row.equal-cols>[class*='col-'] {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.row.equal-cols>[class*='col-']>* {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}



/* Burger */
.burger {
    display: none; /* Verberg burger icon standaard */
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger .bar {
    width: 2rem;
    height: 0.25rem;
    background-color: #f8cd46; 
}

/* Styles om kruis-icon te maken */
#burger.cross .bar:nth-child(2) {
    /* Verberg de middelste bar */
    opacity: 0;
}

#burger.cross .bar:nth-child(1) {
    /* Draai de bovenste balk om het bovenste deel van het kruis te vormen */
    transform: rotate(45deg) translate(5px, 10px);
}

#burger.cross .bar:nth-child(3) {
    /* Draai de onderste balk om het onderste deel van het kruis te vormen */
    transform: rotate(-45deg) translate(5px, -10px);
}





@media (max-width: 768px) {
.font-header-text-2 {
    width: 90%;
    margin: 24px auto 24px auto;
}
}


/* Toon burger icon en pas menu display aan voor mobile view */
@media (max-width: 768px) {
 
	   header nav ul li a.first {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: auto; 
        height: auto; 
    }
 
	   header li a.first img {
        width: auto; 
        height: auto; 
        max-width: none;
    }
	
	
    .burger {
        display: flex;
    }
    nav {
        display: none; /* Verberg menu standaard in mobile view */
		    background-color: white;

    }
	
    nav.open {
        display: block; /* Toon menu wanneer burger icon wordt aangeklikt */
		    background-color: white;

    }


    header ul {
        flex-direction: column;
    }
    header li {
        width: 100%;
        text-align: center;
    }

}

.mobile-header {
    display: none;
    justify-content: space-between; 
    align-items: center;
    margin-top: 20px; 


}

.burger {
    margin-left: 1rem; 
	 margin-top: -40px;
}

.spacer {
    /* Dit neemt evenveel ruimte in als het hamburgermenu, 
       hierdoor wordt het logo gecentreerd. Pas de breedte aan als de breedte van het hamburger 
       menu verandert. */
    width: calc(2rem + 1rem); /* 2rem is de breedte van de hamburger + 1rem is de linkermarge van de hamburger */
}


.color-line {
    display: flex;
    width: 100%;
    height: 5px; 
}

.color-piece {
    flex: 1;
    width: 20%; /* Omdat er 5 kleurtjes zijn */
}

#color1 { background-color: #4C76BA; }
#color2 { background-color: #EB5E57; }
#color3 { background-color: #007E54; }
#color4 { background-color: #A3195B; }
#color5 { background-color: #FFCC00; }

.container.part2 {
    padding-top: 60px;    /* Reduce top padding for mobile */
    padding-bottom: 60px; /* Reduce bottom padding for mobile */
}

section.opendeur {
    margin-top: 20px;
} 

@media (max-width: 768px) {
    .mobile-header {
        display: flex; /* Toon op mobile */
    }
    header li a.first {
        position: relative;
        top: 25px;
        left: auto;
        transform: none;
        width: auto; 
        height: auto; 
		padding: 10px; 
        margin: 10px 0; /* Voegt witruimte toe, voor en onder het logo */
    }
	
	nav.open ul li:first-child {
        margin-top: 50px;  
    }

    nav.open ul li {
        margin: 0 0 -20px;  /* Verkleint de witruimte tussen de ul items */
    }

}

/* Logo verbergen in mobile nav */
@media (max-width: 768px) {
    nav.open li a.first {
        display: none;
    }	
}
	
@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }
}
	
	.mobile-header {
    background-color: white;
		padding-bottom: 25px;
}
	
	article.card {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    #jump-to-top {
        display: none; /* Default verborgen houden */
        width: 50px;  
        height: 50px;  
        border: none; 
        background: none; 
        padding: 0; 
        position: fixed; 
        bottom: 20px; 
        right: 20px; 
        z-index: 1000; 
}

#jump-to-top img {
    width: 100%;
    height: 100%;
}
    }
	
    /* WEBSITE INTRO */

    @media only screen and (max-width: 768px) {
        .container.part2 {
            padding-top: 60px;    /* Reduce top padding for mobile */
            padding-bottom: 60px; /* Reduce bottom padding for mobile */
        }
    }
    