/* ========================================
   KERNELBABA - Windows 98 Theme
   Using 98.css
   ======================================== */

:root {
    --color-bg: #008080;
    /* Classic Teal */
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    margin: 0;
    font-family: 'Pixelated MS Sans Serif', Arial;
    min-height: 100vh;
}

img {
    image-rendering: pixelated;
}

/* Top Bar (simulated taskbar) */
.top-bar {
    position: fixed;
    bottom: 0;
    /* Taskbar is usually at bottom */
    left: 0;
    right: 0;
    height: 28px;
    background: silver;
    border-top: 1px solid #fcfcfe;
    display: flex;
    align-items: center;
    padding: 2px;
    z-index: 9999;
    box-shadow: inset 0 1px #fcfcfe;
}

.start-btn-wrapper {
    margin-right: 4px;
}

.start-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
    padding: 2px 6px;
    height: 22px;
}

.start-btn img {
    height: 16px;
    width: 16px;
}

.lang-selector {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid gray;
    border-bottom-color: white;
    border-right-color: white;
    height: 22px;
    margin-right: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    font-size: 11px;
    padding: 0;
    cursor: pointer;
    color: #444;
}

.lang-btn.active {
    font-weight: bold;
    color: black;
    text-decoration: underline;
}

.divider {
    color: gray;
}

.clock {
    padding: 0 10px;
    border: 1px solid gray;
    border-bottom-color: white;
    border-right-color: white;
    height: 22px;
    display: flex;
    align-items: center;
    font-size: 11px;
    background: url(https://win98icons.alexmeub.com/icons/png/audio-1.png) no-repeat 4px center;
    background-size: 14px;
    padding-left: 20px;
}

/* Main Content Layout */
.main-content {
    padding: 40px 20px 80px;
    /* Space for taskbar at bottom */
    width: 100%;
}

.window-wrapper {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.window-wrapper.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* Welcome Window */
.welcome-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.welcome-icon {
    width: 48px;
    height: 48px;
}

.welcome-text h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.welcome-text p {
    margin: 0;
}

.button-link {
    text-decoration: none;
}

.field-row button {
    min-width: 80px;
}

/* NotePad content */
.tree-view {
    background: white;
    padding: 10px;
}

.tree-view ul,
.tree-view li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Project List */
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.project-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.project-list a {
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.project-list a:hover img {
    opacity: 0.8;
}

.project-list img {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

.project-list span.desc {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

/* Footer */
.footer {
    padding: 20px 0;
}

/* Typing Reveal */
.typing-reveal {
    opacity: 0;
    transition: opacity 0.5s;
}

.typing-reveal.is-inview {
    opacity: 1;
}

/* Cursor */
body {
    cursor: default;
}

a,
button {
    cursor: pointer;
}