:root {
    background: url("win11.jpg") center center/cover fixed;
}

.is-hidden {
    display: none !important;
}

body {
  background: inherit;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI';
  font-size: 0.90em;
}

i[class^="icon-"]:before,
i[class*=" icon-"]:before {
    vertical-align: bottom;
}

.acrylic {
  display: flex;
  background: inherit;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .acrylic {
    color: #ecf0f5;
  }
  .acrylic:after {
    background-color: rgba(0, 0, 0, 0.7) !important;
  }
}
.acrylic:before {
  content: "";
  display: block;
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  background: inherit;
  background-color: rgb(75 75 75 / 70%);
  background-blend-mode: exclusion;
  filter: saturate(250%) blur(30px);
  pointer-events: none;
  z-index: 0;
}
.acrylic:after {
  content: "";
  display: block;
  z-index: 0;
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  transition: 0.1s;
  opacity: 0.7;
}
.acrylic > * {
  z-index: 1;
}

#contextMenu {
    opacity: 0;
    width: 310px;
    height: auto;
    border-radius: 8px;
    position: absolute;
    top: 338px;
    left: 903px;
    border: 1.5px solid rgb(133 133 133 / 15%);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

#contextMenu ul {
    list-style-type: none;
    padding: 0;
    /* margin: 7px 5px; */
    margin: 5px;
    width: 100%;
}

#contextMenu ul hr {
    margin: 5px -10px;
    border: none;
    border-top: 2px solid rgb(120 120 120 / 13%);
}

#contextMenu ul li {
    padding: 6px 10px;
    margin: 4px 0;
    user-select: none;
}

#contextMenu ul li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

#contextMenu ul li:first-of-type {
    margin-top: 0;
}

#contextMenu ul li:last-of-type {
    margin-bottom: 0;
}

#contextMenu ul li > i {
    margin-right: 8px;
    /* width: 15px;
    height: 15px; */
    display: inline-block;
    font-size: 1.3em;
    line-height: 1;
    text-align: center;
    vertical-align: top;
}

#contextMenu ul li.undo::after {
    content: "Ctrl+Z";
    float: right;
    font-size: 0.85em;
    margin-right: 15px;
    margin-top: 1px;
}

#contextMenu ul li.more-opts::after {
    content: "Shift+F10";
    float: right;
    font-size: 0.8em;
    margin-top: 2px;
}

/* Context Menu Chevron */
#contextMenu ul li.menu::after {
    color: #aab7d3;
    float: right;
    font-size: 1em;
    margin-top: 2px;

    font-family: FluentSystemIcons-Regular !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f2ae";
}

/* .acrylic input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.acrylic input[type=radio]:checked + label:before {
  background-color: currentColor;
  border-color: #0078d7;
}
.acrylic input[type=radio] + label {
  display: block;
  padding: 10px 0;
  opacity: 0.8;
  transition: 0.1s;
}
.acrylic input[type=radio] + label:hover {
  opacity: 1;
}
.acrylic input[type=radio] + label:before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  border: 2px solid currentColor;
  border-radius: 50%;
  vertical-align: -0.2em;
  margin-right: 0.25em;
  padding: 0.2em;
  box-sizing: border-box;
  background-clip: content-box;
} */

#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 50px;
    padding: 3px;
    background-color: black;
    transform: translateY(56px);
}

#taskbar.is-active {
    transform: translateY(0px);
    transition: 350ms transform ease-in-out;
    transition-delay: 550ms;
}

#taskbar:before {
    background-color: rgb(75 75 75 / 90%);
    filter: saturate(250%) blur(20px);
}

#taskbar:after {
    opacity: 0.8;
}

#taskbar > ul {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

#taskbar > ul > li {
    font-size: 1.7em;
    padding: 8px;
    margin: 0 2px;
    border-radius: 5px;
    transition: 0.15s background-color;
    display: flex;
    align-items: center;
    position: relative;
}

#taskbar > ul > li.is-open::after,
#taskbar > ul > li.is-focused::after,
#startmenu.is-active + #taskbar > ul > li.is-focused:not(.start-trigger)::after {
    content: "";
    border-bottom: 3px solid rgb(219 219 219 / 60%);
    position: absolute;
    bottom: 0;
    width: 7px;
    margin: 0 9px;
    border-radius: 5px;
    transition: 0.2s transform;
}

#taskbar > ul > li.is-focused::after {
    content: "";
    border-bottom: 3px solid rgb(76 194 255);
    position: absolute;
    bottom: 0;
    /* width: 17px;
    margin: 0 4px; */
    transform: scaleX(2.5);
    border-radius: 5px;
}

#taskbar > ul > li:hover,
#taskbar > ul > li.is-focused,
#startmenu.is-active + #taskbar li.start-trigger {
    background: rgb(128 128 128 / 10%);
    box-shadow: inset #4444445c 0 0 6px 0px, rgb(34 34 34 / 30%) 0 0 5px 0px;
}

#startmenu.is-active + #taskbar > ul > li.is-focused:not(.start-trigger):not(:hover) {
    background: transparent;
    box-shadow: none;
}

#startmenu.is-active + #taskbar > ul > li:not(.start-trigger):hover::after,
#startmenu.is-active + #taskbar > ul > li.is-focused:not(.start-trigger)::after {
    transform: scaleX(1);
}

#taskbar > ul > li.is-focused:hover {
    background: rgb(128 128 128 / 15%);
}

#taskbar > ul > li > i,
#taskbar > ul > li > img {
    width: 25px;
    height: 25px;
    text-align: center;
    transition: 0.2s transform, 0.15s background;
}

#taskbar > ul > li:active > i,
#taskbar > ul > li:active > img {
    transform: scale(0.8);
}

#taskbar > ul > li > i.ico-winstart {
    /* color: #5ccbff; */
    /* background: -webkit-linear-gradient(#75f1ff, #0fa0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scaleX(0.9); */
    /* content: url('icons/win-start.svg'); */
    
}

#taskbar > ul > li > i.ico-winstart::after {

    /* transition: 2.15s background; */

    height: 25px;
    width: 25px;
    display: inline-block;

    content: '';

    -webkit-mask: url('icons/win-start.svg') no-repeat 50% 50%;
    mask: url('icons/win-start.svg') no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;

    transform: scaleX(0.9);
    background: -webkit-linear-gradient(#75f1ff, #0fa0ff);
}

#taskbar > ul > li:active > i.ico-winstart::after {
    /* color: #0b9bfe; */
    /* background: #0b9bfe; */
    transform: scale(0.95) scaleX(0.9) !important;
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    filter: brightness(0) saturate(100%) invert(63%) sepia(62%) saturate(5481%) hue-rotate(180deg) brightness(97%) contrast(105%);
}

/* #taskbar > ul > li:active > i.ico-winstart::before {
    content: url('icons/win-start.svg');
} */

#startmenu {
    width: 640px;
    height: 720px;
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(110%);
    border-radius: 10px;
    border: 1.5px solid rgb(255 255 255 / 10%);
    background: rgb(36 36 36 / 50%);
    backdrop-filter: blur(50px);
    overflow: hidden;
    user-select: none;
    transition: 0.1s transform ease-out;
}

#startmenu.is-active {
    transform: translateX(-50%) translateY(0%);
    transition-delay: -30ms;
}

#startmenu > .powerbar {
    position: absolute;
    padding: 0 50px;
    bottom: 0;
    width: 100%;
    height: 65px;
    background: rgb(0 0 0 / 20%);
    border-top: 1.5px solid rgb(255 255 255 / 10%);
    color: white;
}

#startmenu > .powerbar > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 100px);
    height: 100%;
}

#startmenu > .powerbar .powerbar-btns {
    display: flex;
}

#startmenu > .powerbar .powerbar-btns > div {
    padding: 10px 13px;
    border-radius: 4px;
    transition: 0.15s background-color;
}

#startmenu > .powerbar .powerbar-user:hover,
#startmenu > .powerbar .powerbar-btns > div:hover {
    background: rgb(255 255 255 / 8%);
}

#startmenu > .powerbar .powerbar-btns > div > i {
    font-size: 1.4em;
    display: flex;
}

#startmenu > .powerbar .powerbar-user {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 4px;
}

#startmenu > .powerbar .powerbar-user img {
    width: 32px;
    border-radius: 50px;
    margin-right: 12px;
}

#startmenu > .powerbar .powerbar-user > * {
    vertical-align: middle;
}

#startmenu > .menubody {
    height: calc(100% - 125px);
    width: calc(100% - 60px);
    padding: 30px;
    color: white;
}

#startmenu > .menubody .menusearch {
    width: 100%;
    position: relative;
}

#startmenu > .menubody .menusearch > input {
    border-radius: 5px;
    height: 30px;
    width: -webkit-fill-available;
    background: rgb(255 255 255 / 10%);
    border: 1.5px solid transparent;
    color: white;
    outline: none;
    padding: 3px 40px 3px 45px;
}

#startmenu > .menubody .menusearch > input::placeholder {
    color: white;
    opacity: 0.8;
}

#startmenu > .menubody .menusearch > input:focus-visible {
    background: rgb(42 42 42 / 80%);
    border: 1.5px solid rgb(255 255 255 / 10%);
    border-bottom: 2px solid #4cc2ff;
}

#startmenu > .menubody .menusearch::before {
    font-family: FluentSystemIcons-Regular !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f68f";

    font-size: 1.4em;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleX(-1);
    pointer-events: none;
}

#startmenu > .menubody .menuhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    padding-bottom: 10px;
}

#startmenu > .menubody .menuhead button {
    background: rgb(255 255 255 / 10%);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85em;
}

#startmenu > .menubody .menuhead button > i {
    margin-left: 5px;
    font-size: 1.1em
}

#startmenu > .menubody .menuhead button > i[class^="icon-"]:before,
#startmenu > .menubody .menuhead button > i[class*=" icon-"]:before {
    vertical-align: middle;
}

#startmenu > .menubody .menupinned > .menuitems,
#startmenu > .menubody .menusuggested > .menuitems {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: center;
}

#startmenu > .menubody .menupinned > .menuitems > div:hover,
#startmenu > .menubody .menusuggested > .menuitems > div:hover {
    background: rgb(129 129 129 / 15%);
}

/* Pinned Section - Start Menu */
#startmenu > .menubody .menupinned > .menuitems > div {
    display: flex;
    flex-direction: column;
    width: 95px;
    height: 95px;
    border-radius: 4px;
}

#startmenu > .menubody .menupinned > .menuitems > div > div:first-of-type > i {
    height: 45px;
    font-size: 2.5em;
}

#startmenu > .menubody .menupinned > .menuitems > div > div:first-of-type > img {
    height: 30px;
    width: fit-content;
    margin-top: 20px;
}

#startmenu > .menubody .menupinned > .menuitems > div > div:nth-of-type(2) {
    font-size: 0.9em;
    margin-top: 5px;
}

/* Recommended Section - Start Menu */
#startmenu > .menubody .menusuggested > .menuitems > div {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 20px;
    width: 240px;
    height: 30px;
    padding: 10px;
    border-radius: 4px;
    align-items: center;
    text-align: left;
    font-size: 0.9em;
}

#startmenu > .menubody .menusuggested > .menuitems > div > div:first-of-type {
    display: flex;
}

#startmenu > .menubody .menusuggested > .menuitems > div > div:first-of-type > img {
    height: 30px;
    margin-right: 15px;
}

#startmenu > .menubody .menusuggested > .menuitems > div > div:nth-of-type(2) > div:first-of-type {
    font-size: 0.95em;
}

#startmenu > .menubody .menusuggested > .menuitems > div > div:nth-of-type(2) > div:nth-of-type(2) {
    font-size: 0.85em;
    color: #d1d1d1;
}