header {
    background: var(--color-1);
    color: var(--color-2);
    display: flex;
    align-items: center;
}

body>input, body>label {
    display: none;
}

header>nav {
    display: flex;
    flex-direction: row;
}

header a:not(.logo) {
    padding: 10px;
    margin: 5px 0px 5px 5px;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    transition: 0.3s;
}

header a:not(.logo):hover {
    background: var(--color-1-selected);
}

header img {
    height: 32px;
    display: block;
    margin-left: 10px;
}

.spacer {
    flex-grow: 1;
}

@media (max-width:765px) {
    body>label {
        display: block;
        font-size: 30px;
        padding: 10px 20px;
        background: var(--color-1);
        color: var(--color-2);
        position: fixed;
        left: 0;
        top: 0;
        border-radius: 0 0 10px 0;
        z-index: 1;
    }

    header {
        position: fixed;
        right: 100vw;
        width: 100vw;
        height: 100vh;
        flex-flow: column;
        transition: 1s;
    }

    header>a.logo {
        padding: 15px 20px;
        align-self: flex-end;
    }

    header>nav {
        flex-flow: column;
        align-items: center;
    }

    header a:not(.logo) {
        padding: 20px;
    }

    header>.spacer {
        border: 1px solid var(--color-2);
        height: 0;
        width: 100%;
        flex-grow: 0;
    }

    input:checked~header {
        right: 0;
    }
}
