@import "/archives/css/stylesheet.css";

:root {
    --player: linear-gradient(180deg, #d9d9d9 0%, #525459 80%);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

a,
button,
input[type="submit"],
select, #minirat, #button88, #guestbook, #junkrat, #visitbutton, #virus, #sunflower, .playpause-track, .next-track, .prev-track, .seek_slider,
.volume_slider {
    cursor: url(/archives/assets/pointer.png), auto;
}

a:active {
    color: lime;
    text-shadow: 1px 1px 3px #298203;
}

#mainpage-body {
    background: black url(/archives/assets/front_yard.png) no-repeat fixed 0 0 / cover;
    cursor: url(/archives/assets/cursor.png), auto;
}

#main-wrap {
    width: 100%;
    margin-top: 20px;
    align-items: flex-start;
    max-width: 1690px;
}

#sidebar1 {
    order: 1;
}

#mainpage-main {
    order: 2;
    flex-wrap: wrap;
    flex-direction: unset;
    width: 100%;
    height: auto;
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sidebar2 {
    order: 3;
    position: relative;
}

/* FLOAT IMAGE */
#junkrat {
    position: fixed;
    right: 10px;
    bottom: 2px;
    z-index: 2;
    width: 7%;
}

#mainpage-head {
    width: 100%;
    max-width: 1000px;
    height: 230px;
    border-radius: 10px;
    background: url(/archives/assets/Pvzbanner.webp) center / cover;
}

#main-head-text {
    user-select: none;
    font-size: 10em;
    margin: 30px 1px 1px 385px;
    color: #bede22;
    background: linear-gradient(#bede22 0%, #bede22 50%, #4ed344 85%, #4ed344 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(-2px -3px #fffe8e) drop-shadow(-2px 0px #006736) drop-shadow(5px 0px #006736) drop-shadow(0px -2px #006736) drop-shadow(-2px 3px #006736) drop-shadow(2px 2px #006736) drop-shadow(2px -3px #006736) drop-shadow(-2px -2px #006736) drop-shadow(0px 2px #006736);
    letter-spacing: -2px;
    font-family: "cafeteria" !important;
}

/* START OF SIDEBAR 1 */

.unavailable {
    cursor: not-allowed !important;
}

/* navbar */
#mainpage-nav {
    width: 225px;
    background: url("/archives/assets/grave_navbar.png") no-repeat 0 0 / 100% 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 75px 5px 20px 5px;
}

#theme-select {
    font-size: 1.6em;
}

#theme-select option {
    font-size: 0.7em;
}

.navbtn {
    color: #02030b;
    padding: 3px;
    display: block;
    margin: 3px;
    border-radius: 4px;
    font: 1.8em "DWARVESC";
    box-shadow: 1px 2px 2px #353742;
    border: 2px outset #9b9fc3;
    text-align: center;
    text-decoration: none;
    letter-spacing: -2px;
    width: 170px;
    transition: all 0.2s;
    background: #646484;
}

.navbtn:hover {
    border: 2px inset #9b9fc3;
    background-color: #43445d;
    color: #ffe6ff;
    text-shadow: 2px 2px 3px #d95dae;
    box-shadow: -1px -2px 2px #00000036;
    text-decoration: none;
    font-style: normal;
}

#main-toggle {
    display: none;
}

#fake {
    margin-top: 290px;
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    display: flex;
    flex-direction: column;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 15px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

#balloon {
    position: absolute;
    z-index: 2;
    top: -295px;
}

#fake iframe {
    border: none;
}

#sunniezButton,
#button-mobile,
#mobile-book {
    display: none;
}

#button88 {
    position: absolute;
    top: 100px;
    right: 60px;
    transition: all 0.5s;
}

#button88:hover {
    filter: brightness(120%);
    transition: all 0.5s;
    transform: rotate(-5deg);
}

#guestbook {
    display: block;
    font-size: 0px;
    position: absolute;
    top: 150px;
    right: 55px;
    transition: all 0.2s;
    z-index: 1;
    background: url(/archives/assets/guestbook-button.png) no-repeat;
    height: 112px;
    width: 102px;
}

#guestbook:hover {
    filter: brightness(120%);
    transform: rotate(-5deg);
    transition: all 0.2s;
}

#zombiehand {
    top: 60.3%;
    position: absolute;
    right: 4%;
    z-index: 2;
    pointer-events: none;
}

/* START OF WEBSITE INTRO AND BUTTONS */
#intro {
    max-width: 735px;
    position: relative;
}

#mainindex {
    width: 700px;
    height: 100%;
    min-height: 345px;
    display: flex;
    position: relative;
    border: 5px ridge #994008;
    padding: 5px;
    background-color: #f2cc90;
    text-align: center;
    color: #4f2202;
    overflow: visible;
    align-items: center;
    justify-content: flex-end;
}

#doll {
    position: absolute;
    z-index: 3;
    top: 18px;
    width: 320px;
    left: 0px;
}

.text-box {
    width: 400px;
    padding: 5px;
}

.belt-buttons {
    max-width: 700px;
    background-color: black;
    border: 3px ridge #c6c6c6;
    display: grid;
    height: 45px;
    align-items: center;
    color: white;
    width: 100%;
    overflow: hidden;
    --marquee-start: 700px;
    --marquee-content-width: 900px;
}

.belt-buttons .marquee {
    animation-duration: 45s;
}

/* END OF WEBSITE INTRO AND BUTTONS */

/* START OF WEBSITE LOGS AND ABOUT */
#sideinfo {
    max-width: 405px;
    height: 400px;
}

.info-buttons {
    width: 90px;
    height: 28px;
    border: none;
    font-size: 0;
}

.info-buttons:hover {
    filter: brightness(125%);
}

#news-button {
    background: url("/archives/assets/news-button.png") no-repeat;
}

#to-do-button {
    background: url("/archives/assets/to-do.png") no-repeat;
}

#logs-button {
    background: url("/archives/assets/logs-button.png") no-repeat;
}

#paper-note {
    max-width: 400px;
    width: 100%;
    height: 375px;
    background: url("/archives/assets/paper.png") no-repeat 0 0 / 100% 100%;
    position: relative;
    font-family: "Comic Sans MS", "Comic Sans";
}

#paper-note span {
    font-size: 2em;
    font-family: "cafeteria";
}

#paper-note:hover {
    filter: brightness(120%) contrast(100%);
}

.paperdiv {
    height: 350px;
    overflow-y: scroll;
    padding: 0px 0px 0px 18%;
    scrollbar-color: #e8c054 #ccdf9b05;
    margin-top: 13px;
    margin-right: 30px;
}

/* END OF WEBSITE LOGS AND ABOUT */

/* START OF OTRO FIRST ROW*/
#whatsnew {
    background: url(/archives/assets/whatsnew.png) no-repeat center / cover;
    max-width: 500px;
    min-width: 395px;
    width: 100%;
    height: 381px;
    border: 3px solid #7a3713;
    border-radius: 4px;
    position: relative;
    text-align: center;
    gap: 9px;
    padding-top: 72px;
    justify-content: unset;
}

#thumbnail {
    width: 140px;
    height: 108px;
    border-radius: 4px;
}

#newtitle {
    font: 1.4em DWARVESC;
    color: #cb9d3f;
    text-shadow: 0 0 2px #350400;
    text-align: center;
    width: 225px;
}

#description {
    text-align: center;
    color: #003073;
    font: 1em brianne;
    max-height: 60px;
    max-width: 200px;
}

#visitbutton {
    display: block;
    background: url(/archives/assets/govisit.png);
    font-size: 0px;
    width: 156px;
    height: 42px;
    margin-top: 47px;
}

#visitbutton:hover {
    filter: brightness(120%);
}

#abouts {
    width: 100%;
    height: 445px;
    display: flex;
    background: url("/archives/assets/about_box.png") 0 0 / cover;
    border: none;
    max-width: 660px;
    text-align: center;
    position: relative;
}

#abtsite {
    color: white;
    margin: 65px 6px 0px 20px;
    height: 343px;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 475px;
    padding: 10px;
    text-align: left;
}

#abt-title {
    font: 1.7em DWARVESC;
    background-color: #5f6181;
    border: 2px ridge #5f6181;
    box-shadow: none;
    border-radius: 0px;
    color: #29e92c;
}

#otw {
    width: 558px;
    height: 370px;
    padding: 0px;
    border: none;
    background: url(/archives/assets/otw_note.png) no-repeat 0 0 / 100%;
    position: relative;
}

#otw-title {
    font: 2em "brianne";
    position: absolute;
    left: 5%;
    top: 8%;
    line-height: 1;
    letter-spacing: -0.071em;
}

#otw-desc {
    width: 260px;
    position: absolute;
    top: 145px;
    text-align: center;
    font-size: 0.9em;
}

#otw-pic {
    position: absolute;
    transform: rotate(3deg);
    left: 48%;
    top: 10%;
    box-shadow: #00000073 4px 5px 2px;
    transition: all 0.2s;
    width: 39%;
}

#otw-pic:hover {
    transform: rotate(0deg);
    transition: all 0.2s;
}

/* sunflower quotes */
#quotestab {
    width: 335px;
    height: 335px;
    background: url("/archives/assets/zengarden.png") no-repeat 0 0 / cover;
    position: relative;
    font-family: brianne;
    text-align: center;
    color: black;
    overflow: hidden;
    border: 5px ridge #994008;
    margin: 5px;
}

#quote-display {
    background: url("/archives/assets/speech_bubble.png") no-repeat 0 0 / 100% 100%;
    width: 220px;
    height: 125px;
    position: absolute;
    left: 91px;
    top: 5px;
    padding: 10px 5px 5px 5px;
}

#sunflower {
    position: absolute;
    bottom: 2px;
    right: 140px;
}

/* cbox container display*/
.cbox {
    width: 290px;
    background: url("/archives/assets/chatbox.png") no-repeat 0 0 / 100% 100%;
    height: 370px;
    position: relative;
    padding: 45px 0px 0px 9px;
}

/* cbox iframe*/
#cbox {
    border-radius: 8px;
    border: none;
    overflow: auto;
}

/* START OF LAST ROW*/

#increment {
    background: url(//incr.easrng.net/bg.gif);
    border: none;
}

#virus {
    height: 60px;
    width: 360px;
    transition: all 0.2s ease-in-out;
}

#virus:hover {
    filter: brightness(130%) contrast(160%);
}

#upvotes {
    width: 100px;
    gap: 0px;
}

#webring-display {
    width: 460px;
    height: 300px;
    background: url("/archives/assets/webringsdisplay.webp") no-repeat center;
    padding: 26px 36px 60px 36px;
}

#web-content {
    width: 100%;
    height: 215px;
    scrollbar-width: thin;
    scrollbar-color: #3b3b6e #0d0d1e;
    text-align: center;
    gap: 5px;
    border-radius: 25px;
    color: #cac7ef;
    overflow: auto;
    justify-content: flex-start;
    font-family: gothic;
}

.webring {
    margin-bottom: 5px;
}

#yaoi {
    background: linear-gradient(to top, #000, #00000000), url("/archives/graphics/yaoiring.gif") 0 0 / cover;
    display: grid;
    min-height: 120px;
    width: 215px;
    color: #fff;
    font: 18px "Times New Roman";
}

#web-n-virus {
    width: 460px;
}

#music-n-bumper {
    max-width: 605px;
}

/* MUSIC PLAYER */
.player {
    height: 245px;
    font-family: "home video";
    margin: 0px;
    border: 1px solid black;
    background: var(--player);
    border-radius: 5px;
    width: 100%;
}

.player .column {
    width: 90%;
}

.track-art {
    margin: 5px;
    height: 167px;
    width: 167px;
    background: no-repeat center/cover;
    border: 1px solid black;
    filter: sepia(90%) saturate(200%) hue-rotate(72deg) contrast(200%);
}

#playlistSelect,
#trackSelect {
    background: var(--player);
    color: white;
    width: 170px;
    font: 0.8em "home video" all-small-caps;
    border: outset 1px;
    margin-bottom: 2px;
    text-shadow: 1px 1px black;
}

#playlistSelect option,
#trackSelect option {
    background: #525459;
    color: white;
}

.details {
    text-align: center;
    background-color: #000;
    color: #22f422;
    width: 400px;
    height: 95px;
    border-radius: 6px;
    box-shadow: 3px 3px inset #3f3f3f;
    margin: 10px 5px 5px 5px;
    padding-top: 15px;
    overflow: hidden;
    --marquee-start: 400px;
    --marquee-content-width: 200px;
}

.now-playing {
    font-size: 1rem;
}

.track-name,
.track-artist {
    font: 1.6rem "home video";
    margin: 0.3em auto 0.3em auto;
}

.slider_container {
    width: 100%;
    max-width: 400px;
    border: 1px outset black;
    text-shadow: 1px 1px black;
    color: white;
    gap: unset;
}


.current-time,
.total-duration {
    font-family: monospace !important;
    text-shadow: 1px 1px black;
    color: white;
}

.playpause-track,
.prev-track,
.next-track {
    padding: 1px;
    color: #ffffff;
    border: 1px outset black;
    text-align: center;
    background: var(--player);
    width: 135px;
    text-shadow: 1px 1px black;
    font-size: 2em;
    height: 45px;
}

.playpause-track:active,
.prev-track:active,
.next-track:active {
    border: 1px inset black;
    text-shadow: 1px 1px black;
    background: var(--player);
    transition: all 0.5s ease;
}

.seek_slider,
.volume_slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 8px;
    background: black;
    width: 80%;
}

.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
    width: 20px;
    height: 10px;
    background: var(--player);
    -webkit-appearance: none;
    box-shadow: 1px 1px black;
}

.seek_slider::-moz-range-thumb,
.volume_slider::-moz-range-thumb {
    width: 20px;
    height: 10px;
    background: var(--player);
    border-radius: 0px;
    box-shadow: 1px 1px black;
}

#bumper {
    transition: filter 0.5s ease;
}

/* second sidebar div*/
.sidebar2 {
    overflow: hidden;
    width: 225px;
    height: fit-content;
    background-color: #b05325;
    border: medium outset #cc6530;
    border-radius: 10px;
    text-align: center;
    margin: 5px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tittlebox {
    box-shadow: inset 0px 0px 3px 0px #271313;
    align-content: center;
    background-color: #b05325;
    border: 2px outset #b05325;
    padding: 2px 5px 2px 5px;
    margin: 3px;
    width: fit-content;
    height: fit-content;
    font: 1.8em "cafeteria";
    color: #ffe376;
    min-width: 100px;
}

.minibox {
    width: 100%;
    height: fit-content;
    background: #f2dd90;
    border-radius: 5px;
    color: #783504;
    padding: 1px;
    margin: 5px;
    font-family: gothic;
}

/* second sidebar contents */
#crow {
    position: absolute;
    top: -130px;
    right: 65px;
}

#counter {
    position: absolute;
    left: -55px;
    top: -38px;
    z-index: -1;
}

#crow,
#balloon,
#shroom,
#protector,
#zombiehand,
#doll {
    user-select: none;
}

#visitor-c {
    position: absolute;
    top: -38px;
    right: 200px;
}

#minirat {
    background: url("/archives/graphics/ratthing.png") 0 0 / contain;
    width: 80px;
    height: 80px;
    position: relative;
}

#minirat:hover {
    background: url("/archives/graphics/ratthing_2.png") 0 0 / contain;
}

#minirat::after {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 0px 0px 10px 20px;
    border-color: transparent transparent #f2dd90;
    bottom: -5px;
    left: 0px;
}

#statuscafe {
    padding: 0.5em;
    border-radius: 5px;
    background-color: #f2dd90;
    ;
    margin: 5px;
    font: 0.73em "Comic Sans MS", "Comic Sans";
    color: #5e2903;
    width: 185px;
    height: 65px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #f4cf3b #f2dd90;
    position: relative;
}

#statuscafe-username {
    margin-bottom: 0.5em;
}

#statuscafe-content {
    margin: 0 1em 0.5em 1em;
}

#cliques {
    overflow: scroll;
    height: 200px;
    image-rendering: pixelated;
    font-size: 0.9em
}

/* END OF SECOND SIDEBAR */

/*FOOTER*/
footer {
    width: 100%;
    max-width: 910px;
    margin: 0 auto;
}

#mainpage-foot {
    height: 136px;
    background: url("/archives/assets/footer.png") no-repeat 0 0 / cover;
    position: relative;
    padding: 75px 0px 0px 0px;
    text-align: center;
    text-shadow: 1px 1px black;
    color: #ffe376;
    font: 0.98em "Comic Sans MS", "Comic Sans";
}

#mainpage-foot a:link {
    color: #ffe376;
    text-decoration: none;
}

#mainpage-foot a:hover {
    text-shadow: inherit;
    text-decoration-line: underline;
    text-decoration-color: #ffe376;
    text-decoration-style: wavy;
    text-decoration-thickness: 1px;
}

#mainpage-foot a:visited {
    color: #ffe376;
    text-decoration: none;
}

@media (min-width: 1201px) and (max-width: 1365px) {
    #sideinfo {
        width: 30%;
    }

    #whatsnew {
        width: 50%;
    }
}

@media screen and (max-width: 1200px) {
    body {
        overflow-x: scroll !important;
        width: 100% !important;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #mainpage-head {
        width: 95%;
        background: url(/archives/assets/header_2.webp) center / 100% 100%;
        height: 20vw;
    }

    #main-wrap {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #sidebar1 {
        display: block;
        position: fixed !important;
        top: 0;
        left: 0;
        z-index: 5;
        height: 0%;
        width: 0%;
    }

    #main-toggle {
        display: block;
        position: absolute;
        left: 224px;
        top: 75px;
    }

    #main-toggle:hover {
        filter: brightness(120%);
    }

    #mainpage-nav {
        position: relative;
        margin-left: -222px;
        top: 120px;
        display: flex;
        transition: all 0.3s;
    }

    #mainpage-nav.active {
        margin-left: 0px;
        z-index: 5;
        transition: all 0.3s;
    }

    #mainindex, #paper-note, #bumper, .details {
        width: 100%;
    }

    #fake, #guestbook, #button88, #zombiehand, #main-head-text, #crow {
        display: none;
    }

    #sidebar2 {
        flex-wrap: wrap;
        width: 90%;
        flex-direction: unset;
        justify-content: center;
    }

    #whatsnew,
    #music-n-bumper {
        width: 95%;
    }

    #abouts {
        height: auto;
        min-height: 445px;
        background-size: 100% 100%;
    }

    #abtsite {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 343px;
    }

    #doll {
        width: 45%;
        z-index: 0;
        position: static;
    }

    #counter {
        position: static;
    }

    #mobile-book,
    #button-mobile {
        display: block;
    }

    .player {
        flex-direction: column;
        height: fit-content;
        width: 100%;
    }
}