* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: Tahoma, sans-serif;
    background: url('assets/fondo.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

#desktop {
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 20px;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    cursor: pointer;
    color: white;
    text-shadow: 1px 1px black;
}

.icon img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.icon span {
    text-align: center;
    font-size: 11px;
}

#taskbar {
   position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw; 
    height: 40px;
    background-image: url('assets/barra-xp.png');
    background-repeat: no-repeat;
    background-size: cover; 
    z-index: 10;
}

.app-window {
    position: absolute;
    top: 100px;
    left: 100px;
    width: fit-content;
    z-index: 10;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
}

.app-window img {
    max-width: 500px;
    height: auto;
    display: block;
}

.hidden {
    display: none;
}

.close-button {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #c00;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 2px;
}

.media-header {
    background: #1c4587;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.media-content {
    padding: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    background: #e5e5e5;
}