/* DESKTOP SCREEN */
#desktop-screen {
    background-image: url('../wallpaper.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Desktop Icons */
.desktop-icons {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 90%; /* prevent overlapping taskbar */
    padding: 10px;
    gap: 10px;
    align-content: flex-start;
}

.desktop-icon {
    width: 80px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.1s;
    color: white; /* Desktop icons usually white on wallpaper */
}

.desktop-icon:hover {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.desktop-icon:active {
    background: rgba(255,255,255,0.2);
}

.icon-img {
    font-size: 2.5rem;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    line-height: 1;
}

.icon-text {
    font-size: 0.8rem;
    text-align: center;
    text-shadow: 0 1px 2px black;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}