@font-face {
    font-family: 'MensealBlack';
    src: url('/fonts/Menseal-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MensealRegular';
    src: url('/fonts/Menseal-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MensealBold';
    src: url('/fonts/Menseal-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
}

body {
    display: block;
    background-color: black;
    font-family: 'MensealRegular', sans-serif;
    color: white;
}

.background {
    background-image: url('/images/header-background-dark.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position:center top;
}

h3 {
    font-weight: 100;
}

p {
    font-family: "Open Sans", sans-serif;
}

h2 {
    font-size: 3.2rem;
    font-family: 'MensealBlack', sans-serif;
}

button {
    font-family: 'MensealRegular', sans-serif;
}

.intro {
    margin-top: 220px;
    margin-bottom: 220px;
    text-align: center;
    padding: 30px;

    h1 {
        font-size: 3.8rem;
        line-height: 3.2rem;
        margin-bottom: 10px;
        font-weight: 300;
        font-family: 'MensealBold', sans-serif;
    }

    span {
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 10px;
        background-color: #025E73;
        font-size: 1.6rem;
    }
}

.divider {
    background-image:url('/images/vlag-repeat.png');
    background-repeat:repeat-x;
    height: 90px;
    width: 100%;
}

.over-mij-width {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50%);
}

.over-mij-flex {
    display : flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 170px;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 120px;

    span {
        font-size: 1.4rem;
        color: #025E73;
    }

    h2 {
        margin-bottom: 40px;
        line-height: 2.2rem;
    }

    img {
        margin-top: 50px;
        width: 90%;
        height: 100%;
        border-radius: 20px;
        max-width: 35rem;

        @media screen and (min-width: 1100px) {
            max-width: 50rem;
        }
    }

    .over-mij {
        width: 80%;
    }
}

.over-mij__image-wrapper {
    position: relative;

    @media screen and (max-width: 900px) {
        width: 100%;
    }

    @media screen and (min-width: 900px) {
        img {
            border-bottom-left-radius: 100px;
        }
    }
}

.over-mij__shape {
    position: absolute;
    left: 2rem;
    bottom: 2.5rem;
    width: 200px;
    translate: -50% 50%;
    display: none;

    @media screen and (min-width: 900px) {
        display: block;
    }
}


.diensten-width {
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: #232323;
    padding-top: 50px;
    padding-bottom: 50px;
    /* padding-bottom: 100px; */
}

.diensten {
    max-width: 1200px;
    padding: 30px;
    margin: 0 auto;
}

@media screen and (min-width: 830px) {
    .diensten {
        padding: 50px;
    }
}

.diensten span {
    font-size: 1.4rem;
    color: #025E73;
}

.diensten h2 {
    margin-bottom: 40px;
    line-height: 2.2rem;
    margin-bottom: 50px;
}

.diensten img {
    width: 100%;
    transition: transform 0.3s ease;
}

.diensten img:hover {
    transform: scale(1.1);
}

.diensten-grid div {
    overflow: hidden;
}

.diplomas {
    /* background-color: #000; */
    background-color: #1d5e74;
}

.diplomas.diensten-width, .reviews.diensten-width {
    padding-bottom: 40px;
}

.diplomas .diensten {
    width: 100%;
}

@media screen and (min-width: 830px) {
    .diplomas .diensten {
        width: 100%;
        display: flex;
        max-width: 1200px;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.diplomas__part {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.diplomas__part:last-child {
    margin-top: 3.5rem;
}

@media screen and (min-width: 830px) {
    .diplomas__part {
        align-items: flex-start;
        max-width: calc(50% - 20px);
    }

    .diplomas__part:last-child {
        margin-top: 0;
    }
}

.diplomas .h2 {
    line-height: 1;
    font-size: 2.6rem;
    margin-bottom: 28px;
}

@media screen and (min-width: 830px) {
    .diplomas .h2 {
        text-align: left;
    }
}

.diplomas .rdw {
    height: 8rem;
    width: auto;
}

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

.diplomas__item:not(:last-child) {
    margin-bottom: 1.75rem;
}

.diplomas__item img {
    height: 100%;
    width: auto;
    max-height: 5rem;
    display: block;
    margin-right: 2rem;
}

.diplomas__item span {
    color: white !important;
    font-size: 1.2rem;
    text-align: left;
    max-width: 16.5rem;
}

.block-gray {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: start;
    background-color: #303030;
    font-size: 1.8rem;
    border: 20px solid #303030;

    h3 {
        background-color: #303030;
        padding-bottom: 10px;
        z-index: 2;
    }
}

.block-blue {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: start;
    background-color: #025E73;
    font-size: 1.8rem;
    border: 20px solid #025E73;

    h3 {
        background-color: #025E73;
        padding-bottom: 10px;
        z-index: 2;
    }
}


.diensten-grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 40px;
}

@media (max-width: 900px) {
    .diensten-grid {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .over-mij-flex {
        flex-direction: column;
        gap: 50px;

        img {
            width: 50%;
        }
    }

    .over-mij {
        width: 100% !important;
    }
}

@media (max-width: 750px) {
    .intro {
        h1 {
            font-size: 3rem;
            line-height: 2.6rem;
            margin-bottom: 10px;
            font-weight: 300;
            font-family: 'MensealBold', sans-serif;
        }
    
        span {
            padding-left: 10px;
            padding-right: 10px;
            border-radius: 10px;
            background-color: #025E73;
            font-size: 1.6rem;
        }
    }
}

@media (max-width: 600px) {
    .intro {
        h1 {
            font-size: 2.4rem;
            line-height: 2rem;
        }
    
        span {
            font-size: 1.2rem;
        }
    }
}

@media (max-width: 500px) {
    .diensten-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .block-blue {
        margin-bottom: 100px;
    }

    .intro {
        h1 {
            font-size: 2rem;
            line-height: 1.6rem;
        }
    
        span {
            font-size: 1rem;
        }


    }
    
    .over-mij-flex {
        flex-direction: column;
        gap: 50px;

        img {
            width: 100%;
        }
    }

}

@media (max-width: 410px) {

    h2 {
        font-size: 2.8rem;
    }

    .intro {
        h1 {
            font-size: 1.8rem;
            line-height: 1.6rem;
        }
    
        span {
            font-size: 0.8rem;
        }
    }

    .diensten span, .over-mij-flex span {
        font-size: 1rem;
        color: #025E73;
    }
}

a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 1.5rem;
    color: white;
    background-color: #025E73;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;

    svg {
        width: 1.4rem;
        margin-left: .5rem;
    }

    &:hover {
        background-color: #014a5a;

        svg {
            padding-left: .25rem;
            width: 1.65rem;
        }
    }
}

.appointment {
    z-index: 10;
    position: fixed;
    right: 30px;
    bottom: 30px;

    .btn {
        font-size: 1rem;
    }
}

.nieuwe-diensten {
    padding-top: 7rem;
    padding-bottom: 3rem;

    .h2 {
        margin-bottom: 5.5rem !important;
    }

    .diensten {
        width: 100%;
        max-width: 1000px;
    }
    
    .dienst__item {
        display: flex;
        align-items: flex-start;

        @media screen and (max-width: 860px) {
            flex-direction: column;
        }

        &:not(:last-child) {
            margin-bottom: 5rem;
        }

        &:nth-child(odd) {
            flex-direction: row-reverse;

            .dienst__image-wrapper {
                margin-left: 5rem;
                margin-right: 0;
            }

            @media screen and (max-width: 860px) {
                flex-direction: column-reverse;

                .dienst__image-wrapper {
                    margin-left: 0;
                    margin-top: 3rem;
                }
            }
        }
    }
    
    .dienst__image-wrapper {
        margin-right: 5rem;

        @media screen and (max-width: 860px) {
           margin-right: 0;
           margin-bottom: 3rem;
        }
    }
    
    .dienst__image {
        display: block;
        max-width: 70rem;
        max-height: 21rem;
        max-width: 20rem;
        width: auto;
        border-radius: 20px;

        &:hover {
            transform: none;
        }
    }
    
    .dienst__info {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        * {
            text-align: left;
        }

        @media screen and (max-width: 860px) {
            width: 100%;
        }
    }
    
    .dienst__extra-info {
        max-height: 8rem;
        overflow: hidden;

        &.dienst__extra-info--toggled {
            max-height: none;
        }
        
        p {
            margin-bottom: .5rem;
        }

        ul {
            gap: 0;
            padding: .5rem 0 .5rem 1.3rem;
            flex-direction: column;

            li {
                font-size: 1rem;
                position: relative;
                font-family: "Open Sans", sans-serif;

                &:not(:last-child) {
                    margin-bottom: .35rem;
                }

                &:hover {
                    color: inherit;
                }

                &::before {
                    content: "";
                    width: .4rem;
                    height: .4rem;
                    display: block;
                    position: absolute;
                    right: calc(100% + 12px);
                    top: 8px;
                    border-radius: 50%;
                    background-color: white;
                }
            }

            &:not(:last-child) {
                margin-bottom: 1rem;
            }
        }
    }

    .dienst__title {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: .75rem;
        text-transform: uppercase;
    }

    .dienst__show-more {
        margin-top: 1.75rem;
        padding: .75rem 1.5rem;
        background-color: #1c5867;
        border-radius: 10px;
        display: inline-block;
        margin-right: auto;
        display: none;
        cursor: pointer;
        
        span {
            color: white;
            font-size: .95rem;
        }

        svg {
            fill: white;
            height: 1.2rem;
            display: inline-block;
            margin-left: .3rem;
            margin-bottom: -.25rem;
        }

        &:hover {
            background-color: #014a5a;
        }

        &.dienst__show-more--toggled {
            svg {
                rotate: 180deg;
            }
        }
    }
}

.reviews {

}

.reviews__wrapper {
    @media screen and (min-width: 860px) {
        display: flex;
        gap: 40px;
        margin-bottom: -1.5rem;
    }
}

.review__item {
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    max-width: 26rem;

    * {
        text-align: left;
    }

    p {
        color: #333;
    }

    &:not(:last-child) {
        margin-bottom: 1.5rem;
    }

    @media screen and (min-width: 860px) {
        margin-bottom: 1.5rem !important;
    }
}

.review__reviewer {
    display: block;
    font-weight: bold;
    margin-top: .75rem;
    font-size: 1rem !important;

    @media screen and (min-width: 860px) {
        font-size: 1.05rem !important;
    }
}

.h2 {
    text-transform: uppercase;
}

.maps {
    background-color: black;

    .h2 {
        margin-bottom: 30px;
    }

    .diensten {
        @media screen and (min-width: 860px) {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
    }

    .maps__image-wrapper {
        margin-bottom: 4rem;
        position: relative;

        .over-mij__shape {
            right: 2rem;
            top: 2rem;
            border: initial;
            left: initial;
            translate: 40% -40%;
        }

        @media screen and (min-width: 860px) {
            margin-right: 100px;
            margin-bottom: 0;
        }

        img {
            max-width: 26rem;
            border-radius: 20px;
            display: block;

            &:hover {
                transform: none;
            }
        }

        @media screen and (min-width: 901px) {
            img {
                border-top-right-radius: 150px;
            }
        }
    }

    .maps__info {
        display: flex;
        max-width: 25rem;
        margin-top: .75rem;
        flex-direction: column;

        @media screen and (min-width: 860px) {
            align-items: flex-start;
            text-align: left;
        }

        .btn {
            margin-top: 2rem;
        }
    }
}