/* Fake Windows 98 Background */
body {
    background: #3B77BC; /* Classic Win98 blue */
    font-family: Arial, sans-serif;
    font-size: 15px;
    overflow: hidden;
}

/* Desktop Container */
#desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 10px;
}

/* Desktop Icons */
.desktop-icon {
    width: 90px;
    text-align: center;
    cursor: pointer;
    color: white;
    font-size: 12px;
    user-select: none;
    margin: 10px;
    image-rendering: pixelated;
}

.desktop-icon img {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto 5px;
}

/* Webamp Window */
#winamp-container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* Desktop Icon Selection Effect */
.desktop-icon-title {
    font-family: "MS Sans Serif", "Segoe UI", sans-serif;
    font-size: 11px;
    background: none;
    border: 1px dotted transparent;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.desktop-icon.selected .desktop-icon-title {
    background-color: #000080;
    border-color: white;
}

.desktop-icon.selected img {
    filter: brightness(0.35) sepia(100%) hue-rotate(148deg) saturate(10);
}

/* Centered Branding */
#branding {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#branding h1 {
    font-family: "MS Sans Serif", sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 1px black;
    margin-bottom: 10px;
}

#branding img {
    width: 100px; /* Adjust size as needed */
    image-rendering: pixelated;
}

#hit-counter {
    margin-top: 10px; /* Add space below the logo */
    text-align: center;
}

@media (max-width: 768px) {
    #winamp-container {
        width: 100%;
        height: auto;
        position: relative; /* Allows scrolling */
        overflow-y: auto;
    }

    .webamp {
        transform: scale(0.8); /* Make Webamp smaller on mobile */
        transform-origin: top center;
    }
}
