* {
    margin: 0;
    padding: 0;
}
html {
    /*overflow: hidden;*/
    width: 100%;
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
    /*overflow: hidden;*/
    font-family: PingFangSC-Regular, Helvetica Neue, Helvetica, Microsoft YaHei, sans-serif;
}

.bg-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 9;
}
.bg-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}
.bg-swiper .bg-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
.bg-swiper .bg-img.slide-1 {
    background-image: linear-gradient(to left, rgba(255, 0, 149, 0.2), rgba(0, 247, 255, 0.2)), url(../imgs/wallpaper_1.jpg);
}
.bg-swiper .bg-img.slide-2 {
    background-image: linear-gradient(to left, rgba(255, 0, 149, 0.2), rgba(0, 247, 255, 0.2)), url(../imgs/wallpaper_2.jpg);
}
.bg-swiper .bg-img.slide-3 {
    background-image: linear-gradient(to left, rgba(255, 0, 149, 0.2), rgba(0, 247, 255, 0.2)), url(../imgs/wallpaper_4.jpg);
}

/* 主页 */
#wupage {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 10;
}
.header {
    width: 20rem;
    margin: 3rem auto;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
}
.consistent-letter-spacing {
    font-family: Consolas, monospace;
}
.header .date {
    font-size: 1.4rem;
    font-weight: bold;
    color: rgba(201, 211, 239, 0.6);
}
.header .time {
    font-size: 4.4rem;
    font-weight: bold;
    color: rgba(201, 211, 239, 0.6);
}
.login {
    position: absolute;
    bottom: 5rem;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}
.gohome {
    display: inline-block;
}
.gohome .avatar {
    width: 4.4rem;
    height: 4.4rem;
    background: url(../imgs/logo.jpg) no-repeat;
    background-size: cover;
    border-radius: 50%;
    transition: all 0.5s;
}
.gohome:hover .avatar {
    /*width: 5rem;*/
    /*height: 5rem;*/
    transform: rotate(360deg);
}
.login .nickname{
    font-size: 1.5rem;
    color: #ffffff;
}
#wupage .footer {

}

/* Home */
#box {
    /* background-color: red; */
    width: 100%;
    height: 100px;
    margin: 0 auto;
    padding-top: 5%;
}

.person-box {
    float: left;
    width: 20rem;
    height: 25rem;
    background-color: rgba(255, 255, 255, 0.9);
    margin-top: 100px;
    margin-left: 10%;
    border-radius: 10px;
    transition: all 0.3s;
    text-align: center;
}

.person-box:hover {
    width: 21rem;
    height: 26rem;
    margin: 95px 0 0 9.5%;
}

#box .avatar {
    width: 8rem;
    height: 8rem;
    background: url(../imgs/logo.jpg) no-repeat;
    background-size: cover;
    border-radius: 50%;
    position: relative;
    top: -15%;
    left: 50%;
    margin-left: -4rem;
    transition: all 0.8s;
}

.person-box:hover .avatar {
    width: 9rem;
    height: 9rem;
    margin: -0.5rem 0 0 -4.5rem;
    transform: rotate(360deg);
}

.avatar:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.person-box-title {
    width: auto;
    margin: 0 auto;
}

@keyframes typing {
    from {
        width: 0;
    }
}

@keyframes blink-caret {
    50% {
        border-color: transparent;
    }
}

.person-box-title p {
    font-size: 1.2rem;
    border-right: .1em solid;
    width: 9rem;
    width: 12ch;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(20, end), blink-caret .3s step-end infinite alternate;
    margin-top: -30px;
    transition: all 0.3s;
    text-align: center;
    display: inline-block;
}

.person-box:hover .person-box-title p {
    font-size: 1.3rem;
}

.person-box-title .fg {
    width: 80%;
    height: 2px;
    background-image: linear-gradient(to left, #3498db, #2980b9);
    margin: 5% 0 0 10%;
}

.person-box-text {
    width: 80%;
    height: 45%;
    overflow: hidden;
    text-align: center;
    color: rgb(70, 70, 70);
    animation-name: person-box-text;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    margin: 5% 0 0 10%;
    transition: all 0.3s;
}

.person-box-text p {
    margin-top: 5px;
}

.person-box:hover .person-box-text {
    font-size: 1.05rem;
}

@keyframes person-box-text {
    0% {
        transform: translateY(50px);
        color: white;
    }

    100% {
        transform: translateY(0);
        color: rgb(70, 70, 70);
    }
}

.person-box-button {
    width: 100%;
}

.person-box-button a {
    display: inline-block;
    float: left;
    width: 158px;
    height: 50px;
    text-decoration: none;
    color: #999999;
    transition: all 0.3s;
}

.person-box-button a:hover {
    color: #ffffff;
    font-size: 1.2rem;
}

.person-box:hover .person-box-button a {
    width: 165px;
    margin-top: 10px;
}

#cmd-box {
    width: 710px;
    height: 550px;
    float: right;
    margin-right: 5%;
    /* background-color: green; */
}

.cmd {
    width: 600px;
    height: 400px;
    border-radius: 10px 10px 5px 5px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
    font-size: 14px;
    color: rgb(88, 89, 92);
    position: relative;
    top: 0;
    left: 0;
}

.cmd:hover {
    width: 610px;
    height: 410px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    margin: -5px 0 0 -5px;
    z-index: 1;
}

.cmd .title {
    width: 100%;
    height: 25px;
    background-image: linear-gradient(to top, rgb(184, 184, 184), white);
    font-size: 14px;
    line-height: 25px;
}

.cmd .title span {
    display: inline-block;
    width: 70%;
    text-align: center;
    /* background-color: red; */
}

.cmd .click {
    margin-left: 10px;
    float: left;
}

.cmd .click div {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 8px 0 0 10px;
    float: left;
}

.cmd .click .red {
    background-color: #f0695e;
    box-shadow: 0 0 1px #ff1b22;
}

.cmd .click .red:hover {
    background-color: #f0695e;
    box-shadow: 0 0 3px #ff1b22;
}

.cmd .click .yellow {
    background-color: #f6be49;
    box-shadow: 0 0 1px #ffaf00;
}

.cmd .click .yellow:hover {
    background-color: #f6be49;
    box-shadow: 0 0 3px #ffaf00;
}

.cmd .click .green {
    background-color: #5bc44e;
    box-shadow: 0 0 1px #00931a;
}

.cmd .click .green:hover {
    background-color: #5bc44e;
    box-shadow: 0 0 3px #00931a;
}

.cmd-txt {
    padding-top: 10px;
    padding-left: 15px;
}

.cmd2 {
    position: relative;
    top: -280px;
    left: 100px;
}

.cmd2 .cmd-txt .ul {
    margin-left: 15px;
}

.cmd2 .cmd-txt .ul a {
    text-decoration: none;
    color: rgb(88, 89, 92);
}

.cmd2 .cmd-txt .ul a:hover {
    color: rgb(0, 132, 255);
}

#footer {
    width: 100%;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    position: fixed;
    bottom: 0;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    clear: both;
}

#footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
}

#footer a:hover {
    color: #ffffff;
}


@media screen and (max-width: 1250px)
{
    .person-box {
        margin-left: 3%;
    }

    .person-box:hover {
        width: 21rem;
        height: 26rem;
        margin: 95px 0 0 2.5%;
    }

    #cmd-box {
        margin-right: 3%;
    }
}

@media screen and (max-width: 1110px)
{
    .person-box {
        float: none;
        margin: 100px auto 100px;
    }

    .person-box:hover {
        width: 21rem;
        height: 26rem;
        margin: 95px auto 95px;
    }

    #cmd-box {
        float: none;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px)
{
    .person-box {
        width: 300px;
        margin: 100px auto 30px;
    }

    .person-box:hover {
        width: 300px;
        height: 25rem;
        margin: 100px auto 100px;
    }

    /*.person-box-button a:hover {*/
    /*    color: rgb(0, 132, 255);*/
    /*}*/
    
    .person-box:hover .person-box-button a {
        width: 150px;
        margin-top: 0;
    }

    .person-box:hover .person-box-title p {
        font-size: 1.2rem;
    }

    .person-box:hover .avatar {
        width: 8rem;
        height: 8rem;
        margin: -0.5rem 0 0 -4rem;
        transform: rotate(360deg);
    }

    .person-box:hover .person-box-text {
        font-size: 1rem;
    }

    .person-box-button a {
        width: 150px;
    }

    #cmd-box {
        width: 100%;
        height: 850px;
    }

    .cmd {
        width: 90%;
        margin: 0 auto;
    }

    .cmd2 {
        position: relative;
        top: 20px;
        left: 0;
    }

    .cmd:hover {
        width: 90%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
        margin: 0 auto;
        z-index: 1;
    }
}