/* index 响应式样式表 */

/* 低分辨率 PC 模式 */
@media screen and (max-width: 1280px) {
    /* 首页介绍区 */
    .introduction {
        height: 56%;
    }

    .introduction .contact button {
        margin-top: 20%;
    }

    /* 头部导航栏 */
    header > div {
        width: 100%;
    }

    /* 自我独白区 */
    .talk-about-me {
        width: 90%;
        height: 56%;
    }

    /* 音乐区 */
    .music {
        width: 90%;
        height: 56%;
    }

    .music .picture ul li {
        width: 10%;
        margin: 0 2% 0 0 !important;
    }

    .music .picture ul li:nth-of-type(1) {
        margin: 0 2% 0 3% !important;
    }

    .music .picture ul li:last-of-type(1) {
        margin: 0 3% 0 2% !important;
    }

    .music .picture ul li img {
        width: 100%;
    }

    .music .my-works {
        margin-top: 16%;
    }

    .music .my-works img {
        width: 160px !important;
    }

    /* 编程区 */
    .program {
        width: 90%;
        height: 56%;
    }

    .program .works .information {
        padding-top: 110px;
    }

    /* 生活区 */
    .share-qrcode, .life {
        width: 90%;
    }

    .share-qrcode {
        height: 240px;
        margin-bottom: 20px;
    }

    .life {
        height: 45%;
    }

    .life #backToTop {
        margin-top: 100px;
    }
}

/* 平板模式 */
@media screen and (max-width: 960px) {
    /* 自我独白区 */
    .talk-about-me {
        width: 96%;
        height: 60%;
    }

    .talk-about-me .word {
        width: 55%;
    }

    .talk-about-me .picture {
        width: 45%;
    }

    .talk-about-me .picture img {
        width: 100%;
    }

    /* 音乐区 */
    .music {
        width: 96%;
        height: 60%;
    }

    .music .picture ul li {
        width: 10%;
        margin: 0 2% 0 0 !important;
    }

    .music .picture ul li:nth-of-type(1) {
        margin: 0 2% 0 3% !important;
    }

    .music .picture ul li:nth-last-of-type(1) {
        margin: 0 3% 0 0 !important;
    }

    .music .picture ul li img {
        width: 100%;
    }

    .music .my-works {
        margin-top: 100px;
    }

    .music .my-works img {
        width: 120px !important;
    }

    /* 编程区 */
    .program {
        width: 96%;
    }

    .program .word div:nth-last-of-type(1) {
        font-size: 18px !important;
    }

    .program .works .information {
        padding-top: 135px;
    }

    /* 生活区 */
    .share-qrcode, .life {
        width: 96%;
    }

    .life #backToTop {
        margin-top: 100px;
    }
}

/* 手机模式 */
@media screen and (max-width: 640px) {
    /* 首页介绍区 */
    .introduction {
        height: 72%;
    }

    .introduction .logo {
        margin-bottom: 20px;
    }

    .introduction .logo img {
        width: 30%;
    }

    .introduction .summary h1, .introduction .summary h2 {
        font-size: 18px;
    }

    .introduction .contact button {
        margin-top: 40%;
    }

    /* 头部导航栏 */
    header {
        opacity: 0;
    }

    /* 自我独白区 */
    .talk-about-me {
        width: 96%;
        height: 72%;
    }

    .talk-about-me .word {
        width: 45%;
    }

    .talk-about-me .word div:nth-of-type(1) div:nth-of-type(1) {
        font-size: 48px !important;
    }

    .talk-about-me .word div:nth-of-type(1) div:nth-of-type(2) {
        font-size: 18px !important;
    }

    .talk-about-me .word div:nth-of-type(1) div:nth-of-type(2) p {
        line-height: 24px !important;
    }

    .talk-about-me .word div:nth-of-type(2), .talk-about-me .word div:nth-of-type(3) {
        font-size: 14px !important;
    }

    .talk-about-me .picture {
        width: 55%;
    }

    /* 音乐区 */
    .music {
        width: 96%;
        height: 76%;
    }

    .music .word {
        font-size: 24px;
    }

    .music .picture {
        padding-top: 20px;
    }

    .music .picture ul li img {
        margin-bottom: 20px;
    }

    .music .picture p {
        font-size: 14px !important;
    }

    .music .my-works {
        margin-top: 100px;
        text-align: center;
    }

    .music .my-works > span {
        display: none;
    }

    /* 编程区 */
    .program {
        width: 96%;
        height: 80%;
    }

    .program .word div {
        float: unset !important;
    }

    .program .word div:nth-of-type(1) {
        font-size: 56px !important;
    }

    .program .word div:nth-of-type(2) {
        font-size: 16px !important;
    }

    .program .word div:nth-of-type(2) > p {
        line-height: 28px !important;
    }

    .program .works .favorite {
        display: none;
    }

    .program .works .information {
        float: unset;
        width: 100%;
        padding-top: 40px;
    }

    /* 生活区 */
    .share-qrcode {
        height: unset;
    }

    .share-qrcode img {
        width: 25%;
    }

    .life {
        width: 90%;
        height: 60%;
    }

    .life p {
        font-size: 20px !important;
        line-height: 36px !important;
    }

    .life #backToTop {
        margin-top: 20px;
    }
}