@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
    margin: 0;
    background: linear-gradient(to bottom right, #300030, #200060);
    font-family: "Verdana", sans-serif;
    color: white;
    overflow: hidden;
}

/* Make the video fill the entire screen */
#background-video {
    position: fixed; /* Fix the video to the background */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Ensure the video covers the screen without distortion */
    z-index: -1; /* Ensure the video stays behind all other content */
    pointer-events: none; /* Prevent the video from being tagged or interacted with */
}

#desktop {
    position: absolute;
    width: 100%;
    height: calc(100vh - 40px);
}

/* Add smooth transition for window appearance */
.window {
    z-index: 1;
    position: absolute;
    width: 300px;
    height: 200px;
    background: rgba(192, 192, 192, 0.95);
    border: 3px solid #ff00ff;
    box-shadow: 0px 0px 15px #ff00ff;
    top: 50px;
    left: 50px;
    display: none; /* Start as hidden */
    transition: opacity 0.3s ease;
    user-select: none; /* Prevent text selection */
    overflow: hidden; /* Hide overflow content */
}

/* When the window is maximized */
.window.maximized {
    width: 90vw; /* Nearly full screen */
    height: 90vh; /* Nearly full screen */
    top: 5vh; /* Center the window vertically */
    left: 5vw; /* Center the window horizontally */
    z-index: 100; /* Ensure it's on top when maximized */
    overflow: auto; /* Show scrollbar when maximized */
}

/* Subtle texture for activated window */
.window.active {
    background: rgba(192, 192, 192, 0.95);
    border: 3px solid #ff00ff;
    box-shadow: 0px 0px 15px #ff00ff;
    background-image: url('your-texture-url'); /* Your texture image here */
    background-size: 10px 10px; /* Very subtle texture */
    background-repeat: repeat; /* Tiling the texture */
    opacity: 1;
    z-index: 10; /* Bring the active window to the front */
}

/* Inactive windows will not have the texture or change */
.window:not(.active) {
    background: rgba(192, 192, 192, 0.9);
    border: 3px solid #ff00ff;
    box-shadow: none; /* Remove shadow on inactive windows */
    opacity: 0.7; /* Slightly transparent */
}

.taskbar-window.minimized:hover {
    background: #D3D3D3;
}

.title-bar {
    background: linear-gradient(to bottom, #ff0080, #ff0040);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    cursor: move;
    font-family: "Press Start 2P", sans-serif;
    font-size: 12px;
}

.window-icon {
    width: 20px;
    height: 20px;
    margin-left: 4px;
}

.glitch {
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0% { text-shadow: 2px 2px #ff00ff; }
    50% { text-shadow: -2px -2px #00ffff; }
    100% { text-shadow: 2px 2px #ff00ff; }
}

.window-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    margin-left: 5px;
    cursor: pointer;
}

.window-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.content {
    padding: 10px;
    font-family: "Press Start 2P", sans-serif;
    font-size: 10px;
}

textarea {
    width: 100%;
    height: 100px;
    background: black;
    color: lime;
    font-family: "Press Start 2P", sans-serif;
    border: none;
    resize: none;
}

/* new one */

#taskbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 21px;
    background-color:#C0C0C0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 10px;
    border-top: 2px solid #ffffff;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.5);
}

#taskbar-windows {
    display: flex;
    gap: 5px; /* Ensures windows are placed next to each other */
    height: 100%; /* Matches taskbar height */
    margin-bottom: 2px;
}

.taskbar-window {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 25px;
    min-width: 120px;
    height: 19px; /* Matches taskbar height */
    background: #b6b2a8; /* Slightly darker when active */
    color: black;
    font-family: "Tahoma", sans-serif;
    font-size: 11px;
    border: 2px outset black; /* Default pop-out effect */
    box-shadow: inset -1px -1px 2px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

.taskbar-window.active {
    font-weight: bold; /* Make the text bold when the window is active */
    border: 2px inset black; /* Pressed-in effect */
     background: repeating-linear-gradient(
        45deg,
        #d4d0c8,
        #d4d0c8 5px,
        #c0c0c0 5px,
        #c0c0c0 10px
    ); /* Textured XP-style */
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.taskbar-window:hover {
    background: #b6b2a8; /* Slight highlight on hover */
}

/* Styling for taskbar icon */
.taskbar-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px; /* Space between the icon and text */
    vertical-align: middle; /* Align the icon with the text */
}

.platform-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

#clock {
    margin-right: 12px;
    font-size: 15px; /* Increase font size */
    font-weight:inherit; /* Make it bold */
    color: rgb(0, 0, 0);
    animation: glitch 2s infinite;
}

#clock-frame {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 2px inset #ffffff;
    background: #d4d0c8;
    min-width: 45px;
    font-size: 10px;
    color: black;
    font-family: "Tahoma", sans-serif;
}

.discography {
    margin-top: 20px;
    
}

.album {
    border-top: 3px inset rgb(0, 0, 0);
    background-color:#C0C0C0;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.album-cover {
    border: 3px inset rgb(0, 0, 0);
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.6);
    width: 100px;
    height: 100px;
    margin-right: 10px;
}

.album-info {
    font-family: "Press Start 2P", sans-serif;
    font-size: 10px;
}

.album-info a {
    color: #ff00ff;
    text-decoration: none;
}

.album-info a:hover {
    text-decoration: underline;
}


