* {
    padding: 0;
    margin: 0;
    line-height: 1.5rem;
    box-sizing: border-box;
}

body, html {
    background: #353535;
    color: #ffffff;
    font-family: sans-serif;
    font-size: 16px;
}

*:focus {
    outline: 2px solid #e6b541;
}

a {
    color: #e64463;
    text-decoration: none;
}

a:visited {
    color: #b96e7c;
}

a:focus {
    outline-color: #e64463;
}

a:hover {
    color: #ffaeb0;
}

.header__container {
    display: flex;
}

.header__group {
    flex: 0;
    margin-right: 2rem;
}
.header__search {
    flex: 1;
}

.header__input {
    width: 100%;
    height: 2rem;
    padding: 0 0.5rem;
}

h1 {
    font-size: 1.5rem;
    white-space: nowrap;
    line-height: 2rem;
}

.tags {
    list-style-type: none;
    margin: 1rem 0 1rem -0.5rem;
}

.tags__tag {
    display: inline-block;
}

.tags__button {
    padding: 0 0.5rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
}
.tags__button:hover {
    color: #e64463;
}

.bookmarks {
    list-style-type: none;
}
.bookmarks > li > .bookmarks {
    margin-left: 1rem;
}

.bookmarks__anchor {
    display: flex;
    cursor: default;
}

.bookmarks__title {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tags--bookmarks {
    flex: 0;
    flex-basis: 30%;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 1rem;
}

.tags__button--bookmarks {
    line-height: 1.25rem;
}

.bookmarks__item--separator {
    font-weight: bold;
}

.icon {
    vertical-align: middle;
}

.icon svg {
    width: 1rem;
    height: 1rem;
}

.icon__folder, .icon__file {
    margin-right: 0.5em;
}

.root {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.header {
    padding: 0 1rem;
}

.main {
    padding: 0 1rem;
    flex: 1;
    overflow: auto;
}

.footer {
    padding: 0 1rem;
    margin-top: 1rem;
}

.footer__note {
    opacity: 0.75;
    font-size: 0.75rem;
}

.search--hidden {
    display: none;
}