html,
body {
    height: 100%;
    margin: 0;
}

.notes {
    display: flex;
    height: 100%;
    background-color: black;
}

.notes * {
    font-family: sans-serif;
}

.notes__sidebar {
    border-right: 2px solid #dddddd;
    flex-shrink: 50px;
    overflow-y: auto;
    padding: 1%;
    width: 300px;
    color: beige;
}

.notes__add {
    background: #2a98e1;
    border: none;
    border-radius: 7px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1em;
    padding: 0.75em 0;
    width: 100%;
}

.notes__add:hover {
    background: #00406a;
    transition: 0.8s;
}

.notes__list-item {
    cursor: pointer;
}

.notes__list-item--selected {
    background: #2A98E1;
    border-radius: 10px;
    font-weight: 500;
    transition: .6s;
}

.notes__small-title,
.notes__small-updated {
    padding: 5px;
}

.notes__small-title {
    font-size: .8em;
}

.notes__small-body {
    padding: 0 5px;
    font-size: 1em;
}

.notes__small-updated {
    color: #ffffff;
    /* font-style: italic; */
    text-align: right;
    font-size: .6em;
}

.notes__preview {
    display: flex;
    flex-direction: column;
    padding: 1em 1em;
    flex-grow: 1;
}

.notes__title,
.notes__body {
    border: none;
    outline: none;
    width: 100%;
    color: beige;
    background-color: black;
}

.notes__title {
    font-size: 2em;
    font-weight: bolder;
}

.notes__body {
    flex-grow: 1;
    font-size: 1em;
    line-height: 1.5;
    margin-top: 1em;
    resize: none;
}