@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 15px;
}

body {
    font-family: "Rubik", serif;
    background-color: #f2f2f2;
    scrollbar-gutter: stable;
}

header {
    background-color: #092d48;
    color: white;
    padding: 25px;
    text-align: center;
    text-transform: uppercase;
}

.main-wrapper {
    width: 90%;
    max-width: 720px;
    margin: 45px auto;
    display: flex;
    gap: 35px;
    flex-wrap: wrap;

}

.sidebar {
    background-color: #13111c;
    color: white;
    padding: 20px;
    max-height: calc(100vh - 165px);
    border-radius: 5px;
    position: sticky;
    overflow: auto;
    top: 45px;
    flex: 1;
}

.sidebar-list {
    list-style: none;
    word-break: break-word;
    flex-wrap: wrap;
}

.main-notes {
    flex: 2.5;
}

.create-notes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 45px;
}

#notes-title,
#notes-content {
    padding: 15px;
}

#save-notes {
    background-color: #13111c;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    align-self: center;
}

.note {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    min-height: 150px;
}

.note-date {
    font-size: 12px;
}

.sidebar-list li {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    font-size: 12px;
}

.sidebar-list li:hover {
    background-color: #6e6596;
    cursor: pointer;
    border-radius: 3px;
    padding: 5px;
}

.delete-icon {
    color: #f44336;
}
@media (max-width: 480px) {
    .main-wrapper {
        width: 100%;
        padding: 0 10px;
        flex-direction: column-reverse
    }
}