:root {
    --groen: #588c7e;
    --geel: #f2e394;
    --lichtoranje: #f2ae72;
    --donkeroranje: #d96459;
    --tekst: #222222;

    --menu-width: 100vw;
    --menu-height: 60dvh;
    --menu-hidden-offset: 75%;

}

* {box-sizing: border-box;}

html, 
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    color: var(--tekst);
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: var(--geel);
}



.home {
    background-image: url(/img/peacegroen.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 50% auto;
}

.about {
    background-image: url(/img/faviconMeGroengoed.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 50% auto;
}

.maatwerk {
    background-color: var(--geel);
    background-image: url(/img/bijLow.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 50% auto;
}

.workflow {
    background-color: var(--geel);
    background-image: url(/img/basLow.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 50% auto;
}

.contact {
    background-color: var(--geel);
    background-image: url(/img/grasLow.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 50% auto;
}


.grid-container {
    display: grid;
    background: transparent;
    width: 90dvw;
    height: 90dvh;
    margin: 0 auto;
    grid-template-columns: 20% 1fr 1fr;
    grid-template-rows: 70px 1fr 70px;
    grid-template-areas: 
    "header header header"
    "menu content content"
    "footer footer footer";
    gap: 0px;
}

.header {
    grid-area: header;
    height: 100%;
    width: 100%;
    display: flexbox;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header h2 {
    font-size: 26px;
    font-weight: bold;
    color: var(--tekst);
    text-shadow: 2px 2px 2px var(--donkeroranje);
    letter-spacing: 0.2rem;
}

h3 {
    
    margin-bottom: 10px;
    letter-spacing: 0.1rem;
    text-shadow: 1px 1px 1px var(--donkeroranje);
    

}

#big {
    font-size: larger;
    text-align: left;
}
.menu {
    grid-area: menu;
    height: 100%;
    width: 100%;
    
    display: grid;
    grid-template-columns: repeat(4, 1fr); /*vier gelijke kolommen*/
    gap: 0.75rem;

}

ul {
    list-style-type: none;
    
    padding-left: 0;
    width: 100%;
}

li {
    display: block;
    padding: 24px 24px;
    margin: 12px;
    align-items: center;
    justify-content: center;
    text-align: left;
    align-self: stretch;
    box-shadow: 1px -1px 3px  var(--groen);
    background-color: var(--geel);
    z-index: 10;
    font-weight: bold;
    color: var(--tekst);
}

li:hover {
    box-shadow: 1px -1px 2px var(--donkeroranje);
    cursor:zoom-in;
}

#contact-img {
   
    position: absolute;
    bottom: 100px;
    right: 100px;
}



li > .active {
    background-color: var(--lichtoranje);
}

#wie {
    background-color: var(--geel);
    background-image: url(/img/peacegroen.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: auto 100%; 
}
#wie:hover {
    background-image: url(/img/Peace_sign-svgOrange.svg); 
}

#about {
    background-color: var(--geel);
    background-image: url(/img/faviconMeGreen.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: auto 100%; 
}
#about:hover {
    background-image: url(/img/faviconMeOrange.svg);
}

#wat {
    background-color: var(--geel);
    background-image: url(/img/bij.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: auto 100%; 
}
#wat:hover {
    background-image: url(/img/bijOranje.svg);
}

#workflow {
    background-color: var(--geel);
    background-image: url(/img/bas.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: auto 100%; 
}
#workflow:hover {
    background-image: url(/img/basgitaarOranje.svg);
}

#contact {
    background-color: var(--geel);
    background-image: url(/img/gras.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: auto 100%; 
}
#contact:hover {
    background-image: url(/img/grasOranje.svg);
}

#contact-txt img {
    
    width: 100px;
    height: 100px;
    margin-left: 15%;

}

.content {
    grid-area: content;
    height: 100%;
    width: 100%;
    
}

.content-container {
    width: 100%;
    height: 100%;
    max-height: 75dvh;
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: auto;
    padding: 12px;
    border: 2px double var(--groen);
    text-align: left;
    font-weight: bold;
}

.content-container > a, a:link, a:visited, a:active {
    color: var(--donkeroranje);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--donkeroranje);
}

.content-container > a:hover {
    cursor: pointer;
    color: var(--groen);
}

.content-container li.niet-klikbaar {
    cursor: default;
    pointer-events: none;
}

#hireme-txt {
        padding-left: 50px;
        text-align: left;
    }



.footer {
    grid-area: footer;
    height: 100%;
    width: 100%;
    min-width: 0; /*belangrijk in grid cellen*/
    font-size: 120%;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    padding: 10px;
    margin: 0;
}

.footer p {
    margin: 0;
    color: var(--donkeroranje);
    white-space: nowrap;
}

#svg-span {
    height: 80%;
    width:auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#svg-span img {
    display: block;
    max-width: 1.2em; /*Schaalt mee met tekstgrootte*/
    height: auto;
    width: auto;
}

/*contact*/

.contact-container {
    width: 80%;
    margin-left: auto;
    
}

@media (max-width: 768px) {
    .menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 900px) {

    .grid-container {
    display: grid;
    background: transparent;
    width: 95dvw;
    height: 95dvh;
    margin: 10px auto;
    
    grid-template-columns: 1fr;
    grid-template-rows: 70px auto 50px;
    grid-template-areas: 
    "header"
    "content"
    "footer";
    gap: 12px;
}
    .menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: var(--menu-width);
        height: var(--menu-height);
        background: transparent;
        z-index: 1000;
        transition: transform 1s ease-in-out;
        transition-delay: 0.3s;
        overflow: hidden;
    }

    .menu:not(.menu--hidden) {
        transform: translateX(0);
    }

    .menu.menu--hidden {
        transform: translateX(calc(-1 * var(--menu-hidden-offset)));
    }

    .btn-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
        list-style: none;
        margin: 0;
        position: fixed;
        z-index: 2000;
    }

    .btn {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        width: 90%;
        min-height: 50px;
        padding: 0.5rem 0.75rem;
        font: inherit;
        text-align: left;
        cursor: pointer;
        white-space: normal;
        overflow: hidden;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100dvw;
        height: 100dvh;
        z-index: 999;
        pointer-events: none;
    }

    .menu.menu--hidden + .menu-overlay {
        pointer-events: auto;
    }
    .content {
        
        position: relative;
    }
    .home {
        
        background-size: 100% auto;
    }
    .maatwerk {
        background-size: 100% auto;
    }
    .workflow {
        background-size: contain;
    }
    .contact {
        background-position: center;
        background-size: cover;
    }

    .content > .content-container {
        border: none;
        width: 80%;
        margin-left: auto;
    }

    

    .header h2 {
        font-size: 20px;;
    }

    #contact-txt img {
    
    width: 100px;
    height: 100px;
    margin-left: 25%;

}

#wie:hover {
    background-image: url(/img/peacegroen.svg);
    box-shadow: 1px -1px 3px  var(--groen);
}

    #about:hover {
    background-image: url(/img/faviconMeGreen.svg); 
    box-shadow: 1px -1px 3px  var(--groen);
}

    #wat:hover {
        background-image: url(/img/bij.svg);
        box-shadow: 1px -1px 3px  var(--groen);
    }

    #workflow:hover {
        background-image: url(/img/bas.svg);
        box-shadow: 1px -1px 3px  var(--groen);
    }

    #contact:hover {
        background-image: url(/img/gras.svg);
        box-shadow: 1px -1px 3px  var(--groen);

    }

    #contact-img {
        
        margin-top: 100px;
        margin-left: 100px;
    }

    
}