button {
    background: white;
    color: black;
}

button:hover {
    background: dimgrey;
    cursor: pointer;
}

.text-with-image {
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: flex-start; /* Align content to the left */
    max-width: 600px; /* Adjust the maximum width as needed */
    margin: 0 auto; /* Center the container horizontally */
}

.text-with-image p {
    flex: 1; /* Allow the text to take up remaining space */
}

.text-with-image img {
    width: 100px; /* Adjust the width of the image as needed */
    height: auto; /* Maintain the aspect ratio of the image */
    margin-left: 20px; /* Adjust the margin to separate text and image */
}


.image-flow {
    height: 200px;
    margin: 20px;
    padding: 20px;
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: space-between;
}

.image-flow img {
    max-height: 100%;
    width: 20vw;
}

.image-flow .arrow {
    font-size: 10vw;
    color: #99C5C8;
}

.under-image-flow {
    color: #99C5C8;
    text-align: center;
}

article:first-of-type {
    margin-top: 35px;
}

.home-selection {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #242424;
}

.box {
    width: 500px;
    background-color: #333333;
    border: 2px solid #99C5C8;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.76);
    padding: 10px;
    text-align: center;
    height: 400px;
    transition: all .3s ease-in-out;
    margin: 40px auto;
}

.box:hover {
    transition: all .3s ease-in-out;
    scale: 1.05;
    cursor: pointer;
    filter: brightness(110%);
}

.box img {
    max-width: 100%;
    height: 160px;
}

.box h2 {
    margin-top: 10px;
    font-size: 2em;
}

.last-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    color: grey;
}

.left-text {
    flex: 1;
    text-align: left;
    color: grey;
}

.right-text {
    flex: 1;
    text-align: right;
    color: grey;
}

.article-container {
    display: flex;
    flex-wrap: wrap;
}

.article {
    border-radius: 15px;
    width: 100%;
    background-color: #333333;
    margin: 10px;
    padding: 15px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2); /* Stronger and lighter shadow */
}

article {
    margin: 0;
    padding: 0 10px 0 50px;
}

.article img {
    border: #99C5C8 3px solid;
    border-radius: 15px;
    height: 200px; /* Vaste hoogte voor de afbeelding */
    width: auto;
    float: right;
    margin-left: 10px;
}

.article h2 {
    font-size: 30px;
    margin: 0 0 10px;
}

.article p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.article:hover {
    filter: brightness(50%);
}

.flex-container {
    display: flex;
}

body {
    background-color: #242424;
    font-size: 20px;
}

* {
    box-sizing: border-box;
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

.no-line-breaks {
    white-space: nowrap;
}

h1, h2, h3, h4 {
    font-family: 'IBM Plex Mono', monospace;
    color: #99C5C8;
}

h1, h2, h3 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

h3 {
    text-align: left;
}

header {
    text-align: center;
    left: 0;
    background-color: #333333;
    width: 100%;
    position: fixed;
    top: 0;
}

aside {
    float: right;
    width: 600px;
    margin: 15px;
    padding: 50px;
    border-radius: 5px;
    background: linear-gradient(to bottom, #696969 30%, rgba(255, 0, 0, 0));
}

h1 {
    font-size: 2.5em;
    margin: 0;
}

h2 {
    font-size: 40px;
}

.avatar {
    float: right;
    height: 250px;
    width: 250px;
    display: block;
    margin: 0 auto;

    object-fit: cover;
    object-position: center 30%; /* This will position the image slightly towards the bottom */
    border-radius: 50%;
    border: solid 5px #99C5C8;
}


a {
    font-weight: 500;
    color: #99C5C8;
    text-decoration: inherit;
}

a:hover {
    color: #749596;
    cursor: pointer;
}

ul.voordelen {
    list-style-type: none; /* Verwijder het standaardlijsticoon voor voordelen */
}

ul.voordelen li:before {
    content: "+"; /* Voeg het "+"-symbool toe aan voordelen */
    margin-right: 5px; /* Optioneel: voeg wat ruimte toe tussen het symbool en de tekst */
}

ul.nadelen {
    list-style-type: none; /* Verwijder het standaardlijsticoon voor nadelen */
}

ul.nadelen li:before {
    content: "-"; /* Voeg het "-"-symbool toe aan nadelen */
    margin-right: 5px; /* Optioneel: voeg wat ruimte toe tussen het symbool en de tekst */
}

.subtitle {
    margin-bottom: 20px;
    margin-top: 0;
}

img {
    max-width: 100%;
}

.container-kosten {
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.box-kosten {
    text-align: center;
    padding: 0 150px 20px 150px;
    background-color: #696969;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    border: solid 5px #99C5C8;
}

header div .title {
    display: inline;
    vertical-align: middle;
}

.avatar-homepage {
    height: 150px;
    width: 150px;

    object-fit: cover;
    object-position: center 30%; /* This will position the image slightly towards the bottom */
    border-radius: 50%;
    border: solid 5px #99C5C8;

    margin: 15px auto 0;
}

@media (min-width: 767px) {
    .header-placeholder {
        height: 6em;
    }
}

@media (max-width: 767px) {
    .avatar {
        width: 150px;
        height: 150px;
    }

    .article-container .article h2 {
        font-size: 0.8em;
    }

    .article-container .article p {
        font-size: 0.7em;
    }

    .article-container .article .left-text{
        display: none;
    }

    .article-container .article .right-text {
        font-size: 0.6em;
    }

    .article-container .article img {
        display: none;
    }

    article {
        padding: 1%;
    }

    .header-placeholder {
        height: 5em;
    }

    nav {
        display: none;
    }

    .container-kosten {
        max-width: 100%;
        font-size: 1.5em;
        margin: auto;
        padding: 5%;
    }

    .box-kosten {
        max-width: 80%;
        margin: auto;
        padding: 5%;
    }


    .title {
        font-size: 30px;
    }

    .box {
        height: 10em;
        width: calc(100% - 40px);
        margin: auto;
    }

    .box img {
        height: 5em;
    }

    .box h2 {
        font-size: 1.2em;
    }

    .box p {
        visibility: hidden;
    }

    .avatar-homepage {
        height: 100px;
        width: 100px;
    }
}
@media (max-width: 326px) {
    .header-placeholder {
        height: 6em;
    }
}
