html, body {
    padding: 0;
    margin: 0;
    user-select: none;
    cursor: default;
    overflow: hidden;
}

body {
    color: hsl(0, 0%, 100%);
    width: 100%;
    height: 100vh;
    position: relative;
}

body.windowMoving .windowIframe {
    pointer-events: none;
}

#desktop {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: hsl(0, 0%, 30%);
    background-image: url('https://wallpaper.net.br/wp-content/uploads/2026/02/wallpaper-para-pc-os-melhores-planos-de-fundo-em-alta-resolucao-para-desktop-1.jpg.webp');
    background-image: url('https://wallpapers.com/images/hd/crazy-desktop-11m2s5bqtex5xb4e.jpg');
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSb1HfnrD5-Si4W5mIP12Dvj__Xap50SruauMN7kBiNs7fYVjbPvOp3M284&s=10');
    background-image: url('https://images.unsplash.com/photo-1499678329028-101435549a4e?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MXx8cGxhbm8lMjBkZSUyMGZ1bmRvJTIwZG8lMjBkZXNrdG9wfGVufDB8fDB8fHww');
    background-image: url('https://t4.ftcdn.net/jpg/06/81/26/51/360_F_681265185_SYVa8bbSblMQumtKysvbesRAnlw3kGFT.jpg');
    background-image: url('https://www.magnific.com/br/fotos-vetores-gratis/papel-de-parede-pc');
    background-image: url('https://images.unsplash.com/photo-1484950763426-56b5bf172dbb?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8cGxhbm8lMjBkZSUyMGZ1bmRvJTIwZG8lMjBkZXNrdG9wfGVufDB8fDB8fHww');
    /* background-image: url('https://i.pinimg.com/originals/76/61/95/766195e0bfa2c663e4cc4256659c4cab.gif'); */

    
    background-size: contain;
}

#workspace {
    flex: 1;
    padding: 10px;
}

#taskbar {
    flex-shrink: 0;
    z-index: 3000;
    height: 40px;
    background-color: hsla(0, 0%, 80%, 1);
    display: flex;
    flex-direction: row;
    /* background-color: hsla(0, 0%, 0%, 0.5); */
}

.workspaceIcon {
    cursor: pointer;
    width: fit-content;
}

.windowContainer {
    position: absolute;
    display: flex;
    min-width: fit-content;
    min-height: fit-content;
    border: 1px solid hsl(0, 0%, 60%);
}

.windowContainer.focus {
    border: 1px solid hsl(0, 0%, 0%);
}

.window {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: white;
}

.windowShadow {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid white;
    box-sizing: border-box;
    mix-blend-mode: difference;
}

.windowIframeContainer {
    width: 100%;
    height: 100%;
    position: relative;
}

.windowIframe {
    width: 100%;
    height: 100%;
    border: none;
}

.windowIframeSkin {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: hsla(0, 0%, 100%, 3%);
}

.windowHeader {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 40px;
    justify-content: right;
    color: hsl(0, 0%, 60%);
}

.windowHeader.focus {
    color: hsl(0, 0%, 0%);
}

.windowHeaderTitleContainer {
    width: 100%;
    align-content: center;
    padding-inline: 16px;
}

.windowHeaderTitle {
    /* color: hsl(0, 0%, 60%); */
}

.windowHeaderButtonsContainer {
    display: flex;
    flex-direction: row-reverse;
}

.windowHeaderButton {
    width: 40px;
    height: 40px;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.windowHeaderButton:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.windowHeaderCloseButton:hover {
    background-color: red;
    color: white;
}

.hidden {
    transform: scale(0);
    display: none;
}

.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

.iconContainer {
    box-sizing: border-box;
    padding: 4px;
    width: 50px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iconContainer:hover {
    background-color: hsla(0, 0%, 100%, 0.4);
}

.iconContainer.open {
    box-shadow: inset 0 -2px 0 0 purple;
}

.iconContainer.focus {
    background-color: hsla(0, 0%, 100%, 0.7);
    /* border-bottom: 1px solid purple; */
    box-shadow: inset 0 -2px 0 0 purple !important; 
}

.iconContainer.focus:hover {
    background-color: hsla(0, 0%, 100%, 0.8);
}

.iconImg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}