*, *:before, *:after {
  box-sizing: border-box;
}

body {
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

a {
  text-decoration: none;
  cursor: default;
}

.media {
  display: flex;
}
.media__img,
.media__body {
  flex: 0 1 auto;
}
.media__body {
  padding-left: 10px;
}

.desktop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translate3d(0,0,0);
}

.desktop,
.window__titlebar:after {
  background-image: url(https://i.imgur.com/K7ZTvoQ.png);
  background-size: cover;
  background-position: 50%;
  background-attachment: fixed;
}

.window {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 1px 1px rgba(0,0,0,0.1);
  filter: contrast(0.5) brightness(1.35);
  transform: scale(0.995);
  transition: all 250ms, z-index 1ms;
  z-index: 0;
}
.window.ui-draggable-dragging,
.window.ui-resizable-resizing {
  transition: none;
}

.window--minimized {
  top: 100% !important;
  left: 0 !important;
  transform: scale(0) translate(-100%, 0) !important;
  opacity: 0;
}

.window--active {
  filter: none;
  transform: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 1px rgba(0,0,0,0.1);
  z-index: 1000;
}

.window--closing {
  transform: scale(0.9);
  opacity: 0;
}
.window--opening {
  transform: scale(1.1);
  opacity: 0;
}

.window__titlebar {
  position: absolute;
  overflow: hidden;
  text-align: center;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  cursor: default;
  background-color: #9FA8DA;
  border-bottom: 1px solid #B0BEC5;
}
.window__titlebar:after {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  filter: blur(5px);
  opacity: 0.35;
}

.window__title {
  position: relative;
  line-height: 32px;
  z-index: 10;
  color: rgba(0,0,0,0.75);
}

.window__controls {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 10;
}
.window__controls > a {
  display: block;
  float: left;
  height: 32px;
  width: 32px;
  line-height: 32px;
  font-size: 12px;
  transition: all 100ms;
  cursor: default;
  color: rgba(0,0,0,0.5);
}
.window__controls > a:hover {
  background-color: rgba(255,255,255,0.25);
}
.window__controls > .window__close {
  color: white;
  background-color: rgba(0,0,0,0.2);
}
.window__controls > .window__close:hover {
  background-color: #e53935;
}
.window__controls--left { left: 0; }
.window__controls--right { right: 0; }

.window__maximize { position: relative; }
.window__maximize > i {
  box-sizing: content-box;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  border: 2px solid rgba(0,0,0,0.6);
}
.window--maximized .window__maximize > i {
  margin-bottom: -1px;
  margin-left: -4px;
  width: 5px;
  height: 5px;
  transition: all 100ms 350ms;
}
.window--maximized .window__maximize > i:after {
  box-sizing: content-box;
  content: '';
  display: block;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 6px;
  height: 6px;
  border: 2px solid rgba(0,0,0,0.6);
  border-radius: 2px;
  border-left: 0;
  border-bottom: 0;
  transition: all 100ms 350ms;
}

.window__icon,
.window__icon:hover,
.window__menu {
  color: white !important;
}
.window--explorer .window__icon,
.window--explorer .window__icon:hover,
.window--explorer .window__menu {
  background-color: #0097A7;
}
.window--mail .window__icon,
.window--mail .window__icon:hover,
.window--mail .window__menu {
  background-color: #5C6BC0;
}
.window--notepad .window__icon,
.window--notepad .window__icon:hover,
.window--notepad .window__menu {
  background-color: #EC407A;
}

.window__menutoggle--open,
.window__menutoggle--open:hover {
  color: white !important;
  background-color: #5C6BC0;
}
.window--explorer .window__menutoggle--open,
.window--explorer .window__menutoggle--open:hover {
  background-color: #0097A7;
}
.window--mail .window__menutoggle--open,
.window--mail .window__menutoggle--open:hover {
  background-color: #5C6BC0;
}
.window--notepad .window__menutoggle--open,
.window--notepad .window__menutoggle--open:hover {
  background-color: #EC407A;
}

.window__menu {
  overflow: hidden;
  display: none;
  position: absolute;
  top: 31px;
  width: 25%;
  min-width: 200px;
  min-height: calc(100% - 31px);
  margin: 0;
  padding: 10px 0;
  color: white;
  background-color: #5C6BC0;
  z-index: 100;
}
.window__menu > li {
  list-style: none;
  transform: translate(-50%, 0);
  transition: transform 500ms 100ms;
}
.window__menu > li > a {
  opacity: 0;
  position: relative;
  display: block;
  padding: 10px 10px 10px 45px;
  color: white;
  font-weight: 200;
  text-decoration: none;
  transition: all 100ms, opacity 750ms 150ms;
}
.window__menu > li > a:hover {
  background-color: rgba(255,255,255,0.1);
}
.window__menu > li.divided > a {
  border-top: 1px solid rgba(0,0,0,0.1);
}
.window__menu--open li {
  transform: none;
}
.window__menu--open li > a {
  opacity: 1;
}

.menu__icon.menu__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 16px;
}

.window__body {
  display: flex;
  overflow: auto;
  padding-top: 32px;
  height: 100%;
  font-size: 14px;
}
.window__side,
.window__main {
  flex: 0 1 auto;
}
.window__side {
  overflow: auto;
  width: 25%;
  min-width: 200px;
  padding: 10px;
  background-color: #ECEFF1;
}
.window__main {
  padding: 10px;
  width: 100%;
  background-color: white;
}

.side__list {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 200;
}
.side__list > li { margin-bottom: 10px; }
.side__list li { list-style: none; }
.side__list li a {
  position: relative;
  display: block;
  padding: 3px 5px 3px 32px;
  border: 1px solid transparent;
  color: #546E7A;
  transition: all 100ms;
}
.side__list li a:hover {
  color: #263238;
  border-color: rgba(0,0,0,0.1);
  background-color: rgba(0,0,0,0.05);
}
.side__list ul {
  padding: 0;
  font-size: 14px;
}
.side__list ul li > a { padding-left: 42px; }
.side__list ul li li > a { padding-left: 52px; }

.list__toggle {
  position: absolute;
  left: 0;
  top: 0;
  height: 32px;
  width: 32px;
  line-height: 32px;
  text-align: center;
}
.list__toggle:hover { color: #1565C0; }
.list__toggle:before {
  display: block;
  content: '\f105';
  font-family: 'FontAwesome';
  margin-top: 1px;
  transform: none;
  transition: all 250ms;
}
.side__list--open > a .list__toggle:before {
  transform: rotate(90deg);
}
li li .list__toggle {
  width: 42px;
  height: 26px;
  line-height: 26px;
}
li li .list__toggle:before {
  margin-top: 2px;
}

.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background-image: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
  z-index: 10000;
}
.taskbar__item {
  display: inline-block;
  margin-right: 4px;
  text-align: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
  color: white;
  border: 1px solid transparent;
  transition: all 100ms;
}
.taskbar__item:hover {
  background-color: rgba(255,255,255,0.1);
}
.taskbar__item > i {
  display: inline-block;
  vertical-align: middle;
  margin-top: 6px;
  width: 32px;
  height: 32px;
  line-height: 32px;
}
.taskbar__item--open {
  background-color: rgba(120,144,156,0.25);
}
.taskbar__item--active {
  box-shadow: inset 0 -2px 0 rgba(255,255,255,0.25);
}
.taskbar__item--explorer > i { background-color: #0097A7; }
.taskbar__item--mail > i { background-color: #5C6BC0; }
.taskbar__item--notepad > i { background-color: #EC407A; }

.taskbar__item--start { transition: background-color 250ms; }

.taskbar__tray {
  color: white;
  padding: 0 10px;
  float: right;
  line-height: 48px;
}
.taskbar__tray .time {
  cursor: default;
  padding: 5px;
}
.taskbar__tray .time:hover {
  background-color: rgba(255,255,255,0.1);
}

.start-menu-fade {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background-color: rgba(0,0,0,0.5);
}

.start-menu {
  display: flex;
  position: absolute;
  left: -100%;
  bottom: 48px;
  padding: 10px;
  height: 85vh;
  min-height: 512px;
  z-index: 9999;
  color: white;
  background-color: #0277BD;
  transition: all 0.3s;
}

.start-menu.active{
    left:0;
}
.start--open { background-color: #0277BD !important; }

.start-menu__list,
.start-screen {
  flex: 0 1 auto;
}

.start-menu__list {
  position: relative;
  width: 248px;
  transform: translate(-100%, 0);
  opacity: 0;
  transition: all 500ms;
}
.start-menu--open .start-menu__list {
  transform: none;
  opacity: 1;
}

.user-info {
  display: flex;
  margin-bottom: 10px;
  padding: 10px;
  color: white;
  transition: all 100ms, transform 500ms;
}
.user-info:hover { background-color: rgba(255,255,255,0.15); }
.start-menu--open .user-info { transform: none; }

.user-info__img {
  display: block;
  width: 40px;
  height: 40px;
}
.user-info__name {
  font-size: 20px;
  font-weight: 200;
  align-self: center;
}
.user-info__power {
  margin-left: auto;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 20px;
  color: white;
}
.user-info__power:hover { background-color: rgba(255,255,255,0.15); }

.start-menu__label {
  display: block;
  padding: 10px 20px;
  font-size: 20px;
}

.start-menu__recent {
  overflow: hidden;
  max-height: 65%;
  padding: 0;
  margin: 0;
  transform: translate(-100%, 0);
  opacity: 0;
  transition: all 500ms 100ms, opacity 1000ms 250ms;
}
.start-menu--open .start-menu__recent {
  transform: none;
  opacity: 1;
}
.start-menu__recent li { list-style: none; }
.start-menu__recent li a {
  display: block;
  padding: 10px;
  color: white;
  transition: all 100ms;

  display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
}
.start-menu__recent li a:hover {
  background-color: rgba(255,255,255,0.15);
}
.start-menu__recent li a > i {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.start-menu__recent span.i_cover.exe{
    padding: 5px;
    width: 45px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}
.start-menu__recent li.start-menu__explorer a > i { background-color: #0097A7; }
.start-menu__recent li.start-menu__mail a > i { background-color: #5C6BC0; }
.start-menu__recent li.start-menu__notepad a > i { background-color: #EC407A; }

.all-apps {
  position: absolute;
  right: 0;
  bottom: 40px;
  display: block;
  margin-bottom: 10px;
  color: white;
  transition: all 100ms;
}
.all-apps > i {
  margin-left: 5px;
  margin-right: 5px;
  border: 2px solid white;
  border-radius: 100px;
  width: 32px;
  height: 32px;
  line-height: 26px;
  text-align: center;
}
.all-apps:hover > i { background-color: #37474F; }

.search {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: block;
  padding: 10px;
  border: 0;
  font-size: 12px;
  color: #607D8B;
  background-color: white;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.start-screen-scroll {
  max-height: 85vh;
  min-height: calc(128px * 3 - 8px);
  overflow-y: auto;
  overflow-x: hidden;
  margin: -8px;
  padding: 4px;
  margin-left: 4px;
  transform: translate(-100%, 0);
  transition: transform 500ms, opacity 1000ms;
  opacity: 0;
}
.start-menu--open .start-screen-scroll {
  transform: none;
  opacity: 1;
}

.start-screen {
  position: relative;
  width: 256px;
  word-spacing: -1em;
}
@media screen and (min-width: 700px) {
  .start-screen { min-width: 384px; }
}
@media screen and (min-width: 800px) {
  .start-screen { min-width: 512px; }
}
@media screen and (min-width: 960px) {
  .start-screen { min-width: 640px; }
}

.start-screen__tile {
  position: relative;
  display: block;
  float: left;
  width: 120px;
  height: 120px;
  word-spacing: normal;
  margin: 4px;
  color: white;
  background-color: #D81B60;
  border: 2px solid rgba(255,255,255,0.1);
  transform: scale(0.5);
  transition: all 250ms, transform 0s;
}
.start-menu--open .start-screen__tile { transform: none; }
.start-screen__tile.ui-sortable-helper {
  transform: scale(1.1);
  transition: none;
}
.start-screen__tile:hover { border-color: rgba(255,255,255,0.5); }
.start-screen__tile:active { transform: scale(0.9); }
.start-screen__tile > i {
  font-size: 48px;
  position: absolute;
  top: calc(50% - 12px);
  left: 50%;
  margin-top: -24px;
  margin-left: -24px;
}
.start-screen__tile > span {
  position: absolute;
  left: 12px;
  bottom: 4px;
  font-size: 12px;
}

.start-screen__tile--wide,
.start-screen__tile--large { width: 248px; }
.start-screen__tile--large { height: 248px; }
.start-screen__tile--small {
  width: 56px;
  height: 56px;
}
.start-screen__smallgroup {
  width: 120px;
  height: 120px;
  margin: 4px;
}
.start-screen__smallgroup > .start-screen__tile { margin: 0; }
.start-screen__smallgroup > .start-screen__tile:nth-child(odd) {
  margin-right: 8px;
  margin-bottom: 8px;
}

.start-screen__tile--explorer { background-color: #0097A7; }
.start-screen__tile--mail { background-color: #5C6BC0; }
.start-screen__tile--notepad { background-color: #EC407A; }

.full-textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  width: 100%;
  height: 100%;
}
