

@font-face {
    font-family: 'm5x7medium';
    src: url('m5x7.woff2') format('woff2'),
         url('m5x7.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family:'pixelated-ms-sans-serif';
    font-style:normal;
    font-weight:700;
    src:url('pixelated-ms-sans-serif.woff') format('woff'),
        url('pixelated-ms-sans-serif.woff2') format('woff2');
}
@font-face {
    font-family:'pixelated-ms-sans-serif';
    font-style:normal;
    font-weight:700;
    src:url('ms_sans_serif_bold.woff') format('woff'),
        url('ms_sans_serif_bold.woff2') format('woff2');
}
.window {
    width: 100vw;
    background: rgba(147,172,185,1);
    box-shadow:inset -2px -2px #0a0a0a,
        inset 2px 2px rgba(173,191,201,1),
        inset -4px -4px rgba(90,106,117,1),
        inset 4px 4px #fff;
    padding:6px;
    max-height: 100vh;
}
.title-bar,
.window,
button,
input,
label,
option,
select,
table,
textarea,
ul.tree-view {
    -webkit-font-smoothing: none;
    font-family: 'm5x7medium', Arial;
    font-size: 2rem;
    margin: 0;
}
h1 {
    font-size:5rem
}
h2 {
    font-size:2.5rem
}
h3 {
    font-size:2rem
}
h4 {
    font-size:1.5rem
}
u {
    border-bottom:.5px solid #222;
    text-decoration:none
}
button,
input[type=reset],
input[type=submit] {
    border:none;
    border-radius:0;
    box-sizing:border-box;
    color:transparent;
    min-height:23px;
    min-width:75px;
    padding:0 12px;
    text-shadow:0 0 #222
}





.vertical-bar,
button,
input[type=reset],
input[type=submit] {
    background:silver;
    box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf
}
.vertical-bar {
    height:20px;
    width:4px
}
button:not(:disabled):active,input[type=reset]:not(:disabled):active,input[type=submit]:not(:disabled):active {
    box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey;
    text-shadow:1px 1px #222
}
@media (not(hover)) {
    button:not(:disabled):hover,input[type=reset]:not(:disabled):hover,input[type=submit]:not(:disabled):hover {
        box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey
    }
}
button:focus,input[type=reset]:focus,input[type=submit]:focus {
    outline:1px dotted #000;
    outline-offset:-4px
}
button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=submit]::-moz-focus-inner {
    border:0
}
:disabled,:disabled+label,input[readonly],input[readonly]+label {
    color:grey
}
:disabled+label,button:disabled,input[type=reset]:disabled,input[type=submit]:disabled {
    text-shadow:1px 1px 0 #fff
}






.title-bar {
    width: 100%;
    align-items:center;
    background:linear-gradient(90deg,rgba(88,0,151,1),rgba(148,0,255,1));
    display:flex;
    justify-content:space-between;
    padding-left: 2px;
    
}
.title-bar.inactive {
    background:linear-gradient(90deg,grey,#b5b5b5)
}
.title-bar-text {
    color:#fff;
    font-weight:700;
    letter-spacing:0;
    margin-right:24px
}
.title-bar-controls {
    display:flex
}
.title-bar-controls button {
    display:block;
    min-height:16px;
    height: 32px;
    width: 32px;
    min-width:16px;
    padding:0
}
.title-bar-controls button:active {
    padding:0
}
.title-bar-controls button:focus {
    outline:none
}
.title-bar-controls button[aria-label=Minimize] {
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 0h6v2H0z'/%3E%3C/svg%3E");
    background-position:bottom 3px left 5px;
    background-repeat:no-repeat;
}
.title-bar-controls button[aria-label=Maximize] {
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='%23000'/%3E%3C/svg%3E");
    background-position:top 3px left 3px;
    background-repeat:no-repeat;
    
}
.title-bar-controls button[aria-label=Restore] {
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M2 0h6v2H2zM7 2h1v4H7zM2 2h1v1H2zM6 5h1v1H6zM0 3h6v2H0zM5 5h1v4H5zM0 5h1v4H0zM1 8h4v1H1z'/%3E%3C/svg%3E");
    background-position:top 2px left 3px;
    background-repeat:no-repeat;
}
.title-bar-controls button[aria-label=Help] {
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 1h2v2H0zM1 0h4v1H1zM4 1h2v2H4zM3 3h2v1H3zM2 4h2v2H2zM2 7h2v2H2z'/%3E%3C/svg%3E");
    background-position:top 2px left 5px;
    background-repeat:no-repeat;
}
.title-bar-controls button[aria-label=Close] {
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h2v1h1v1h2V1h1V0h2v1H7v1H6v1H5v1h1v1h1v1h1v1H6V6H5V5H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0V0z' fill='%23000'/%3E%3C/svg%3E");
    background-position:top 4px left 4px;
    background-repeat:no-repeat;
    margin-left:4px;
    margin-right: 2px;
}




.status-bar {
    gap:1px;
    display:flex;
    margin:0 1px
}
.status-bar-field {
    box-shadow:inset -2px -2px #dfdfdf,inset 2px 2px grey;
    flex-grow:1;
    margin:0;
    padding:3px 6px
}
.window-body {
    display: flex;
    width: 100%;
    flex-shrink: 0;
    max-height: 100vh;
}
fieldset {
    border-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' fill='gray' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h5v5H0V2h2v1h1V2H0' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h4v4H0V1h1v2h2V1H0'/%3E%3C/svg%3E") 2;
    margin:0;
    padding:10px;
    padding-block-start:8px
}

a {
    color:#00f
}
a:focus {
    outline:1px dotted #00f
}
ul.tree-view {
    max-height: 88vh;
    background:#fff;
    box-shadow:inset -3px -3px #fff,inset 3px 3px grey,inset -6px -6px #dfdfdf,inset 6px 6px #0a0a0a;
    display:block;
    margin:0;
    
    padding:12 12 12 6;
    
    overflow-y: scroll;
}
ul.tree-view li.folder{
    list-style-image: url(images/ui/folder.png);
    padding-left: 16px;
}

ul.tree-view a {
    color:#000;text-decoration:none
}
ul.tree-view a:active {
    background-color:navy;
    color:#fff
}
ul.tree-view li,ul.tree-view ul {
    margin-top:-5px
}
ul.tree-view ul {
    border-left:1px dotted grey;
    margin-left:32px;
    padding-left:16px;
}
ul.tree-view ul>li {
    position:relative
}
ul.tree-view ul>li:before {
    border-bottom:2px dotted grey;
    content:"";
    display:block;
    left:-16px;
    position:absolute;
    top:22px;
    padding-right: 5px;
    width:12px
}
ul.tree-view ul>li:last-child:after {
    background:#fff;
    bottom:0;
    content:"";
    display:block;
    left:-17px;
    position:absolute;
    top:32px;
    width:2px
}
ul.tree-view details {
    margin-top:5
}
ul.tree-view details[open] summary{
    margin-bottom:0
}
ul.tree-view ul details>summary:before{
    margin-left:-20px;
    position:relative;
    
    z-index:1
}
ul.tree-view details>summary:before{
    background-color: #fff;
    border:2px solid grey;
    content:"+";
    display:block;
    float:left;
    height:11px;
    line-height:8px;
    margin-right:5px;
    padding-left:1px;
    text-align:center;
    width:10px
}
ul.tree-view details[open]>summary:before{
    content:"-"
}
ul.tree-view details>summary::-webkit-details-marker,ul.tree-view details>summary::marker{
    content:""
}
pre{
    background:#fff;
    box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;
    display:block;
    margin:0;
    padding:12px 8px
}
summary:focus{
    outline:2px dotted #000
}


 * {
                margin: 0;
            }
        p {
            font-size: 15px;
            margin: 11;
            font-weight: 600;
        }
         .popup {
            display: none;
            position: fixed;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            padding: 20px;
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
            border-radius: 10px;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
        }
        .popup-show {
            display: block;
            opacity: 1;
        }
        .popup-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .popup-content p {
            margin: 10px 0;
        }
        .popup-content button {
            cursor: pointer;
        }
        .popup-content button:hover {
            background-color: #dfdfdf;
        }
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999;
        }




body {
    display: flex;
    align-content: center;
    width: 100%;
    background-color: rgba(0,133,132,1);
    margin: 0;
}
figure{
    width: 1000%;
    margin: 2px;
    border: 0;
}


ul.grid-view {
    background:#fff;
    box-shadow:inset -3px -3px #fff,inset 3px 3px grey,inset -6px -6px #dfdfdf,inset 6px 6px #0a0a0a;
    display:flex;
    width: 100%;
    margin:0;
    padding:12px;
    padding-top: 16px;
}

.grid-middle {
    display:flex;
    padding-top: 12px;
    align-items: center;
    align-content: center;
    max-height: 100vh;
}
.cell-left {
    width: calc(100% * 2 / 12);
    box-sizing:border-box;
    padding: 12px;
}
.cell-right {
    width: calc(100% * 7 / 12);
    padding-top: 12px;
    padding-left: 20px;
    padding-right: 30px;
    box-sizing:border-box;
    flex-grow: 1;
}




#footer {
  position: relative;
  margin-top: -40px;
  /* negative value of footer height */
  height: 40px;
  clear: both;
  background-color: darkgray;
}












.taskbar {
    position: sticky;
    bottom: 0;
   
    color: black;
    width: 100%;
    height: 30px;
    
    border-top:2px;
    
}
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}
.row-files {
    flex: 25%;
    width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}
/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 20%;
  padding: 0 4px;
}

.column-files {
  flex: 25%;
  max-width: 80%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 30%;
  }
}


//*MOBILE*//


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .grid-middle {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
  .column {
    flex: 50%;
    max-width:30%;
  }
  .title-bar,
.window,
ul.tree-view {
    -webkit-font-smoothing: none;
    font-family: 'm5x7medium', Arial;
    font-size: 1rem;
    margin: 0;
}
}

figcaption {
    font-family: 'm5x7medium', Arial;
    font-size: 1.5rem;
}






