aside {
    container-type: inline-size;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    gap: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

aside > .title {
    font-size: 1.5rem;
    font-weight: bold;
    word-break: break-word;
}

aside > .secondary-button {
    width: 100%;
}

aside > .section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

aside > .section > .title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

aside > .section > a {
    color: black;
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
}

aside > .section > a:hover {
    background-color: rgba(0, 0, 0, 0.025);
}

aside > .section > a.selected {
    background-color: rgba(0, 0, 0, 0.05);
}

aside > .alert {
    margin-top: auto;
    margin-bottom: revert;
    flex-direction: column;
}

@media (min-width: 40rem) {
    aside {
        position: fixed;
        left: 0;
        width: 15rem;
        height: 100%;
        border-right: 1px solid rgba(0, 0, 0, 0.2);
        border-top: revert;
        border-bottom: revert;
        margin-bottom: revert;
    }
}

@media (min-width: 15rem) {    
    aside > .alert {
        display: none;
    }
}
