@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    --scouting-groen: #00a551;
    --scouting-blauw: #0066b2;
    --scintilla-rood: #e4002b;
    --scintilla-doorzichtig: #e4002b80;
}

html {
    height: 100vh;
}

body {
    font-family: 'Open Sans', 'Helvetica';
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    background: #cccfd1;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

header .gameInfo {
    display: flex;
    flex-flow: column;
}

header #name::before {
    content: "Naam: ";
}

header #roomcode::before {
    content: "Kamercode: ";
}

header .notificationsWrapper {
    display: inline;
}

header button#notENBtn {
    border: none;
    border-radius: 5px;
    color: white;
    background-color: var(--scintilla-rood);
    padding: 2px;
}

header a#home-btn {
    text-decoration: none;
    font-weight: bold;
    color: white;
    background-color: var(--scouting-blauw);
    border-radius: 5px;
    padding: 0 3px;
}

.contentContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 0 auto;
    align-items: center;
}

article {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

aside {
    height: 600px;
}

footer {
    width: 100%;
    padding: 0 10px;
    height: 3.5rem;
    background: #83878a;
}

footer a {
    text-decoration: none;
    font-weight: bold;
    color: #b0edff;
    margin-right: 6px;
}

input[type="submit"],
input[type="button"] {
    border: 1px solid grey;
    border-radius: 5px;
    padding: 5px;
    font-size: 20px;
    float: none;
    margin: 0 auto;
}

div#chatVenster {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 300px;
    background-color: black;
    justify-content: space-between;
}

div#chatVenster #chatInput {
    width: 100%;
}

div#chat {
    padding-left: 5px;
    color: white;
    overflow-y: auto;
}

div#chat .leiding {
    font-weight: bold;
    color: var(--scouting-groen);
}

@media screen and (min-width: 620px) {
    header {
        height: 5rem;
    }
    header .gameInfo,
    header .headerWrapper {
        display: contents;
    }
    .contentContainer {
        flex-direction: row;
        align-items: initial;
        min-height: calc(100vh - 8.5rem);
    }
    article {
        flex-direction: row;
        flex: 1 0;
        justify-content: space-evenly;
    }
    aside {
        height: calc(100vh - 8.5rem);
        position: sticky;
        top: 0;
    }
}