@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

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

.notes {
    display: flex;
    height: 80vh;
    width: 75vw;
    border-radius: 0px 0px 10px 10px;
    overflow: hidden;
}

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

/* Sidebar */
.notes__sidebar {
    flex-shrink: 0;
    overflow-y: auto;
    padding: 1em;
    width: 300px;
    display: block;
    transition: 0.3s ease;
    background-color: #2d2d2d; 
    color: #ffffff; 
}

.notes__sidebar.open {
    border: none;
    display: none;
}


.notes__add:hover {
    background: #009b77; 
}

.toggle-btn:hover {
    background: #f7c600;
}

.nav {
    width: 75vw;
    height: 30px;
    border-radius: 10px 10px 0px 0px;
    display: flex;
    align-items: center;
    background-color: #3c3c3c; 
    justify-content: space-between;
}

.home{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}
.home a{
    text-decoration: none;
    color: white;
}

.nav_button{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-box {
    height: 15px;
    width: 15px;
    border-radius: 10px;
    /* margin-left: 10px; */
    margin-right: 10px;
    border: none;
    cursor: pointer;
}

.notes__list-item {
    padding: 10px;
    cursor: pointer;
    color: #ffffff; 
    overflow: hidden;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
    margin-top: 10px;
}

.notes__list-item--selected {
    background: #f4f4f4;
    border-radius: 7px;
    font-weight: bold;
    color:  #333333 ; 
}

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

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

.notes__small-body {
    padding: 0 10px;
}

.notes__small-updated {
    color: #555555;
    font-style: italic;
    text-align: right;
    font-size: 14px;
}

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

.notes__title,
.notes__body {
    border: none;
    outline: none;
    width: 100%;
    font-family: "Ubuntu", sans-serif;
}

.notes__title {
    font-size: 3em;
    font-weight: bold;
    color: #333333; /* Title color */
}

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

.bg-black {
    background-color: #1e1e1e; 
}

.bg-white {
    background-color: #ffffff; 
}

.bg-red {
    background-color: rgb(209, 0, 0); 
}

.bg-yellow {
    background-color: rgb(255, 204, 0); 
}

.bg-green {
    background-color: #00a86b; 
}

.myNotes {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1e1e1e;
}


