:root {
    --xp-blue: #245edb;
    --xp-blue-dark: #003096;
    --xp-start-green: #3c793c;
    --xp-window-gradient: linear-gradient(to bottom, #0058e4 0%, #3b8cf8 4%, #1267d3 6%, #0d59c1 8%, #0d59c1 95%, #084091 100%);
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: "Tahoma", sans-serif;
}

* {
    box-sizing: border-box;
}

#desktop {
    width: 100vw;
    height: calc(100vh - 30px);
    position: relative;

    background-image: url("57172885989524118-sw10.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 10px;
}

.icon {
    width: 75px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px;
    cursor: pointer;
    text-align: center;
}

.icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
}

.icon span {
    color: white;
    text-shadow: 1px 1px 2px black;
    font-size: 11px;
    padding: 2px;
}

.icon:hover span {
    background-color: rgba(0, 0, 255, 0.4);
}

.window {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ece9d8;
    border: 4px solid #0058e4;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: none;
    flex-direction: column;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    box-sizing: border-box;
}

.title-bar {
    background: var(--xp-window-gradient);
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    color: white;
    font-weight: bold;
}

.title-bar-text {
    display: flex;
    align-items: center;
    gap: 5px;
}

.title-bar-controls {
    display: flex;
    gap: 2px;
}

.control-btn {
    width: 21px;
    height: 21px;
    border: 1px solid white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.close-btn {
    background: #e04343;
}

.close-btn:hover {
    background: #f00;
}

.menu-bar {
    background: #ece9d8;
    height: 22px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    font-size: 11px;
    border-bottom: 1px solid #aca899;
    position: relative;
}

.menu-bar span {
    padding: 2px 6px;
    cursor: default;
}

.menu-bar span:hover {
    background: #316ac5;
    color: white;
}

.logo-area {
    position: absolute;
    right: 5px;
    top: 1px;
}

.toolbar {
    background: #ece9d8;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 2px 5px;
    border-bottom: 1px solid #aca899;
    gap: 2px;
}

.tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    font-size: 10px;
    min-width: 40px;
    border: 1px solid transparent;
}

.tool-btn:hover:not(.disabled) {
    border: 1px solid #aca899;
    background: #f1f1f1;
    box-shadow: inset 1px 1px 1px white;
}

.tool-btn.disabled {
    opacity: 0.5;
    filter: grayscale(1);
}

.tool-sep {
    width: 2px;
    height: 30px;
    background: #aca899;
    margin: 0 4px;
    border-right: 1px solid white;
}

.address-bar {
    background: #ece9d8;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    font-size: 11px;
    border-bottom: 1px solid #aca899;
    gap: 5px;
}

.address-bar .label {
    color: #716f64;
}

.address-input-container {
    flex-grow: 1;
    background: white;
    border: 1px solid #7f9db9;
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 3px;
}

.address-input-container input {
    border: none;
    flex-grow: 1;
    font-size: 11px;
    outline: none;
    margin-left: 5px;
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    background: #ece9d8;
    border-left: 1px solid #7f9db9;
    position: relative;
}

.dropdown-arrow::after {
    content: "▼";
    font-size: 7px;
    position: absolute;
    top: 3px;
    left: 4px;
}

.go-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 5px;
}

.status-bar {
    background: #ece9d8;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    font-size: 11px;
    border-top: 1px solid #aca899;
}

.status-left,
.status-right {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px inset #aca899;
    padding: 0 10px;
    height: 18px;
}

.status-left {
    flex-grow: 1;
    margin-right: 2px;
}

.window-content {
    flex-grow: 1;
    border: 1px solid #716f64;
    margin: 2px;
    background: white;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#taskbar {
    height: 30px;
    background: linear-gradient(to bottom, #245edb 0%, #3f8cf3 9%, #245edb 18%, #245edb 92%, #1941a5 100%);
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 2000;
}

#start-button {
    height: 100%;
    background: linear-gradient(to bottom, #3c793c 0%, #54a954 10%, #3c793c 20%, #3c793c 90%, #2e5d2e 100%);
    color: white;
    padding: 0 15px;
    display: flex;
    align-items: center;
    font-style: italic;
    font-weight: bold;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
    box-shadow: inset 1px 1px 2px #fff;
}

#taskbar-center {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

#system-tray {
    padding: 0 10px 0 0;
    color: white;
    font-size: 11px;
    background: url('texture.png') repeat-x;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

#tray-icons {
    height: 100%;
    width: auto;
    image-rendering: auto;
}