/* Configuración general del sistema */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "MS Sans Serif", Tahoma, Arial, sans-serif;
    image-rendering: pixelated;
}

/* El escritorio de Windows */
#desktop {
    width: 100vw;
    height: 100vh;
    background-color: #008080; /* Clásico verde azulado de Windows 95 */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Estilos de la Ventana flotante */
#main-window {
    width: 65%;
    max-width: 800px;
    min-height: 450px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Menú de herramientas superior (Archivo, Editar...) */
.window-menus {
    padding: 4px 6px;
    background: #f1efe7;
    border-bottom: 1px solid #7f7f7f;
    font-size: 12px;
}

.menu-item {
    margin-right: 15px;
    display: inline-block;
}

/* Estilo para los enlaces de texto del menú */
.menu-item a {
    text-decoration: none;
    color: #000000;
}

.menu-item a:hover {
    text-decoration: underline;
}

/* El lienzo o área de contenido blanco */
.window-body {
    background: #ffffff;
    margin: 8px;
    padding: 15px;
    border: 2px inset #ffffff;
    min-height: 350px;
    overflow-y: auto;
}

/* Columna derecha para los íconos */
#desktop-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 90px;
}

/* Quitar líneas y colores extraños a los links de iconos */
.icon-link {
    text-decoration: none;
    color: white;
}

/* Diseño del icono individual */
.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    width: 75px;
    padding: 5px 0;
    border: 1px solid transparent;
}

.icon-img {
    font-size: 32px;
    margin-bottom: 4px;
}

.icon-text {
    font-size: 11px;
    text-shadow: 1px 1px 2px black;
    padding: 2px 4px;
}

/* Efecto de selección azul clásico al pasar el ratón */
.icon:hover {
    background: rgba(0, 0, 128, 0.2);
    border: 1px dotted #ffffff;
}

.icon:hover .icon-text {
    background-color: #000080;
}