@keyframes boing {
    0% {
        transform: scaleX(-1) translateY(0);
    }

    75% {
        transform: scaleX(-1) translateY(-25px);
    }

    100% {
        transform: scaleX(-1) translateY(0);
    }
}

@keyframes taskbar-open{
    from{
        opacity: 0;
    }
}

@keyframes taskbar-open-bg{
    from{
        margin-top: 40px;
        width: 40px;
        height: 30px;
    }
}

@keyframes taskbar-close{
    50%, 100%{
        opacity: 0;
    }
}

@keyframes taskbar-close-bg{
    75%, 100%{
        margin-top: 40px;
        width: 40px;
        height: 20px;
    }
}

html,
body {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    user-select: none;
    cursor: default;
    overflow: hidden;
}

h1,h2,h3,h4,h5,h6,p{
    margin: 0;
}

body {
    background: var(--wallpaper) no-repeat center;
    background-size: cover;
    font-family: "Segoe UI", "SUI", sans-serif;
}

body > .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--wallpaper);
    opacity: 1;
    background-size: cover;
    z-index: -1;
}

.noise {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url("/resources/noise.png");
    background-size: calc(256px * 2);
    image-rendering: pixelated;
    mix-blend-mode: multiply;
    opacity: 0.25;
    z-index: -2;
}

.silly{
    position: absolute;
    right: 16px;
    bottom: 48px;
    width: 180px;
    height: 300px;
}

.silly > .silly-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;

    background: url("/resources/ltr.png") 260px -280px;
    background-size: 1600px;

    transform: scaleX(-1);

    filter: drop-shadow(0 0 4px #0003);

    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.silly:hover > .silly-image {
    filter: brightness(1.25) drop-shadow(0 0 4px #000);
    animation: boing 0.5s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.warning{
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 8.75pt;
    opacity: 1;
    color: #fff;
    text-align: right;
}

.taskbar{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    font-size: 0;
    z-index: 100000;
}

.taskbar .bg{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
    opacity: 0.80;
}

.taskbar .noise, .startmenu .noise{
    background-size: 64px;
    opacity: 0.1;
}

.taskbar .icon, .taskbar .search{
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 48px;
    height: 100%;
    text-align: center;
    box-sizing: border-box;
}

.taskbar .search{
    width: 344px;
    background: #333333;
    text-align: left;
    line-height: 40px;
    color: #fff8;
    box-sizing: border-box;
    cursor: text;
    /*padding-left: 12px;*/
}

.taskbar .search:hover{
    background: #4c4c4c;
}

.taskbar .start:not(.active) ~ .search:hover .mic{
    
}

.taskbar .search div{
    font-family: "SMDL2", "Segoe MDL2 Assets";
    vertical-align: top;
    font-size: 16px;
    display: inline-block;
    width: 40px;
    height: 100%;
    text-align: center;
}

.taskbar .start.active ~ .search{
    color: #2b2b2b;
}

.taskbar .start.active ~ .search .mic, .taskbar .start.active ~ .search .cortana{
    color: #0008;
}

.taskbar .search .mic{
    float: right;
    cursor: default;
    box-shadow: inset 0 0 0 1px transparent;
    background: #333;
    transition: 0.3s linear;
    transition-property: background, box-shadow;
}

.taskbar .start.active ~ .search .cortana{
    background-image: none !important;
    font-size: 16px;
}

.taskbar .search .cortana{
    font-size: 0;
    background-image: url("/resources/cortana/IMAGE251.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 24px;
}

@media (min-resolution: 1.25dppx) {
    .taskbar .search .cortana {
        background-image: url("/resources/cortana/IMAGE252.png");
    }
}

@media (min-resolution: 1.5dppx) {
    .taskbar .search .cortana {
        background-image: url("/resources/cortana/IMAGE253.png");
    }
}

@media (min-resolution: 2dppx) {
    .taskbar .search .cortana {
        background-image: url("/resources/cortana/IMAGE254.png");
    }
}

@media (min-resolution: 2.25dppx) {
    .taskbar .search .cortana {
        background-image: url("/resources/cortana/IMAGE255.png");
    }
}

@media (min-resolution: 2.5dppx) {
    .taskbar .search .cortana {
        background-image: url("/resources/cortana/IMAGE256.png");
    }
}

@media (min-resolution: 3dppx) {
    .taskbar .search .cortana {
        background-image: url("/resources/cortana/IMAGE251.png");
    }
}

.taskbar .start.active ~ .search .mic{
    transition: none;
    background: none;
    box-shadow: none;
}

.taskbar .start.active ~ .search .mic:hover{
    background: #0078d7;
    color: #fff;
}

.taskbar .search .mic:hover{
    background: #2E3C48;
    box-shadow: inset 0 0 0 1px #2A4154;
}

.taskbar .start:not(.active) ~ .search:has(.mic:hover){
    background: #333;
}

.taskbar .search .text{
    width: fit-content;
    font-family: "SUI", "Segoe UI", sans-serif;
    font-size: 11pt;
    text-align: left;
}

@media (min-resolution: 2dppx) {
    .taskbar .search{
        width: 288px;
    }
}

.taskbar .icon .iconBg{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: 0.1s linear;
}

.taskbar .icon.open{
    animation: taskbar-open 0.3s;
}

.taskbar .icon.open .iconBg{
    animation: taskbar-open-bg 0.3s;
}

.taskbar .icon.close{
    animation: taskbar-close 0.5s;
}

.taskbar .icon.close .iconBg{
    animation: taskbar-close-bg 0.3s;
}

.taskbar .icon .iconTxt{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: none;
    pointer-events: none;
    font-family: "SMDL2", "Segoe MDL2 Assets";
}

.taskbar .icon .iconImg{
    width: 24px;
    height: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.taskbar .icon:hover .iconBg{
    opacity: 0.1;
}

.taskbar{
    overflow: hidden;
}

.taskbar .taskbarIcons .icon::before{
    position: absolute;
    content: "";
    width: 40px;
    height: 100%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    box-shadow: inset 0 -2px var(--accent-color);
    transition: 0.15s;
}

.taskbar .taskbarIcons .icon.focus .iconBg{
    opacity: 0.2;
}

.taskbar .taskbarIcons .icon.focus::before{
    width: 100%;
}

.taskbar .taskbarIcons .icon.focus:hover .iconBg{
    opacity: 0.25;
}

.taskbar .icon.start .iconImg{
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;

    background: #fff;

    transition: 0.1s linear;

    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: 16px 16px;
}

.taskbar .icon.start .iconImg {
    mask-image: url("/resources/win10pearl/1.png");
}

@media (min-resolution: 1.25dppx) {
    .taskbar .icon.start .iconImg {
        mask-image: url("/resources/win10pearl/2.png");
    }
}

@media (min-resolution: 1.5dppx) {
    .taskbar .icon.start .iconImg {
        mask-image: url("/resources/win10pearl/3.png");
    }
}

@media (min-resolution: 2dppx) {
    .taskbar .icon.start .iconImg {
        mask-image: url("/resources/win10pearl/4.png");
    }
}

@media (min-resolution: 2.25dppx) {
    .taskbar .icon.start .iconImg {
        mask-image: url("/resources/win10pearl/5.png");
    }
}

@media (min-resolution: 2.5dppx) {
    .taskbar .icon.start .iconImg {
        mask-image: url("/resources/win10pearl/6.png");
    }
}

@media (min-resolution: 3dppx) {
    .taskbar .icon.start .iconImg {
        mask-image: url("/resources/win10pearl/7.png");
    }
}

.taskbar .icon.start.active .iconBg{
    opacity: 0.1;
}

.taskbar .icon.start:hover .iconImg{
    background: var(--accent-color);
}

.taskbar .gap{
    display: inline-block;
    vertical-align: top;
    margin-left: 1px;
    width: auto;
    height: 100%;
}

@media (min-resolution: 2dppx) {
    .taskbar .gap{
        margin-left: 2px;
    }
}

.taskbar .gap .icon{
    margin-left: 1px;
}

.taskbar .icon:has(.iconTxt){
    line-height: 40px;
}

.taskbar .icon .iconTxt{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    display: inline-block;
    background: var(--accent-color);
    width: 24px;
    height: 24px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}

.taskbar .taskbarIcons{
    display: inline-block;
    vertical-align: top;
    height: 100%;
}

.taskbar .right{
    display: inline-block;
    vertical-align: top;
    height: 100%;
    float: right;
}

.taskbar .icon.desk{
    border-left: solid 1px #ffffff60;
    width: 5px;
}

.taskbar .icon.clock{
    width: 64px;
    padding-top: 1px;
    line-height: 17px;
}

.taskbar .icon .txt{
    font-family: "Segoe UI", "SUI", sans-serif;
    font-size: 8.75pt;
    color: #fff;
    text-align: center;
}

.taskbar .icon.hoverable .hoverTxt{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    font-family: "SMDL2", "Segoe MDL2 Assets";

    display: inline-block;
    width: 24px;
    height: 24px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;

    opacity: 0;
}

.taskbar .icon.hoverable:hover .iconTxt{
    color: transparent;
}

.taskbar .icon.hoverable:hover .hoverTxt{
    opacity: 1;
}

.taskbar .icon.action{
    width: 40px;
    margin-right: 8px;
}

.taskbar .icon.action .iconTxt{
    font-family: "SMDL2M", "Segoe MDL2 Assets";
}

.taskbar .icon.small{
    width: 24px;
}

.taskbar .icon.small .iconTxt, .icon.action .iconTxt{
    background: none;
}

.taskbar .icon.small.chev .iconTxt{
    font-size: 12px;
}

.workingarea{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
}

.desktopworkingarea{
    position: absolute;
    left: 0;
    top: 6px;
    width: 100%;
    height: calc(100% - 6px);
    box-sizing: border-box;
    overflow: hidden;
    z-index: 0;
}

.startmenu{
    pointer-events: none;

    position: absolute;
    width: 888px;
    height: 582px;
    background: #111111cc;
    backdrop-filter: blur(8px);
    left: 0;
    bottom: 0;
    border-top: solid 1px;
    border-right: solid 1px;
    border-color: #ffffff40;

    box-shadow: 0 0 12px #0003;

    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);

    opacity: 0;
    transform: translateY(100px);

    box-sizing: border-box;

    /*padding: 14px 14px 4px 14px;*/

    font-size: 0;
    color: #fff;

    z-index: 10000000;
}

.startmenu.open{
    pointer-events: all;

    opacity: 1;
    transform: translateY(0);

    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.startmenu .side{
    vertical-align: top;
    display: inline-block;
    position: relative;
    width: 48px;
    height: 100%;
    font-size: 0;
    box-sizing: border-box;
    padding-top: 4px;
}

.startmenu .side .userIcon{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 20px;
    width: 20px;
    height: 20px;
    background: #666666;
    border-radius: 50%;
    font-size: 9px;
    color: #fffc;
    font-family: "SMDL2", "Segoe MDL2 Assets";
}

.startmenu .side .icon{
    width: 100%;
    height: 48px;
}

.startmenu .side .appTxt{
    font-size: 16px;
    font-family: "SMDL2", "Segoe MDL2 Assets";
    text-align: center;
    line-height: 48px;
}

.startmenu .side .icon:active{
    scale: 1;
    background: #fff3 !important;
}

.startmenu .bottom{
    position: absolute;
    bottom: 0;
    width: 100%;
}

.startmenu .bottom .appTxt{
    background: none;
}

.startmenu .left{
    vertical-align: top;
    display: inline-block;
    position: relative;
    width: 255px;
    height: 100%;
    font-size: 12px;
}

.startmenu .right{
    vertical-align: top;
    display: inline-block;
    position: relative;
    width: auto;
    height: 100%;
    font-size: 0;
    padding-top: 24px;
    margin-left: 9px;
}

.startmenu .icon{
    scale: 1;
    transition: 0.25s scale cubic-bezier(0.175, 0.885, 0.32, 1);
}

.startmenu .icon:active{
    scale: 0.97;
}

.startmenu .left .icon{
    width: 100%;
    height: 36px;
    line-height: 36px;
    box-sizing: border-box;
    padding-left: 16px;
}

.startmenu .left .icon:hover, .startmenu .left .group:hover, .startmenu .side .icon:hover{
    background: #ffffff14;
}

.startmenu .left .usericon{
    display: inline-block;
    vertical-align: top;
    text-align: center;
    line-height: 32px;
    width: 32px;
    height: 32px;
    margin: 2px;
    background: #666666;
    border-radius: 50%;
    font-size: 16px;
    font-family: "SMDL2", "Segoe MDL2 Assets";
}

.startmenu .left .group{
    color: #fff;
    padding-left: 18px;
    margin-top: 10px;
    margin-bottom: 4px;
    height: 36px;
    line-height: 46px;
}

.startmenu .left .username, .startmenu .left .appName{
    display: inline-block;
    vertical-align: top;
    margin-left: 2px;
}

.startmenu .left .appTxt{
    display: inline-block;
    vertical-align: top;
    text-align: center;
    line-height: 32px;
    width: 32px;
    height: 32px;
    margin: 2px;
    background: var(--accent-color);
    font-size: 16px;
    font-family: "SMDL2", "Segoe MDL2 Assets";
}

.startmenu .left .appImg{
    display: inline-block;
    vertical-align: top;
    text-align: center;
    line-height: 32px;
    width: 32px;
    height: 32px;
    margin: 2px;
    background: var(--accent-color);
    font-size: 16px;
    font-family: "SMDL2", "Segoe MDL2 Assets";
    position: relative;
}

.startmenu .left .appImg img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.startmenu .right .group{
    vertical-align: top;
    display: inline-block;
}

.startmenu .right .group .title{
    font-size: 9pt;
    color: #fff;
    padding-left: 2px;
    margin-bottom: 16px;
}

.startmenu .right .icon{
    vertical-align: top;
    display: inline-block;
    position: relative;
    margin: 2px;
    background: var(--accent-color);
    width: 204px;
    height: 100px;
    line-height: 36px;
    box-sizing: border-box;
}

.startmenu .right .icon:hover{
    box-shadow: inset 0 0 0 2px #fff8;
}

.startmenu .right .appName{
    position: absolute;
    line-height: 12px;
    font-size: 12px;
    bottom: 8px;
    left: 8px;
}

.startmenu .right .appTxt{
    display: inline-block;
    vertical-align: top;
    text-align: center;
    line-height: 100px;
    width: 100%;
    height: 32px;
    font-size: 32px;
    font-family: "SMDL2", "Segoe MDL2 Assets";
}

.startmenu .right .app.small{
    width: 100px;
}

.startmenu .right, .startmenu .left{
    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1);
    transform: translateY(64px);
}

.startmenu.open .right, .startmenu.open .left{
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
    transform: translateY(0);
}

.start.active ~ .search{
    background: #fff;
    color: #0009;
}

.desktopIcon{
    position: absolute;
    width: 76px;
    min-height: 68px;
    display: block;
    text-align: center;
    box-sizing: border-box;
    font-size: 0;
}

.desktopIcon .text{
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    color: #fff;
    width: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9pt;
    text-shadow: 1px 1px 3px #000, 1px 1px 3px #000, 1px 1px 3px #000, 0px 0px 1px #000, 1px 1px 3px #00000033;
}

.desktopIcon .iconTxt{
    display: inline-block;
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    color: #fff;
    font-family: "SMDL2", "Segoe MDL2 Assets";
    font-size: 24px;
    line-height: 48px;
    font-weight: lighter;
}

.ds-selector-area{
    z-index: 0 !important;
}

.ds-selector{
    background: #0066CC46 !important;
    border: 1px solid #3399FF !important;
}

.ds-selectable{
    border: 1px solid transparent;
}

.ds-selectable:hover{
    background: #96caef33;
    box-shadow: inset 0 0 0 1px #fff3;
}

.ds-selected{
    background: #96caef66;
    box-shadow: inset 0 0 0 1px #fff3;
}

.ds-selected:hover{
    background: #65aee766;
}

.ds-dragging{
    background: none !important;
    box-shadow: none !important;
    opacity: 0.5;
    z-index: 10000000;
}

.ds-dragging .text{
    text-shadow: none !important;
}

.iconTxt.nobg, .iconTxt.nobg ~ .hoverTxt{
    background: none !important;
    font-size: 24px !important;
}

.backstore{
    display: none;
}

.aboutme-app-body{
    padding: 16px;
    text-align: center;
}

.aboutme-app-body h1, .aboutme-app-body h2, .aboutme-app-body h3, .aboutme-app-body h4, .aboutme-app-body h5, .aboutme-app-body h6{
    font-weight: 300;
}

.aboutme-app-body p{
    font-size: 8.75pt;
    text-align: left;
    margin-top: 8px;
}

.error-app-body{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: #fff;
    /*border-top: solid 1px #f0f0f0;*/
    padding: 16px;
    text-align: left;
    font-size: 8.75pt;
}

.error-app-body .footer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #f0f0f0;
    border-top: solid 1px #dfdfdf;
}

.hidden{
    display: none;
}

.silly{
    transition: opacity 0.2s;
}

.silly.hidden{
    display: block;
    pointer-events: none;
    opacity: 0;
}