@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600&display=swap');

@font-face {
    font-family: 'Regular';
    src: url(fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: 'Semi-bold';
    src: url(fonts/Montserrat-SemiBold.ttf);
}

@font-face {
    font-family: 'Bold';
    src: url(fonts/Montserrat-Bold.ttf);
}

* {
    margin: 0;
    padding: 0;
    transition-duration: 200ms;
    box-sizing: border-box;
}

html {
    overflow-x: hidden; /* Voorkomt ongewenste zijwaartse bewegingen */
}
html, body {
    font-family: 'Regular';
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5;
}

.body-mail {
    height: 100dvh;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

p {
    font-size: 16px;
    line-height: 24px;
}

span {
    font-size: 16px;
}

h1 {
    font-size: 48px;
    font-family: 'Bold';
}

h2 {
    font-family: 'Semi-bold';
    margin: 4px 0px 8px 0px;
}

h3 {
    font-family: 'Semi-bold';
    font-size: 16px;
}

.above-head-span {
    color: #616161;
}

.lines {
    display: flex;
    margin-top: 14px;
}

.head-line {
    height: 8px;
    width: 64px;
    background: linear-gradient(to right, #207ce5, #770ed4);
    border-radius: 8px;
}

.head-line2 {
    height: 8px;
    width: 24px;
    background: #770ed4;
    border-radius: 8px;
    margin: 0px 8px 0px 8px;
}

.head-line3 {
    height: 8px;
    width: 8px;
    background: #770ed4;
    border-radius: 8px;
}

.section-text {
    margin: 16px 0px 16px 0px;
}

.btn-pri {
    background-color: #207ce5;
    padding: 8px 16px 8px 16px;
    border: none;
    color: #FFF;
    font-family: 'Semi-bold';
    font-size: 14px;
    border-radius: 4px;
}

.btn-pri:hover {
    cursor: pointer;
    background-color: rgb(23, 100, 189);
}

.btn-sec {
    background-color: #eff6ff;
    padding: 8px 16px 8px 16px;
    border: none;
    color: #207ce5;
    font-family: 'Semi-bold';
    font-size: 14px;
    border-radius: 4px;
}

.btn-sec:hover {
    background-color: #e5f0ff;
}

.btn-tre {
    background-color: transparent;
    padding: 8px 16px 8px 16px;
    font-family: 'Semi-bold';
    border: solid 1px #207ce5;
    color: #207ce5;
    font-size: 14px;
    border-radius: 4px;
}

.btn-tre:hover {
    cursor: pointer;
    background: linear-gradient(to right, #207ce5, #770ed4);
    color: #FFF;
}

header {
    display: flex;
    justify-content: center;
    height: 80dvh;
    height: 80vh;
    width: 100%;
    background: linear-gradient(to right, #207ce5, #8d0bffb9);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFF;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80dvh;
    height: 80vh;
    background: url(img/brush.jpeg);
    background-size: cover;
    background-position: center;
    /* filter: blur(4px); */
    z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
}

.header-other {
    height: 50dvh;
    height: 50vh;
}

.header-other::before {
    height: 50dvh;
    height: 50vh;
}

nav {
    display: flex;
    background-color: #ffffff;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0px 24px 32px rgba(0, 6, 0, 0.12);
}

.logo {
    font-family: 'Semi-bold';
    margin-left: 32px;
}

nav a {
    color: #000;
}

nav a:hover {
    color: #207ce5;
}

.menu-items a {
    padding-left: 8px;
    padding-right: 8px;
}

/* Hamburger menu stijl */
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 30px;
    margin-right: 32px;
}

/* Verberg het standaard menu-items op mobiele schermen */
.menu-items {
    display: flex;
}

nav .btn-tre {
    margin-right: 36px;
}

/* Hamburger menu stijl */
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 30px;
    margin-right: 32px;
}

/* Verberg het standaard menu-items op mobiele schermen */
.menu-items {
    display: flex;
}
header section {
    display: flex;
    height: 100%;
    width: 50%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

header .btn-pri {
    color: #207ce5;
    background-color: rgba(255, 255, 255, 0.85);
    margin: 24px 0px 0px 0px;
}

header .btn-pri:hover {
    background-color: rgba(255, 255, 255, 1);;
}

header section button {
    margin-top: 16px;
}

header section span {
    font-size: 20px;
    font-family: 'Semi-bold';
    margin-bottom: 16px;
}

header section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 26px;
}

/* end header */

/* section 1 */



.section1 {
    max-width: 1200px; 
    margin: 80px auto;
    padding: 20px;
}

.articles {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    max-width: 1200px; 
    margin: 32px auto;
}

.articles article {
    flex: 1;
    justify-items: center;
    background: #fff;
    padding: 36px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.1); 
}

.article-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    height: 64px;
    width: 64px;
    border-radius: 100%;
}

.articles h3 {
    padding: 8px;
    margin-top: 24px;
}

.articles p {
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.5em * 4); 
    line-height: 1.5em; 
    white-space: normal;
    margin-bottom: 36px;
}

.articles a {
    font-size: 14px;
    color: #FFF;
    font-family: 'Semi-bold';
    padding: 8px;
}

.articles .btn-pri {
    width: 100%;
    display: block;
}

/*section 2*/

.section2 {
    background-color: #FFF;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.1); 

}

.section-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    width: 1200px;
    margin: 0 auto;
    padding: 64px 20px 64px 20px;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.section-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.section2 .btn-pri {
    margin-right: 8px;
} 

.section2-btns {
    display: flex;
}

.section-wrapper :nth-child(5){
    margin-bottom: 32px;
}

/* section 3 */

.section3 {
    max-width: 1200px;
    padding: 20px;
    margin: 50px auto;
}

.container-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: stretch;
}

.label {
    font-family: 'Bold';
    text-transform: uppercase;
    font-size: 14px;
    background-color: rgba(116, 151, 245, 0.2);
    color: #5A4FC9;
    padding: 2px 8px 2px 8px;
    border: 1px solid #5A4FC9;
    border-radius: 16px;
}

.contact {
    font-family: 'Semi-Bold';
    margin: 16px 0px 16px 16px;
    text-align: center;
}

.contact span {
    padding: 0px 12px 0px 12px;
}

.about-text {
    text-align: center;
    line-height: 24px;
    width: 100%;
    margin-bottom: 32px;
}

.contact-outer {
    padding: 5%;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(white, white) padding-box, linear-gradient(to right, #207ce5, #770ed4) border-box;
    border-bottom: 8px solid transparent;
    margin-top: 32px;
}

.contact-text {
    font-size: 16px;
    line-height: 20px;
}

hr {
    height: 1px;
    background-color: #EBEBEB;
    border: none;
    margin: 24px 0px 24px 0px;
}

label {
    font-family: 'Semi-Bold';
    display: block;
    font-size: 14px;
}

input:focus, textarea:focus {
    outline-color: #207ce5;
}

input, .message {
    width: 100%;
    box-sizing: border-box;
    background-color: #F8F8F8;
    border: none;
    border-radius: 4px;
    padding: 8px 16px 8px 16px;
    margin: 4px 0px 16px 0px;
    
}

input::placeholder {
    color: #B3B3B2;
}

label span {
    color: #C11C1C;
    padding-right: 4px;
}

.email-tel {
    display: flex;

}

.email-tel div {
    width: 100%;
} 

.email {
    margin-right: 8px;
}

.message {
    height: 150px;
    font-family: 'Regular';
}

.message::placeholder {
    color: #B3B3B2;
}

button[type=submit] {
    width: auto;
    float: right;
    background-color: #207ce5;
    color: #FFF;
    border: none;
    padding: 8px 16px 8px 16px;
    border-radius: 4px;
    font-family: 'Semi-Bold';
}

button[type=submit]:hover {
    background-color: rgb(23, 100, 189);
    cursor: pointer;
}

/* footer */

footer {
    background-color: #ededed;
    padding: 20px;
    font-family: 'Regular';
    font-size: 14px;
    margin-top: 32px;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    text-align: center;
}

.footer-section .footer-head {
    margin-bottom: 10px;
    font-size: 14px;
    font-family: 'Semi-bold';
    color: #333;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #333;
}

.footer-section ul li a:hover {
    color: #207ce5;
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #666;
}

footer hr {
    margin-top: 20px;
    border: 0;
    border-top: 1px solid #ddd;
}

/* foto-gallerij */

.section-specialistisch {
    max-width: 1200px; 
    margin: auto;
    padding: 20px;
}

.section-specialistisch.extra-space {
    margin-bottom: 64px;
}

.button-group {
    display: grid;
}

.breadcrumbs {
    display: block;
    font-size: 14px;
    margin-bottom: 36px;
}

.breadcrumbs a {
    font-family: 'Semi-Bold';
    color: #207ce5;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    margin: auto;
    max-width: 1200px;
    gap: 2em;
    padding: 20px;
    pointer-events: none;
  
    img {
      display: block;
      width: 100%;
      height: 300px; /* Of een andere vaste hoogte naar wens */
      object-fit: cover;
      border-radius: .25em;
      transition: 250ms 50ms;
      pointer-events: auto;
    }
    
    &:hover img:not(:hover) {
      filter: saturate(.2) opacity(.5);
    }
  }

  /* foto slider */

  .container {
    border-radius: 5px;
    width: 50%;
    margin: 0px auto;
    position: relative;
    transition: box-shadow 200ms;
  }

  .container:hover {
    box-shadow: 0 10px 50px -10px rgba(0,0,0,0.25);
  }

  .slideshow {
    position: relative;
    width: 100%;
  }

  .slideshow::after {
    content: '';
    display: block;
    padding-bottom: calc((100% / 6) * 4);
  }

  .slideshow a:hover {
    opacity: 1;
  }

  .slideshow a {
    opacity: 0;
    position: relative;
    text-decoration: none;
    transition: opacity 0.5s;
  }

  .slideshow a::after {
    border-color: #FFF #FFF transparent transparent;
    border-style: solid;
    border-width: 2px;
    color: #FFF;
    display: block;
    height: 10px;
    position: absolute;
    top: calc(50% - 5px);
    width: 10px;
  }

  .slideshow a:first-child::after {
    content: '';
    left: 10px;
    transform: rotate(-135deg);
  }

  .slideshow a:nth-child(2)::after {
    content: '';
    right: 10px;
    transform: rotate(45deg);
  }

  .slide {
    background-color: #FFF;
    box-sizing: border-box;
    display: none;
    height: 100%;
    position: absolute;
    width: 100%;
  }

  .slide:first-child, .slide:target {
    display: block;
  }

  .slide a {
    display: block;
    height: 100%;
    position: absolute;
    width: 50%;
  }

  .slide a:nth-child(2) {
    left: 50%;
  }

  .slide img {
    border-radius: 5px;
    width: 100%;
  }
    /* .container {
    border-radius: 5px;
    width: 50%;
    margin: 0px auto;
    position: relative;
    transition: box-shadow 200ms;
    &:hover {
        box-shadow: 0 10px 50px -10px rgba(0,0,0,0.25);
    }
    }
    .slideshow {
        position: relative;
        width: 100%;
        &:after {
            content: '';
            display: block;
            padding-bottom: calc((100% / 6) * 4);
        } */
        /* &:hover a {
            opacity: 1;
        }
        a {
            opacity: 0;
            position: relative;
            text-decoration: none;
            transition: opacity 0.5s;
            &:after {
                border-color: #FFF #FFF transparent transparent;
                border-style: solid;
                border-width: 2px;
                color: #FFF;
                display: block;
                height: 10px;
                position: absolute;
                top: calc(50% - 5px);
                width: 10px;
            }
            &:first-child:after {
                content: '';
                left: 10px;
                transform: rotate(-135deg);
            } */
            /* &:nth-child(2):after {
                content: '';
                right: 10px;
                transform: rotate(45deg);
            }
        } */
        /* .slide {
            background-color: #FFF;
            box-sizing: border-box;
            display: none;
            height: 100%;
            position: absolute;
            width: 100%;
            &:first-child,
            &:target {
                display: block;
            }
            a {
                display: block;
                height: 100%;
                position: absolute;
                width: 50%;
                &:nth-child(2) {
                    left: 50%;
                }
            }
            img {
        border-radius: 5px;
                width: 100%;
            }
        }
    } */
    .pagination {
    display: flex;
    bottom: 10px;
    justify-content: center;
    position: absolute;
    width: 100%;
    }

    .pagination a {
    background-color: #eff6ff;
    border-radius: 50%;
    display: block;
    height: 10px;
    width: 10px;
    }

    .pagination a:not(:last-child) {
        margin-right: 5px;
    }

    .pagination a span {
        display: none;
    }

    /* .pagination {
    display: flex;
    bottom: 10px;
    justify-content: center;
    position: absolute;
    width: 100%;
    a {
        background-color: #eff6ff;
        border-radius: 50%;
        display: block;
        height: 10px;
        width: 10px;
        &:not(:last-child) {
        margin-right: 5px;
        }
        span {
        display: none;
        }
    }
    } */

    .slideshow .slide:first-child {
        display: block; /* Zorgt ervoor dat de eerste afbeelding zichtbaar is */
    }

    .container img {
        height: 100%;
    }

    a:target {
        color: red;
    }

    :target {
        scroll-margin-top: 30dvh;
        scroll-margin-top: 30vh; /* Voorkomt de sprong */
    }

    .pagination a.selected {
        background-color: #207ce5; /* Kleur voor het geselecteerde bolletje */
    }

    .hamburger-menu {
        color: #770ed4;
    }

    .btn-tre {
        display: inline-block; /* desktop */
    }

    .menu-items.active a {
        padding: 8px;
    }
    
    .menu-items.active {
        align-items: center;
    }

    .btn-tre.mobile-btn {
        margin-right: 0px;
    }

    .footer-bottom span {
        font-size: 14px;
    }

    .message-send-container {
        background-color: #FFF;
        width: 50dvh;
        width: 50vh;
        margin: 20dvh;
        margin: 20vh auto;
        border-radius: 8px;
        padding: 36px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 6px;
        background: linear-gradient(white, white) padding-box, linear-gradient(to right, #207ce5, #770ed4) border-box;
        border-bottom: 8px solid transparent;
    }

    .melding {
        text-align: center;
        font-size: 20px;
        font-family: 'Semi-Bold';
    }

    .melding.text {
        font-family: 'Regular';
    }
    
    .succes {
        background-color: #FFF; /* Groene achtergrond voor succes */
    }
    
    .error {
        background-color: #FFF; /* Rode achtergrond voor fouten */
    }

    .melding.text span{
        display: block;
        padding: 16px 0px 16px 0px;
    } 

    .captcha-btn-group {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .melding.error {
        font-size: 14px;
        font-family: 'Semi-Bold';
        color: #eb0606;
        text-align: left;
        margin: 16px 0px 8px 0px;
    }

    .melding.error {
        scroll-behavior: auto; /* Zet scroll-behavior uit voor de captcha error */
    }

    @media (max-width: 768px) {

        h1 {
            font-size: 24px;
        }

        header section span {
            font-size: 16px;
        }

        header section p {
            font-size: 14px;
        }

        .articles {
            flex-direction: column;
            align-items: center;
        }

        .section-wrapper {
            flex-direction: column; /* Stapelt de elementen onder elkaar */
            width: 100%; /* Zorgt ervoor dat het de volledige breedte gebruikt */
        }
    
        .text-content, .container {
            width: 100%; /* Beide elementen nemen de volledige breedte in */
        }

        .section2-btns .btn-pri,.btn-sec {
            width: 100%;
            text-align: center;
        }
    }

    @media (max-width: 768px) {
        .menu-items {
            display: none; /* Verberg het menu op kleinere schermen */
            flex-direction: column;
            width: 100%;
            background-color: #ffffff;
            position: absolute;
            top: 70px;
            right: 0;
            padding-top: 16px;
            padding-bottom: 16px;
            box-shadow: 0px 24px 32px rgba(0, 6, 0, 0.12);
        }
        .hamburger-menu {
            display: block; /* Toon de hamburgerknop op kleinere schermen */
        }
    }

    @media screen and (max-width: 768px) {
        .btn-tre {
            display: none;
        }
    }
    
    /* Wanneer het menu is geopend, toon de menu-items */
    .menu-items.active {
        display: flex;
    }

    
    @media (max-width: 768px) {
        .btn-tre {
            display: none; /* hide on mobile */
        }
    
        .menu-items .mobile-btn {
            display: block;
            margin-top: 10px;
        }

        .captcha-btn-group {
            flex-direction: column;
            gap: 20px;
        }
    }