:root[data-theme="light"] {
    --border: #4932c9;
    --window-background: #f9eff9;
    --background-image: url("https://uraincandy.neocities.org/images/uf0x54.webp");
    --button-image: url("https://raincandy.lol/images/button.png");
    --outer-color: #94f1e1;
    --title: #edd0ee;
    --inactive: #e2e2e2;
    --text: #4932c9;
    --button-normal: url("https://raincandy.lol/a/button%20(1).png");
    --button-hovered: url("https://raincandy.lol/a/button_hovered.png");
    --button-pressed: url("https://raincandy.lol/a/button_pressed.png");
    --button-disabled: url("https://raincandy.lol/a/button_disabled.png");
    --window-button: url("https://raincandy.lol/a/window_buttons2.png");
    --bio: url("https://raincandy.lol/a/bio.png");
    --pfp: url("assets_needed/kangel_pfp.png");
    --inactive-text: #5d555f;
}

:root[data-theme="dark"] {
    --border: #343135;
    --window-background: #605876;
    --background-image: url("https://internetidol.neocities.org/other%20shit/Untitled149_20250427202555.png");
    --button-image: url("https://raincandy.lol/images/homework/exe/Untitled48_20250910165339.png");
    --outer-color: #959ac6;
    --title: #802426;
    --inactive: #6b6e8a;
    --text: white;
    --button-normal: url("https://raincandy.lol/a/wehbx6.png");
    --button-hovered: url("https://raincandy.lol/a/Untitled49_20250910173149.png");
    --button-pressed: url("https://raincandy.lol/a/pressed.png");
    --button-disabled: url("https://raincandy.lol/a/button_disabled.png");
    --window-button: url("https://raincandy.lol/a/Untitled50_20250910172303.png");
    --bio: url("https://raincandy.lol/a/Untitled51_20250910172511.png");
    --pfp: url("assets_needed/ame_pfp.png");
    --inactive-text: #c3b6c7;
}

.squared {
    background-color: var(--border);
    width: 17px;
    height: 16px;
    margin-right: 5px;
    margin-left: 2px;
}

#ferbing {
    position: absolute;
    width: 230px;
    height: 190px;
    z-index: 10;
    margin-top: -170px;
    margin-left: 130px;
    background: center center / cover no-repeat
        url("	https://internetidol.neocities.org/images/BROCK.webp");
}

.stamps marquee span {
    font-style: italic;
    color: white;
    filter: drop-shadow(1px 1px 0 rgb(122, 122, 122))
        drop-shadow(-1px 1px 0 rgb(122, 122, 122))
        drop-shadow(0 -1px 0 rgb(122, 122, 122))
        drop-shadow(1px 0 rgb(122, 122, 122));
}

@font-face {
    font-family: "CustomFont";
    src: url("https://file.garden/ZtuMn9OuizV8RAz5/fonts/PixelMplus10-Regular.ttf")
        format("truetype");
}

body {
    font-family: "CustomFont", Arial, Helvetica, sans-serif;
    margin: 0;
    margin-top: 10px;
    color: var(--text);
    background-image: var(--background-image);
}

* {
    box-sizing: border-box;
}

img {
    margin: 0;
}

#container {
    max-width: 1850px;
    margin: 0 auto;
}

#container a {
    color: var(--text);
    font-weight: bold;
}

a:hover {
    cursor: url("https://chairfiles.vercel.app/cursor.png"), auto;
}
* {
    cursor: url("https://chairfiles.vercel.app/cursor.png"), auto;
}

#header {
    width: 100%;
    background-color: var(--border);
    background-size: contain;
    background-image: var(--header-image);
    background-position: center;
    height: 225px;
    width: 700px;
}

#header img {
    height: 225px;
    width: 700px;
}

#navbar {
    height: 40px;
    background-color: var(--window-background);
    width: 100%;
    border-top: solid;
    border-color: var(--border);
    border-width: 2px;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

#navbar li a {
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #a49cba;
    text-decoration: underline;
}

#content {
    flex: 1;
    order: 2;
    margin-right: 0px;
    width: 100%;
    border: solid;
    border-color: var(--border);
    border-width: 2px;
    background-color: var(--inactive);
    padding: 3px;
    padding-bottom: 0;
    font-size: smaller;
    display: flex;
    flex-direction: column;
}
#content:hover {
    background-color: var(--outer-color);
}

#leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

footer {
    background-color: var(--inactive);
    width: 100%;
    padding: 3px;
    padding-bottom: 0;
    border: solid;
    border-color: var(--border);
    border-width: 2px;
    margin-top: 10px;
    margin-bottom: 10px;
}

footer:hover {
    background-color: var(--outer-color);
}

h1,
h2,
h3 {
    color: var(--text);
}

h1 {
    font-size: 25px;
}

strong {
    color: var(--text);
}

.box {
    background-color: transparent;
    padding: 10px;
    margin: 0;
}

.rectangle {
    width: 35px;
    height: 8px;
    background: var(--title);
    margin-top: 4px;
    margin-bottom: 0px;
    border: solid;
    border-bottom: none;
    border-color: var(--border);
    border-width: 2px;
}

.square {
    width: 6px;
    height: 6px;
    margin-top: 4px;
    margin-bottom: 0px;
    margin-left: 1px;
    border: solid;
    border-color: var(--border);
    border-width: 2px;
}

#bottombottoms {
    display: flex;
}
#toppart {
    background-color: var(--inactive);
    border: solid;
    border-color: var(--border);
    margin-bottom: 10px;
    border-width: 2px;
    margin-right: 10px;
    padding: 3px;
    padding-top: 1px;
    padding-bottom: 0px;
    width: 80%;
    height: 100%;
}

#toppart:hover {
    background-color: var(--outer-color);
}

#topBar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 30px;
    padding-top: 0;
    padding-bottom: 0;
    color: var(--text);
    border-bottom: solid;
    border-color: var(--border);
    border-width: 2px;
    border-bottom: none;
}

#internaltopBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 26px;
    padding-left: 1px;
    font-weight: bold;
    font-size: 13px;
    color: var(--border);
    background-color: var(--inactive);
    border: solid;
    border-color: var(--border);
    border-width: 2px;
}

.hoverable:hover {
    background: var(--outer-color);
}

.hoverable:hover #internaltopBar {
    background: var(--title);
}

#amegif {
    height: 225px;
    width: 348px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

#leftContent {
    display: flex;
    align-items: center;
}

#internaltopBar p {
    margin: 0;
}

#internaltopBar img {
    padding-right: 4px;
}

#internaltopBar #button {
    justify-content: flex-end;
}

#leftButtons {
    display: flex;
    align-items: center;
    background-image: var(--window-button);
    width: 70px;
    height: 23px;
}

#internalheaderArea {
    font-weight: bold;
    font-size: medium;
    color: var(--text);
    background-color: var(--window-background);
    border: solid;
    border-color: var(--border);
    border-width: 2px;
    margin-top: 1px;
    padding: 5px;
}

#leftSidebar {
    margin-right: 10px;
    width: 100%;
    border: solid;
    border-color: var(--border);
    border-width: 2px;
    background-color: var(--inactive);
    padding: 3px;
    padding-bottom: 0px;
    font-size: smaller;
}

#leftSidebar:hover {
    background-color: var(--outer-color);
}

.side-by-side {
    display: flex;
    align-items: center;
}

.side-by-side h3 {
    margin: 0;
    margin-left: -15px;
    margin-top: -15px;
    margin-bottom: 5px;
}

.side-by-side img {
    width: 100px;
    height: 100px;
    margin: 0;
    margin-right: 20px;
    border: solid;
    border-color: var(--border);
    border-radius: 100%;
    border-width: 0px;
}

#leftSidebarTopBar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 30px;
    color: var(--text);
    background-color: var(--inactive);
    border-bottom: solid;
    border-color: var(--border);
    border-width: 2px;
}

#bottomBarMargin {
    padding: 20px;
    border: solid;
    background-color: var(--window-background);
    border-color: var(--border);
    border-width: 2px;
    margin-top: 3px;
    flex-grow: 1;
}

button {
    color: var(--text);
    image-rendering: pixelated;
    font-size: inherit;
    font-family: inherit;
    text-align: center;
    border: 4px solid transparent;
    border-image: var(--button-normal) 4 fill repeat;
    font-size: 15px;
}

button:hover {
    cursor: url("/click.png"), auto;
    border-image: var(--button-hovered) 4 fill repeat;
}

button:active {
    border-image: var(--button-pressed) 4 fill repeat;
}

button:disabled {
    border-image: var(--button_disabled) 4 fill repeat;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 150px);
    grid-gap: 10px;
    justify-content: center;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
}

.grid-link {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.15rem;
}

.grid-text {
    font-size: 0.9rem;
}

@media (max-width: 500px) {
    .grid-container {
        grid-template-columns: repeat(1, 150px);
        grid-gap: 10px;
    }
}

@media (min-width: 501px) and (max-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(2, 150px);
    }
}

@media only screen and (max-width: 1000px) {
    #flex {
        flex-wrap: wrap;
    }

    #toppart {
        width: 100%;
    }

    #top {
        order: 2;
    }

    #leftSidebar {
        order: 1;
    }

    #content {
        order: 2;
    }

    #navbar ul {
        flex-wrap: wrap;
    }

    #flex {
        flex-direction: column;
    }

    #bannerimage {
        height: 115px;
        width: auto;
        margin: 0;
        padding: 0;
        vertical-align: middle;
    }

    #amegif {
        height: 115px;
        width: auto;
        margin: 0;
        padding: 0;
        vertical-align: middle;
    }

    .top {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .quote {
        text-align: left;
        max-width: 100%;
    }

    .flex-area {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
}

.divider {
    height: 180px;
    width: 80%;
    margin: 10px auto;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
}

.webdeck-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 4px;
    padding: 0;
}

.webdeck-wrapper #toppart.hoverable {
    width: 100%;
    max-width: 100%;
    height: 318px;
    margin: 0;
}

.under-webdeck {
    width: 100%;
    margin: 0;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 10px;
    border-width: 2px;
    margin-right: 10px;
    padding: 3px;
    padding-top: 1px;
    padding-bottom: 0px;
}

.flex-area {
    display: flex;
    padding: 25px;
}

.header-text {
    margin-top: -5px;
    font-size: 1.3rem;
    text-align: left;
}

.pfp {
    width: 100px;
    height: 100px;
    margin: 0;
    margin-right: 20px;
    border: solid var(--border) 0px;
    border-radius: 100%;
    background-image: var(--pfp);
    background-size: cover;
}

.profile .small-text {
    font-size: 0.8rem;
    margin-top: -13px;
    font-weight: 300;
    text-align: left;
}

.header-text .small-text {
    text-align: left;
    margin-left: 0;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    height: auto;
    gap: 20px;
    flex-wrap: wrap;
}

.info {
    flex-shrink: 0;
}

.flex-area {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

.pfp {
    width: 130px;
    height: 130px;
    border-radius: 100%;
    background-image: var(--pfp);
    background-size: cover;
    flex-shrink: 0; /* prevents squishing on small screens */
}

/* name + handle + quote row */
.top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

/* name + @handle stack */
.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* quote beside top */
.quote {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--inactive-text);
    max-width: 250px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: right;
}

/* main text*/
.main-text {
    width: 100%;
    max-width: 540px;
    max-height: 100%;
    overflow: auto;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
    margin: 0;
}

/* responsive stacking */
@media (max-width: 800px) {
    .flex-area {
        flex-direction: column;
        align-items: flex-start;
    }
    .top {
        flex-direction: column;
        align-items: flex-start;
    }
    .quote {
        position: absolute;
        margin-top: -120px;
        margin-left: 260px;
        text-align: right;
        max-width: 50%;
    }

    .main-text {
        max-height: 80px;
    }
}

#art-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.art-card {
    background: var(--window-background);
    overflow: hidden;
    width: 300px;
    text-align: center;
}

.art-card img {
    width: 100%;
    height: auto;
}

.art-card h2 {
    margin: 10px 0 5px;
}

.art-card p {
    color: var(--inactive-text);
    margin-bottom: 10px;
}

#flex {
    display: flex;
    gap: 20px; /* space between left and right columns */
    align-items: flex-start; /* aligns top edges */
}

.left-column {
    display: flex;
    flex-direction: column; /* stack sidebar + main content vertically */
    flex: 1; /* take remaining space */
    gap: 10px; /* space between left-side windows */
}

.right-column {
    display: flex;
    flex-direction: column; /* stack shrines + new window vertically */
    width: 40%; /* fixed width for right column */
    gap: 10px; /* space between right-side windows */
}

.main-wrapper {
    width: 50%;
}

.scrollbox {
    height: 100px;
    overflow-y: auto;
}

.left-column-wrap {
    display: flex;
    flex-direction: column; /* stack shrines + new window vertically */
    width: 30%; /* fixed width for right column */
    gap: 10px; /* space between right-side windows */
}

#small {
      font-size: 0.9rem;
    font-style: italic;
    color: var(--inactive-text);
}
