/*pls dont judge my code uwu*/
/*also feel free 2 use anything besides the art music n renders ^u^*/
/*! 98.css v0.1.19 - https://github.com/jdan/98.css */
/*this is 4 the spinning moon and clickin on it*/

html {
    animation: fadein 0.5s ease;
}

body {
    font-family:"Pixelated MS Sans Serif";
    user-select: none;
}
.moon {
    position: absolute;
    z-index: 1;
    top: 300px;
    left: 700px;
    right: 0;
    width: 544px;
}
/*this text hover was adapted based on the free code from ribo.zone this site was a big inspiration for me!!! :D*/
.moon span {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    font-size: 2.5rem;
    color: #FFF;
    filter: drop-shadow(1px 1px 0 black) 
    drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black)
    drop-shadow(-1px -1px 0 black);
}
.moon:hover {
    filter: drop-shadow(5px 5px 7px white);
}
.moon:hover span {
    opacity: 1;
}
.moon:active {
    animation-name: zoom;
    animation-duration: .15s;
}
/*basic stuff 4 windows buttons n pictures*/
button:hover {
    cursor: pointer;
}
.window {
    position: absolute;
    width:15.5em;
    transform: scale(2);
}
.window.list {
    margin-top: 2.25em;
    width:auto;
}
.window.large {
    transform: scale(2.4);
    width:auto;
}
.window.hidden {
    transform: scale(2.4);
    width:auto;
    display:none;
}
.window.library {
    transform: scale(1);
}
.window.taskbar {
    filter: opacity(35%);
    height: 50px;
    width: auto;
    position: fixed;
    top: calc((100% - 80px));
    left: calc(100% - 200px)
}
.window.taskbar.ghosts {
    left: auto;
    right: -50%;
    top: calc(100% - 40px);
    padding-top: 0px;
    min-width: 100%;
    display: flex;
}
.window.taskbar.ghosts span {
    padding-right: 35px;
}
.window.taskbar:hover {
    filter: opacity(100%);
}
.window-body a{
    margin-left: auto;
}
.webring_icon {
    position: absolute;
    height: 30px;
    width: 30px;
    bottom: calc((100% - 50px) / 2);
    user-select: none;
}
.hide {
    display:none;
}
/*i added this really recently because i was doing a lot of in-line linking on the ghost page so i probably forgot to put it some places lmao*/
.link {
    text-decoration: none;
    cursor: pointer;
    color:rgb(177, 0, 177);
    transition: 0.2s;
}
.link:hover {
    filter:saturate(5);
    text-shadow: 0 0 9px rgb(43, 0, 92);
    font-size: 1.1em;
}
.link:active {
    color: white;
    transform: scale(1.055);
}
.gif {
    filter: brightness(93%);
    margin-top: auto;
}
.centered {
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    display: inline-block;
    align-items:center;
    justify-content: center;
}
.badart img {
    box-shadow: 2px 2px 2px black;
}
/*the accursed music player DIE DIE DIE D*/
.music_player {
    display: inline-block;
    font-size: 1.5em;
    margin-top: auto;
    position: fixed;
    filter: opacity(35%);
}
.music_player:hover{
    filter: opacity(100%);
}
/*all the picture and icon stuff :3*/
.art{
    height: 9em;
    margin: .25em;
    transition: 0.3s;
}
.art:hover {
    scale: 2;
}
.icon_container {
    position: absolute;
    background: transparent;
    transform: scale(.4);
}
.icon_container.full {
    transform: scale(1);
    user-select: none;
    outline: none;
}
.icon_container img {
    filter:saturate(0.2);
    transition: 0.2s;
}
.icon_container img:hover, .icon_container img:focus {
    filter: drop-shadow(0px 0px 9px white) saturate(1.5);
    scale: 1.2;
    animation: shake 0.3s infinite ease;
}
.icon_container button {
   background: transparent;
   box-shadow: none;
}
.icon_container button:focus {
    outline-color: transparent;
}
.icon_container.hidden {
    display: none;
}
.icon_container.videostore {
    z-index: -1;
}

.icon_container.videostore img {
    box-shadow: 2px 2px 5px black;
}

/*videostore stuff wahoo*/
.bookcase {
    justify-self: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 600px;
    width: 800px;
}
.bookcase.back {
    box-shadow: 6px 9px 5px rgb(58, 44, 25);
    z-index: -1;
}
.bookcase.shelf {
    height: 60px;
    background-size: auto;
    bottom: 250px;
    box-shadow: 0px 3px 5px rgb(0, 0, 0);
    z-index: 100;
}
.bookcase.shelf.two {
    bottom: -250px
}
.videostore.header {
    color:rgb(245, 192, 124);
    animation: blinking 2s infinite;
    text-shadow: 2px 2px 5px black;
    transition: 0.5s;
}

/*supr secret game code waoooow*/
.game_window {
    background-color: white;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 416px;
    width: 544px;
}
/*animations, keyframes n stuff*/
@keyframes fadein {
    from {
        filter: brightness(0);
    }
    to {
        filter: brightness(1);
    }
}
@keyframes zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.5);
    }
}

@keyframes shake {
    0% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg)
    }
    100% {
        transform: rotate(-2deg);
    }
}

@keyframes out {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0);
    }
}
@keyframes in2 {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(2.4);
    }
}
@keyframes in1 {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
@keyframes blinking {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}