* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(rgb(128, 1, 126), rgb(134, 9, 212));
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: linear-gradient(rgb(144, 105, 157), rgb(105, 94, 132));
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

h1 {
    text-align: center;
    color: #3d374f;
}

.note-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

#note-title, #note-input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    resize: vertical;
}

#add-note-btn {
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(rgb(95, 54, 107), rgb(54, 35, 103));
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#add-note-btn:hover {
    background-color: #0056b3;
}

.note {
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
}

.note p {
    margin: 0;
}

.note .note-title {
    font-weight: bold;
}

.note .delete-btn, .note .archive-btn, .note .edit-btn {
    position: absolute;
    top: 10px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
}

.note .archive-btn {
    right: 80px;
    background: #3498db;
}

.note .edit-btn {
    right: 50px;
    background: #f39c12;
}

.note .delete-btn {
    right: 10px;
}

.note .delete-btn:hover {
    background: #c0392b;
}

.note .archive-btn:hover {
    background: #2980b9;
}

.note .edit-btn:hover {
    background: #e67e22;
}

.note.archived {
    background: #e0e0e0;
    color: #777;
    text-decoration: line-through;
    opacity: 0.6;
}

.note .timestamp {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}
