body,
header nav span[aria-description="logo"],
aside ul a {
    display: block;
}

header,
wrap {
    display: flex;
}

main,
header nav {
    flex: 0 1 75%;
    margin: 0 auto;
}

aside nav,
section {
    padding: 1.5em;
}

article,
aside ul a,
columns > section,
header nav span[aria-description="logo"] {
    padding: 1em;
}

modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    article {
        border-radius: 0.5em;
        max-height: 80vh;
        overflow-y: auto;
    }
}

h1, h2, h3 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    a.button, button[type="button"], form {
        margin-left: 0.25em;
    }
}

h1 {
    margin-block: 0;
    &.home + ul {
        margin-top: 0;
        padding-left: 1.5rem;
        line-height: 1.25;
    }
    + h3 {
        margin-block: 0;
        display: block;
    }
}

article {
    border-width: 1px;
    border-style: solid;
    border-radius: 0.5em;
    box-sizing: border-box;
    margin: 0 0.5em 1em 0.5em;
    width: 100%;
    article {
        width: fit-content;
    }
    h2 {
        margin-block: 0.5em;
        + p {
            margin-top: 0;
        }
        + hr {
            margin: 0;
            height: 0;
        }
    }
    h3 {
        margin-block: 0;
        + p {
            margin-top: 0;
        }
    }
}

header {
    nav {
        span[aria-description="logo"] {
            margin-left: 1em;
        }
    }
}

aside {
    flex: 0 1 25%;
    overflow: hidden;
    nav {
        ul {
            list-style: none;
            padding: 0;
            form {
                &:hover {
                    cursor: pointer;
                }
            }
            &.flex-list {
                display: flex;
            }
            svg {
                max-width: 1em;
            }
            li {
                a, form button[type="submit"] {
                    display: flex;
                    box-sizing: border-box;
                    width: 100%;
                    i {
                        display: inline-flex;
                    }
                    span {
                        align-items: center;
                        display: inline-flex;
                        justify-content: center;
                        padding-left: 0.25em;
                    }
                }
            }
        }
    }
}

video {
    width: 100%;
    height: 100%;
}

columns {
    display: inline-flex;
    width: 100%;
    column {
        width: 100%;
        display: inline-flex;
    }
}

.notification {
    display: block;
    padding: 1.25rem 2.5rem 1.25rem 1.5rem;
    position: relative;
    border-radius: .25em;
    margin-block: 0.5em;
    .button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 2em;
    }
}

#chat {
    display: block;
    height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    fieldset {
        margin-top: 1em;
        position: relative;
    }
}


@media (max-width: 600px) {
    aside {
        flex: 0 1 100%;
        visibility: hidden;
        position: absolute;
        right: 0;
    }
    main,
    header nav {
        flex: 0 1 100%;
    }
    section {
        padding: 1em;
    }
    nav {
        span[aria-description="logo"] {
            margin-left: 0;
        }
    }
    columns {
        display: block;
        width: 100%;
        column {
            width: 100%;
            display: block;
        }
    }
    article {
        article {
            width: 100%;
        }
    }
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="search"] {
        width: 100%;
        max-width: 100%;
    }
}
