* {
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    width: 4px;
    height: 1px;
}

body::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #777;
}

body::-webkit-scrollbar-track {
    background: #383838;
}

.dWidth {
    width: 1000px;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #e6e6e6;
    font-family: 'Mirages Custom', 'Merriweather', 'Open Sans',
        'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei',
        'WenQuanYi Micro Hei', 'Segoe UI Emoji', 'Segoe UI Symbol', Helvetica,
        Arial, sans-serif;
}

a {
    text-decoration: none;
    color: #2196f3;
}

li {
    list-style: none;
}


.dWidth {
    width: 1000px;
    margin: 0 auto;
}

.boxShadow {
    box-shadow: 0px 1em 1em -20px rgb(0 0 0 / 25%);
}

header {
    position: relative;
    height: 100vh;
}

header .pic {
    position: absolute;
    z-index: -100;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* background-image: url('https://api.uuz.bid/random/picture/100953175_p4.jpg');  */
    /* background-image: url('https://s2.loli.net/2023/01/08/wfRtIT7KALgMeYC.jpg');  */
    /* background-image: url('../img/100953175.jpg');  */
    background-image: url('https://cdn.sa.net/2025/02/27/7Z3CwB5dPtANHRi.jpg'); 
    /* background-image: url('../img/100953175_p4_2000.jpg');  */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    /* transition: background-position 0.3s; */
}

header .mask {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -99;
    width: 100%;
    height: 100vh;
    background-color: #000;
    background-size: 32px 32px;
    background-image: radial-gradient(farthest-side,
            #ffffff0f 10%,
            transparent 10%);
    background-position: center center;
    opacity: 0.6;
}

header .my {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    line-height: 50px;
    animation: myLoading 1s cubic-bezier(0, 0, 0.2, 1);
}

header .my img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
}

header .my h1 {
    font-weight: 200;
}

header .my .gottop a {
    display: block;
    width: 100px;
    height: 50px;
    margin: 10px auto 0;
    border: 2px solid #bdbdbd;
    border-radius: 20px;
    line-height: 50px;
    color: #bdbdbd;
    transition: border 0.3s, border-radius 0.6s, color 0.3s;
}

header .my .gottop a:hover {
    border: 2px solid #fff;
    border-radius: 25px;
    color: #fff;
}

@keyframes myLoading {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.main {
    border-top: 1px solid transparent;
    margin-top: -80px;
    transition: all .3s;
}

.location {
    margin-top: 30px;
    border-radius: 20px;
    background-color: #fff;
    overflow: hidden;
}

.main .content {
    position: relative;
    padding: 50px;
    line-height: 3em;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.main .content h2 {
    border-left: 0px solid #2196f3;
    padding-left: 0px;
    border-radius: 0;
    color: #000;
    transition: border-left 0.3s, padding-left 1s, border-radius 0.5s,
        color 0.2s;
}

.main .content:hover h2 {
    border-left: 20px solid #2196f3;
    padding-left: 10px;
    border-radius: 10px 0 0 10px;
    color: #2196f3;
}

.main .content .spring,
.backtop a {
    /* background-image: url('https://s2.loli.net/2023/01/08/Opale9DhJnoYzQX.gif'); */
    /* background-image: url('https://api.uuz.bid/upload/sprites.png'); */
    background-image: url('https://cdn.sa.net/2025/02/27/aYo3CedHqQKfrgL.png');
    /* background-image: url('../img/sprites.png'); */
}

.main .content .spring {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    background-size: 310px auto;
}

.main .content:nth-child(2n) .spring {
    background-position: -105px 0;
}

.main .content:nth-child(3n) .spring {
    background-position: -207px 0;
}

 /* 博客文章 */
.main .content .posts{
    width: 100%;
}
.main .content .posts ul {
    display: flex;
    flex: 50%;
    flex-wrap: wrap;
}
.main .content .posts li{
    flex: 50%;
}
.main .content .posts li:nth-child(1){
    flex: 100%;
}
.main .content .posts li a{
    display: block !important;
    height: auto !important;
    margin: 10px !important;
    padding: 20px !important;
}
.hello {
    padding: 30px;
    color: #888;
    font-size: 1.5em;
    text-align: center;
    line-height: 25px;
}

.hello span {
    font-size: 0.6em;
}

.backtop {
    display: flex;
    justify-content: flex-end;
    margin-top: -99px;
}

.backtop a {
    display: block;
    width: 109px;
    height: 99px;
    background-size: 400px auto;
    background-position: -4px -132px;
    filter: grayscale(80%);
    opacity: .8;
    transition-property: filter, opacity;
    transition-duration: .1s, .2s;
    transition-timing-function: ease-out;
}

.backtop a:hover {
    opacity: 1;
    filter: grayscale(0%);
}

footer {
    padding: 50px;
    text-align: center;
    background-color: #383838;
    color: #888;
    font-size: 12px;
    line-height: 20px;
}

footer a {
    color: #888;
    transition: all 0.3;
}

footer a:hover {
    color: #fff;
}

.links li {
    display: inline-block;
    margin-right: .5em;
}

.links li:last-child {
    margin-right: 0;
}

.links li a {
    display: block;
    padding: 0 1em;
    height: 3em;
    line-height: 3em;
    font-size: 15px;
    transition: all 0.3s;
}

.links li a:hover {
    background: #2196f3;
    color: #fff;
    border-radius: 1.5em;
}

.buttonA, .main .content .posts li a {
    display: inline-block;
    height: 3em;
    line-height: 3em;
    padding: 0 1em;
    border: 2px solid #2196f3;
    border-radius: 20px;
    transition: all 0.3s;
}

.buttonA:hover, .main .content .posts li:hover a {
    background-color: #2196f3;
    color: #fff;
    border-radius: 1.5em;
}

.main .content .buttonA {
    margin-top: 10px;
}


@media screen and (max-width: 1100px) {
    .dWidth {
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    header .pic {
        background-image: url('https://cdn.sa.net/2025/02/27/GjNaD6kiwU9Vr2t.jpg');
    }
}

@media screen and (max-width: 800px) {
    .main .content .posts li{
        flex: 100%;
    }
    .main .content .posts li a{
        margin: 20px 0 0 0 !important;
        line-height: 2em;
        padding: 15px !important;
    }
}

@media screen and (max-width: 640px) {
    .links li {
        display: block;
        margin: 10px 0;
    }

    .links li:last-child {
        margin-bottom: 0;
    }

    .main .content:hover h2 {
        border: none;
        padding-left: 0px;
        border-radius: 0;
        color: #000;
    }
    .hello {
        padding: 30px 0 30px 80px;
        text-align: left;
    }

    .backtop a:hover {
        opacity: 1;
        filter: grayscale(0%);
    }

}

@media (prefers-color-scheme: dark) {
    body {
        background: #383838;
    }
    a {
        color: #f0f0f0;
    }
    .boxShadow {
        box-shadow: 0px 1em 1em -20px rgb(255 255 255 / 25%);
    }
    header .mask {
        opacity: 0.7;
    }
    footer {
        background-color: #2c2a2a;
    }
    .location {
        background-color: #2c2a2a;
        color: #f0f0f0;
    }
    .hello {
        color: #f0f0f0;
    }
    .links li a {
        border-bottom: 1px dotted #f0f0f0;
    }
    .links li a:hover {
        color: #383838;
        background: #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
    }
    .buttonA, .main .content .posts li a {
        border-color: #f0f0f0;
    }
    .buttonA:hover, .main .content .posts li:hover a {
        color: #383838;
        background-color: #f0f0f0;
    }
    .main .content h2 {
        border-color: #f0f0f0;
        color: #f0f0f0;
    }
    .main .content:hover h2 {
        color: #f0f0f0;
        border-color: #f0f0f0;
    }
    body::-webkit-scrollbar-track {
        background: #2c2a2a;
    }
    .insideTitle {
        color: #f0f0f0;
    }
}