@font-face {
    font-family: 'Fixedsys';
    src: url('../fonts/Fixedsys.ttf') format('truetype');
}

@font-face {
    font-family: 'W95font';
    src: url('../fonts/w95font.woff2') format('woff2'),
         url('../fonts/w95font.woff2') format('woff');
    font-weight: normal;
}

@font-face {
    font-family: 'W95font';
    src: url('../fonts/w95font-bold.woff2') format('woff2'),
         url('../fonts/w95font-bold.woff2') format('woff');
    font-weight: bold;
}
html, body {
  height: 100%;
  margin: 0;
}
body {
    margin: 0;
    padding: 0;
    /*background-color: #008080;*/
    font-family: 'W95Font', monospace;
    color: black;
    background-image: url('../img/clouds.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgb(129, 172, 211);
}
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;

    /* Scanlines */
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0px,
        rgba(0, 0, 0, 0.05) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: crtFlicker 150ms infinite;
}
@keyframes crtFlicker {
    0%, 100% {
        opacity: 0.95;
    }
    50% {
        opacity: 1;
    }
}
.win95-window {
    position: absolute;
    width: 400px;
    margin: 50px auto;
    background-color: #C0C0C0;
    border: 2px solid;
    border-top-color: #FFFFFF;
    border-left-color: #FFFFFF;
    border-bottom-color: #808080;
    border-right-color: #808080;
}
.window-background {
    top: 40px;
    left: 40px;
    z-index: 1;
}
.window-foreground {
    top: 200px;
    left: 120px;
    z-index: 10;
}
.win95-window-top-bar {
    background: #000080;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'W95Font', monospace;
    font-size: 14px;
    height: 20px;
    padding: 0 4px;
    box-sizing: border-box;
}
.win95-menu-bar {
    background-color: #C0C0C0;
    padding: 4px 8px;
    font-family: 'W95Font', monospace;
    font-size: 14px;
    color: black;
    display: flex;
    gap: 16px;
    user-select: none;
    border: none;
    cursor: default;
}
.win95-menu-bar span {
    cursor: default;
}
.win95-window-buttons {
    display: flex;
}
.win95-fake-button {
    all: unset;
    display: inline-block;
    background: #C0C0C0;
    color: black;
    border: 2px outset #fff;
    font-family: 'W95Font', monospace;
    font-size: 12px;
    line-height: 14px;
    width: 18px;
    height: 18px;
    text-align: center;
    box-sizing: border-box;
    padding-top: 1px;
    margin-left: 2px;
    cursor: pointer;
    user-select: none;
}
.win95-fake-button:active {
    border-top-color: #808080;
    border-left-color: #808080;
    border-bottom-color: #FFFFFF;
    border-right-color: #FFFFFF;
}

.win95-window-content {
    padding: 10px;
    background: #C0C0C0;
    border: 2px solid;
    border-top-color: #808080;
    border-left-color: #808080;
    border-bottom-color: #FFFFFF;
    border-right-color: #FFFFFF;
}
.terminal-content {
    background-color: black;
    color: #C0C0C0;
    font-family: 'Fixedsys', monospace;
    font-size: 14px;
    line-height: 1;
    box-sizing: border-box;
    border: none;
    text-align: left;
    vertical-align: top;
    min-height: 200px;
    height: auto;
    padding: 4px;
    white-space: pre-wrap;
}
.terminal-cursor {
    display: inline;
    color: #C0C0C0;
    animation: blink 1s steps(1, start) infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}
.win95-button {
    font-family: 'W95Font', monospace;
    font-size: 14px;
    padding: 2px 10px;
    background-color: #C0C0C0;
    color: black;
    border: 2px solid;
    border-top-color: #FFFFFF;
    border-left-color: #FFFFFF;
    border-bottom-color: #808080;
    border-right-color: #808080;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}
.win95-button:active {
    border-top-color: #808080;
    border-left-color: #808080;
    border-bottom-color: #FFFFFF;
    border-right-color: #FFFFFF;
}
.link-button {
    font-family: 'W95Font', monospace;
    font-size: 14px;
    padding: 2px 10px;
    background-color: #C0C0C0;
    color: black;
    border: 2px solid;
    border-top-color: #FFFFFF;
    border-left-color: #FFFFFF;
    border-bottom-color: #808080;
    border-right-color: #808080;
    box-sizing: border-box;
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    user-select: none;
}

.link-button:active {
    border-top-color: #808080;
    border-left-color: #808080;
    border-bottom-color: #FFFFFF;
    border-right-color: #FFFFFF;
}
    .win95-icon {
    width: 64px;
    height: 64px;
    image-rendering: pixelated; /* Keep it sharp and blocky */
    display: inline-block;
}