body {
    background-color: black;
    font-family: "Press Start 2P", system-ui;
    font-size: 14px;
    color: lime;
    -webkit-font-smoothing: none;
}
body:not(:has(.switch input:checked)) {
    background-image: url("background.png");
    background-size: 300px;
    image-rendering: pixelated;
    text-shadow: 15px 15px 5px black;
}
.link {
    color: lime;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.switch {
    display: block;
}
.switch input {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background-color: black;
    outline: lime solid 5px;
    box-shadow: 5px 5px 2px black;
}
.switch span {
    font-size: 26px;
}
.switch input:hover {
    background-color: #001f00;
}
.switch input:checked {
    background-color: #006600;
}

.loading-text {
    color: #00ff00;
    font-family: monospace;
}
.loader-gif {
    width: 500px;
    height: 500px;
}
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
.code {
    font-family: "Press Start 2P", system-ui;
    color: yellow;
}
.itemicon {
    width: 70px;
    height: 70px;
}