/* Global Smooth Scroll */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #008080;
    /*background-image: url('./black-paper.png');*/
    font-family: "MS Sans Serif", "Courier New", monospace;
    padding-bottom: 100px;
    /* Extra room for taskbar */
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
	margin: 0;
}


/* TOP MARQUEE */

.marquee-container {
    background: #ff0000;
    color: #FFFF33;      /* Neon yellow text for contrast */
    padding: 10px 0;
    font-weight: bold;
    border-bottom: 2px solid #000;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Comic Sans MS', sans-serif; /*'Comic Sans MS', cursive, /* very 90s vibe */
	text-shadow: 2px 2px 2px #000; /* subtle glow/shadow for retro feel */
    box-sizing: border-box;
}

.marquee-text {
    display: inline-block;
    animation: scrollMarquee 15s linear infinite;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollLeftRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* WINDOW STYLING */

.window {
    background: #c0c0c0;
    border: 2px outset #fff;
    box-shadow: 3px 3px 0 #000;
    width: 90%;
    max-width: 700px;
    margin: 20px auto;
}


/* WINDOW STYLING */

.window-gap {
    margin: 20px;
}

.title-bar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: white;
    padding: 3px 8px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.content {
    padding: 15px;
    border: 1px inset #fff;
    margin: 3px;
}


/* PROFILE STUFF */

.headshot-box {
    width: 160px;
    height: 160px;
    background: #000;
    border: 4px ridge #ffd700;
    margin: 0 auto 15px auto;
}

.headshot-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blink {
    animation: blinker 1s linear infinite;
    color: red;
    font-weight: bold;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}


/* RESOURCE BARS */

.resource-bar {
    height: 15px;
    background: #fff;
    border: 1px inset #000;
    margin: 5px 0;
}

.resource-fill {
    height: 100%;
    background: #00ff00;
}


/* FORM STYLING */

input,
textarea,
button {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 2px inset #fff;
    padding: 5px;
    font-family: inherit;
}

button,
.btn {
    background: #c0c0c0;
    border: 2px outset #fff;
    cursor: pointer;
    width: auto;
    padding: 5px 20px;
    font-weight: bold;
}

button:active {
    border-style: inset;
}

.visitor-counter {
    background: #000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    padding: 5px;
    border: 2px inset #808080;
    font-size: 1.2rem;
}


/* THE TASKBAR */

.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #c0c0c0;
    border-top: 2px outset #fff;
    display: flex;
    align-items: center;
    z-index: 9999;
    padding: 2px;
}

.start-btn {
    background: #c0c0c0;
    border: 2px outset #fff;
    padding: 2px 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-right: 10px;
    text-decoration: none;
    color: black;
    font-size: 0.9rem;
}


/* Taskbar Link Buttons */

.active-app {
    border: 2px outset #fff;
    padding: 2px 8px;
    font-size: 0.8rem;
    background: #c0c0c0;
    margin-right: 5px;
    text-decoration: none;
    color: black;
    white-space: nowrap;
    display: inline-block;
}

.active-app:active {
    border-style: inset;
    background: #e0e0e0;
}

.system-tray {
    border: 2px inset #fff;
    padding: 0 10px;
    margin-right: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}