p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

img {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

textarea:focus {
    outline: none;
    border: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}


body {
    margin: 0px;
    padding: 0px;
    user-select: none;
    font: monospace;
    overflow:hidden;
    background-color: #517b97;
    color: #000000;
    font-family: Hack;
        background-size: 100% 100%;

}

.root {
    height: 100vh;
    width: 100vw;
}

.window {
    border-top: 2px solid #e7e7e7;
    border-left: 2px solid #e7e7e7;
    border-right: 2px solid #818181;
    border-bottom: 2px solid #818181;

    display: grid;
    grid-template-rows: 24px 1fr;

    position: absolute;

    min-width: max-content;
    min-height: max-content;
    max-width: 100vw;
    max-height: 100vh;
}

.windowBar {
    border-bottom: 2px solid #818181;
    background-color: #c3c3c3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2px;
    padding-right: 2px;

    font-size: 12px;
}
.windowBar .windowIcon {
    width: 16px;
    height: 16px;
}
.windowBar button {
    padding: 0px;
    margin: 0px;

    width: 20px;
    height: 20px;

    font-family: monospace;

    background-color: #b6b6b6;
    border-top: 2px solid #e7e7e7;
    border-left: 2px solid #e7e7e7;
    border-right: 2px solid #818181;
    border-bottom: 2px solid #818181;
}
.windowBar button:active {
    border-top: 2px solid #818181;
    border-left: 2px solid #818181;
    border-right: 2px solid #e7e7e7;
    border-bottom: 2px solid #e7e7e7;
}
.windowBar .close {
    background-color: rgb(189, 0, 0);
    color: #e7e7e7;
}
.windowBar .max {
    background-color: rgb(11, 62, 121);
    color: #e7e7e7;
}
.windowBar .min {
    background-color: rgb(204, 154, 15);
    color: #e7e7e7;
}




.windowContent {
    font: monospace;
    background-color: #b6b6b6;
}

.windowResize {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 12px;
    height: 12px;
    border-right: 3px dashed #818181;
    border-bottom: 3px dashed #818181;
    cursor: se-resize;
}

#globalmenuContent button {
    padding: 0px;
    margin: 0px;
    text-align: left;
    width: 100%;
    height: 20px;
    margin-top: 2px;
    margin-bottom: 2px;

    background-color: #b6b6b6;
    border-top: 2px solid #e7e7e7;
    border-left: 2px solid #e7e7e7;
    border-right: 2px solid #818181;
    border-bottom: 2px solid #818181;
}
#globalmenuContent button:active {
    border-top: 2px solid #818181;
    border-left: 2px solid #818181;
    border-right: 2px solid #e7e7e7;
    border-bottom: 2px solid #e7e7e7;
}

.hidden {
    display: none;
}

#globalmenu.globalmenuHidden {
    grid-template-rows: 24px;
}

#globalmenu.globalmenuHidden #globalmenuContent {
    display: none;
}

#globalmenuTitleBar .selected {
    border-top: 2px solid #818181;
    border-left: 2px solid #818181;
    border-right: 2px solid #e7e7e7;
    border-bottom: 2px solid #e7e7e7;
}

.movable {
    cursor: move;
}

#globalmenuContent {
    display: grid;
    grid-template-columns: 130px;
    grid-template-rows: 128px 16px auto;
    gap: 0;

    .user {
        height: 42px;
        width: 124px;
        border-top: 2px solid #818181;
        border-left: 2px solid #818181;
        border-right: 2px solid #e7e7e7;
        border-bottom: 2px solid #e7e7e7;

        display: grid;
        grid-template-columns: 44px auto;
        grid-template-rows: 42px;
    }

    .user img {
        height: 38px;
            background-color: #b6b6b6;
            border-top: 2px solid #e7e7e7;
            border-left: 2px solid #e7e7e7;
            border-right: 2px solid #818181;
            border-bottom: 2px solid #818181;
    }

    .user p {
        margin: auto;
        padding: 0;
    }

    .clockContainer {
        /* grid-column: 1;
        grid-row: 1; */
        box-sizing: border-box;
        width: 128px;
        height: 128px;
        border-top: 2px solid #818181;
        border-left: 2px solid #818181;
        border-right: 2px solid #e7e7e7;
        border-bottom: 2px solid #e7e7e7;
    }

    .clockText {
        /* grid-column: 1;
        grid-row: 2; */
        width: 126px;
        height: 14px;
        text-align: center;
        line-height: 14px;
        font-size: 12px;
        border-top: 1px solid #818181;
        border-left: 1px solid #818181;
        border-right: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
    }

    hr {
        width: 90%;
    }

    .minimizedContainer {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 2px;
        padding: 2px;

        width: 120px;

        border-top: 2px solid #818181;
        border-left: 2px solid #818181;
        border-right: 2px solid #e7e7e7;
        border-bottom: 2px solid #e7e7e7;

        button {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 0 4px;
            margin: 0;
            height: 20px;
            line-height: 20px;
            width: 100%;
            text-align: left;
            background-color: #b6b6b6;
            border-top: 2px solid #e7e7e7;
            border-left: 2px solid #e7e7e7;
            border-right: 2px solid #818181;
            border-bottom: 2px solid #818181;
            box-sizing: border-box;
        }

        button:active {
            border-top: 2px solid #818181;
            border-left: 2px solid #818181;
            border-right: 2px solid #e7e7e7;
            border-bottom: 2px solid #e7e7e7;
        }

        .windowIcon {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        .min {
            border-top: 2px solid #818181;
            border-left: 2px solid #818181;
            border-right: 2px solid #e7e7e7;
            border-bottom: 2px solid #e7e7e7;
            opacity: 0.6;
        }

        .max {
            border-top: 2px solid #e7e7e7;
            border-left: 2px solid #e7e7e7;
            border-right: 2px solid #818181;
            border-bottom: 2px solid #818181;
        }
    }
}
