:root {
    --red: hsl(330, 100%, 80%);
    --orange: hsl(15, 100%, 80%);
    --yellow: hsl(60, 100%, 80%);
    --green: hsl(105, 100%, 80%);
    --cyan: hsl(150, 100%, 80%);
    --blue: hsl(195, 100%, 80%);
    --purple: hsl(240, 100%, 80%);
    --pink: hsl(285, 100%, 80%);
    --darkred: hsl(330, 100%, 65%);
    --darkorange: hsl(15, 100%, 65%);
    --darkyellow: hsl(60, 100%, 65%);
    --darkgreen: hsl(105, 100%, 65%);
    --darkcyan: hsl(150, 100%, 65%);
    --darkblue: hsl(195, 100%, 65%);
    --darkpurple: hsl(240, 100%, 65%);
    --darkpink: hsl(285, 100%, 65%);
    --lightred: hsl(330, 100%, 90%);
    --lightorange: hsl(15, 100%, 90%);
    --lightyellow: hsl(60, 100%, 90%);
    --lightgreen: hsl(105, 100%, 90%);
    --lightcyan: hsl(150, 100%, 90%);
    --lightblue: hsl(195, 100%, 90%);
    --lightpurple: hsl(240, 100%, 90%);
    --lightpink: hsl(285, 100%, 90%);
}




@font-face {
    font-family: "unifont";
    src: url("asset/unifont-15.1.04.otf");
    font-display: block;
}

@font-face {
    font-family: "unifont-upper";
    src: url("asset/unifont_upper-15.1.04.otf");
    unicode-range: U+10000-10FFFF;
    font-display: swap;
}

html,
body,
pre,
code {
    font-family: 'unifont', 'unifont-upper';
    font-size: 18px;
    line-height: 120%;
}

em,
strong {
    color: var(--darkpurple);
}

a {
    color: var(--darkorange);
}

a:hover {
    color: var(--darkpink);
}

h1,
h2,
h3 {
    color: var(--darkred);
}

body {
    margin: 0;
    height: 100dvh;
    overflow: hidden;
    background-color: black;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
}

.arena {
    display: grid;
    height: 100%;
    grid-template-rows: calc(100% - 1.75em) 1.75em;

    background-image:  url(images/0.png);
    background-position: center; 
    background-blend-mode: multiply;
    background-attachment: fixed;

    margin: 0;
    padding: 0;
    height: 100%;
  }
   

.desktop {
    display: flex;
    flex-flow: column wrap;
    align-content: flex-start;
    padding: 8px;
}

.iconwrap {
    width: 96px;
    height: 88px;
    margin: 4px;
    text-align: center;
    overflow: hidden;
    user-select: none;
}

.iconwrap>.icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.iconwrap>.icon>img {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
}

.iconwrap>.icon>.tag {
    font-size: 16px;
    line-height: 115%;
    overflow-wrap: anywhere;
    /* text-shadow: 0 0 2px hsl(285, 100%, 65%); */
}

.bar {
    z-index: 1000;
    background-color: hsl(293.08deg 72.22% 92.94%);
    user-select: none;
    display: grid;
    grid-template-columns: 6em auto 5em;
    border-style: outset;
    border-width: 2px;
}

.bar>div {
    margin: 1px 2px;
}

.bar>.start {
    border-style: outset;
  border-width: 2px;
  text-align: center;
  background: url(./images/start.png);
  background-position: center;
  background-size: contain;
}

.bar>.start>span:nth-child(1) {
    /* text-shadow: -1px 0px white, 1px 0px white, 0px -1px white, 0px 1px white; */
}

.bar>.start>span:nth-child(2) {
    color: hsl(252.12deg 45.22% 54.9%);
}

.bar>.start>span:nth-child(3) {
    color: var(--darkyellow);
}

.bar>.start>span:nth-child(4) {
    color: var(--darkblue);
}

.bar>.start>span:nth-child(5) {
    color: var(--darkpink);
}

.bar>.start.active {
    border-style: inset;
}

.bar>.taskbar {
    display: flex;
    flex-flow: row nowrap;
    overflow: hidden;
    font-size: 16px;
    border-left: 3px double #999;
    border-right: 3px double #999;
    padding-left: 2px;
}

.bar>.taskbar>.task {
    flex-basis: 9em;
    overflow: hidden;
    margin-left: 2px;
    padding-left: 2px;
    border-style: outset;
    border-width: 2px;
}

.bar>.taskbar>.task.active {
    border-style: inset;
}

.bar>.status {
    border-style: inset;
    border-width: 2px;
}

.bar>.status>.counter {
    text-align: center;
}

.bar>.menu {
    display: grid;
    grid-template-columns: 0.5em 10em;
    position: absolute;
    left: 0;
    bottom: 1.75em;
    z-index: 990;
    display: none;
    margin: 0;
    background-image: linear-gradient(180deg, hsl(293.08deg 72.22% 92.94%), hsl(293.08deg 72.22% 92.94%));
    border-style: outset;
    border-width: 2px;
}

.bar>.menu>.ribbon {
    background-image: linear-gradient(180deg, hsl(254.83deg 52.05% 66.47%), hsl(253.73deg 60.47% 50.39%));
}

.bar>.menu>.list>.entry {
    border: 2px solid transparent;
    border-top: 2px solid #815cda;
    padding: 4px;
    text-align: center;
}

.bar>.menu>.list>.entry:active {
    border-style: inset;
    border-color: initial;
}

.window {
    position: absolute;
    resize: both;
    overflow: hidden;
    min-width: min(20vw, 30vh);
    min-height: 20vh;
    display: grid;
    grid-template-rows: 1.5em auto;
    background-color: var(--lightpink);
    border-style: outset;
    border-width: 2px;
    box-sizing: border-box;
}

.window.dragging {
    opacity: 0.8;
}

.window.small {
    width: min(40vw, 60vh);
    height: 40vh;
}

.window.medium {
    width: min(60vw, 90vh);
    height: 60vh;
    background-color: #89f5f6;
    border-color: #6d58c0
    background-color: #000;
 
}

.window.large {
    width: min(90vw, 120vh);
    height: 80vh;
}

.window.fixed {
    resize: none;
}

@media (max-width: 600px) {
    .window.small {
        width: 85vw;
        height: 30vh;
    }

    .window.medium,
    .window.large {
        width: 95vw;
        height: 80vh;
    }
}

.window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - 1.75em) !important;
    resize: none;
}

.window>.header {
    user-select: none;
    display: grid;
    grid-template-columns: auto 1.5em 1.5em 1.5em;
    color: #6d58c0; /* ÃƒÂ¦Ã‚Â Ã¢â‚¬Â¡ÃƒÂ©Ã‚Â¢Ã‹Å“ÃƒÂ¦Ã¢â‚¬â€œÃ¢â‚¬Â¡ÃƒÂ¥Ã‚Â­Ã¢â‚¬â€ÃƒÂ©Ã‚Â¢Ã…â€œÃƒÂ¨Ã¢â‚¬Â°Ã‚Â² */
    background-color: #efcfef; /* ÃƒÂ¦Ã‚Â Ã¢â‚¬Â¡ÃƒÂ©Ã‚Â¢Ã‹Å“ÃƒÂ¦Ã‚Â Ã‚ÂÃƒÂ¨Ã†â€™Ã…â€™ÃƒÂ¦Ã¢â€žÂ¢Ã‚Â¯ÃƒÂ¨Ã¢â‚¬Â°Ã‚Â²ÃƒÂ¯Ã‚Â¼Ã‹â€ ÃƒÂ§Ã‚Â²Ã¢â‚¬Â°ÃƒÂ¨Ã¢â‚¬Â°Ã‚Â²ÃƒÂ¯Ã‚Â¼Ã¢â‚¬Â° */
    border-color: #6d58c0; /* ÃƒÂ¨Ã‚Â¾Ã‚Â¹ÃƒÂ¦Ã‚Â¡Ã¢â‚¬Â ÃƒÂ©Ã‚Â¢Ã…â€œÃƒÂ¨Ã¢â‚¬Â°Ã‚Â²ÃƒÂ¯Ã‚Â¼Ã‹â€ ÃƒÂ§Ã‚Â´Ã‚Â«ÃƒÂ¨Ã¢â‚¬Å“Ã‚ÂÃƒÂ¨Ã¢â‚¬Â°Ã‚Â²ÃƒÂ¯Ã‚Â¼Ã¢â‚¬Â° */
    border-style: solid; /* ÃƒÂ¥Ã¢â‚¬Â¦Ã‚Â³ÃƒÂ©Ã¢â‚¬ÂÃ‚Â®ÃƒÂ¯Ã‚Â¼Ã…Â¡ÃƒÂ¦Ã‚Â·Ã‚Â»ÃƒÂ¥Ã…Â Ã‚Â ÃƒÂ¥Ã‚Â®Ã…Â¾ÃƒÂ§Ã‚ÂºÃ‚Â¿ÃƒÂ¦Ã‚Â Ã‚Â·ÃƒÂ¥Ã‚Â¼Ã‚ÂÃƒÂ¯Ã‚Â¼Ã…â€™ÃƒÂ¥Ã‚ÂÃ‚Â¦ÃƒÂ¥Ã‹â€ Ã¢â€žÂ¢ÃƒÂ¨Ã‚Â¾Ã‚Â¹ÃƒÂ¦Ã‚Â¡Ã¢â‚¬Â ÃƒÂ¤Ã‚Â¸Ã‚ÂÃƒÂ¦Ã‹Å“Ã‚Â¾ÃƒÂ§Ã‚Â¤Ã‚Âº */
    border-bottom: none; /* ÃƒÂ¥Ã‚ÂÃ‚Â¯ÃƒÂ©Ã¢â€šÂ¬Ã¢â‚¬Â°ÃƒÂ¯Ã‚Â¼Ã…Â¡ÃƒÂ¥Ã‚ÂÃ¢â‚¬â€œÃƒÂ¦Ã‚Â¶Ã‹â€ ÃƒÂ¥Ã‚ÂºÃ¢â‚¬Â¢ÃƒÂ©Ã†â€™Ã‚Â¨ÃƒÂ¨Ã‚Â¾Ã‚Â¹ÃƒÂ¦Ã‚Â¡Ã¢â‚¬Â ÃƒÂ¯Ã‚Â¼Ã‹â€ ÃƒÂ©Ã‚ÂÃ‚Â¿ÃƒÂ¥Ã¢â‚¬Â¦Ã‚ÂÃƒÂ¥Ã¢â‚¬â„¢Ã…â€™ÃƒÂ§Ã‚ÂªÃ¢â‚¬â€ÃƒÂ¥Ã‚ÂÃ‚Â£ÃƒÂ¤Ã‚Â¸Ã‚Â»ÃƒÂ¤Ã‚Â½Ã¢â‚¬Å“ÃƒÂ¨Ã‚Â¾Ã‚Â¹ÃƒÂ¦Ã‚Â¡Ã¢â‚¬Â ÃƒÂ©Ã¢â‚¬Â¡Ã‚ÂÃƒÂ¥Ã‚ÂÃ‚Â ÃƒÂ¯Ã‚Â¼Ã¢â‚¬Â° */
}

.window>.content {
    overflow: auto;
    padding: 8px;
    padding-bottom: 9.1145833333vw;
    padding-inline:4.4270833333vw;
    border-width: .390625vw
       padding-block:3.125rem;
    padding-inline:2.5rem;
    border-width: .125rem
 margin: auto;
    /* color: #000; */
    background-color: #fff;
    border-style: solid;
    border-color: #6d58c0
}

.window.fixed>.content {
    overflow: hidden;
    padding: 0;
}

.window>.content>.folder-meta {
    margin: 12px;
}

.window>.content>.folder-meta>span:nth-child(1) {
    color: var(--darkred);
    font-size: 1.2em;
    font-weight: bold;
}

.window>.content>.folder-meta>span:nth-child(2) {
    color: var(--red);
    margin: 16px;
}

.window>.content>.folder-desc {
    margin: 12px;
    border-bottom: 2px solid var(--purple);
}

.window>.content>.folder {
    display: flex;
    flex-flow: row wrap;
    margin-top: 16px;
}

.window>.header>.title {
   
    cursor: move;
    padding-left: 4px;
    line-height: 150%;
    overflow: hidden;
    touch-action: none;
}

/* ÃƒÂ§Ã‚Â»Ã¢â€žÂ¢ÃƒÂ¦Ã‚Â Ã¢â‚¬Â¡ÃƒÂ©Ã‚Â¢Ã‹Å“ÃƒÂ¦Ã‚Â·Ã‚Â»ÃƒÂ¥Ã…Â Ã‚Â ÃƒÂ¢Ã¢â‚¬â€œÃ‚Â ÃƒÂ¥Ã¢â‚¬Â°Ã‚ÂÃƒÂ§Ã‚Â¼Ã¢â€šÂ¬ */
.window > .header > .title {
    cursor: move;
    padding-left: 1px;
    line-height: 130%;
    overflow: hidden;
    touch-action: none;
    /* ÃƒÂ¨Ã‚Â°Ã†â€™ÃƒÂ¦Ã¢â‚¬Â¢Ã‚Â´ÃƒÂ¥Ã¢â‚¬Â Ã¢â‚¬Â¦ÃƒÂ¨Ã‚Â¾Ã‚Â¹ÃƒÂ¨Ã‚Â·Ã‚ÂÃƒÂ¯Ã‚Â¼Ã…â€™ÃƒÂ§Ã‚Â»Ã¢â€žÂ¢ÃƒÂ¢Ã¢â‚¬â€œÃ‚Â ÃƒÂ§Ã¢â‚¬Â¢Ã¢â€žÂ¢ÃƒÂ¥Ã¢â‚¬Â¡Ã‚ÂºÃƒÂ§Ã‚Â©Ã‚ÂºÃƒÂ©Ã¢â‚¬â€Ã‚Â´ÃƒÂ¯Ã‚Â¼Ã‹â€ ÃƒÂ©Ã‚ÂÃ‚Â¿ÃƒÂ¥Ã¢â‚¬Â¦Ã‚ÂÃƒÂ§Ã‚Â¬Ã‚Â¦ÃƒÂ¥Ã‚ÂÃ‚Â·ÃƒÂ¥Ã¢â‚¬â„¢Ã…â€™ÃƒÂ¦Ã¢â‚¬â€œÃ¢â‚¬Â¡ÃƒÂ¥Ã‚Â­Ã¢â‚¬â€ÃƒÂ©Ã¢â‚¬Â¡Ã‚ÂÃƒÂ¥Ã‚ÂÃ‚Â ÃƒÂ¯Ã‚Â¼Ã¢â‚¬Â° */
    padding-left: 35px; /* ÃƒÂ¥Ã…Â½Ã…Â¸4pxÃƒÂ¦Ã¢â‚¬ÂÃ‚Â¹ÃƒÂ¤Ã‚Â¸Ã‚Âº16pxÃƒÂ¯Ã‚Â¼Ã…â€™ÃƒÂ§Ã‚Â»Ã¢â€žÂ¢ÃƒÂ¢Ã¢â‚¬â€œÃ‚Â ÃƒÂ§Ã¢â‚¬Â¢Ã¢â€žÂ¢ÃƒÂ¥Ã¢â‚¬Â¡Ã‚ÂºÃƒÂ¤Ã‚Â½Ã‚ÂÃƒÂ§Ã‚Â½Ã‚Â® */
    position: relative; /* ÃƒÂ¤Ã‚Â¸Ã‚ÂºÃƒÂ¤Ã‚Â¼Ã‚ÂªÃƒÂ¥Ã¢â‚¬Â¦Ã†â€™ÃƒÂ§Ã‚Â´Ã‚Â ÃƒÂ¥Ã‚Â®Ã…Â¡ÃƒÂ¤Ã‚Â½Ã‚ÂÃƒÂ¥Ã‚ÂÃ…Â¡ÃƒÂ¥Ã¢â‚¬Â¡Ã¢â‚¬Â ÃƒÂ¥Ã‚Â¤Ã¢â‚¬Â¡ */
}

/* ÃƒÂ¤Ã‚Â½Ã‚Â¿ÃƒÂ§Ã¢â‚¬ÂÃ‚Â¨ÃƒÂ¤Ã‚Â¼Ã‚ÂªÃƒÂ¥Ã¢â‚¬Â¦Ã†â€™ÃƒÂ§Ã‚Â´Ã‚Â ÃƒÂ¦Ã‚Â·Ã‚Â»ÃƒÂ¥Ã…Â Ã‚Â ÃƒÂ¢Ã¢â‚¬â€œÃ‚Â ÃƒÂ§Ã‚Â¬Ã‚Â¦ÃƒÂ¥Ã‚ÂÃ‚Â· */
.window > .header > .title::before {
    content: "■ "; /* ÃƒÂ¨Ã‚Â¦Ã‚ÂÃƒÂ¦Ã‚Â·Ã‚Â»ÃƒÂ¥Ã…Â Ã‚Â ÃƒÂ§Ã…Â¡Ã¢â‚¬Å¾ÃƒÂ§Ã‚Â¬Ã‚Â¦ÃƒÂ¥Ã‚ÂÃ‚Â· */
    position: absolute; /* ÃƒÂ§Ã‚Â»Ã‚ÂÃƒÂ¥Ã‚Â¯Ã‚Â¹ÃƒÂ¥Ã‚Â®Ã…Â¡ÃƒÂ¤Ã‚Â½Ã‚Â */
    left: 6px; /* ÃƒÂ¤Ã‚Â¸Ã…Â½ÃƒÂ¥Ã…Â½Ã…Â¸padding-leftÃƒÂ¥Ã‚Â¯Ã‚Â¹ÃƒÂ©Ã‚Â½Ã‚Â */
    color: inherit; /* ÃƒÂ§Ã‚Â»Ã‚Â§ÃƒÂ¦Ã¢â‚¬Â°Ã‚Â¿ÃƒÂ¦Ã‚Â Ã¢â‚¬Â¡ÃƒÂ©Ã‚Â¢Ã‹Å“ÃƒÂ¦Ã¢â‚¬â€œÃ¢â‚¬Â¡ÃƒÂ¥Ã‚Â­Ã¢â‚¬â€ÃƒÂ©Ã‚Â¢Ã…â€œÃƒÂ¨Ã¢â‚¬Â°Ã‚Â² */
    font-size: 1.2em; /* ÃƒÂ§Ã‚Â»Ã‚Â§ÃƒÂ¦Ã¢â‚¬Â°Ã‚Â¿ÃƒÂ¦Ã‚Â Ã¢â‚¬Â¡ÃƒÂ©Ã‚Â¢Ã‹Å“ÃƒÂ¦Ã¢â‚¬â€œÃ¢â‚¬Â¡ÃƒÂ¥Ã‚Â­Ã¢â‚¬â€ÃƒÂ¥Ã‚Â¤Ã‚Â§ÃƒÂ¥Ã‚Â°Ã‚Â */
    line-height: inherit; /* ÃƒÂ§Ã‚Â»Ã‚Â§ÃƒÂ¦Ã¢â‚¬Â°Ã‚Â¿ÃƒÂ¨Ã‚Â¡Ã…â€™ÃƒÂ©Ã‚Â«Ã‹Å“ÃƒÂ¯Ã‚Â¼Ã…â€™ÃƒÂ¤Ã‚Â¿Ã‚ÂÃƒÂ¨Ã‚Â¯Ã‚ÂÃƒÂ¥Ã…Â¾Ã¢â‚¬Å¡ÃƒÂ§Ã¢â‚¬ÂºÃ‚Â´ÃƒÂ¥Ã‚Â¯Ã‚Â¹ÃƒÂ©Ã‚Â½Ã‚Â */
}












.window.maximized>.header>.title {
    cursor: default;
}

.window>.header>.button {
    margin: 2px;
    border-style: outset;
    border-width: 2px;
    background-position: center;
    background-repeat: no-repeat;
}

.window>.header>.button.minimize {
      background-image: url("./image/button_minimize.png");
}

.window>.header>.button.maximize {
    background-image: url("./image/button_maximize.png");
}

.window>.header>.button.close {
    background-image: url("./image/button_close.png");
}

.window>.header>.button:active {
    border-style: inset;
}
