/* Style général */
body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.notes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 3rem;
    color: #ff6f61;
    margin-bottom: 20px;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.note-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.note-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.note-card h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.note-card p {
    font-size: 1rem;
    color: #666;
}

.note-actions {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.btn-show, .btn-edit, .btn-delete, .btn-new-note {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-show {
    background-color: #4caf50;
    color: white;
}

.btn-edit {
    background-color: #ffc107;
    color: white;
}

.btn-delete {
    background-color: #f44336;
    color: white;
}

.btn-new-note {
    background-color: #2196f3;
    color: white;
    margin-top: 20px;
    padding: 15px 25px;
    font-size: 1.2rem;
}

.btn-show:hover, .btn-edit:hover, .btn-delete:hover, .btn-new-note:hover {
    opacity: 0.9;
}

.no-notes {
    font-size: 1.2rem;
    color: #888;
    margin-top: 20px;
}