/* ============================================================
   TETRAPAWS — NEUTRAL PAWS THEME (CLEAN REWRITE)
   Palette: soft cream, muted mauve, warm rose, brown-grey text
   ============================================================ */

:root {
    --bg-main:    #F9E7E4;  /* main background (pink‑beige) */
    --bg-secondary:#F7CEDD; /* light pink panels */
    --bg-accent:  #F3A9C4;  /* stronger pink accents */
    --bg-strong:  #D28BB0;  /* mauve header / bars */
    --bg-button:  #F2B6A4;  /* soft coral buttons */
    --border-main:#B78A7C;  /* warm brown border */
    --text-main:  #5A4A4F;  /* dark brown‑grey text */
    --text-light: #FFFFFF;
}

/* ============================================================
   GLOBAL
   ============================================================ */

body {
    background-color: var(--bg-main);
    background-image: none;
    font-family: "Cause", cursive;
    margin: 0;
    color: var(--text-main);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--text-main);
    text-decoration: none;
}

::selection {
    background: var(--bg-accent);
    color: var(--text-light);
}

/* ============================================================
   WRAPPERS
   ============================================================ */

.content-wrapper {
    border: 3px double var(--border-main);
    margin: auto;
    width: 960px;
    padding: 3px;
    background: var(--bg-main);
}

#flex {
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    gap: 20px;
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
    max-width: 100%;
    margin: 3px auto;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    background: var(--bg-strong);
    border: 3px double var(--border-main);
    color: var(--text-light);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
    height: 40px;
    background-color: var(--bg-accent);
    border-radius: 10px;
    width: 100%;
}

.navbar ul {
    display: flex;
    padding: 5px;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

.navbar ul a {
    color: var(--text-light);
    font-weight: 800;
    font-size: 16px;
}

.navbar ul a:hover {
    background-color: var(--bg-button);
    color: var(--text-main);
}

/* Dropdown (desktop) */

.navlist {
    display: flex;
    justify-content: space-evenly;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.dropbtn {
    padding: 6px 30px;
    font-size: 18px;
    border: none;
    color: var(--text-light);
    background: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    min-width: 100%;
    z-index: 1000;
    height: 0;
    top: 160%;
    left: 0;
    overflow-y: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
}

.dropdown-content a {
    background-color: var(--bg-accent);
    color: var(--text-main);
    padding: 6px 18px;
    font-size: 18px;
}

.dropdown:hover .dropdown-content {
    height: 200%;
}

/* ============================================================
   COLUMNS
   ============================================================ */

.sidebar-left {
    width: 20%;
    min-width: 180px;
}

.main {
    width: 60%;
    flex-grow: 1;
}

.sidebar-right {
    width: 20%;
    min-width: 180px;
}

/* ============================================================
   BOXES
   ============================================================ */

.box {
    border: 3px double var(--border-main);
    background: var(--bg-secondary);
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
    text-align: center;
}

.box2, .box3 {
    border: 3px double var(--border-main);
    background: var(--bg-accent);
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
}

.box4 {
    border: 3px double var(--border-main);
    background: var(--bg-secondary);
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
}

.box5 {
    border: 3px double var(--border-main);
    background: var(--bg-button);
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
}

/* ============================================================
   TITLE BARS (neutralised)
   ============================================================ */

.titlebarleaf,
.titlebarpond,
.titlebarflower,
.titlebarcicada,
.titlebarmushroom,
.titlebarwanderer {
    background-color: var(--bg-accent);
    border-radius: 10px;
    height: 60px;
    max-width: 250px;
    margin: 0 auto;
    position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    border: 3px double var(--border-main);
    padding: 20px;
    text-align: center;
    background: var(--bg-strong);
    margin-top: 40px;
    border-radius: 10px;
    color: var(--text-light);
}

/* ============================================================
   MOBILE
   ============================================================ */

.hidden-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width: 800px) {

    .hidden-mobile {
        display: none !important;
    }

    .show-mobile {
        display: flex;
        max-width: 90%;
        margin: auto;
    }

    #flex,
    .main-wrapper {
        flex-direction: column;
    }

    .sidebar-left,
    .sidebar-right,
    .main {
        width: 100%;
        min-width: unset;
    }

    .row, .column {
        display: block;
    }

    .titlebarleaf,
    .titlebarpond,
    .titlebarflower,
    .titlebarcicada,
    .titlebarmushroom,
    .titlebarwanderer {
        display: none;
    }
}
