@font-face {
    font-family: 'Pixelated MS Sans Serif';
    src: local('MS Sans Serif'), local('Microsoft Sans Serif');
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background-color: #3a6ea5;
    font-family: "Tahoma", "Segoe UI", sans-serif;
    font-size: 11px;

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.appwindow {
    width: 400px;
    background-color: #c0c0c0;
    box-shadow: inset 1px 1px #dfdfdf,
        inset 2px 2px #fff,
        inset -1px -1px #000,
        inset -2px -2px #808080;
    padding: 3px;
    display: flex;
    flex-direction: column;
    filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.2));
}

.title-bar1 {
    background: linear-gradient(90deg, #000080, #1084d0);
    padding: 3px 2px 3px 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 18px;
}

.title-bar-text {
    color: white;
    font-weight: bold;
    font-size: 11px;
    letter-spacing: 0.5px;
    margin-left: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}

.title-bar-controls {
    display: flex;
}

.title-bar-controls button {
    width: 16px;
    height: 14px;
    min-width: 16px;
    padding: 0;
    margin-left: 2px;
    border: none;
    outline: none;
    background-color: #c0c0c0;
    box-shadow: inset 1px 1px #fff,
        inset -1px -1px #000,
        inset -2px -2px #808080;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-bar-controls button:active {
    box-shadow: inset 1px 1px #000,
        inset 2px 2px #808080,
        inset -1px -1px #fff;
    padding-top: 1px;
    padding-left: 1px;
}

button[aria-label="Close"]::before {
    content: "r";
    font-family: "Marlett";
    font-size: 10px;
    line-height: 10px;
    position: relative;
    top: -1px;
}

button[aria-label="Maximize"]::before {
    content: "1";
    font-family: "Marlett";
    font-size: 10px;
    line-height: 10px;
    position: relative;
    top: -1px;
}

button[aria-label="Minimize"]::before {
    content: "0";
    font-family: "Marlett";
    font-size: 10px;
    line-height: 10px;
    position: relative;
    top: -1px;
}

button[aria-label="Links"]::before {
    font-size: 10px;
    line-height: 10px;
    position: relative;
    top: -1px;
}

.content {
    margin-top: 2px;
    padding: 12px;
    font-size: 11px;
    color: black;
}

.links {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}
.link {
    display: inline-block;
    padding: 2px 8px;
    color: #0000ee;
    text-decoration: underline;
    background: #c0c0c0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #000000;
    font-size: 11px;
    line-height: 16px;
    user-select: none;
}
.link:active {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    padding-top: 3px;
}
.link:focus {
    outline: 1px dotted #000;
}
.link:hover {
    background: linear-gradient(#e8e8e8, #c8c8c8);
}