body {
        font-family: Arial, sans-serif;
        display: flex;
        height: 100vh;
        margin: 0;
}

.container {
        display: flex;
        width: 100vw;
}

.sidebar {
        width: 20%;
        background-color: #f0f0f0;
        padding: 10px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.main {
        width: 80%;
        padding: 20px;
}

textarea {
        width: 100%;
        height: 80vh;
        padding: 10px;
        box-sizing: border-box;
        font-size: 16px;
}

.buttons {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 10px;
        background-color: #fff;
        /* Цвет фона для кнопок */
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        /* Тень для кнопок */
}

button {
        padding: 10px 20px;
        font-size: 16px;
        margin: 0;
        /* Убираем отступ сверху */
}

ul {
        list-style-type: none;
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
}

li {
        margin: 10px 0;
}

a {
        text-decoration: none;
        color: #333;
}

.noteDate {
        font-size: 12px;
        color: #888;
}

/* Mobile styles */
#toggleMenu {
        display: none;
}

@media (max-width: 768px) {
        .sidebar {
                display: none;
                width: 100%;
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                background-color: #f0f0f0;
                z-index: 1000;
        }

        .sidebar.show {
                display: block;
        }

        .main {
                width: 100%;
        }

        #toggleMenu {
                display: block;
        }
}