@import "./bootstrap-icons.css";
@import "./base.css";


p {
    margin: 0;
}


html{
    position: fixed;
}

body {
    background: url('./bg.svg') center;
    background-size: cover;
}

.a {
    color: #000;
    text-decoration: none !important;
    cursor: pointer;
}

a.jump{
    cursor: alias !important;
    text-decoration: underline;
    color: #2983cc;
}

body {
    color: #000;
    user-select: none;
}

* {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    border-radius: 7px;
    height: 14px;
    width: 14px;
}
::-webkit-scrollbar:hover {
    background-color: #ffffff30;
}

::-webkit-scrollbar-thumb {
    background: #7f7f7f70;
    background-clip: padding-box;
    border: 5px solid transparent;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    border: 3px solid transparent;
}

#dock-box {
    position: fixed;
    bottom: 10px;
    height: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 100;
}

.dock {
    border-radius: 7px;
    height: 100%;
    background-color: #ffffff70;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 3px 3px 6px 1px #7f7f7f7f;
    padding: 7px 6px;
    margin: 0 3px;
    display: flex;
    transition: 200ms;
    bottom: 0;
}

.dock>* {
    padding-left: 3px;
    padding-right: 3px;
}

.dock>.bi {
    font-size: 28px;
    margin-top: -8px;
}

.dock.about {
    cursor: pointer;
    width: 280px;
    font-size: 18px;
    display: block;
    overflow: hidden;
    padding-left: 10px;
}

.dock.about>p {
    margin-top: 50px;
    font-size: 15px;
    padding-left: 15px;
    display: none;
    opacity: 0;
    transition: 600ms;
}

.dock.about:hover {
    background-color: #dddddd70;
}

.dock.about:active>p {
    display: block;
}

.dock.about:active {
    font-size: 13px;
    padding: 10px 45px;
}

.dock.about.show {
    height: 220px;
    width: 500px;
    margin-top: -180px;
    font-size: 23px;
}

.dock.about.show>p {
    display: block;
    margin-top: 5px;
    opacity: 1;
}

.dock.about.show:hover {
    background-color: #ffffff70;
}

#taskbar{
    padding: 3px 5px;
    transition: 100ms;
}

#taskbar>a{
    border-radius: 10px;
    height: 34px;
    width: 34px;
    transition: 100ms;
    padding: 4px 0 0 5px;
    display: block;
}

#taskbar>a:hover{
    background-color: #ffffff50;
}

#taskbar>a>img{
    width: 24px;
    height: 24px;
}

#taskbar>a::after{
    content: '';
    display: block;
    width: 18px;
    background-color: #2983cc;
    height: 4px;
    border-radius: 2px;
    position: relative;
    bottom: 3px;
    left: 3px;
}

#taskbar>a:hover:after{
    width: 22px;
    background-color: #2983cc;
    height: 4px;
    border-radius: 2px;
    position: relative;
    bottom: 3px;
    left: 1px;
}

.dock-btn {
    transition: 200ms;
    width: 32px;
    height: 26px;
}

.dock-btn>svg {
    transition: 200ms;
}

.dock-btn:hover {
    opacity: 0.6;
}

.dock-btn:active {
    padding: 2.5px 5.5px;
}

.dock-btn:active>svg {
    width: 21px;
    height: 21px;
}

.dock-btn.show{
    filter: hue-rotate(380deg) brightness(1.1);
}

#start-menu {
    display: none;
    position: fixed;
    bottom: 0;
    height: 500px;
    max-height: calc(90% - 120px);
    width: 800px;
    left: calc(50% - 400px);
    border-radius: 20px;
    background-color: #ffffff50;
    backdrop-filter: blur(50px) saturate(130%);
    -webkit-backdrop-filter: blur(50px) saturate(130%);
    opacity: 0;
    transition: 200ms;
    box-shadow: 3px 3px 15px 1px #7f7f7f7f;
    border: 2px solid #7f7f7f10;
    z-index: 99;
}

#start-menu.show-begin {
    display: flex;
}

#start-menu.show {
    display: flex;
    height: 594px;
    max-height: calc(100% - 120px);
    bottom: 60px;
    opacity: 1;
}

#start-menu.max {
    left: 0;
    top: 0;
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
}
#start-menu.max>#s-m-l>#s-m-user{
    margin-bottom: 60px;
    top: 10px;
}
#start-menu.max>#s-m-r>.tuijian>.apps>*{
    width: 25%;
}

#s-m-l {
    min-width: 300px;
    height: 100%;
    padding: 0 10px;
    transition: 400ms;
    display: flex;
    flex-direction: column;
}

#start-menu.max>#s-m-l{
    min-width: 250px;
    width: 25%;
}

#s-m-l>.input {
    padding-left: 30px;
}

input-before {
    display: block;
    font-size: 15px;
    height: 0;
    margin-top: -29px;
    margin-left: 8px;
    margin-bottom: 10px;
}

#s-m-l>list {
    margin-left: 5px;
    margin-top: 40px;
    flex-grow: 1;
    overflow: auto;
}

#s-m-l>list>a {
    padding: 3px 8px;
    font-size: 15px;
    display: flex;
}

#s-m-l>list>a>p {
    margin: 5px 7px;
}

#s-m-l>list>a>img {
    height: 25px;
    width: 25px;
    margin-top: 3px;
}

#s-m-l>list>.text {
    padding-left: 10px;
    font-size: 15px;
    height: 35px;
}

#s-m-r {
    flex-grow: 1;
    height: 50px;
    transition: 400ms;
    overflow: hidden;
    opacity: 0;
    margin-top: 80px;
    margin-left: -15px;
}

#s-m-r>* {
    margin-bottom: 50px !important;
    transition: 600ms;
    opacity: 0;
}


#s-m-r>.pinned {
    margin-bottom: 80px !important;
    transition: 800ms;
    box-shadow: 3px 3px 6px #7f7f7f7f;
}

#start-menu.show>#s-m-r {
    height: 100%;
    opacity: 1;
    margin-top: 0;
}


#start-menu.show>#s-m-r>* {
    opacity: 1;
    margin-bottom: 0 !important;
}

#s-m-r>.row1 {
    display: flex;
}

#s-m-r>.row1>.tool {
    width: 200px;
    padding: 5px 10px 0 0;
    transition: 300ms;
}

#s-m-r>.row1>.tool>* {
    float: right;
}

#s-m-r>.row1>.tool>.btn-icon.power {
    overflow: hidden;
    display: flex;
    padding-left: 0;
}

#s-m-r>.row1>.tool>.btn-icon.power:active {
    padding: 1px 0;
    font-size: 23px;
}

#s-m-r>.row1>.tool>.btn-icon.show {
    width: 100px;
    background-color: #ffffff30;
    box-shadow: 3px 3px 6px #7f7f7f7f;
}

#s-m-r>.row1>.tool>.btn-icon.show:hover {
    background-color: #ffffff30;
}

#s-m-r>.row1>.tool>.btn-icon.power>.bi {
    position: relative;
    height: 33px;
    padding-left: 5px;
    padding-right: 5px;
    transition: 200ms;
}

#s-m-r>.row1>.tool>.btn-icon.power>i.bi-power {
    border-radius: 10px 0 0 10px;
}

#s-m-r>.row1>.tool>.btn-icon.power>i.bi-arrow-counterclockwise {
    border-radius: 0 10px 10px 0;
}

#s-m-r>.row1>.tool>.btn-icon>.bi-arrow-counterclockwise::before {
    position: relative;
    top: 1.15px;
}

#s-m-r>.row1>.tool>.btn-icon>.bi-power::before {
    position: relative;
    top: -2px;
}

#s-m-r>.row1>.tool>.btn-icon.show>.bi-power::before {
    position: relative;
    top: 0;
}

#s-m-r>.row1>.tool>.btn-icon.show>.bi {
    top: -2px;
}

#s-m-r>.row1>.tool>.btn-icon.show>i {
    background-color: #ffffff50;
}

#s-m-r>.row1>.tool>.btn-icon.show>i:hover {
    background-color: #ffffff90;
}

#start-menu.max>#s-m-r>.row1>.tool{
    margin-left: 100px;
    margin-right: 50px;
}

#s-m-r>.row1>.folder {
    display: flex;
    padding: 10px 10px;
    margin: 15px 15px;
    border-radius: 10px;
    background-color: #ffffff50;
    flex-grow: 1;
    box-shadow: 3px 3px 6px #7f7f7f7f;
}

#s-m-r>.row1>.folder>.sm-app {
    height: 72px;
}

#s-m-r>.pinned {
    padding: 10px 10px;
    margin: 0 10px 0 15px;
    border-radius: 10px;
    background-color: #ffffff50;
}

#s-m-r>.pinned>.apps {
    display: flex;
    flex-wrap: wrap;
    padding-left: 15px;
}


#s-m-r>.pinned>.title {
    padding: 5px 0 5px 10px;
    font-size: 18px;
    font-weight: 530;
    display: flex;
}

#s-m-r>.pinned>.title>* {
    width: 100%;
}

#s-m-r>.tuijian {
    padding: 10px 10px;
    margin: 15px 10px 0 15px;
    border-radius: 10px;
    background-color: #ffffff50;
    box-shadow: 3px 3px 6px #7f7f7f7f;
}

#s-m-r>.tuijian>.apps {
    display: flex;
    flex-wrap: wrap;
    padding-left: 15px;
}
#s-m-r>.tuijian>.apps>* {
    transition: 80ms;
}

#s-m-r>.tuijian>.title {
    padding: 5px 0 5px 10px;
    font-size: 18px;
    font-weight: 530;
    display: flex;
}

#s-m-r>.tuijian>.title>* {
    width: 100%;
}

#s-m-user {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    position: relative;
    top: -50px;
    left: calc(50% - 50px);
    background-color: #ececec;
    font-size: 80px;
    transition: 200ms;
    box-shadow: 3px 3px 6px #7f7f7f7f;
}

#s-m-user>svg {
    position: relative;
    top: -8px;
    left: 15px;
    width: 70px;
    height: 70px;
}


#search-win {
    display: none;
    position: fixed;
    bottom: 0px;
    height: 500px;
    max-height: calc(90% - 120px);
    width: 600px;
    left: calc(50% - 300px);
    border-radius: 20px;
    background-color: #ffffff50;
    backdrop-filter: blur(50px) saturate(130%);
    -webkit-backdrop-filter: blur(50px) saturate(130%);
    opacity: 0;
    transition: 200ms;
    box-shadow: 3px 3px 15px 1px #7f7f7f7f;
    border: 2px solid #7f7f7f10;
    z-index: 99;
    padding: 10px;
}

#search-win.show-begin {
    display: flex;
    flex-direction: column;
}

#search-win.show {
    max-height: calc(100% - 120px);
    height: 594px;
    display: flex;
    flex-direction: column;
    bottom: 60px;
    opacity: 1;
}

#search-win>.input {
    padding-left: 30px;
}

#search-win>.tab{
    display: flex;
    margin-top: 25px;
    margin-bottom: 10px;
}

#search-win>.tab>a{
    padding: 4px 7px 3px 7px;
    color: #000;
    margin: 0 0;
    text-align: center;
    border-radius: 10px;
    transition: 100ms;
}
#search-win>.tab>a:hover{
    background-color: #ffffff50;
}
#search-win>.tab>a.now{
    background-color: #ffffff50;
}
#search-win>.tab>a.now::after{
    content: '';
    display: block;
    position: relative;
    bottom: 0;
    background-image: linear-gradient(90deg, #ad6eca, #3b91d8);
    width: 100%;
    height: 3px;
    border-radius: 3px;
}
#search-win>.ans{
    display: flex;
    flex-grow: 1;
    overflow: auto;
}
#search-win>.ans>.list{
    width: 250px;
    height: 100%;
}
#search-win>.ans>.list>list>a:hover{
    background-color: #ffffff50;
}
#search-win>.ans>.view{
    flex-grow: 1;
    height: 100%;
}

.input {
    background-color: #fbfbfb;
    border-radius: 10px;
    border: none;
    border-bottom: 2.5px solid;
    border-bottom-color: #868686;
    padding: 3px 5px 4px 8px;
    outline: medium;
    width: 100%;
}


.input:hover {
    background-color: #eee;
}

.input:focus {
    background-color: #fff;
    background-clip:padding-box,border-box;
    background-origin:padding-box,border-box;
    background-image:linear-gradient(#fff,#fff),linear-gradient(100deg, #ad6ecaee, #3b91d8ee);
    border-bottom-color: transparent;
}

.btn {
    border: 0px solid;
    border-radius: 10px;
    padding: 7px 10px;
    transition: 100ms;
    background-color: #00000000;
}

.btn-icon {
    border: 0px solid;
    border-radius: 10px;
    padding: 1px 5px;
    background-color: #00000000;
    font-size: 23px;
    height: 33px;
    width: 33px;
}

.btn-icon.big {
    padding: 3px 7px;
    font-size: 19px;
}

.btn:hover {
    background-color: #ffffff50;
}

.btn:active {
    font-size: 17px;
    padding: 4px 8px;
}

.btn-icon.big:active {
    font-size: 13px;
    padding: 6px 10px;
}

.more-btn {
    background-image: linear-gradient(100deg, #ad6ecaee, #3b91d8ee);
    color: #fff;
    padding: 0;
    border-radius: 5px;
    font-size: 12px;
    float: right;
    padding: 4px 5px;
}

.more-btn:hover {
    filter: brightness(0.94);
}

.more-btn>.bi {
    font-size: 10px;
}

.sm-app {
    width: 72px;
    height: 80px;
    border-radius: 10px;
    text-align: center;
    transition: 80ms;
    padding: 0 3px;
    color: #888;
    cursor: inherit;
}

.sm-app.enable {
    color: #000;
    cursor: pointer;
}

.sm-app.enable:hover {
    background-color: #ffffff70;
}

.sm-app.enable>*:first-child {
    filter: brightness(1.2);
}

.sm-app>*:first-child {
    height: 34px;
    width: 34px;
    margin-top: 12px;
    transition: 200ms;
    filter: contrast(0.4) brightness(0.8);
}

.sm-app>*:last-child {
    margin-top: -3px;
    transition: 200ms;
    font-size: 10px;
    line-height: 13px;
}

.sm-app:hover {
    background-color: #cccccc40;
}

.sm-app:active {
    padding-top: 4px;
}

.sm-app:active>*:last-child {
    margin-top: 1px;
}

.sm-app:active>*:first-child {
    height: 26px;
    width: 26px;
}

.tj-obj {
    width: 50%;
    height: 55px;
    border-radius: 10px;
    transition: 80ms;
    padding: 0 3px;
    display: flex;
    padding: 10px 3px 10px 10px;
    overflow: hidden;
}

.tj-obj>img {
    height: 35px;
    width: 35px;
    transition: 200ms;
}

.tj-obj>div>*:first-child {
    margin: 3px 0 2px 5px;
    font-size: 15px;
    line-height: 13px;
    white-space: nowrap;
}

.tj-obj>div>*:last-child {
    font-size: 10px;
    line-height: 13px;
    margin-left: 6px;
}

.tj-obj:hover {
    background-color: #ffffff70;
}

list {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 10px;
}

list>* {
    width: 100%;
    color: var(--text);
    text-align: inherit;
    border-radius: 10px;
    position: relative;
    display: block;
    padding: 10px 20px;
    transition: 100ms;
    cursor: pointer;
}

list>*:hover {
    color: var(--text);
    background-color: #ffffff70;
    text-decoration: none;
    transition: 200ms;
}

list>hr {
    width: calc(100% - 12px);
    padding: 0 !important;
    margin: 2px 6px;
    background-color: #7f7f7f;
    border-radius: 5px;
    height: 0.75px;
}

list>hr:hover {
    background-color: #7f7f7f;
}

list>.text {
    margin: 0;
}

list>.text:hover {
    background-color: unset;
}

.window {
    position: fixed;
    width: 50%;
    height: 50%;
    top: 10%;
    left: 15%;
    margin-left: 10%;
    margin-top: 7%;
    /* 真的是胡整，margin-top和margin-left的百分比都是以width为标准，脑壳乔的 */
    background-color: #ffffff50;
    backdrop-filter: blur(50px) saturate(130%);
    -webkit-backdrop-filter: blur(50px) saturate(130%);
    border-radius: 10px;
    border: 2px solid #7f7f7f20;
    display: none;
    opacity: 0;
    transition: 100ms;
    overflow: hidden;
    box-shadow: 3px 3px 15px 1px #7f7f7f7f;
}

.window.min{
    margin-top: 17%;
}

.window.show-begin {
    display: block;
}

.window.show {
    margin-left: 0;
    margin-top: 0;
    height: 80%;
    width: 70%;
    opacity: 1;
}

.window.calc.show{
    height: 540px;
    width: 330px;
}

.window.calc{
    height: 250px;
    width: 66px;
}

.window.notrans {
    transition: unset !important;
}

.window>.titbar {
    border-radius: 10px 10px 0 0;
    height: 32px;
    padding: 0 0 0 5px;
    display: flex;
    position: initial;
}

.window>.titbar>p {
    font-size: 16px;
    margin-top: 3px;
}

.window>.titbar>.icon {
    margin: 6px 5px 0 0;
    height: 20px;
    width: 20px;
}

.window>.titbar>div {
    flex-grow: 1;
}

.window>.content{
    width: 100%;
    height: 100%;
}

.window.max {
    width: 100%;
    height: 100%;
    left: 0 !important;
    top: 0 !important;
}

.wbtg {
    height: 100%;
    float: right;
    width: 45px;
    text-align: center;
    padding-top: 5px;
    font-size: 13px;
    transition: 100ms;
    border-radius: 3px;
}

.wbtg.red {
    border-top-right-radius: 10px;
}

.wbtg:hover {
    background-color: #7f7f7f50;
}

.wbtg.red:hover {
    background-color: #c42b1c;
    color: #fff;
}