:root {
    --taskbar-height: 36px;
    --application-button-width: 170px;
}

body {
    margin: 0;
    overflow: hidden;
}

img {
    image-rendering: pixelated;
}


.desktop_icons {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    align-items: start;
    z-index: -1;
    max-width: calc(100% - 80px);
    height: calc(calc(100% - var(--taskbar-height)) - 80px);
    gap: 40px;
    padding: 40px;
    grid-template-rows: repeat(auto-fill, 115px);
    grid-auto-flow: column;
}

.desktop_icons .icon {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 120px;
    width: 100px;
    justify-content: center;
    align-items: center;
    color: black;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
    user-select: none;
}

.desktop_icons .icon span {
    padding: 3px 4px;
    border: 1px dotted #0000;
    text-align: center;
    width: fit-content;
}

.desktop_icons .icon:hover span {
    background-color: #0000FF;
    color: whitesmoke;
    border: 1px dotted lightgrey;
}

.desktop_icons .icon img {
    height: 64px;
    width: 64px;
}

.fullscreen_app {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding-bottom: calc(var(--taskbar-height) - 2px);
}

img.wallpaper {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -3;
    object-fit: cover;
    background: linear-gradient(0deg, lightgreen 0%, skyblue 100%);
}

.taskbar {
    background: linear-gradient(0deg, #1943a9 0%, #245ddb 8%, #245ddb 85%, #3a85e5 100%);
    bottom: 0;
    position: absolute;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: var(--taskbar-height);
    width: 100%;
    outline: 1px outset #0f4474;
    z-index: 2;
}
.taskbar a {
    text-decoration: none;
}
.taskbar > * {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    height: 100%;
}

button.startbutton {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: radial-gradient(ellipse 50px 40px, #46aa46 70%, #277927 100%), linear-gradient(357deg, #2b7437 0%, #43ac43 8%, #43ac43 80%, #8cbe8e 100%);
    background-blend-mode: saturation;
    border: 1px outset #4b944b;
    border-radius: 6px / 0 21px 21px 0;
    outline: 1px outset #155949;
    padding: 0px 28px 0 10px;
    margin-right: 6px;
    width: 115px;
    cursor: pointer;
    user-select: none;
    height: 100%;
}
button.startbutton:hover {
    background: radial-gradient(ellipse 50px 40px, #46aa46 70%, #145614 100%), linear-gradient(357deg, #2b7437 0%, #43ac43 8%, #43ac43 80%, #8cbe8e 100%);
    background-blend-mode: lighten;
    border: 1px inset #4b944b;
    box-shadow: inset 0 0 10px #a0eca0;
}
button.startbutton:active {
    background: radial-gradient(ellipse 50px 40px, #2e912e 70%, #145614 100%), linear-gradient(357deg, #2b7437 0%, #43ac43 8%, #1d881d 80%, #8cbe8e 100%);
    background-blend-mode: hue;
    border: 1px inset #4b944b;
    box-shadow: inset 0 0 2px #4b944b;
}
button.startbutton > img {
    height: 28px;
    width: 32px;
}
button.startbutton > span {
    padding-left: 4px;
    font-family: 'Franklin Gothic', sans-serif;
    font-size: large;
    font-style: italic;
    color: whitesmoke;
}

.startmenu {
    position: absolute;
    display: none;
    height: 500px;
    width: 450px;
    bottom: var(--taskbar-height);
    left: 0;
    border-radius: 3.5px 3.5px 3.5px 0;
    box-sizing: border-box;
    border: 2px solid #0a60cb;
    margin: 1px;
    outline: 1px solid #0c7ccc;
    background-color: whitesmoke;
    cursor: initial;
    z-index: 3;
    /* FLEX */
    flex-direction: column;
    align-items: stretch;
}
button.startbutton:focus > .startmenu {
    display: flex;
}
.profile {
    flex: 0 0 85px;
    justify-content: left;
    background: linear-gradient(0deg, #0a60cb 0%, #0c7ccc 15%, #074a9c 80%, #074a9c 90%, #0d8dea 100%);
    font-size: larger;
    font-weight: bold;
    display: flex;
    /* justify-content: flex-start; */
    align-items: center;
}
.profile img {
    height: 64px;
    width: 64px;
    border-radius: 5px;
    margin: 0 12px;
    padding: 4px;
    box-shadow: inset 0 0 12px skyblue;
}
.links {
    flex: 1 0;
    display: flex;
    color: black;
}
.links a {
    text-decoration: none;
    color: black;
}
.links div {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 8px;
}
.links .sidemenu {
    background-color: rgb(166, 195, 207);
}
.power {
    flex: 0 0 40px;
    background: linear-gradient(0deg, #0a60cb 0%, #0d8dea 100%);
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 6px;
    padding-right: 8px;
}
.power img {
    margin-left: 8px;
    border-radius: 3px;
    height: 24px;
    width: 24px;
}

.time {
    background: linear-gradient(0deg, #0a60cb 0%, #0d8dea 12%, #0d8dea 84%, #17b3f1 100%);
    border: 1px outset #21c0f1;
    outline: 1px outset #0f4474;
    color: whitesmoke;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: medium;
    padding: 0 16px 2px 8px;
    margin-left: 8px;
    user-select: none;
}
.time > img {
    height: 28px;
    width: 32px;
}
.time > span {
    margin-left: 12px;
}

.applications {
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1 1;
    justify-content: flex-start;
    gap: 4px;
}
.applications a {
    flex: 0 1 var(--application-button-width);
    text-decoration: none;
    height: 100%;
}
button.app {
    background: linear-gradient(0deg, #0a60cb 0%, #4386b6 8%, #0c7ccc 85%, #17b3f1 100%);
    border: 2px outset #1c84a4;
    outline: 1px outset #0f4474;
    border-radius: 5px;
    display: flex;
    align-items: center;
    border: none;
    padding: 0 16px 0 8px;
    margin: 3px 0;
    height: 30px;
    width: 100%;
    font-size: medium;
    max-width: var(--application-button-width);
    cursor: pointer;
}
button.app:hover {
    background: linear-gradient(0deg, #0a60cb 0%, #4a94c9 8%, #0d8dea 85%, #17b3f1 100%);
}
button.app:hover:active, button.app:focus, button.app.current:focus {
    background: linear-gradient(0deg, #074a9c 0%, #295879 8%, #295879 80%, #117ba6 100%);
    border: none;
    outline: 1px inset #164e82;
}
button.app.current {
    background: linear-gradient(0deg, #1943a9 0%, #1a4ebd 8%, #1a4ebd 85%, #3a85e5 100%);
    /* background: linear-gradient(0deg, #0a60cb 0%, #3c81b3 8%, #3c81b3 85%, #17b3f1 100%); */
    border: none;
    outline: 1px inset #0d375e;
    box-shadow: inset 0 0 2px black;
}
button.app > img {
    margin-bottom: 1px;
    height: 24px;
    width: 26px;
}
button.app > span {
    color: whitesmoke;
    text-decoration: none;
    user-select: none;
    margin-left: 6px;
    margin-bottom: 3px;
}

@media screen and (max-width: 560px) {
}
