/* 弹出窗口的样式 */
.button {
    position: absolute;
    top: 25px;
    right: 25px;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* 按钮的样式 */
.btn {
    background-color: transparent;
    color: #000;
    padding: 10px;
    border: 2px solid #ff4777;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    /* 加粗 */
    font-size: 0.75em;
    /* 文字大小 */
    width: 25px;
    /* 按钮宽度 */
    height: 25px;
    /* 按钮高度 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 关闭按钮的样式 */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.bg {
    width: 100%;
    height: 750px;
    margin: 0px auto;
    display: flex;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
    color: #000000;
    /* overflow: hidden; */
    position: relative;
    font-family: "微软雅黑";
}

.bg ul {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    list-style: none;
}

.bg ul li {
    width: 100%;
    line-height: 30px;
    text-align: center;
}

.bg ul li.active {
    color: #2ecc71;
    font-weight: bold;
    font-size: 20px;
}

body {
    background-image: url(../images/music/hatsune.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    margin: 0;
    min-width: 1200px;
    position: relative;
    height: 100%;
}

.b-top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.top {
    width: 1300px;
    height: 400px;
    background-color: rgba(222, 222, 222, 0.5);
    border-radius: 20px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    position: relative;
}

.music-msg {
    width: 640px;
    height: 200px;
    /* background-color: red; */
    position: absolute;
    left: 10px;
}

.music-title {
    width: 100%;
    /* height: 100px; */
    /* background-color: aqua; */
    font-size: 40px;
    position: relative;
}

.title-1 {
    /* height: 100px; */
    font-weight: bolder;
    /* line-height: 150px; */

    /* margin-left: 100px; */
}

.title-1-1 {
    font-size: 20px;
}

.title-2 {
    font-size: 18px;
}

/* .music {
  width: 100%;
  height: 100px;
} */
.music-msg input[type=range] {
    -webkit-appearance: none !important;
    margin: 0px;
    padding: 0px;
    background: rgb(255, 255, 255);
    height: 10px;
    width: 150px;
    outline: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
}

.music-msg input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    background: #29a4f7;
    height: 7px;
    width: 7px;
    border-radius: 50%;
    box-shadow: -100vw 0 0 100vw rgb(160, 200, 250);
}

.music-msg input[type=range]::-moz-range-thumb {
    background: #29a4f7;
    height: 10px;
    width: 10px;
    border-radius: 50%;
}


.music-box input[type=range] {
    height: 10px;
    width: 70%;
    margin: 0 0 10px 0;
}

.music-box input[type=range]::-webkit-slider-thumb {
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

.music-box .current-time {
    font-size: 16px;
    color: #252525;
}

.music-box .duration {
    font-size: 16px;
    color: rgb(40, 45, 100);
}

.music-box .play,
.music-box .pause {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.4s;
}

.music-box .play i,
.music-box .pause i {
    font-size: 36px;
    color: rgb(40, 45, 100);
}

.round {
    margin-top: 30px;
    width: 200px;
    height: 200px;
    border: 10px solid #ddd;
    border-radius: 50%;
    animation: rotation 4s linear infinite;
    position: absolute;
    right: 25px;
    /* left: 10%; */
}
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.music-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.b-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-menu {
    width: 800px;
    height: 750px;
    background-color: rgba(222, 222, 222, 0.5);
    border-radius: 20px;
    margin-top: 30px;
}

.right-menu {
    width: 500px;
    height: auto;
    background-color: rgba(255, 255, 255, 0);
    /* justify-content: space-between; */
    position: relative;
    border-radius: 20px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.content:nth-child(2) {
    background-color: rgba(222, 222, 222, 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.HatsuneSound {
    width: 60%;
    height: 140px;
    border-radius: 10px;

    background-color: rgba(245, 248, 250, 0.718);
}

.hatsune {
    width: 95%;
    height: 30px;
    margin-top: 10px;
    background-color: rgb(247, 128, 168);
    color: white;

    border-radius: 0px 30px 30px 0px;
}

.hatsuneName {
    font-size: 17px;
    height: 30px;
    line-height: 30px;
}

.content {
    width: 98%;
    height: 250px;
    margin-left: auto;
    background-color: rgba(222, 222, 222, 0.5);
    border-radius: 15px;
    margin-bottom: 15px;
}

.content:nth-child(1) {
    display: flex;
    /* justify-content: center; */
    background-color: rgba(255, 255, 255, 0);
    height: auto;
    align-items: center;
    /* justify-content: space-between; */
    flex-direction: column;
    margin-bottom: 50px;
}

.button-div {
    width: 90%;
    height: 150px;
    /* background-color: #2ecc71; */
    display: flex;
    /* align-items: center; */
    margin-bottom: 50px;
    position: relative;
    justify-content: flex-end;
    align-items: end;
}

.button-1 {
    width: 100%;
    height: 70px;
    border: 4px solid salmon;
    border-radius: 50px;
    display: flex;
    cursor: pointer;
    /* align-items: center; */
    position: relative;
    background-color: rgb(246, 216, 221);
}

.btn-bi {
    padding-left: 0px;
    border-radius: 30px;
    height: auto;
    cursor: pointer;
}

.btn-name {
    font-size: 35px;
    flex: auto;
    position: absolute;
    z-index: 100;
    padding-left: 150px;
    color: rgb(54, 54, 54);
    font-family: "黑体";
    height: 70px;
    line-height: 70px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-img {
    width: 160px;
    height: auto;
    /* padding-top: 5px; */
    top: 30px;
    position: absolute;
    cursor: pointer;
}

.content:first-child {
    margin-top: 0;
}

.content:last-child {
    margin-bottom: 0;
}

.original {
    display: block;
    height: 30px;
}

.translation {
    display: block;
    height: 30px;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


@media screen and (max-width: 1920px) {
    .bg {
        width: 100%;
        height: 550px;
        /* margin: 0px auto; */
        overflow-y: auto;
        overflow-x: hidden;
        color: #000000;
        position: relative;
        font-family: "微软雅黑";
    }

    .bg ul {
        width: 100%;
        position: absolute;
        top: -10px;
        left: -40px;
        bottom: 20px;
        list-style: none;
    }

    .bg ul li {
        /* width: 100%; */
        text-align: center;
    }

    .bg ul li.active {
        color: #2ecc71;
        /* color: #e70eff; */
        font-weight: bold;
        font-size: 20px;
    }

    .top {
        width: 1000px;
        height: 400px;
        background-color: rgba(222, 222, 222, 0.5);
        border-radius: 20px;
        margin-top: 60px;
        display: flex;
        /* position: relative; */
        align-items: center;
        justify-content: center;
    }

    .content {
        width: 98%;
        height: 200px;
        margin-left: auto;
        background-color: rgba(222, 222, 222, 0.5);
        border-radius: 15px;
        margin-bottom: 15px;
    }

    .right-menu {
        width: 400px;
        height: 550px;
        /* background-color: rgba(57, 24, 24, 0.5); */
        border-radius: 20px;
        margin-top: 30px;
        /* display: flex; */
        /* flex-direction: column; */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .left-menu {
        width: 600px;
        height: 550px;
        background-color: rgba(222, 222, 222, 0.5);
        border-radius: 20px;
        margin-top: 30px;
    }

    .content {
        width: 98%;
        height: 250px;
        margin-left: auto;
        background-color: rgba(222, 222, 222, 0.5);
        border-radius: 15px;
        margin-bottom: 15px;
    }

    .content:nth-child(1) {
        display: flex;
        /* justify-content: center; */
        background-color: rgba(255, 255, 255, 0);
        height: auto;
        align-items: center;
        /* justify-content: space-between; */
        flex-direction: column;
        margin-bottom: 50px;
    }

    .button-div {
        width: 100%;
        height: 150px;
        /* background-color: #2ecc71; */
        display: flex;
        /* align-items: center; */
        margin-bottom: 50px;
        position: relative;
        justify-content: flex-end;
        align-items: end;
    }

    .button-1 {
        width: 100%;
        height: 70px;
        border: 4px solid salmon;
        border-radius: 50px;
        display: flex;
        cursor: pointer;
        /* align-items: center; */
        position: relative;
        background-color: rgb(246, 216, 221);
    }

    .btn-bi {
        padding-left: 0px;
        border-radius: 30px;
        height: auto;
        cursor: pointer;
    }

    .btn-name {
        font-size: 30px;
        flex: auto;
        position: absolute;
        z-index: 100;
        padding-left: 140px;
        color: rgb(54, 54, 54);
        font-family: "黑体";
        height: 70px;
        line-height: 70px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .btn-img {
        width: 140px;
        height: auto;
        /* padding-top: 5px; */
        top: 45px;
        position: absolute;
        cursor: pointer;
    }

    .content:first-child {
        margin-top: 0;
    }

    .content:last-child {
        margin-bottom: 0;
    }

    .music-title {
        width: 100%;
        /* background-color: aqua; */
        position: relative;
        display: flex;
        height: auto;
        margin-bottom: 10px;
        flex-direction: column;
    }

    .title-1 {
        font-size: 30px;
        display: flex;
        flex-wrap: wrap;
        /* background-color: red; */
        padding: 0px 10px;
        width: 95%;
    }

    .title-1-1 {
        font-size: 20px;
        width: 95%;
        /* margin-left: 10px; */
        display: flex;
        flex-wrap: wrap;
        padding: 0px 20px;
        /* background-color: blue; */
    }

    .title-2 {
        font-size: 25px;
        width: 95%;
        padding: 0px 10px;
        /* background-color: green; */
    }

    audio {
        position: relative;
        left: 10px;
    }
}

@media screen and (max-width: 978px) {
    .b-top {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .top {
        width: 600px;
        height: 850px;
        background-color: rgba(222, 222, 222, 0.5);
        border-radius: 20px;
        margin-top: 250px;
        display: flex;
        /* position: relative; */
        align-items: center;
        justify-content: center;
    }

    .round {
        margin-top: 30px;
        width: 200px;
        height: 200px;
        border: 10px solid #ddd;
        border-radius: 50%;
        animation: rotation 4s linear infinite;
        position: absolute;
        right: 25px;
    }

    .music-img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        animation: spin 10s linear infinite;
    }

    .music-img.playing {
        animation: spin 10s linear infinite;
    }


    .b-menu {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .left-menu {
        width: 45%;
        height: 850px;
        background-color: rgba(222, 222, 222, 0.5);
        border-radius: 20px;
        margin-top: 30px;
    }

    .right-menu {
        width: 35%;
        height: 850px;
        /* background-color: rgba(57, 24, 24, 0.5); */
        border-radius: 20px;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
    }

    .content {
        width: 98%;
        height: 300px;
        margin-left: auto;
        background-color: rgba(222, 222, 222, 0.5);
        border-radius: 15px;
        margin-bottom: 15px;
    }
}