@font-face {
    font-family: 'opendyslexic';
    src: url('/fonts/OpenDyslexic-Regular.otf') format('opentype');
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

:root {
    /* fonts */
    --font-title: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-body: Arial, sans-serif;

    /* colors */
    --color-dark: #4a4845;
    --color-light-blue: rgba(198, 217, 244, 0.65);
    --color-primary-blue: #54a0d8;
    --color-blue: #e9f6f6;
    --color-off-white: rgba(251, 247, 244, 0.7);
    --color-accent: #4a6fab;

    /* gradients */
    --gradient-main: linear-gradient(to bottom, rgba(178, 225, 255, 0.8) 0%, rgba(102, 182, 252, 0.65) 100%);
    --gradient-light: linear-gradient(to bottom, rgba(214, 249, 255, 0.8) 0%, rgba(158, 232, 250, 0.65) 100%);

    /* cursors */
    --cur-normal:      url("../images/cursors/Normal%20Select.cur");
    --cur-link:        url("../images/cursors/Link%20Select.cur");
    --cur-help:        url("../images/cursors/Help%20Select.cur");
    --cur-move:        url("../images/cursors/Move.cur");
    --cur-unavailable: url("../images/cursors/Unavailable%20.cur");
    --cur-horizontal:  url("../images/cursors/Horizontal%20Resize.cur");
    --cur-vertical:    url("../images/cursors/Vertical%20Resize.cur");
    --cur-diag1:       url("../images/cursors/Diagonal%20Resize%201.cur");
    --cur-diag2:       url("../images/cursors/Diagonal%20Resize%202.cur");
    --cur-alternate:   url("../images/cursors/Alternate%20Select.cur");
    --cur-handwriting: url("../images/cursors/Handwriting.cur");
}

body.dyslexia-mode {
    --font-body: 'opendyslexic', Arial, sans-serif;
}


.white{
    color: #ffffff;
}

* {
    margin: 0;
}

body {
    background: url("../images/background/skybox.png") center center/cover no-repeat fixed;
    scrollbar-color: rgba(35, 92, 105, 0.8) rgba(31, 31, 31, 0.65);
    font-family: var(--font-body);
    cursor: var(--cur-normal), auto;
}

main {
    font-family: var(--font-title);
}

h1, h2 {
    font-family: var(--font-title);
    color: rgb(82, 118, 178);
}

.websiteContainer {
    position: relative;
    align-self: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 100vh;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 0 100px;      /* room for the fixed footer */
    background: var(--gradient-main);
    /*border-radius: 5vh 5vh 5vh 5vh;*/
}

.bg-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 200px;
    margin: 15px;
    border-radius: 10px;
    font-size: 1.75rem;
    background-image: url("../images/standard-header-bg.jpg");
    background-size: cover;
    background-position: center;
}

footer {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 660px;          /* 700px container minus 20px on each side */
    box-sizing: border-box;
    margin: 10px 0;
    padding: 10px;
    border-radius: 40px;
    background: var(--gradient-light);
    min-width: 300px;
}

footer img {
    height: 40px;
    width: auto;
}

footer .item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
}





body {
    font-family: var(--font-body);
}


main {
    /*background-color: var(--color-);*/
    padding-bottom: 60px;
}

form {
    /*background-color: var(--color-cream);*/
    /* actieve pagina highlight */
}
    footer .item.active {
        background: var(--gradient-main);
    }

    .profile-header {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 5px;
        cursor: pointer;
    }

    .profile-header h1 {
        /*color: var(--color-accent);*/
    }

    .settings-link {
        height: 35px;
        width: auto;
    }

    .settings-header {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        color: var(--color-accent);
    }

    .settings-header span {
        font-size: 2rem;
    }

    .settings-header a {
        text-decoration: none;
        color: var(--color-accent);
    }


    /* NOTE: the bare "h2" here applies to every h2 on the site, not just
       the ones inside .user-info. Change to ".user-info h2" if that's not intended. */

    .user-info p,
    h2 {
        padding-top: 5px;
        padding-left: 5vw;
        /*color: var(--color-accent);*/
    }

    .user-info a {
        display: flex;
        justify-content: center;
        padding-top: 10px;
        font-size: 1.25rem;
        text-decoration: none;
        color: #fff;
    }

    .user-info div {
        display: flex;
        justify-content: center;
        width: 330px;
        padding: 5px 10px;
        border: 2px solid var(--color-accent);
        border-radius: 10px;
        background: var(--color-accent);
    }

    #preview-img {
        width: 150px;
        height: 100%;
    }


    .bg-image {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        /*background-image: url("../images/standard-header-bg.jpg");*/
        /*background-size: cover;*/
        /*background-position: center;*/
        background: linear-gradient(to bottom, rgba(214, 249, 255, 0.8) 0%, rgba(158, 232, 250, 0.65) 100%);
        width: auto;
        height: 200px;
        border-radius: 10px;
        margin: 15px;

    }


    .large-milestone {
        width: 130px;
        height: 100%;
    }

    .medium-milestone {
        width: 100px;
        height: 100%;
    }

    .small-milestone {
        width: 70px;
        height: 100%;
    }

    .milestone-overzicht {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 420px;
        overflow-x: hidden;
        overflow-y: scroll;
        white-space: nowrap;
    }

    .milestone-post {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        background-color: #FBF7F4;
        border-radius: 10px;
        margin: 20px;
    }

    .milestone-item {
        cursor: pointer;
    }

    .post-image {
        height: 100%;
        width: 333.33px;
        border-radius: 10px;
    }

    .edit-profile {
        form {
            display: flex;
            flex-direction: column;
            padding: 10px;
            color: #5276B2;

            input {
                border-radius: 5px;
                border: 1px solid #F7EBE0;
                background: #FBF7F4;
            }

            textarea {
                border-radius: 5px;
                border: 1px solid #F7EBE0;
                background: #FBF7F4;
            }

            .form-group {
                display: flex;
                flex-direction: row;
                gap: 20px;
                padding-bottom: 10px;
            }

            button {
                background: #5276B2;
                color: #fff;
                border: none;
                padding: 10px 20px;
                border-radius: 5px;
                cursor: pointer;
                margin-top: 10px;
                font-size: 1rem;
            }
        }
    }

    /* clickable */

    a, button, summary, label, select, .item,
    [role="button"], input[type="submit"] {
        cursor: var(--cur-link), pointer;
    }

    /* help */

    [title], .help {
        cursor: var(--cur-help), help;
    }

    /* move */

    .draggable, [draggable="true"] {
        cursor: var(--cur-move), move;
    }

    /* disabled / not allowed */

    :disabled, [aria-disabled="true"], .disabled {
        cursor: var(--cur-unavailable), not-allowed;
    }

    /* resizing */

    .resize-h {
        cursor: var(--cur-horizontal), ew-resize;
    }

    .resize-v {
        cursor: var(--cur-vertical), ns-resize;
    }

    .resize-d1 {
        cursor: var(--cur-diag1), nwse-resize;
    }

    .resize-d2 {
        cursor: var(--cur-diag2), nesw-resize;
    }

    /* extras: add these classes where you want them */

    .alt-select {
        cursor: var(--cur-alternate), alias;
    }

    .handwriting {
        cursor: var(--cur-handwriting), crosshair;
    }

    /* busy / working (.ani files don't work in browsers) */

    .busy {
        cursor: wait;
    }

    .working {
        cursor: progress;
    }


    .settings-link {
        height: 35px;
        width: auto;
    }

.white{
    color: #ffffff;
}