
@media only screen and (max-width: 600px) {
    body, html {
        font-size: 14px;
        line-height: 1.4rem;
    }

    #desktop-menu {
        display: none;
    }

    #mobile-menu{
        background-color: #7f0000;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #mobile-menu > span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #fff;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
    }
    

    #mobile-menu input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }
        #mobile-menu span:first-child {
            transform-origin: 0% 0%;
        }

        #mobile-menu span:nth-last-child(2) {
            transform-origin: 0% 100%;
        }

    #mobile-menu input:checked ~ span {
        opacity: 1;
        transform: rotate(45deg) translate(4px, -2px);
        background: #fff;
    }

        #mobile-menu input:checked ~ span:nth-last-child(3) {
            opacity: 0;
            transform: rotate(0deg) scale(0.2, 0.2);
        }

        #mobile-menu input:checked ~ span:nth-last-child(2) {
            transform: rotate(-45deg) translate(0, 4px);
        }

    #mobile-menu ul {
        position: fixed;
        top: 90px;
        left: 0px;
        width: 100%;
        background-color: #7f0000;
        color: #fff;
        margin: 0px;
        list-style-type: none;
        padding: 0px;
        border-top: solid 20px #7f0000;
        transform-origin: 0% 0%;
        transform: translate(100%, 0%);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    }
#mobile-menu ul li {
    text-align: center;
    line-height:2.5rem;
    font-size:1.5rem;
}
#mobile-menu ul li.active {
    background-color:#fff;
    color:#fff;
}
#mobile-menu ul li a {
    color:#fff;
}
#mobile-menu ul li.active a {
    color:#fff;
}
#mobile-menu ul li:hover{
    color:#fff;
}
#mobile-menu ul li:hover a{
    color:#fff;
    text-decoration: underline;
}
#mobile-menu ul li a:hover {
    color:#fff;
    text-decoration: underline;
}
#mobile-menu input:checked ~ ul {
    transform: none;
}    
    
    .header > .menu ul li {
        float: none;
}
    
    .page-header {
        height: 300px;
        padding-bottom: 70px;
    }

    .page-header .container > h1 {
        font-size: 2rem;
    }
    
    .page-header .container > h2 {
        font-size: 1.5rem;
        margin-left: 20px;
    }


    .featured-services {
        width: 100%;
        border-radius: 0px;
    }    
    
    .featured-services .title {
        font-size: 2rem;
        line-height: 2rem;
        padding-bottom: 20px;
        padding-left: 20px;
    }
    
    .featured-services-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .featured-service {
        width: 100%;
        height: 60px;
        margin-bottom: 10px;    }
    
    .featured-service > a {
        flex-direction: row;
        display: flex;
        align-content: center;
        justify-content: flex-start;
        align-items: center;    
    }
    
    .featured-service > a .title {
        font-size: 1.5rem;
        padding-bottom: 0px;
    }

    .featured-service > a > .material-symbols-outlined {
        font-size: 40px;
    }

    .paragraph.text-image, .paragraph.text-image-inverse, .paragraph.text-only, .paragraph.text-only-inverse {
        flex-direction: column;
    }
    .paragraph-text {
       width: 100%;
    }
    
    .paragraph-image {
        width: 100%;
    }
    
    .paragraph.text-only-inverse > .paragraph-text > .paragraph-intro {
        width: 100%;
    }
    
    .diensten-overview {
        flex-direction: column;
    }
    .diensten-articles {
        width: 100%;
    }
    .paragraph.text-only > .paragraph-text, .paragraph.text-only-inverse > .paragraph-text {
        flex-direction: column;
    }  
    .paragraph.text-only > .paragraph-text > .paragraph-content, .paragraph.text-only-inverse > .paragraph-text > .paragraph-content {
        width: 100%;
    }
        
    .project {
        margin-bottom: 20px;    
    }
    .project-image {
        margin-bottom: 20px;   
    }
    .project-intro {
        line-height: 2rem;
    }
    .project-info {
        flex-wrap: wrap;
    }
    .project-info-group {
        width: 50%;
    }
    .footer-more-info > .container {
        flex-direction: column;
    }
    
    .meer-info {
        padding-right: 0px;
        padding-bottom: 20px;
    }
    
    .footer-info .container {
        flex-direction: column;
        font-size: 1rem;
        line-height: 2rem;
    }

    .footer-info .container .contact {
        width: 100%;
    }
    
    .footer-info .contact {
        flex-direction: row;
        align-content: center;
        justify-content: space-evenly;
        align-items: center;
    }    

    .footer-info .container .diensten {
        width: 100%;
    }    
    .footer-info .container .partners {
        width: 100%;
    }
    .footer-info .container .info {
        width: 100%;
    }    
}