@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  src: url(/webres/fonts/inconsolata.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'W95FA';
  font-style: normal;
  font-weight: normal;
  src: url(/webres/fonts/w95fa.woff2) format('woff2');
}

html, body, div {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    width: 100%;
	height: 100%;
	font-family: 'Inconsolata', monospace;
    overflow: hidden;
    background-color:#000;
    background-image: url("/webres/backgrounds/space.gif");
    color: white;
}

.allblackcover {
    position: absolute;
    z-index: 9998;
    background-color: #000;
    width: 100%;
    height: 100%;
    animation: 1s blackfadeout 1s ease-out both;
}

.welcometext {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: welcomeout 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) 1s both;
}

.loadingtext {
    position: absolute;
    z-index: 9995;
    top: 0;
    right: 0; 
}

.iconcontainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 95%;
}

.iconcontainer .icons {
    display: grid;
    user-select: none;
    grid-template-columns: repeat(auto-fill, 70px);
    grid-auto-rows: 90px;
    gap: 20px;
    padding: 20px;
}

.icons .icon {
    width: 70px;
    text-align: center;
    cursor: pointer;
}

.icon .iconpic {
    width: 32px;
    height: 32px;
}

.icon .icontext {
    display: block;
    font-family: 'W95FA';
    font-size: 12px;
    margin-top: 4px;
}

.icon .iconselected {
    filter: sepia(100%) saturate(1500%) brightness(80%) hue-rotate(180deg);
}

.window {
    position: absolute;
    background-color: #202020;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    overflow: hidden;
}

.window-titlebar {
    background-color: #000;
    padding: 8px 12px;
    cursor: move;
    user-select: none;
}

.window-title {
    font-weight: bold;
    color: #fff;
}

.minimizebtn {
    color: white;
    float: right;
}

.window-content {
    padding: 15px;
    color: #fff;
}

.taskbarcontainer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35px;
	animation: taskbarenter 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.taskbarcontainer .taskbar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(20, 20, 20);
    display: flex;
    align-items: center;
    user-select: none;
}

.taskbarcontainer .taskbar .taskbaritems button {
    width: 130px;
    height: 25px;
    text-align: left;
    cursor: pointer;
    background-color: #202020;
    border: solid #000;
    color: white;
    border-radius: 2.5px;
}

.taskbarcontainer .taskbar .taskbaritems .activebtn {
    width: 130px;
    height: 25px;
    text-align: left;
    cursor: pointer;
    background-color: #2e2e2e;
    border: solid #555555;
    color: white;
    border-radius: 2.5px;
}

.taskbarcontainer .taskbar .startbtn {
    width: 45px;
    transform: rotate(-10deg);
    height: auto;
    padding-right: 10px;
    cursor: pointer;
}

.taskbarcontainer .taskbar .version {
    position: absolute;
    color: cyan;
    font-family: 'W95FA';
    right: 65px;
}

.taskbarcontainer .taskbar .clock {
    position: absolute;
    font-family: 'W95FA';
    right: 3px;
}

@keyframes welcomeout {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
}

@keyframes blackfadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes taskbarenter {
  0% {
    -webkit-transform: translateY(1000px);
            transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}