/* body en foto's op alle pagina's */

body {
    background-color: #FFF1F1;
}

img {
    width: 100%;
    height: auto;
}

/* body en foto's op alle pagina's */

/* menu voor alle pagina's */

.md_huidige_pagina, .md_huidige_pagina:hover {
    background-color: darkviolet;
}

#md_menu {
    list-style-type:none;
    margin:0;
    padding:0;
    position: absolute;
}

#md_menu li {
    float: left;
}

li a {
    display:block;
    min-width: 125px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #fff;
    background: #2f3036;
    text-decoration: none;
}

li:hover a {
    background: red;
}

li:hover ul a {
    background: #f3f3f3;
    color: #2f3036;
    height: 40px;
    line-height: 40px;
}

li:hover ul a:hover {
    background-color: red;
    color: #fff;
}

li ul {
    display: none;
}

li ul li {
    display: block;
    float: none;
}

li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
}

.md_toon_menu {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #fff;
    background: red;
    text-align: center;
    padding: 10px 0;
    display: none;
}

input[type=checkbox]{
    display: none;
}

input[type=checkbox]:checked ~ #md_menu{
    display: block;
}

@media screen and (max-width : 910px){ /*Het menu past zich aan bij een verkleinde venster*/
    #md_menu {
        position: static;
        display: none;
    }

    li {
        margin-bottom: 1px;
    }

    ul li, li a {
        width: 100%;
    }

    .md_toon_menu {
        display:block;
    }
}

/* menu voor alle pagina's */

/* footer voor alle pagina's */

footer {
    text-align: center;
    padding: 3px;
    background-color: #FF9D9D;
    color: black;
    margin-top: 20px;
}

.md_footer_link {
    color: red;
}

/* footer voor alle pagina's */

/* homepagina */

.md_homepagina_sectie header {
    color: black;
    font-size: 1.4em;
    margin-top: 1em;
    margin-left: 0.5em;
    text-shadow: 2px 2px 4px #888;
}

.md_home_aside {
    margin-top: 1em;
}

.md_homepagina_sectie {
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.md_text {
    background-color: #FF9D9D;
    margin: 0.5em;
    padding: 1em;
    border: solid 1px;
    border-radius: 0.3em;
    box-shadow: 0.3em 0.3em #888;
}

.md_text ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 20px;
    position: static;
}

.md_homepagina { /*Op grote schermen zullen de main en de aside naast elkaar staan*/
    display: flex;
}

.md_home_main {
    flex: 1.5;
}

.md_home_aside {
    flex: 1;
}

@media screen and (max-width: 800px) { /*Bij kleinere schermen zullen de main en aside onder elkaar staan*/
    .md_homepagina {
        display: grid;
        grid-template-areas:    "home_main"
                                "home_aside";
    }
}

/* homepagina */

/* diensten pagina */

.diensten_titel {
    text-align: center;
    font-size: 200%;
    font-weight: bold;
}

.md_box {
    border: solid;
    height: 365px;
    width: 280px;
    text-align: center;
}

.md_artikel_foto {
    height: 195px;
    width: 280px;
}

.md_container {
    position: relative;
    width: 100%;
    height: 195px;
}

.md_grid_or_flex {
    display: grid;
    grid-gap: 50px;
    grid-template-areas:    "artikel1 artikel2 artikel3"
                            "artikel4 artikel5 artikel6"
                            "artikel7 artikel8 artikel9";
    padding: 50px;
    justify-content: center;
}

@media only screen and (min-width: 600px) and (max-width: 1000px){
    .md_grid_or_flex {
        display: grid;
        grid-gap: 10px;
        grid-template-areas:    "artikel1 artikel2"
                                "artikel3 artikel4"
                                "artikel5 artikel6"
                                "artikel7 artikel8"
                                "artikel9 artikel9";
    }
}

@media only screen and (max-width: 600px) {
    .md_grid_or_flex {
        display: flex;
        grid-gap: 10px;
        flex-direction: column;
    }
}

/* diensten pagina */

/* realisaties pagina */

.realisaties_tekst {
    font-family: 'Poppins', sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 50px 0;
}

.row, .row * {
    box-sizing: border-box;
}

.row {
    margin: 0;

    display: flex;
    flex-wrap: wrap;
    padding: 0px 100px 100px 100px
}

.column {
    flex: 25%;
    max-width: 25%;
}

.img-hover-zoom {
    height: auto;
    overflow: hidden;
    border: 5px solid #fff;
}

.img-hover-zoom img {
    vertical-align: middle;
    margin: 0;
    padding: 0;
    border: 0;
    transition: transform .5s ease;
}

.img-hover-zoom:hover img{
    transform: scale(1.5);
}

@media screen and (max-width: 800px) {
    .column{
        flex: 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 500px) {
    .column{
        flex: 100%;
        max-width: 100%;
    }
}

/* realisaties pagina */

/* contact pagina */

.contact {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

    position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.content {
    max-width: 800px;
    text-align: center;
}

.content h2 {
    font-size: 36px;
    font-weight: 500;
}

.content p {
    font-weight: 300;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.container .contactInfo {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.container .contactInfo .box {
    position: relative;
    padding: 20px 0;
    display: flex;

    align-items: flex-start;
}

.container .contactInfo .box .icon {
    min-width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;

    margin-right: 20px;
    line-height: 1;
}

.container .contactInfo .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    flex-direction: column;
    font-weight: 300;
}

.container .contactInfo .box .text p {
    margin: 0; /* Verwijdert de standaard marge rond het <p> element */
    padding: 0; /* Verwijdert eventuele padding */
}

.container .contactInfo .box .text h3 {
    font-weight: 500;
    margin-bottom: 5px; /* Zorgt voor minder ruimte tussen de titel en het adres */

    margin-top: 5px;
    padding: 0;
    font-size: 18px;
}

.contactForm {
    width: 40%;
    padding: 40px;
    background: #fff;
}

.contactForm h2 {
    font-size: 30px;
    color: #333;
    font-weight: 500;
}

.contactForm .inputBox {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.contactForm .inputBox span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span {
    color: #e91e63;
    font-size: 12px;
    transform: translateY(-20px);
}

.contactForm .inputBox input[type="submit"] {
    width: 100px;
    background: #FF9D9D;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
}

@media (max-width: 991px) {
    .contact {
        padding: 50px;
    }
    .container {
        flex-direction: column;
    }
    .container .contactInfo {
        margin-bottom: 40px;
    }
    .container .contactInfo,
    .contactForm {
        width: 100%;
    }
}

/* contact pagina */