@font-face {
    font-family: Wintoes;
    src: url(static/fonts/windows-bold[1].ttf)
}

body {
    font-family: Wintoes;
    margin: 0;
    overflow: hidden;
    /* Because mim love those */
}


.background {
    background-color: #e59dcd;
}

#page {
    width: fit-content;
}

.screen {
    display: flex;
}

.window {
    background: #c2bfc3;
    border: 2px solid;
    border-color: #ffffff #000000 #000000 #ffffff;
    margin: 5px;
}

.window-bar {
    background: linear-gradient(to right, #e59dcd, #e6cdde);
    margin-top: 3px;
    margin-right: 3px;
    margin-left: 3px;
    display: flex;
}

.exploder {
    background-color: #ffffff;
    margin-right: 3px;
    margin-left: 3px;
    margin-top: 1px;
    width: 900px;
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: 'Comic Sans MS';
}

.exploder::-webkit-scrollbar {
    width: 16px;
}

.exploder::-webkit-scrollbar-track {
    background-color: #c0c0c0;
}

.exploder::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #000000 #000000 #ffffff;

}

.exploder::-webkit-scrollbar-button {
    display: block;
    width: 16px;
    height: 16px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #000000 #000000 #ffffff;
}

/* for Firefox bc all the above dont work on it :( */
.exploder {
    scrollbar-width: auto;
    scrollbar-color: #c0c0c0 #e0e0e0;
}


.exploder-header {
    background-color: #ff98b2;
    margin: 0;
    padding: 5px;
    text-align: center;
}
.exploder-content {
    margin: 0;
    background-color: #ffd2dd;
    display: flex;
    gap: 30px;
    padding: 20px;
    align-items: flex-start;
}

.exploder-content > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex: 1;
    text-align: center;
}

.exploder-content p {
    margin: 0;
    line-height: 1.5;
}

.framed-ad {
    background-color: #ffffff;
    border: 2px solid #000000;
    padding: 6px;
    box-sizing: border-box;
}

.spacer {
    height: 5000px;
}

.hidden-special {
    perspective: 1000px;
}

.hidden-special p {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hidden-special .hidden-img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 4s ease;
    animation:
        spin-horizontal 8s linear infinite,
        bob-up-down 2s ease-in-out infinite;
    animation-play-state: paused;
    /* Wont you take me to, funky toooown ? */

}

.hidden-special:hover p,
.hidden-special:hover .hidden-img {
    opacity: 1;
}

.hidden-special:hover .hidden-img {
    animation-play-state: running;
}

@keyframes spin-horizontal {
    from {
        rotate: y 0deg;
    }

    to {
        rotate: y 360deg;
    }
}

@keyframes bob-up-down {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -40px;
    }
}



.blinkies {
    display: grid;
    grid-template-columns: auto;
    padding: 5px;
    gap: 5px;
}

.icon-holder {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
    padding: 10px;
}

.icon-holder img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.stampies {
    display: grid;
    grid-template-columns: auto auto;
    padding: 5px;
    gap: 5px;
}

.window-control {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: 5px;
    display: flex;
    gap: 2px;
}

.window-title {
    margin-left: 5px;
}

.window-btn {
    width: 16px;
    height: 16px;
    padding: 0;
    background: #c0c0c0;
    border: 1px solid;
    border-color: #ffffff #000000 #000000 #ffffff;
    font-family: Wintoes, monospace;
    font-size: 11px;
    line-height: 1;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.window-btn:active {
    border-color: #000000 #ffffff #ffffff #000000;
    padding-top: 1px;
    padding-left: 1px;

}

.window-minimize {
    padding-bottom: 10px;
    font-weight: bold;
}

.window-maximize {
    padding-bottom: 1px;
}

.window-close {
    font-size: 13px;
    padding-bottom: 1px;
}

/* Clock stuff */

.clock-window {
    position: fixed;
    right: 15px;
    bottom: 50px; /* clears the task-bar (~40px tall) with a small gap */
    margin: 0;    /* override .window's default 5px margin, not needed once fixed */
    width: fit-content;
}

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


#clockCanvas {
    width: 160px;
    height: 160px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}



.task-bar {
    width: 100%;
    box-sizing: border-box;
    background: #c2bfc3;
    border-top: 2px solid;
    border-top-color: #ffffff;
    display: flex;
    padding: 5px;
}

.start-button {
    border: 2px solid;
    border-color: #ffffff #000000 #000000 #ffffff;
    margin-left: 3px;
    margin-right: 3px;
    padding: 4px;
    text-align: center;
}

.start-button:active {
    border-color: #000000 #ffffff #ffffff #000000;
}

.bar-window {
    padding: 4px;
    margin-right: 3px;
    margin-left: 1px;
    --size: 4px;
    background-color: #ffffff;
    background-image:
        linear-gradient(45deg, #c0c0c0 25%, transparent 25%),
        linear-gradient(-45deg, #c0c0c0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #c0c0c0 75%),
        linear-gradient(-45deg, transparent 75%, #c0c0c0 75%);
    background-size: var(--size) var(--size);
    background-position: 0 0, 0 calc(var(--size) / 2), calc(var(--size) / 2) calc(var(--size) / -2), calc(var(--size) / -2) 0;
    border: solid 2px;
    border-color: grey white white grey;
    display: flex;
    align-items: center;

}

.time {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c2bfc3; /* same grey as start-button/task-bar */
    border: solid 2px;
    border-color: #000000 #ffffff #ffffff #000000; /* inverted vs start-button - reads as recessed/pressed in */
    padding: 4px;
}

/* My BS WITH THE START BUTTON */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.overlay.active {
    display: flex;
}
