:root {
    --primary-color: #36A9E1;
    --primary-color-hover: #1c8ac1;
    --secondary-color: #3C3C3B;
    --secondary-100: #F6F6F6;
    --secondary-200: #e1dfdf;
    --secondary-800: #505050;
    --text-color: white;
    --text-color-2: #7C7C7C;
    --text-color-3: #303030;
    --max-width: 1080px;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Rubik", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

body.openedMenu {
    overflow: hidden;
}

.subMenu {
    width: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.subMenuContent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-color);
    padding: .5em 2em;
    width: 100%;
    max-width: var(--max-width);
    font-size: .75em;
}

.subMenuContent ::selection {
    color: var(--secondary-color);
    background-color: var(--text-color);
}

.subMenuContent p {
    display: flex;
    align-items: center;
}

.subMenuContent p span{
    display: block;
    width: .375em;
    aspect-ratio: 1/1;
    background-color: #33B039;
    border-radius: 99999999vw;
    margin-right: .5em;
    animation: alternate onlineFlashing 2s ease-in-out infinite;
}

@keyframes onlineFlashing {
    from {
        opacity: .5;
        box-shadow: 0 0 1px #33B039;
    }
    to {
        opacity: 1;
        box-shadow: 0 0 5px #33B039;
    }
}

.subMenuContent ul {
    display: flex;
    list-style-type: none;
    gap: 2em;
}

.subMenuContent ul li a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: .25em;
}

.subMenuContent ul li a:hover {
    text-decoration: underline;
}

.subMenuContent ul li a:hover svg{
    animation: wiggle .5s linear;
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(20deg);
    }
    40% {
        transform: rotate(-20deg);
    }
    60% {
        transform: rotate(10deg);
    }
    80% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@media (max-width: 600px) {
    .subMenuContent ul li a span{
        display: none;
    }
    .subMenuContent ul {
        display: flex;
        list-style-type: none;
        gap: 1em;
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 99999;
}

.navBar {
    width: 100%;
    background-color: var(--text-color);
    display: flex;
    justify-content: center;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
}

.navBarContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    padding: 1.25em 1.5em;
}

.navBarContent > a {
    display: inline-block;
    height: 2.25em;
    z-index: 999;
}

.navBarContent > a img {
    height: 2.25em;
}

.navBarContent ul {
    display: flex;
    list-style-type: none;
    gap: 1.25em;
}

.navBarContent ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 300;
}

.navBarContent ul li a:hover {
    text-decoration: underline;
}

.navBarContent ul li:last-of-type a{
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: .5em 1em;
    border-radius: .325em;
    transition: background-color ease-in-out .05s;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

.navBarContent ul li:last-of-type a:hover{
    background-color: var(--primary-color-hover);
    text-decoration: none;
}

.navBarContent button {
    display: none;
    padding: .5em 0 .5em;
    background-color: transparent;
    border: none;
    z-index: 999;

}

.activeButton {
    display: none;
}

@media (max-width: 755px) {
    .navBarContent ul {
        width: 100dvw;
        height: 100dvh;
        left: 0;
        top: 0;
        position: absolute;
        display: none;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-color: var(--text-color);
        gap: 2em !important;
    }
    .navBarContent ul.activeMenu {
        display: flex;
    }
    .navBarContent button {
        display: flex;
        align-items: center;
    }
    .navBarContent button #menuOpen.hidden{
        display: flex;
        align-items: center;
    }
}

.heroSection {
    height: 80vh;
    width: 100%;
    background-image: url(/img/heroSectionImageComp.jpg);
    background-position: center;
    background-size: cover;
    background-color: #36A9E1;
    overflow: hidden;
}


.heroSectionContentWrapper {
    background-color: #005f8fa5;
    height: 80vh;
    width: 100%;
    backdrop-filter: grayscale(100%);
    display: flex;
    justify-content: center;
    color: var(--text-color)
}

.heroSectionContent {
    max-width: var(--max-width);
    width: 100%;
    padding: 0 1.5em;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
}

.heroSectionContentWrapper img:first-of-type {
    right: -4em;
    bottom: 0;
    position: absolute;
    height: 23em;
    transition: height ease-in-out .5s, opacity ease-in-out .125s;
}
.heroSectionContentWrapper img:last-of-type {
    right: 9em;
    bottom: 0;
    position: absolute;
    height: 24em;
    transition: height ease-in-out .5s, right ease-in-out .5s , opacity ease-in-out .125s;
}

.heroSectionContent div {
    margin-bottom: 4em;
    transition: margin-bottom ease-in-out .5s;
}

.heroSectionContent div p:first-of-type {
    font-size: 3em;
    max-width: 16em;
    width: 100%;
    font-weight: 700;
    margin-bottom: 0.125em;
    text-shadow: 2px 2px 16px #013651eb;
}

.heroSectionContent div p:last-of-type {
    margin-bottom: 1.5em;
    text-shadow: 2px 2px 16px #013651eb;
}

.heroSectionContent div a{
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: .5em 1em;
    border-radius: .325em;
    transition: background-color ease-in-out .05s;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: block;
    width: fit-content;
}

.heroSectionContent div a:hover{
    background-color: var(--primary-color-hover);
    text-decoration: none;
}

@media (max-width: 1275px) {
    .heroSectionContentWrapper img:first-of-type {
        right: -2em;
        height: 12em;
    }
    .heroSectionContentWrapper img:last-of-type {
        height: 12em;
        right: 6em;
    }
}

@media (max-width: 965px) {
    .heroSectionContentWrapper img:first-of-type {
        opacity: 0;
    }
    .heroSectionContentWrapper img:last-of-type {
        opacity: 0;
    }
    .bsLeftBlauw {
        display: none;
    }
    .bsLeft {
        padding: 0 1.5em !important;
    }
    .heroSectionContent {
        padding: 1.5em;
    }
    .heroSectionContent div {
        margin-bottom: 1.5em;
    }
}

@media (max-width: 400px) {
    .heroSectionContent div p:first-of-type {
        font-size: 2em;
    }
}

.breakSection {
    display: grid; /* Zorg ervoor dat je grid gebruikt */
    grid-template-columns: 1fr minmax(0, var(--max-width)) 1fr; /* Layout met 3 kolommen */
    width: 100%;
    align-items: center; /* Optioneel: Verticaal centreren van inhoud */
    background-color: var(--secondary-100); /* Optionele achtergrondkleur */
}

.leftGrey {
    background-color: var(--secondary-100);
    height: 100%; /* Zorg dat deze de hoogte van de sectie vult */
}

.bsLeft {
    padding: 0 0 0 1.5em;
    display: flex;
}

.bsLeftText{
    flex: auto;
}

.bsLeftBlauw {
    flex: 3;
    width: auto;
    height: auto;
    background-color: var(--primary-color);
    border-radius: 9999vw 0 0 9999vw;
}

.bsLeft p:first-of-type{
    margin-top: 2em;
    font-weight: 700;
    font-size: 2em;
    max-width: 10em;
    color: var(--text-color-3);
}

.bsLeft p:last-of-type{
    max-width: 32em;
    font-size: 1em;
    margin-bottom: 4em;
    margin-top: .375em;
    color: var(--text-color-2);
}

.bsRight {
    height: 100%;
    width: 100%;
    background-color: var(--primary-color);
}


.dienstenSection {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dienstenSectionContent {
    width: var(--max-width);
    padding: 0 1.5em;
}

.dienstenSectionContent h2 {
    margin-top: 2em;
    font-weight: 700;
    font-size: 2em;
    color: var(--text-color-3);

}

.diensten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 2em;
    grid-row-gap: 0px;
    margin-top: 1.5em;
    margin-bottom: 4em;
}

.dienst img {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    height: 14em;
    border-radius: .325em;
    transition: opacity ease-in-out .5s;
}

.dienst h3 {
    font-weight: 600;
    font-size: 1em;
    margin-top: 1.25em;
    color: var(--text-color-3);
}

.dienst p {
    font-size: 1em;
    color: var(--text-color-2);
    margin-top: .325em;
}

.dienst a {
    display: block;
    padding: .5em 1em;
    text-decoration: none;
    color: var(--text-color-3);
    background-color: var(--secondary-100);
    width: fit-content;
    border-radius: .325em;
    margin-top: 1em;
    transition: background-color ease-in-out .05s;
}

.dienst a:hover {
    background-color: var(--secondary-200);
}

@media (max-width: 995px) {
    .diensten {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 2em;
    }
}

.werkwijzeSection {
    background-color: var(--secondary-color);
    width: 100%;
    display: flex;
    justify-content: center;
}

.werkwijzeSectionContent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    max-width: var(--max-width);
    width: 100%;
    padding: 4em 1.5em;
}

.wwText {
    grid-area: 1 / 1 / 5 / 2;
    border-right: 1px solid var(--secondary-800);
}

.wwText h2 {
    font-weight: 700;
    margin-bottom: .5em;
    font-size: 2em;
    color: var(--text-color);
}

.wwText p {
    color: var(--text-color);
    margin-bottom: 1em;
    max-width: 24em;
    padding-right: 1.5em;
    width: 100%;
}

.wwBullet {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.wwBullet svg {
    display: block;
    stroke: var(--secondary-800);
    margin: 0 1.5em;
}

.wwBullet p:first-of-type {
    font-weight: 600;
    font-size: 1em;
    margin-bottom: .375em;
}

.wwBullet p {
    max-width: 15em;
}

@media (max-width: 825px) {
    div .werkwijzeSectionContent {
        display: grid;
        grid-template-columns: 4em 1fr;
        grid-template-rows: repeat(4, min-content);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
    .wwText {
        grid-area: 1 / 1 / 2 / 3;
        border-right: none;
    }
    .wwText p {
        padding-right: 0;
        max-width: 100%;
    }
    .wwBullet {
        margin-top: 1.5em;
        border-bottom: 1px solid var(--secondary-800);
        padding-bottom: 1.5em;
    }
    .wwBullet svg {
        margin: 0;
        width: 4em;
        height: 4em;
        display: block;
        margin-right: .5em;
    }
    .wwBullet p {
        max-width: 100vw;
    }

    .wwDigital {
        grid-area: 2 / 1 / 3 / 3;
    }
    .wwDigital div:first-of-type  {
        grid-area: 3 / 1 / 4 / 2;
    }
    .wwDigital div:last-of-type  {
        grid-area: 3 / 2 / 4 / 3;
    }

    .wwCalendar {
        grid-area: 3 / 1 / 4 / 3;
    }
    .wwCalendar div:first-of-type {
        grid-area: 3 / 1 / 4 / 2;
    }
    .wwCalendar div:last-of-type {
        grid-area: 3 / 2 / 4 / 3; 
    }

    .wwContact {
        grid-area: 4 / 1 / 5 / 3;
    }
    .wwContact div:first-of-type  {
        grid-area: 4 / 1 / 5 / 2;
    }
    .wwContact div:last-of-type  {
        grid-area: 4 / 2 / 5 / 3;
    }


    .wwPrice {
        grid-area: 5 / 1 / 6 / 3;
    }
    .wwPrice div:first-of-type  {
        grid-area: 5 / 1 / 6 / 2;
    }
    .wwPrice div:last-of-type  {
        grid-area: 5 / 2 / 6 / 3;
    }
}

.aboutSection {
    width: 100%;
    display: flex;
    justify-content: center;
}

.aboutSectionContent {
    width: 100%;
    max-width: var(--max-width);
    padding: 4em 1.5em;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 6em;
    grid-row-gap: 0px;
}

.aboutText {
    width: 32em;
    grid-area: 1 / 1 / 2 / 2; 
}

.aboutText h2 {
    font-weight: 700;
    margin-bottom: .5em;
    font-size: 2em;
    color: var(--text-color-3);
}

.aboutText p {
    color: var(--text-color-3);
    margin-bottom: 1em;
    max-width: 32em;
    padding-right: 1.5em;
    width: 100%;
    color: var(--text-color-2);
}

.aboutText p:last-of-type {
    margin-bottom: 1.5em;
}

.aboutText a{
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: .5em 1em;
    border-radius: .325em;
    transition: background-color ease-in-out .05s;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: block;
    width: fit-content;
}

.aboutText a:hover{
    background-color: var(--primary-color-hover);
    text-decoration: none;
}

.aboutImg {
    grid-area: 1 / 2 / 2 / 3;
}

.aboutImg img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: .325em;
}

@media (max-width: 1070px) {
    .aboutSectionContent {
        width: 100%;
        max-width: var(--max-width);
        padding: 4em 1.5em;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: min-content;
        grid-column-gap: 0px;
        grid-row-gap: 3em;
    }
    .aboutText {
        grid-area: 2 / 1 / 3 / 2;
        width: 100%;
    }
    .aboutText p {
        max-width: 100%;
    }
    .aboutImg {
        grid-area: 1 / 1 / 2 / 2;  
    }
    .aboutImg img {
        height: 24em;
        object-position: center center;
    }    
}

.studySection {
    width: 100%;
    display: flex;
    justify-content: center;
}

.studySectionContent {
    max-width: var(--max-width);
    width: 100%;
    padding: 0 1.5em;
}

.person {
    background-color: var(--secondary-100);
    display: flex;
    justify-content: flex-start;
    border-radius: 999999vw;
    width: 100%;
    margin-bottom: 1em;
    color: var(--text-color-3);
}

.person:last-of-type {
    margin-bottom: 4em;
}

.personImg {
    background-color: var(--primary-color);
    aspect-ratio: 1/1;
    border-radius: 99999999vw;
    height: 10em;
    width: 10em;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.personImg img{
    height: 10em;
    width: 10em;
}

.personInfo {
    padding: 1.5em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex: 1;
}

.personInfo p:first-of-type{
    margin-bottom: .375em;
    font-weight: 600;
}

.personInfo p:last-of-type {
    font-style: italic;
}

.personInfo ul li {
    margin-left: 1.5em;
}

@media (max-width: 700px) {
    .person {
        flex-direction: column;
        border-radius: .375em;
    }
    .personImg {
        width: 100%;
        border-radius: .375em;
    }
}

.contactSection {
    background-color: var(--secondary-color);
    width: 100%;
    display: flex;
    justify-content: center;
}

.contactSectionContent {
    max-width: var(--max-width);
    width: 100%;
    padding: 4em 1.5em;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.contactInfo h2{
    font-weight: 700;
    margin-bottom: .375em;
    font-size: 2em;
    color: var(--text-color);
}

.contactInfo p {
    color: var(--text-color);
    margin-bottom: 1em;
    max-width: 24em;
    padding-right: 1.5em;
    width: 100%;
}

.contactInfo p:first-of-type {
    color: var(--text-color);
}

.contactInfo p:nth-of-type(2) {
    margin-bottom: 0px;
    font-weight: 600;
}

.contact {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.contact p {
    font-weight: 600;
    margin-bottom: .375em;
}

.contact svg {
    width: 4em;
    height: 4em;
    display: block;
    stroke: var(--secondary-800);
    margin: 0 1.5em;
}

.contactInfo {
    grid-area: 1 / 1 / 3 / 2;
    border-right: 1px solid var(--secondary-800);
}

.contact a {
    color: var(--text-color);
}

.mail {
    grid-area: 1 / 2 / 2 / 3;
}

.whatsapp {
    grid-area: 2 / 2 / 3 / 3;
}

i {
    font-style: italic;
}

@media (max-width: 825px) {
    .contactSectionContent {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, min-content);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
    .contactInfo {
        grid-area: 1 / 1 / 2 / 2;
        border-right: none;
    }
    .mail {
        grid-area: 2 / 1 / 3 / 2;
    }
    .whatsapp {
        grid-area: 3 / 1 / 4 / 2;
    }
    .contact p {
        padding-right: 0;
        max-width: 100%;  
    }
    .contact {
        margin-top: 1.5em;
        border-bottom: 1px solid var(--secondary-800);
        padding-bottom: 1.5em;
    }

    .contact svg {
        margin: 0;
        width: 4em;
        height: 4em;
        display: block;
        margin-right: .5em;
    }
}

#diensten, #werkwijze, #contact, #wiezijnwij {
    transform: translateY(-4em);
}

html {
    scroll-behavior: smooth;
}