/* =========================================================
   notes.css: the sticky note wall
   Pastel paper notes with a strip of tape, slightly tilted.
   They stay pastel in dark mode, like real paper on a desk.
   ========================================================= */

.wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 16px;
    margin-top: 26px;
    padding-block: 10px;
}

.note {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(200px, 42vw);
    min-height: 150px;
    padding: 18px 14px 12px;
    border-radius: 4px;
    box-shadow: 0 3px 0 rgba(36, 32, 28, 0.07);
    color: #24201C;               /* dark text on paper, in both modes */
    font-family: var(--font-hand);
    font-size: 20px;
    line-height: 1.2;
    transition: transform 0.2s;
}
.note:hover { transform: rotate(0deg) scale(1.03) !important; }

/* the tape */
.note::after {
    content: "";
    position: absolute;
    top: -8px; left: 50%;
    width: 46px; height: 16px;
    transform: translateX(-50%) rotate(-3deg);
    background: rgba(255, 255, 255, 0.7);
}

.note p { margin: 0; }

.note .who {
    align-self: flex-start;
    margin-top: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    font-family: var(--font-body);
    font-size: 12px;
}

.note small {
    margin-top: auto;
    padding-top: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    color: #6B625C;
}

.note-pink   { background: var(--pink); }
.note-butter { background: var(--butter); }
.note-sky    { background: var(--sky); }
.note-lilac  { background: var(--lilac); }

[dir="rtl"] .note { font-size: 16px; line-height: 1.5; }

/* the "write a note" form */
.note-form {
    max-width: 460px;
    margin: 30px auto 0;
}
.note-form textarea { font-family: var(--font-hand); font-size: 20px; }
