/* -------------------------------------
FONTS
------------------------------------- */

@import url(https://fonts.bunny.net/css?family=klee+one:400);

@font-face {
font-family: 'SchoolSafetyManitto';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2511-1@1.0/HakgyoansimManitoR.woff2') format('woff2');
font-weight: normal;
font-display: swap;
}

/* -------------------------------------
BODY
------------------------------------- */

*,
*::before,
*::after {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
margin: 0;
padding-top: 200px;
line-height: 1.5;
background: linear-gradient(#ffffff, #a9d1e4);
font-family: "Klee One", sans-serif;
font-size: 10pt;
cursor: url("https://dollheart.org/images/normal-select.gif"), auto;
}

::selection {
background: #cfeaf8;
color: #000;
}

::-webkit-scrollbar {
width: 6px;
height: 6px;
background: #f4f9fc;
}

::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, #f4a6c1, #b3d6e6);
border-radius: 10px;
border: 1px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, #f08fb2, #9fc9dd);
}

/* -------------------------------------
ACCENTS & LINKS
------------------------------------- */

h1 {
background: linear-gradient(to right, #eaf6fc, #ffffff, #eaf6fc);
font-family: "SchoolSafetyManitto", serif;
color: #6a7680;
text-align: center;
padding: 8px;
border-top: 1px solid #cfe2ed;
border-bottom: 1px solid #cfe2ed;
font-size: 20pt;
text-transform: lowercase;
letter-spacing: 1px;
}

h6, h5, h4, h3, h2, h1 {
margin-top: 0;
margin-bottom: 0.5rem;
scroll-margin-top: 200px;
font-weight: 500;
line-height: 1.2;
}

p {
margin-top: 0;
margin-bottom: 1rem;
}

b, strong {
background: linear-gradient(to right, #f4a6c1 0%, #b3d6e6 100%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
text-shadow: none;
filter: drop-shadow(0 1px 1px rgba(255,255,255,.9));
}

i, em {
color: #7d9fb8;
font-style: italic;
text-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
}

u {
text-decoration: underline wavy #f4a6c1;
text-underline-offset: 3px;
}

a {
color: #777;
text-decoration: none;
border-bottom: 1px dotted #f4a6c1;
transition: all 0.2s ease;
}

a,
button {
cursor: url("https://dollheart.org/images/link-select.gif"), pointer;
}

a:hover {
color: #fff;
background: #f5a3c1;
padding: 2px 6px;
border-radius: 8px;
}

a > *,
a:hover > * {
color: inherit;
}

/* -------------------------------------
BEFORE
------------------------------------- */

.section-title {
display: flex;
align-items: center;
gap: 8px;
font-family: "SchoolSafetyManitto", serif;
color: #6b8397;
font-size: 15pt;
margin-top: 1.5rem;
}

.section-title::before {
content: "";
width: 24px;
height: 24px;
background: url("https://dollheart.org/images/badges/angel72.png") center/contain no-repeat;
flex-shrink: 0;
}

.section-title::after {
content: "";
flex: 1;
height: 1px;
background: #cfe2ed;
margin-left: 8px;
}

/* -------------------------------------
MEDIA
------------------------------------- */

img {
display: block;
}

img,
video {
max-width: 100%;
height: auto;
}

ul,
ol {
padding-left: 1.25rem;
}

blockquote {
background: #f9f9f9;
color: #000;
border-left: 10px solid #ccc;
margin: 1rem 10px;
padding: 0.5rem 10px;
}

/* -------------------------------------
CONTENT
------------------------------------- */

.container {
margin: 0 auto;
max-width: 1200px;
display: flex;
flex-wrap: wrap;
gap: 0px;
}

.content {
background: #fff;
color: #000;
height: auto;
min-height: 400px;
overflow: visible;
padding: 15px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
flex: 1;
order: 2;
position: relative;
z-index: 1;
}

/* -------------------------------------
FOOTER
------------------------------------- */

.footer {
background: none;
color: #4a4a4a;
text-shadow:
-1px -1px 0 #fff,
1px -1px 0 #fff,
-1px 1px 0 #fff,
1px 1px 0 #fff;
padding: 15px;
text-align: center;
width: 100%;
order: 3;
}

.footer a {
color: #4a4a4a;
text-decoration: none;
}

.footer a:hover {
color: #fff;
}

/* -------------------------------------
NAVIGATION & KEYCHAIN
------------------------------------- */

.nav-panel {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: linear-gradient(to bottom, #ffffff, #fdeef5);
border-bottom: 1px solid #d6e7f1;
z-index: 1000;
}

.nav-panel img {
margin: 0;
width: 180px;
flex-shrink: 0;
border-radius: 8px;
}

.nav-inner {
margin: 0 auto;  
padding: 12px 20px;
max-width: 1200px; 
display: flex;
align-items: center;
gap: 25px;
}

.nav-title {
font-family: "SchoolSafetyManitto", serif;
font-size: 20pt;
color: #6b8397;
text-transform: lowercase;
letter-spacing: 1px;
margin: -10px 0 10px;
text-shadow:
-1px -1px 0 #ffffff,
1px -1px 0 #ffffff,
-1px 1px 0 #ffffff,
1px 1px 0 #ffffff;
}

.nav-links {
flex: 1;
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.nav-links a {
display: block;
padding: 8px 14px;
background: linear-gradient(to bottom, #ffffff, #eef7fc);
border: 1px solid #d6e7f1;
border-radius: 20px;
font-size: 15pt;
color: #6b8397;
text-transform: lowercase;
}

.nav-links a:hover {
animation: wiggle .6s ease;
}

/* -------------------------------------
NAVIGATION FRAMES
------------------------------------- */

@keyframes wiggle {
0%,100% { transform: rotate(0deg); }
25% { transform: rotate(-2deg); }
75% { transform: rotate(2deg); }
}

/* -------------------------------------
COMMUNITIES TABLE
------------------------------------- */

.community-table {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 10px;
text-align: center; 
max-width: 900px;
margin: 0 auto;
}

.community-table a {
text-decoration: none;
border-bottom: none;
}

/* -------------------------------------
MOOD THEME TABLE
------------------------------------- */

.mood-table {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0px;
}

.mood-theme {
margin: 25px 0;
padding: 12px;
border: none;
background: #fff;
}

.mood-name {
margin: 0 0 12px 0;
font-size: 14pt;
color: #6b8397;
text-align: center;
font-family: 'SchoolSafetyManitto', sans-serif;
}

.mood-images {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
justify-items: center;
margin-bottom: 10px;
}

.mood-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
min-height: 80px;
}

.mood-item img {
width: 50px;
height: 50px;
object-fit: contain;
transition: transform 0.15s ease;
}

.mood-item img:hover {
transform: scale(1.08);
}

.mood-item span {
font-size: 8pt;
text-transform: lowercase;
color: #6b8397;
}

.mood-links {
text-align: center;
font-size: 10pt;
color: #888;
}

.mood-links a {
color: #6b8397;
text-decoration: none;
transition: all 0.2s ease;
}

.mood-links a:hover {
color: #fff;
background: #f5a3c1;
padding: 2px 6px;
border-radius: 8px;
}

/* -------------------------------------
88x31 BUTTONS
------------------------------------- */

.button-display {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin: 15px 0;
}

.button-display img {
width: 88px;
height: 31px;
image-rendering: pixelated;
border: none;
cursor: pointer;
transition: transform .15s ease;
}

.button-display img:hover {
transform: scale(1.08);
}

.button-name {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
}

.button-name span {
font-size: 8pt;
color: #6b8397;
text-align: center;
text-transform: lowercase;
line-height: 1.2;
font-family: 'Klee One', sans-serif;
}

/* -------------------------------------
LIGHTBOX
------------------------------------- */

.lightbox {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,.8);
z-index: 9999;
align-items: center;
justify-content: center;
padding: 20px;
}

.lightbox.active {
display: flex;
}

.lightbox-content {
position: relative;
background: #ffffff;
padding: 12px;
border-radius: 12px;
max-width: 90vw;
max-height: 90vh;
box-shadow: 0 0 30px rgba(0,0,0,.4);
}

.lightbox img {
max-width: 100%;
max-height: 80vh;
image-rendering: pixelated;
}

.lightbox-close {
display: none !important;
}

/* -------------------------------------
BULLET STYLING
------------------------------------- */

.heart-list {
list-style: none;
padding: 0;
margin: 0 0 20px 0;
}

.heart-list li {
position: relative;
padding-left: 22px;
margin-bottom: 8px;
line-height: 18px;
}

.heart-list li::before {
content: "";
position: absolute;
left: 0;
top: 2px;
width: 16px;
height: 16px;
background-image: url("https://dollheart.org/images/badges/diamond18.png");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}

/* -------------------------------------
LIST TABLE
------------------------------------- */

.list-table {
font-size: 10pt;
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}

.list-table td {
width: 25%;
vertical-align: top;
padding: 10px 20px;
}

/* -------------------------------------
RESPONSIVE MEDIA
------------------------------------- */

@media (max-width: 900px) {

body {
padding-top: 280px;
}

h6, h5, h4, h3, h2, h1 {
scroll-margin-top: 280px;
}

.nav-inner {
flex-direction: column;
align-items: center;
text-align: center;
gap: 15px;
}

.nav-panel img {
width: 150px;
}

.nav-links {
justify-content: center;
width: 100%;
gap: 8px;
}

.nav-links a {
font-size: 14pt;
padding: 8px 12px;
}

.mood-table {
grid-template-columns: 1fr;
}

.list-table,
.list-table tbody,
.list-table tr,
.list-table td {
display: block;
width: 100%;
}

.list-table td {
padding: 0 0 18px;
}

h1 {
font-size: 16pt;
}

.section-title {
font-size: 13pt;
}
}

@media (max-width: 600px) {

body {
padding-top: 340px;
}

h6, h5, h4, h3, h2, h1 {
scroll-margin-top: 340px;
}

.nav-panel img {
width: 120px;
}

.nav-title {
font-size: 16pt;
margin: 0;
}

.nav-links {
gap: 6px;
}

.nav-links a {
width: calc(50% - 6px);
text-align: center;
font-size: 11pt;
padding: 8px;
}

.community-table {
grid-template-columns: repeat(2, 1fr);
}

.button-display {
gap: 12px;
}

.section-title {
font-size: 11pt;
}

h1 {
font-size: 14pt;
}
}