/*
Theme Name: Vanessa Sticky Notes
Author: Vanessa
Description: A pink scrapbook theme where every post is a sticky note.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sticky-notes
*/
:root{--bg:#ffd9e8;--dot:#f4a9c8;--ink:#3b2433;--deep:#c2185b;--pink:#ff7eb6;--tape:rgba(255,126,182,.55);--shadow:rgba(80,20,50,.25);--n1:#fff3a8;--n2:#ffc9de;--n3:#c8f2dc;--n4:#e0d4ff}
@media (prefers-color-scheme:dark){:root{--bg:#2b1624;--dot:#44283a;--ink:#fbe6f0;--deep:#ffb3d6;--pink:#ff8fc2;--tape:rgba(255,143,194,.45);--shadow:rgba(0,0,0,.5);--n1:#6b5a2a;--n2:#6b3450;--n3:#2f5a47;--n4:#47386b}}
*{box-sizing:border-box}
body{margin:0;padding:env(safe-area-inset-top,0) 0 env(safe-area-inset-bottom,0);background:var(--bg);background-image:radial-gradient(var(--dot) 1.5px,transparent 1.5px);background-size:22px 22px;color:var(--ink);font-family:"Patrick Hand","Comic Sans MS",cursive,sans-serif;font-size:19px;line-height:1.5}
a{color:var(--deep)}
h1,h2,h3,.date,.more,.site-footer{font-family:"Caveat","Comic Sans MS",cursive}
.wrap{max-width:1000px;margin:0 auto;padding:10px 18px 60px}
.site-header{max-width:1000px;margin:0 auto;padding:28px 18px 10px;text-align:center;position:relative}
.site-title{margin:0;font-size:clamp(48px,9vw,88px);line-height:1.1;transform:rotate(-2deg);display:inline-block;text-shadow:3px 3px 0 var(--n1),6px 6px 0 var(--pink)}
.site-title a{color:var(--deep);text-decoration:none}
.site-desc{margin:6px 0 0;font-size:20px}
.homenote{position:absolute;left:18px;top:22px;display:inline-block;background:var(--n1);color:var(--ink);text-decoration:none;font-family:"Caveat",cursive;font-size:30px;font-weight:700;padding:14px 20px 8px;box-shadow:3px 5px 0 var(--shadow);transform:rotate(-5deg);transition:transform .15s}
.homenote::before,.note::before{content:"";position:absolute;top:-10px;left:50%;width:56px;height:18px;margin-left:-28px;background:var(--tape);transform:rotate(3deg)}
.homenote:hover{transform:rotate(2deg) scale(1.08)}
@media(max-width:700px){.homenote{position:relative;left:auto;top:auto;margin-bottom:22px}}
.notes{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:40px 28px;align-items:start;margin-top:30px}
.note{position:relative;background:var(--n1);padding:24px 22px 18px;box-shadow:4px 6px 0 var(--shadow);transition:transform .2s}
.notes>.note:nth-child(4n+1){background:var(--n1);transform:rotate(-2.5deg)}
.notes>.note:nth-child(4n+2){background:var(--n2);transform:rotate(2deg)}
.notes>.note:nth-child(4n+3){background:var(--n3);transform:rotate(-1.5deg)}
.notes>.note:nth-child(4n+4){background:var(--n4);transform:rotate(3deg)}
.notes>.note:hover{transform:rotate(0) scale(1.04);z-index:3}
.note.heading{max-width:600px;margin:30px auto 0;background:var(--n2);transform:rotate(-1deg)}
.note h2,.note h1{margin:0 0 6px;color:var(--deep);line-height:1.1}
.note h2{font-size:34px}
.note h2 a{text-decoration:none;color:var(--deep)}
.date{font-size:24px;font-weight:700;opacity:.85}
.more{font-size:26px;font-weight:700}
.note.single{max-width:780px;margin:44px auto 0;transform:rotate(-.6deg)}
.note.single.page{background:var(--n2);transform:rotate(.6deg)}
.note.single h1{font-size:clamp(38px,6vw,56px)}
.entry-content{margin-top:12px}
.entry-content p{margin:0 0 1em}
.entry-content img,.entry-content video,.entry-content iframe{max-width:100%;height:auto;box-shadow:3px 4px 0 var(--shadow)}
.entry-content blockquote{margin:1em 0;padding:8px 18px;border-left:4px solid var(--pink);background:rgba(255,255,255,.35)}
@media (prefers-color-scheme:dark){.entry-content blockquote{background:rgba(0,0,0,.2)}}
.entry-content pre,.entry-content code{font-family:monospace;font-size:15px;background:rgba(0,0,0,.08);padding:2px 5px}
.entry-content pre{padding:10px;overflow-x:auto}
.alignleft{float:left;margin:0 16px 8px 0}.alignright{float:right;margin:0 0 8px 16px}.aligncenter{display:block;margin:0 auto 1em}
.wp-caption{max-width:100%}.wp-caption-text,figcaption{font-size:16px;opacity:.85}
.meta{margin-top:16px;font-size:17px;opacity:.9}
.postnav{max-width:780px;margin:34px auto 0;display:flex;justify-content:space-between;gap:16px;font-family:"Caveat",cursive;font-size:26px}
.postnav a,.nav-links a,.nav-links .current{display:inline-block;background:var(--n3);color:var(--ink);text-decoration:none;padding:6px 16px;box-shadow:2px 4px 0 var(--shadow);transform:rotate(-2deg)}
.postnav span:last-child a{background:var(--n4);transform:rotate(2deg)}
.nav-links{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:44px;font-family:"Caveat",cursive;font-size:26px}
.nav-links .current{background:var(--n1)}
.screen-reader-text{position:absolute;left:-9999px}
.site-footer{text-align:center;font-size:30px;color:var(--deep);padding-bottom:40px}
