* { box-sizing: border-box }
body { margin: 0; background: #e8e4d9; color: #302e28; font: 17px/1.45 Georgia, serif }
main { width: min(1040px,92%); margin: auto; padding: 28px 0 60px }
nav,footer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap }
nav { justify-content: space-between; border-bottom: 1px solid #b8b2a4; padding-bottom: 16px }
a { color: inherit; text-underline-offset: .22em }
h1 { font-weight: 400; font-size: clamp(42px,7vw,77px); line-height: 1.05; margin: .65em 0 .4em; letter-spacing: -.05em }
.board { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(225px,100%),1fr)); gap: 24px; align-items: start }
#messages { display: contents }
.note { max-width: 350px; min-height: 218px; margin: 0; padding: 20px 22px; background: linear-gradient(178deg,#00000006,transparent 24%),#f9e99c; box-shadow: 0 2px 3px #28211528,3px 7px 9px -6px #28211570; transform: rotate(-.65deg); overflow-wrap: anywhere }
article.note:nth-child(3n+1) { background-color: #d6e4ce; transform: rotate(.65deg) }
article.note:nth-child(3n+2) { background-color: #f2d3c0 }
.note header,footer,.compose p,.meta { font: 13px/1.5 system-ui,sans-serif }
.note header { display:flex; justify-content:space-between; gap:8px }
.note .message { white-space:pre-wrap }
.compose label { font-size: 24px }
textarea { display: block; width:100%; resize:vertical; background:transparent; border:0; border-bottom:1px solid #82764a; color:inherit; font:inherit; padding:8px 0 }
button { cursor:pointer; background:#373c32; color:white; font: 14px/1.5 system-ui,sans-serif; padding:8px 14px; border:0; border-radius:3px }
footer { margin-top:30px }
footer button { background:transparent; border:1px solid #a59d8c; color:inherit }
:focus-visible { outline:2px solid #5a4870; outline-offset:3px }
@media(max-width:520px) { .note { max-width:none } }

.note .message, .compose textarea {
  font: 400 21px/1.35 Kalam, "Segoe Print", cursive;
  color: #263b59;
}
