@font-face {
    font-family: josefin;
    src: url(include/fonts/josefin.woff2);
    font-display: swap
}

main, aside, article, header, footer, nav {
    display: block
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --tekstkleur_primair: #0E4A82;
    --tekstkleur_accent: #C71F3D;
    --tekstkleur_contrast: #EFF5FC;
    --achtergrondkleur_primair: #EFF5FC;
    --achtergrondkleur_twee: #0E4A82;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    color: var(--tekstkleur_primair);    
    width: 100vw;
    max-width: 1440px;
    margin: 0 auto;
    overflow-x: hidden;
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    width: 100%;
    max-width: 1440px;
    min-height: calc(100vh - 400px);    
}

h1{
    font-size: 2rem;
}

h2{
    font-size: 1.5rem;
}

a{
    color: var(--tekstkleur_primair);
}

button,
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Hover-effect */
button:hover,
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* Active (klik) effect */
button:active,
.btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Optioneel: focus voor toetsenbord-navigatie */
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid rgba(74, 144, 226, 0.6);
    outline-offset: 3px;
}


/* ************************************** */
/* Header */
/* ************************************** */
header{
    background-image: url("../afbeeldingen/banner2.jpeg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;    
    width: 100%;
    max-width: 1440px;
}

.headerwaas{
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;  
}

.headercontainer{
    width: 100%;
    max-width: 1440px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.left {
    flex: 0 0 20%;
    height: 80px;
}

.left img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mid{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.mid h1{
    font-size: clamp(12px, 4vw, 2.5rem);
    width: 100%;  
    text-align: center;
}

.gsmMenu {
    flex: 0 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.gsmtitel{
    height: 13px;
}

.bars{
    padding: 0.3rem;
}

.bar1, .bar2, .bar3 {
    width: 2.2rem;
    height: .25rem;
    background-color: var(--achtergrondkleur_twee);
    margin: 0.31rem;
    transition: .4s
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-.67rem, .375rem);
    transform: rotate(-45deg) translate(-.67rem, .375rem)
}

.change .bar2 {
    opacity: 0
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-.375rem, -.188rem);
    transform: rotate(45deg) translate(-.375rem, -.188rem);
}

nav {
    font-size: 1.4rem;
    overflow: hidden;
    transition: max-height 0.5s ease;
    max-height: 0; /* alleen voor mobiel */ 
}

nav.open {
  max-height: 600px; /* groot genoeg voor alle items */
}


nav ul {
    list-style: none
}

nav a, nav a:visited {
    display: block;
    padding: .67rem 0.31rem;
    text-decoration: none;
    text-align: center;
    color: var(--tekstkleur_contrast);
    background-color: var(--achtergrondkleur_twee);
}

/* ************************************** */
/* Footer */
/* ************************************** */
footer{
    background-image: url("../afbeeldingen/banner2.jpeg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;    
    width: 100%;
    max-width: 1440px;
}


.footerwaas{
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;    
    height: 100%;
    padding: 10px 0;
}

.footercontainer{
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.8rem, 3vw, 1.3rem);
}

.adres{
    text-align: center;
}

/* ************************************** */
/* Media screen */
/* ************************************** */
@media only screen and (min-width:712px) {
        
    nav {
        display: flex;
        justify-content: center;
        width: 100%;           /* binnen schermbreedte */
        max-height: none;   /* FIX */
        height: auto;       /* FIX */
        margin: 0;          /* optioneel */
        border: none;       /* optioneel */
    }

    nav ul {
        display: flex;
        justify-content: center;
        gap: 1rem;
        list-style: none;
    }

    nav a, nav a:visited {
        display: block;
        padding: 0.5rem;
        background: none;
        color: var(--tekstkleur_primair);
    }

    .gsmMenu {
        display: none;
    }
}
