﻿@charset "utf-8";

/* 美化滚动条 */
::-webkit-scrollbar { /*滚动条整体样式*/
    width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 6px;
    scrollbar-arrow-color: red;
}

::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.2);
    scrollbar-arrow-color: red;
}

::-webkit-scrollbar-track { /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 0;
    background: rgba(0,0,0,0.1);
}

body {
    position:relative;
    background: url(https://www.loliapi.com/acg/pc/);
    background-size: cover;
    background-repeat:no-repeat;
    user-select: none;
}

/* 定义主盒子 */
#main-box {
    width: 800px;
    border-radius: 50px;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    padding: 30px;
    /* 让盒子居中 */
    margin: 0 auto;
    margin-top: 70px;
}

/* 定义顶部头像及名称、介绍部分 */
#head {
    position: relative;
    z-index: 0;
    padding: 16px 0;
    border-radius: 35px;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

#head::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(15px);
    border-radius: 35px;
}

#quotes{
    font-weight:700;
    padding-bottom:5px;
    padding-left:5px;
}

/* 定义头像图片样式 */
#touxiang {
    /* 定义头像的高和宽 */
    height: 128px;
    width: 128px;
    /* 让头像变成圆的 */
    border-radius: 50%;
    /* 将图片转换为块元素并居中 */
    display: block;
    margin: 0 auto;
    /* 定义图片默认旋转速度 */
    transition: all 0.5s;
    -moz-transition: all 1s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    /* 头像呼吸灯 */
    animation: light 4s ease-in-out infinite;
}
/* 呼吸灯颜色变化 */
@keyframes light {
    0% {
        box-shadow: 0 0 4px #f00;
    }

    25% {
        box-shadow: 0 0 16px #0f0;
    }

    50% {
        box-shadow: 0 0 4px #00f;
    }

    75% {
        box-shadow: 0 0 16px #0f0;
    }

    100% {
        box-shadow: 0 0 4px #f00;
    }
}

/* 定义昵称样式 */
#nick {
    text-align: center;
    font-size: 30px;
    font-weight:600;
}

/* 定义一段文字样式 */
#info {
    text-align: left;
}

#title{
    font-weight:700;
    margin:10px;
}

#main-1 {
    position: relative;
    z-index: 0;
    height: 20px;
    width: auto;
    border-radius: 35px;
    padding: 20px;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    clear:both;
}
#countdown {
    font-weight: bold;
    text-align: center;
}
#main-1::before {
    content: "";
    position: absolute;
    top: 0;
     right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(15px);
    border-radius: 35px;
}

#main-2 {
    position: relative;
    z-index: 0;
    height: 500px;
    width: 55%;
    float:left;
    border-radius: 35px;
    padding: 20px;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    margin-bottom:20px;
}
#main-2::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(35px);
    border-radius: 35px;
    }

#secondary-1 {
    position:relative;
    width: 99%;
    height: 15%;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    padding: 10px;
    border-radius: 35px;
    cursor: pointer;
    display: flex;
    margin-top:28px;
}

#secondary-1::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(15px);
    border-radius: 35px;
    cursor: pointer;
}

#404 {
    height: 200px;
    padding: 20px;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    border-radius:50px;
    margin:0 auto;
}

#font-1 {
    font-weight: 1000;
    text-align: center;
    font-size: 200%;
}

#report {
    font-weight: 700;
    text-align: center;
    font-size: 120%;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}
#report::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(15px);
    border-radius: 35px;
}

#picture-1{
    float:left;
    padding-left:10px;
    max-width:100%;
    height:auto;
}
#main-3{
    position: relative;
    z-index: 0;
    height: 110px;
    width: 40%;
    padding-left:5px;
    border-radius: 35px;
    float:right;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
}
#main-3::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(15px);
    border-radius: 35px;
}
#tip-1{
    height:18%;
    width:8%;
    margin-left:8px;
    border-radius:35px;
    background-color:pink;
    justify-items:center;
    align-items:center;
}
#tip-1 p{
    font-weight:600;
    font-size:90%;
    text-align:center;
    color:black;
}

:root {
    --color-font: #000000;
    --color-bg-progress-b: #6b6b6b;
    --color-bg-progress-l: #a0a0a0;
    --color-bg-progress-m: #ffffff;
}

.music-content-bg {
    height: 100vh;
    background-image: linear-gradient(to right, #dc2424 0%, #4a569d 100%);
}

.music-content {
    height: 100%;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.music-box {
    flex: none;
    margin-top:15px;
    height:200px;
    width: 40%;
    float: right;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    border-radius: 30px;
    box-sizing: border-box;
    background-color: rgb(232, 232, 232, 0.7);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    box-shadow: inset 0px 0px 10px 2px rgb(255, 255, 255, 0.5);
    user-select: none;
}

    /* music-box 上部分 */
    .music-box > article {
        width: 100%;
        height: 100px;
        display: flex;
        justify-content: flex-start;
    }

/* 图片部分 */
.m-img-box {
    flex: none;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.25), 0px 0px 8px 0px inset rgba(0, 0, 0, 0.05);
}

.m-img-content {
    width: 100%;
    height: 100%;
    transform: translateY(-100%);
}

    .m-img-content.tran {
        transition: transform 0.4s linear 0.3s;
    }

    .m-img-content > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        transform: scale(1);
    }

        .m-img-content > img.anim {
            animation: img-anim 1s linear forwards;
        }

@keyframes img-anim {
    30% {
        transform: scale(0.6);
    }

    70% {
        transform: scale(0.6);
    }

    100% {
        transform: scale(1);
    }
}

/* 描述部分 */
.m-description-content {
    position: relative;
    margin-left: 25px;
    width: 0;
    flex: 1;
}

    .m-description-content > article {
        opacity: 1;
    }

        .m-description-content > article.anim {
            animation: desc-cont-anim 1s ease-in forwards;
        }

@keyframes desc-cont-anim {
    30% {
        opacity: 0;
        transform: var(--transform-translateY);
    }

    70% {
        opacity: 0;
        transform: translateY(0);
    }

    100% {
        opacity: 1;
    }
}

.m-title {
    font-size: 18px;
    font-weight: 500;
    height: 18px;
    line-height: 18px;
}

.m-author {
    font-size: 15px;
    font-weight: 400;
    color: #2f2f2f;
}

.m-title,
.m-author {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.m-btn-box {
    position: absolute;
    bottom: 0;
    width: 180px;
    display: flex;
    justify-content: space-between;
}

    .m-btn-box > button {
        background: none;
        border: none;
        outline: none;
        width: 35px;
        height: 35px;
        padding-top:15px;
    }

.icon {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    fill: var(--color-font);
    overflow: hidden;
}

.m-btn-box > button:active > .icon {
    width: 20px;
    height: 20px;
}

/* music-box 下部分 */
.music-box > section {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    box-sizing: border-box;
}

.m-progress-bar {
    width: 200px;
    height: 6px;
    background-color: var(--color-bg-progress-b);
    border-radius: 3px;
    overflow: hidden;
}

.m-progress-main {
    float: left;
    height: 100%;
    width: 20%;
    background-color: var(--color-bg-progress-m);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.m-progress-btn {
    position: absolute;
    transform: translateX(50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--color-bg-progress-m);
    transition: width 0.1s linear, height 0.1s linear;
}

    .m-progress-btn:active {
        width: 14px;
        height: 14px;
    }

.m-progress-load {
    height: 100%;
    width: 50%;
    background-color: var(--color-bg-progress-l);
}

#yewei {
    position: relative;
    z-index: 0;
    float: left;
    bottom: 0;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    height: 20px;
    width: 100%;
    border-radius:35px;
    padding:15px;
}
#yewei::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(15px);
    border-radius: 35px;
    }