body {
    background: #D68AC4; /* #008080;  */
    font-family: 'Press Start 2P';
    display: block;
    height: 100vh;
    margin: 0;
}

.window {
    width: 420px;
    max-width: 90%;
    background: #c0c0c0; 
    border: 3px solid black;
    box-shadow: 5px 5px 0px black;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display:flex;
    flex-direction: column;
    overflow: hidden;
}

.window-header {
    background: navy;
    color: white;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.window-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.close-btn {
    background: silver;
    border: 2px solid black;
    font-size: 12px;
    padding: 2px 6px;
    cursor: pointer;
}

.show-tweets-btn {
    background: none;  
    border: none;  
    width: 80px;  
    height: 80px;  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 10px;
    border-radius: 5px;  
    transition: transform 0.2s ease-in-out;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.desktop-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.desktop-icon-text {
    font-size: 10px;
    margin-top: 5px;
    color: white;
    text-shadow: 1px 1px 2px black;
}

.desktop-icon {
    width: 100%;  
    height: 100%;  
    object-fit: contain;
}

.show-tweets-btn:hover {
    transform: scale(1.1);  
    box-shadow: 5px 5px 5px #666;  
}

.window-body {
    padding: 10px;
    font-size: 12px;
    background: white;
    border-top: 2px solid gray;
}

.tweet-container {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 300px;
    padding: 10px;
    box-sizing: border-box;
    /* width: 100%;
    height: 400px;   */
    overflow: auto; 
    border: 2px inset gray;
    background: white;
}

.tweet {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f4f4f4;  
    border: 1px solid #ccc;
}

.tweet h3 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.tweet p {
    font-size: 12px;
    color: #555;
}

#rss-feed-container {
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    height: 300px;  
    overflow-y: scroll;
}


.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background: #c0c0c0;
    border-top: 2px solid white;
    border-bottom: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 5px;
    font-family: 'MS Sans Serif', sans-serif;
}

.start-button {
    background: silver;
    border: 2px outset gray;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 10px;
    cursor: pointer;
}

.start-menu {
    position: absolute;
    bottom: 26px;
    left: 5px;
    width: 160px;
    background: silver;
    border: 2px solid black;
    display: none;
    box-shadow: 4px 4px 0px black;
}

.start-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.start-menu li {
    padding: 5px 10px;
    font-size: 14px;
    border-bottom: 1px solid gray;
}

.start-menu li:hover {
    background: navy;
    color: white;
}

.start-menu a {
    text-decoration: none;
    color: black;
}

.start-menu li:hover a {
    color: white;
}

.taskbar-clock {
    font-size: 11px;
    background: #c0c0c0;
    color: black;
    padding: 2px 8px;
    border: 2px inset #a0a0a0;
    margin-right: 6px;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.taskbar .taskbar-clock {
    margin-left: auto;
}

.start-icon {
    width: 20px;  
    height: 20px;
    image-rendering: pixelated; 
}

.taskbar-icon {
    width: 16px; 
    height: 16px;
    margin-right: 8px; 
    vertical-align: middle; 
}

.taskbar-tweet-button {
    background: #c0c0c0;
    border: 2px solid black;
    padding: 3px 8px;
    cursor: pointer;
    font-size: 12px;
    display: inline-block;
    margin-right: 5px;
    font-family: 'MS Sans Serif', sans-serif;
}

.taskbar-tweet-button:hover {
    background: #a0a0a0;
}

.taskbar-tweet-button img {
    width: 16px;
    height: 16px;
}

@media screen and (max-width: 350px) {
    .window {
        width: 95%; 
        height: auto; 
        max-height: 80vh;
        position: fixed;
        top: 50%; 
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .tweet-container {
        height: 250px;
    }

    .window-header {
        font-size: 12px; 
        padding: 4px;
    }

    .close-btn {
        font-size: 12px;
        padding: 2px 6px;
    }
}
