body {
    /* padding: 0 0 500px; */
    padding: 0;
    margin: 0;
    background: url(bg.jpg) center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #222;
    scroll-behavior: smooth;
    --text: #f2f2f2;
    overflow: hidden;
}

body.light {
    background: url(bgl.jpg) center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #eee;
    --text: #000;
}

.a {
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
}

a.jump {
    color: #2983cc;
}

a.jump:hover {
    color: #999;
}

a.jump:active {
    color: #666;
}

p {
    margin: unset;
}


::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar:hover {
    background-color: #7f7f7f30;
}

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

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

hr {
    width: calc(100% - 40px);
    background-color: #7f7f7f40;
    border: none;
    height: 1px;
    border-radius: 10px;
}

.chart>hr{
    
    margin: 10px 0 0 5px;
}

/* #hd>svg>g>path{
    stroke:#fff;
    stroke-width: 10;
    stroke-linecap:round;
    stroke-linejoin:round;
    fill:none;
    stroke-miterlimit:10;
}

#hd{
    width: 140px;
    position: fixed;
    height: 300px;
    left: calc(50% - 70px);
    top: calc(50% - 150px);
} */

#hd {
    width: 140px;
    position: fixed;
    height: 340px;
    left: calc(50% - 70px);
    top: calc(50% - 170px);
    overflow: hidden;
    display: flex;
    transition: 200ms;
}

#hd>svg {
    margin-right: 15px;
    /* margin: -20px 0 -10px; */
}
body.light #hd>svg {
    filter: brightness(1.2);
}

.card {
    background-color: #232323a7;
    backdrop-filter: saturate(4) contrast(0.8) brightness(0.7) blur(40px);
    border-radius: 24px;
    box-shadow: #00000080 0 7px 14px;
    border: 2px solid #88888830;
    display: flex;
    flex-direction: column;
    transition: 160ms cubic-bezier(1,0,0,1);
}

.card:hover {
    border-radius: 30px;
    padding: 7px;
    margin: -7px;
    filter: saturate(1.2);
}

body.light .card{
    background-color: #ebe2e0a9;
    backdrop-filter: saturate(3) contrast(0.8) blur(40px);
    box-shadow: #00000040 0 7px 14px;
    color: #000;
}

.card>.tit {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 300;
    margin: 25px 30px;
    text-align: start;
}

.card>.tit.center {
    text-align: center;
}

.card>.body {
    /* padding: 20px 30px; */
    width: 100%;
    flex-grow: 1;
}

#ldb {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 7;
    background-image:
        radial-gradient(circle at 30% 30%, #197e7430, #00000000 20%),
        radial-gradient(circle at 70% 60%, #9e751730, #00000000 25%),
        radial-gradient(circle at 20% 70%, #2b6e4530, #00000000 25%),
        radial-gradient(circle at 0 0, #233e53 0 30%, #3a1d2e 70%);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #f0f0f0;
}

body.light>#ldb{
    background-image: radial-gradient(circle at 30% 30%,#32ffea30,#00000000 20%),
    radial-gradient(circle at 70% 60%,#ffbf2830,#00000000 25%),
    radial-gradient(circle at 20% 70%,#3da86630,#00000000 25%),
    radial-gradient(circle at 0 0,#acc6d8 0 30%,#d0b7cd 70%);
    /* color: #000; */
}

body.light>#ldb .lay{
    color: #000;
}

.shine {
    --speed: 1;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(110deg, var(--color) 0 40%, var(--colorshine) 50% 50%, var(--color) 60%);
    background-size: 200% 100%;
    background-position: calc(var(--scroll) * var(--speed)) 50%;
}


#ldb>.lay {
    height: 100%;
    padding: 0 20px;
    overflow-y: auto;
    align-items: stretch;
    display: none;
    opacity: 0;
    width: max-content;
    transition: opacity 485ms;
}

.lay{
    height: 100vh;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 50vh;
    flex-direction: column;
    color: #f0f0f0;
}

body.light .card{
    color: #000;
}

#ldb>.lay.show0 {
    display: flex;
}

#ldb>.lay.show {
    opacity: 1;
}

#stt:not(.show) {
    transform: translateX(calc(100% + 30px));
}

#stt {
    position: fixed;
    z-index: 8;
    bottom: 15px;
    right: 15px;
    padding: 10px 20px;
    background-color: #2983cc50;
    color: #ffffffa0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 100ms;
    box-shadow: #2983cc50 0 4px 15px;
    backdrop-filter: blur(17px);
    transform: scale(0.97);
}

#stt:hover {
    background-color: #2983cc90;
    color: #fff;
    transform: none;
    box-shadow: #00000050 0 4px 13px;
}

#stt:active {
    background-color: #2983cc70;
    color: #fff;
    box-shadow: none;
    opacity: 0.6;
    transform: scale(0.97);
}
#inf {
    margin: 100vh 200px 0 0;
}

#inf>.card {
    height: calc(100% - 160px);
    width: calc(100% - 200px);
    max-width: 700px;
    overflow: auto;
    max-height: 800px;
    padding-bottom: 30px;
    margin-bottom: 0;
}


#inf>.card>.chart {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    margin: 0 0 0 50px;
    width: calc(100% - 50px);
}

#inf>.card>.chart>div {
    display: flex;
    margin-top: 10px;
}

#inf>.card>.chart>div>p:first-child {
    min-width: 100px;
}

#jt {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    overflow: hidden;
    flex-direction: column;
    margin-bottom: 15px;
}

/* #jt>div>p{
    align-items: center;
} */

#jt>div {
    display: flex;
    align-items: center;
    padding: 2px 20px;
    min-width: 600px;
}

#jt>div>p {
    width: 100px;
}

#jt>div>div {
    background: #7f7f7f50;
    border-radius: 20px;
    height: 8px;
    /* margin-top: 9px; */
    transition: 200ms;
    flex-grow: 1;
    overflow: hidden;
}


#jt>div>div:hover {
    /* margin-top: 6px; */
    height: 14px;
}


.highlight.width:not(.show) {
    width: 0 !important;
}

.highlight.width {
    transition: 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

#hab {
    width: calc(100% - 200px);
    min-width: 400px;
    max-width: 800px;
    background-color: #33333330;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* column-count: auto; */
    /* column-width: 100px; */
    flex-wrap: wrap;
    padding: 10px;
    justify-items: center;
    gap: 10px;
    border-radius: 20px;
    backdrop-filter: blur(15px) brightness(1.2);
}

#hab>.cd {
    /* margin: 5px; */
    background-color: #00000050;
    width: 100%;
    min-height: 80px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    user-select: none;
}

#hab>.cd:hover>svg {
    transform: scale(40%);
}

#hab>.cd>svg {
    height: 100%;
    width: max-content;
    transform: scale(35%);
    transition: 200ms;
}

#hab>.cd>span {
    flex-grow: 1;
    font-size: 21px;
}

.card.prj{
    width: 50%;
    min-width: 450px;
    max-width: 600px;
}
.card.prj>.body{
    padding: 0 30px 0px 35px;
    width: unset;
    line-height: 1.5;
}

.card.prj>.body>span{
    font-family: 'Cascadia Code', monospace;
    font-weight:300;
    background: radial-gradient(circle at 30px 40% ,#474747c0 0, #393939d0 50px);
    border-radius: 9px;
    text-shadow: #000 0 2px 2px;
    color: #fff;
    font-size: 15px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    border: #7f7f7f49 1px solid;
    /* box-shadow: #00000090 0 1px 3px; */
    margin: -15px 7px 15px -5px;
    user-select: none;
}
.card.prj>.body>span>svg{
    fill: #61b8ff;
    /* fill: none; */
    margin-right: 4px;
    stroke: #61b8ff;
    stroke-width: 0.5px;
}
.card.prj>.body>span>svg.bi-star{
    fill: #ffd562;
    stroke: #ffd562;
}

.ops{
    display: flex;
    /* flex-direction: column; */
    padding: 20px 0 30px 0;
    width: 100%;
    user-select: none;
    gap: 5px;
}

.ops>.a{
    /* width: 100%; */
    padding: 10px 10px;
    margin: 1px;
    border-radius: 8px;
    transition: 100ms;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}
.ops>.a>svg{
    height: 25px;
    width: max-content;
    margin-bottom: 5px;
}

.ops>.a:hover{
    background-color: #7f7f7f29;
}

.ops>.a:active{
    opacity: 0.6;
}

#ft {
    background-color: #222222e7;
    backdrop-filter: blur(30px);
}