body {
    margin: auto;
    padding: 0;
    background-color: hotpink;
    background-image: url("https://brain.melonking.net/texture-of-day");
    /*background-image: url("https://files.catbox.moe/u3wij0.JPG");*/
    font-family: Pixel Basiic;
    color: white;
    text-shadow:
        0px 1px 1px black,
        0px -1px 1px black,
        -1px 0px 1px black,
        1px 0px 1px black;
}
::selection {
    background-color: purple;
}

/*everything except the footer inside*/
#container {
    display: grid;
    grid-template-columns: 0.5fr 2fr 0.5fr;
    position: relative;
}

/*the two side colums*/
aside {
    display: flex;
    flex-direction: column;
    padding-top: 8em;
}

hr {
    border: dotted 1px;
}

a {
    color: yellow;
}

a:not(.everywhere-link):visited {
    color: yellow;
}

h1 {
    text-align: center;
    font-size: 3em;
    color: pink;
    margin: 0.2em 0;
}

p {
    line-height: 1;
    font-size: 1.1em;
}

button {
    background: linear-gradient(
        #edc7ff 0%,
        #f9e5ff 35%,
        #bb9ef0 34%,
        #edc7ff 100%
    );
}

button:hover {
    background: linear-gradient(
        #f9e5ff 0%,
        #fff 35%,
        #edc7ff 34%,
        #f9e5ff 100%
    );
}
button:active {
    background: #bb9ef0;
}

/*header and main stuff inside*/
#content {
}

/*title and nav buttons inside*/
header {
    background:
        radial-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
        url("https://textures.neocities.org/textures/abstract-brown-and-grey/010C.jpg");
    border: 5px double yellow;
    outline: 8px dashed white;
    transform: rotate(3deg);
    border-radius: 200px;
    filter: drop-shadow(0px 0px 60px yellow);
}

header,
#content,
footer {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

header,
.tab {
    color: white;
    background-size: 300px 300px;
    padding: 1vw;
}

header h1 img {
    width: 64px;

    image-rendering: pixelated;
}
/**************  stuff relating to the tab-based navigation *****/

/* the container that appears when you click the nav buttons*/
div.tab {
    margin-top: 50px;
    border: 10px double hotpink;
    outline: 15px dotted yellow;
    display: none;
    position: relative;
    background:
        radial-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
        url("https://textures.neocities.org/textures/humans-and-technology/017C.png");
    overflow: hidden;
    filter: drop-shadow(0px 0px 30px #680177);
}

/* only the bulletin board one*/
#bulletin {
    padding: 0;
}

input[name="tab"] {
    display: none;
}
input:checked + div.tab {
    display: block;
}
nav {
    display: flex;
    justify-content: center;
    font-size: 1.5em;
}

/*the nav buttons (intro, sitemap, etc.)*/
nav label {
    cursor: pointer;
    padding: 0 0.5ch;
    margin: 0 0.5ch;
    border: 4px outset black;
    font-family: "pixel romance";
    background: black;
}
nav label:hover {
    color: var(--accent);
}
nav label:active {
    border-style: inset;
}
/*****************  end of tab-related  ****/

.rooms {
    float: right;
    width: 190px;
    text-align: center;
}

/*the skeleton on the right*/
#musicbutton,
#busicbutton {
    background: 0;
    border: 0;
    outline: 0;
}
#musicbutton img {
    width: 100px;
}

/******* settings tab *********/
.script-copy-paste {
    resize: none;
    max-width: 90%;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#kcursor-preset-options > img {
    min-height: 2em;
}

#kcursor-preset-options > img:hover {
    animation-name: spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

#kcursor-preset-options img {
    width: 2em;
    height: 2em;
    object-fit: cover;
    border: 1px dotted;
}

#kcursor-preset-options img:hover {
    scale: 1.5;
}
/*********end of settings tab*/

/********evil forum effect***************/
a[href="evilforum"]::before {
    content: "";
    background: radial-gradient(black 50%, transparent 70%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    transform: scale(1.2, 3);
}

a[href="evilforum"] {
    color: red;
    font-weight: bold;
    position: relative;
    display: inline-block;
    margin-top: 1em;
    z-index: 100;
}

a[href="evilforum"]::after {
    content: "KLDKL";
    position: fixed;
    top: -200vh;
    left: -200vw;
    width: 1000vw;
    height: 1000vh;
    background: #800;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0;
    transition: 5s opacity;
    backdrop-filter: invert(100%);
}

a[href="evilforum"]:hover::after {
    opacity: 0.7;
}
/***********************/

.colorBlink:hover {
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        color: #5536c2;
    }

    30% {
        color: #91268f;
    }

    70% {
        color: #343a97;
    }

    100% {
        color: #f00;
    }
}

/* NYAN CAT */
.nyan {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    position: relative;
    left: 60px;
}
.FLAG {
    margin: 1em;
    height: 30px;
    width: 2500%;
}
.NYANN {
    background: -webkit-linear-gradient(
        top,
        #ff0000 14.29%,
        #ffa500 14.29%,
        #ffa500 28.58%,
        #ffff00 28.58%,
        #ffff00 42.87%,
        #008000 42.87%,
        #0000ff 42.87%,
        #0000ff 71.45%,
        #4b0082 71.45%,
        #4b0082 85.74%,
        #ee82ee 85.74%,
        #ee82ee 100%
    );
    background: linear-gradient(
        to bottom,
        #ff0000 14.29%,
        #ffa500 14.29%,
        #ffa500 28.58%,
        #ffff00 28.58%,
        #ffff00 42.87%,
        #008000 42.87%,
        #008000 57.16%,
        #0000ff 57.16%,
        #0000ff 71.45%,
        #4b0082 71.45%,
        #4b0082 85.74%,
        #ee82ee 85.74%,
        #ee82ee 100%
    );
    display: inline-block;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    align-items: end;
}

.flex a {
    flex: 1;

    padding: 3px 7px;

    text-wrap: balance;

    word-break: keep-all;
}

.flex a:has(img) {
    min-width: 90px;
}

#music_alert {
    position: fixed;
    text-align: center;
    top: 10px;
    left: 50%;
    white-space: nowrap;
}

#music_alert div {
    transform: translateX(-50%);
    background-color: yellow;
    color: black;
    padding: 5px;
    border: 3px outset gold;
    font-size: 16px;
    text-shadow: none;
}

#music_alert span {
    background-color: rgb(251, 255, 157);
    border: 3px outset gold;
    text-decoration: underline;
    cursor: pointer;
    padding: 2px;
}

#music_alert span:hover {
    border: 3px inset gold;
    text-decoration: none;
}

#wndrwll {
    position: relative;
    color: #000;
    z-index: 10;
}
#wndrwll:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    aspect-ratio: 5/2;
    pointer-events: none;
    opacity: 0.4;
    background: url(https://files.catbox.moe/bqzkjp.png);
    background-size: 100% 100%;
    z-index: -1;
    transition: aspect-ratio linear 10s;
    transition-delay: 2s;
    transition-duration: 20s;
}
#wndrwll:hover:before {
    aspect-ratio: 5/300;
    transition: aspect-ratio steps(3) 20ms;
    transition-delay: 0.5s;
}

.eyntivefish {
    height: 10vh;
}
.eyntivefish:hover {
    filter: drop-shadow(0px 0px 7px orange);
}

