/* sillycorplabs logo colors */
:root {
    --bg: #151923;          /* big site background color !!! */
    --bg-nav: #0e1118;
    --text: #eef0f5;
    --text-soft: #9aa3b5;
    --yellow: #f5cd0c;
    --pink: #f20658;
    --green: #0e9061;
    --blue: #0e8deb;
}

body {
    background:
        var(--bg);
    color: var(--text);
    font-family: Comic Sans MS, Comic Sans, cursive;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}
/*topbar */
nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-nav);
}

/* striped line under the bar so it looks ok */
nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
    background: linear-gradient(90deg,
        var(--yellow) 0 25%,
        var(--pink) 25% 50%,
        var(--blue) 50% 75%,
        var(--green) 75% 100%);
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 48px;
    width: auto;
    display: block;
    /* outline on logo so you can read it  */
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul a {
    display: block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 1.1rem;
    color: var(--text);
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

nav ul a.current {
    background: rgba(255, 255, 255, 0.08);
}

nav ul li:nth-child(4n+1) a:hover { background: var(--blue); }
nav ul li:nth-child(4n+2) a:hover { background: var(--green); }
nav ul li:nth-child(4n+3) a:hover { background: var(--pink); }
nav ul li:nth-child(4n+4) a:hover { background: var(--yellow); color: #111; }

nav ul a:hover {
    transform: scale(1.08);
}


/* site conntent */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

header {
    font-size: clamp(1.75rem, 5vw, 4rem);
}

p { font-size: clamp(1rem, 3vw, 2rem); }

main p:first-of-type { color: var(--text-soft); }

a { color: var(--yellow); text-decoration: none; }

main a:hover { text-decoration: underline wavy var(--pink); }

/*left pages*/

main.page {
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 2rem 1.25rem;
}

main.page header {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/*middle screen pages ( think im gonna forget)*/

.hero { text-align: center; padding: 2rem 0; }
.hero h1 { font-size: clamp(2rem, 6vw, 4rem); margin: 0 0 0.5rem; }

.button {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: var(--yellow);
    color: #111;
    font-size: 1.2rem;
    transition: transform 0.15s, background 0.15s;
}
.button:hover { background: var(--pink); color: var(--text); transform: translateY(-2px); }

.block { margin: 2rem 0; }
.block h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0 0 0.5rem; }
.block p { font-size: clamp(1rem, 2.5vw, 1.25rem); }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.card {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--bg-nav);
    border-top: 4px solid var(--blue);
    border-radius: 10px;
    color: var(--text);
    transition: transform 0s;
}

.card:nth-child(4n+2) { border-top-color: var(--green); }
.card:nth-child(4n+3) { border-top-color: var(--pink); }
.card:nth-child(4n+4) { border-top-color: var(--yellow); }
.card:hover { transform: translateY(-4px); }
.card h3 { margin: 0 0 0.25rem; }
.card p { margin: 0; font-size: 1rem; color: var(--text-soft); }

.links { padding-left: 1.25rem; font-size: clamp(1rem, 2.5vw, 1.25rem); line-height: 1.8; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.split img { max-width: 260px; width: 100%; height: auto; border-radius: 10px; }
.split > div { flex: 1; min-width: 240px; }

.notice {
    padding: 0.75rem 1rem;
    background: rgba(245, 205, 12, 0.12);
    border-left: 4px solid var(--yellow);
    border-radius: 6px;
}



/*i love you cute baby wiggler*/

img.wiggler {
    max-width: 400px;
    width: 100%;
    height: auto;
}










/*panel page */
form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

input, textarea, form button {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.55rem 0.8rem;
    color: var(--text);
    background: var(--bg-nav);
    border: 1px solid #2a3040;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}

input::placeholder, textarea::placeholder { color: var(--text-soft); opacity: 0.6; }

input:focus, textarea:focus { border-color: var(--text-soft); }

form button {
    cursor: pointer;
    background: #080a0f;
}

form button:hover { background: #1b2130; border-color: var(--text-soft); }
form button:disabled { opacity: 0.5; cursor: default; }

/* make the hidden attribute always win, even over rules like main { display: flex } */
[hidden] { display: none !important; }
