/* * {
    font-family: 'w95fa';
} */

body {
    background-color: #00807F;
    /* background: url('windows/windowAssets/stars.gif') center/cover no-repeat; */

    margin: 0;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.desktop {
    position: relative;
    min-height: 100vh;
    padding: 12px;
}

.desktop-icons {
    position: fixed;
    top: 25px;
    left: 25px;
    height: calc(100vh - 55px);
    display: flex;
    flex-flow: column wrap;
    gap: 18px;
    align-content: flex-start;
    align-items: center;
}

.icon {
    background: none;
    border: 1px solid transparent;
    box-sizing: border-box;
    box-shadow: none;
    color: inherit;
    text-shadow: none;
    min-height: auto;
    min-width: auto;
    padding: 4px 4px;
    color: white;
    font-size: large;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.icon:focus {
    outline: none;
    box-shadow: none;
}

.icon.selected {
    background: #000080;
    border: 1px solid #ffffff;
    color: #fff;
    text-shadow: 1px 1px 0 #000040;
}

.icon.selected img {
    filter: brightness(1.15) saturate(1.1);
}

.icon:not(:disabled):active {
    box-shadow: none;
    text-shadow: none;
}

.icon img {
    width: 48px;
    height: 48px;
}

.taskbar {
    position: fixed;
    width: 100%;
    height: 30px;
    bottom: 0;
    left: 0;
    background-color: silver;
    margin: 0;
    padding: 0 0 0 2px;
    border-top: 2px outset #fff;
    z-index: 999;
    margin-right: 0px;

    color: red;
    font-size: 14px;
    text-decoration: none;
}

#clock {
    background-color: silver;
    padding: 4px;
    margin-top: 1px;
    margin-right: 8px;
    border: 1px solid white;
    border-left: 1px solid black;
    border-top: 1px solid black;
    font-weight: 300;
    float: right;
}

.start-button {
    height: 24px;
    padding: 0 10px;
    margin: 0;
    line-height: 24px;
}

.draggable-window {
    position: absolute;
    display: flex;
    flex-direction: column;
    --win-w: min(600px, calc(100vw - 24px));
    --win-h: min(460px, calc(100vh - 42px));
    --win-left: 12px;
    --win-top: 12px;
    width: var(--win-w);
    height: var(--win-h);
    left: clamp(12px, var(--win-left), calc(100vw - 12px - var(--win-w)));
    top: clamp(12px, var(--win-top), calc(100vh - 42px - var(--win-h)));
    background: #f1bebe;
    border: 2px solid #000;
    box-shadow: 2px 2px 0 #000;
    font-family: 'w95fa';
    font-size: large;
}

.draggable-window .title-bar {
    cursor: grab;
}

.draggable-window .title-bar:active {
    cursor: grabbing;
}

.window {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.window-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-bar,
.search-bar,
.lower-menu,
.content {
    width: 100%;
}

.title-bar {
    height: 22px;
    background: #757575;
    color: white;
    display: flex;
    align-items: center;
    user-select: none;
}

.draggable-window.active .title-bar {
    background: #14055C;
}

.title-bar-controls {
    padding-right: 6px;
    gap: 2px;
}

.title-bar-controls button {
    margin-left: 0 !important;
}

.title-bar-text {
    font-weight: bold;
    font-size: large;
}

.menu-bar {
    height: 20px;
    background: #d4d0c8;
}

.search-bar {
    height: 24px;
    background: #e0e0e0;
}

.lower-menu {
    height: 22px;
    background: #d4d0c8;
}

.content {
    flex: 1;
    background: #ffffff;
    overflow: hidden;
}

.window-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #e0e0e0;
}

.friends-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 4px;
    padding: 4px;
    align-content: start;
}

.friends-links .icon {
    color: #000;
    text-decoration: none;
}

.friends-links .icon img {
    width: 48px;
    height: 48px;
}

.draggable-window:not(.active) .content iframe {
    pointer-events: none;
}

.alert-window {
    --win-w: min(475px, calc(100vw - 24px));
    --win-h: min(160px, calc(100vh - 42px));
    --win-left: 520px;
    --win-top: 230px;
}

.window.alert .window-body {
    background: #d4d0c8;
    padding: 20px 15px 0px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.window.alert .alert-content {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: start;
    gap: 15px;
}

.window.alert .alert-content img {
    width: 36px;
    height: 36px;
}

.window.alert .alert-content p {
    margin: 0;
    color: #000;
    font-size: 18px;
    font-family: 'w98fa';
    line-height: 1.25;
}

.window.alert .alert-actions {
    display: flex;
    justify-content: center;
}

.window.alert .alert-actions button {
    min-width: 86px;
}

/* #aboutme .title-bar {
    background: #003399;
    color: white;
} */

/* for testing purposes right now */
/* #aboutme .menu-bar {
    background: #c8d8f0;
}

#aboutme .search-bar {
    background: #e6ecf5;
}

#aboutme .lower-menu {
    background: #c8d8f0;
}

#aboutme .content {
    background: #f0f4fa;
} */

#aboutme {
    --win-left: 400px;
    --win-top: 200px;
}

#chat {
    --win-left: 300px;
    --win-top: 350px;
    --win-w: min(500px, calc(100vw - 24px));
    --win-h: min(460px, calc(100vh - 42px));
}

#explorer {
    --win-left: 700px;
    --win-top: 350px;
}
