@charset "UTF-8";

@font-face {
    font-family: "DIY font";
    src: url("https://npm.elemecdn.com/velor2012_handsome_asset@9.0.2-1.1/HarmonyOS_Sans_SC_Medium.subset.woff2") format("truetype");
    /* 兼容Safari */
}

/* 美化滚动条 */
::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 4px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 4px;
}

::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.1);
}

@-webkit-keyframes spin {

    0%,
    100% {
        transform-origin: top;
    }

    15% {
        transform: rotateZ(2deg);
    }

    30% {
        transform: rotateZ(-2deg);
    }

    45% {
        transform: rotateZ(0.5deg);
    }

    60% {
        transform: rotateZ(-0.5deg);
    }

    75% {
        transform: rotateZ(.5deg);
    }
}


@keyframes spin {

    0%,
    100% {
        transform-origin: top;
    }

    15% {
        transform: rotateZ(2deg);
    }

    30% {
        transform: rotateZ(-2deg);
    }

    45% {
        transform: rotateZ(0.5deg);
    }

    60% {
        transform: rotateZ(-0.5deg);
    }

    75% {
        transform: rotateZ(.5deg);
    }
}

@-webkit-keyframes re {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes re {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@-webkit-keyframes aaa {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3);
    }
}

@keyframes aaa {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3);
    }
}

* {
    margin: 0px;
    border: 0px;
    font-family: "DIY font";
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all .4s;
}

body {
    background: url("./img/bg.jpg") no-repeat fixed;
    background-size: cover;
}

#main {
    height: 700px;
    width: 760px;
    margin: 50px auto;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, .15);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, .35);
    color: #FFF;
    padding: 40px;
}

#one {
    height: 150px;
    width: 760px;
}

#headimg,
#headimgShadow {
    height: 150px;
    width: 150px;
    border-radius: 20px;
}


#headimgShadow {
    height: 150px;
    width: 150px;
    position: absolute;
    left: 40px;
    top: 42px;
    -webkit-filter: blur(16px);
    filter: blur(16px);
    z-index: -1;
}

#one-img {
    height: 150px;
    width: 150px;
    float: left;
}

#one-text {
    float: left;
    height: 150px;
    width: 565px;
    font-size: 23px;
    margin-left: 45px;
    text-shadow: 1px 3px 5px rgba(0, 0, 0, .35);
}

#one-text table {
    height: 150px;
}

#one-text td {
    width: 300px;
}

#one-text svg {
    width: 18px;
    height: 18px;
    fill: #FFF;
}

#two {
    margin: 60px 0;
    height: 80px;
    width: 760px;
}

#two-left,
#two-left-Shadow,
#two-left-bg {
    border-radius: 20px;
    height: 80px;
    width: 660px;
    overflow: hidden;
}

#two-left-bg,
#two-left-Shadow {
    position: absolute;
    top: 250px;
    background: url("https://i1.wp.com/image.thum.io/get/width/660/crop/159/allowJPG/wait/20/noanimate/https://music.zxz.ee");
}

#two-left {
    width: 620px;
    padding: 0 20px;
    line-height: 80px;
    float: left;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #ffffff;
    text-shadow: #000 1px 1px 5px;
    /* -webkit-text-stroke: rgba(3, 11, 232, 0.1) 3px; */
}

#two-left-Shadow {
    -webkit-filter: blur(10px);
    filter: blur(10px);
    z-index: -1;
}

#two-left #span-title {
    font-size: 30px;
}

#two-left #span-content {
    font-size: 16px;
    margin-left: 20px;
    width: 100px;
}

#two-right {
    height: 80px;
    width: 80px;
    float: right;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, .5);
    box-shadow: 1px 3px 10px rgba(255, 255, 255, .35);
    fill: #FFF;
}

#two-right svg {
    display: block;
    height: 60px;
    width: 60px;
    margin: 10px;
}

#two-right:hover {
    fill: #fd7d7d;
    background-color: rgba(255, 255, 255, .3);
}

#two-right:active svg {
    fill: #000;
    -webkit-animation: re 0.15s both;
            animation: re 0.15s both;
}

#two-right:hover svg {
    transform: rotate(-360deg);
    width: 40px;
    height: 40px;
    margin: 20px;
}


#two-left:hover {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

#two:hover #two-left-Shadow {
    -webkit-filter: blur(30px);
    filter: blur(30px);
}

#two-right:hover~#two-left-Shadow {
    -webkit-filter: blur(10px);
    filter: blur(10px);
}

#work-tips {
    position: absolute;
    left: 66px;
    top: 320px;
    font-size: 12px;
    transition: opacity, top 0.3s ease;
    opacity: 0;
    color: #FFF;
    background: rgba(0, 0, 0, .3);
    padding: 5px 10px;
    border-radius: 8px;
    z-index: -1;
}

#two-left:hover~#work-tips {
    top: 335px;
    opacity: 1;
}

#github {
    position: absolute;
    top: 275px;
    left: 585px;
    background-color: rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    height: 30px;
    width: 90px;
    text-decoration: none;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .35);
    border: rgba(255, 255, 255, .5) 1px solid;
    opacity: 0;
}

#github:hover {
    -webkit-animation: spin 0.9s both;
    animation: spin 0.9s both;
}

#github span {
    margin-left: 30px;
    line-height: 30px;
    color: #FFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .95);
}

#github svg {
    position: absolute;
    top: 3px;
    left: 3px;
}

#three {
    width: 750px;
    height: 350px;
    overflow: auto;
    padding: 0px 10px 0px 0px;
}

#three ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: #FFF 1px solid;
    margin-left: 40px;
    padding-left: 20px;
    margin-top: 5px;
}

#three ul li {
    padding: 0;
    margin: 0;
}

.three-box {
    background-color: rgba(255, 255, 255, .18);
    border-radius: 10px;
    height: 100%;
    line-height: 28px;
    letter-spacing: 1px;
    margin-bottom: 60px;
    padding: 20px;
    text-shadow: rgba(0, 0, 0, .75) 1px 2px 10px;
    word-wrap: break-word;
}

.three-q {
    display: block;
    width: 10px;
    height: 10px;
    border: #FFF 1px solid;
    background-color: #FFF;
    border-radius: 50%;
    position: relative;
    left: -26px;
}

#three ul li:first-child span:first-child {
    -webkit-animation: aaa 1s infinite alternate;
            animation: aaa 1s infinite alternate;
}

.three-time {
    display: block;
    position: relative;
    top: -13px;
    left: -10px;
    font-size: 12px;
    height: 16px;
    line-height: 16px;
    background-color: rgba(255, 255, 255, .75);
    color: #000;
    width: 75px;
    text-align: center;
    border-radius: 0px 20px;
}

/* 适配手机端 */
@media only screen and (max-width: 639px) {

    #main {
        padding: 20px;
    }

    #one {
        height: 180px;
    }

    #main,
    #one,
    #two,
    #three {
        width: 320px;
    }

    #headimg,
    #headimgShadow {
        height: 80px;
        width: 80px;
    }

    #one-img {
        width: 100%;
        height: 80px;
    }

    #headimg {
        display: block;
        height: 80px;
        width: 80px;
        margin: 0 auto;
    }

    #headimgShadow {
        display: block;
        left: 140px;
        top: 22px;
    }

    #one-text {
        width: 100%;
        font-size: 16px;
        margin-left: 0px;
        margin-top: 10px;
    }

    #one-text svg {
        width: 13px;
        height: 13px;
        fill: #FFF;
    }

    #one-text table {
        height: 100px;
    }

    #two-left,
    #two-left-bg,
    #two-left-Shadow {
        position: absolute;
        top: 250px;
    }

    #two-left,
    #two-left-Shadow,
    #two-left-bg {
        border-radius: 20px;
        height: 80px;
        width: 320px;
        overflow: hidden;
    }

    #two-left {
        padding: 0;
    }

    #two-left #span-title {
        margin-left: 10px;
        font-size: 16px;
        font-weight: bold;
    }

    #two-left #span-content {
        font-size: 12px;
        margin-left: 10px;
        width: 100px;
    }

    #two-right {
        position: relative;
        height: 50px;
        width: 50px;
        top: 75px;
        border-radius: 18px;
        z-index: 1;
    }

    #two-right svg {
        height: 30px;
        width: 30px;
    }

    #two-right:hover svg {
        transform: rotate(-360deg);
        width: 20px;
        height: 20px;
        margin: 15.5px;
    }

    #github {
        top: 345px;
        left: 20px;
        box-shadow: 1px 3px 10px rgba(255, 255, 255, .35);
    }

    #work-tips {
        left: 180px;
    }

    #three {
        height: 320px;
        padding: 0px;
    }

    #three ul {
        margin-left: 10px;
        padding-left: 20px;
    }

    #three ul li{
        width: 275px;
    }

    #main{
        margin-top: 30px;
    }
}