body {
    font-family: 'Arial', sans-serif;
    background-color: #bbdefb;
    background-image: url('img/img2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 80%;
    margin: 50px auto;
    padding: 40px;
    background-color: #bbdefb;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    color: #1976d2;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

input, textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #90caf9;
    border-radius: 10px;
    background-color: #e3f2fd;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

input:focus, textarea:focus {
    border-color: #1976d2;
    background-color: #fff;
    outline: none;
}

button {
    padding: 12px 25px;
    background-color: #42a5f5;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

button i {
    margin-right: 8px;
}

button:hover {
    background-color: #1e88e5;
    transform: translateY(-2px);
}

#noteList {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 30px;
}

.note {
    width: calc(25% - 30px);
    height: 270px;
    max-height: 270px;
    background-image: url('img/img1.avif');
    background-size: cover;
    background-repeat: repeat;
    margin: 15px;
    border: 1px solid #90caf9;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: left;
    overflow-y: auto;
}

.note.archived {
    opacity: 0.5;
    text-decoration: line-through;
    background-color: #e3f2fd;
}

.note:hover {
    transform: scale(1.05);
}

.note .note-header {
    font-weight: 600;
    font-size: 18px;
    color: #1976d2;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.note p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.note .note-footer {
    font-size: 12px;
    color: #888;
}

.note button {
    background-color: #2196f3;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    border: none;
    display: block;
    width: 100%;
}

.note button:hover {
    background-color: #1565c0;
}

.note .note-footer small {
    display: block;
    margin-top: 10px;
    text-align: right;
    color: #bbb;
}

.note .note-content {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 10px;
}

.quote {
    background-color: #bbdefb;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-style: italic;
    text-align: center;
    font-size: 18px;
    color: #333;
    position: relative;
}

.quote p {
    margin: 10px 0;
}

.author {
    font-weight: bold;
    color: #1976d2;
}

@media (max-width: 768px) {
    .quote {
        font-size: 16px;
    }
    .button-group {
        flex-direction: column;
        align-items: stretch;
    }
    .button-group button {
        width: 100%;
    }
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.button-group button {
    flex: 1 1 45%;
    max-width: 250px;
    background-color: #2196f3;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s, transform 0.2s;
}

.button-group button:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
}
