/*
    作者：helang
    邮箱：helang.love@qq.com
    QQ：1846492969
*/

body{
    font-size: 14px;
    color: #fff;
    font-family: 'Microsoft YaHei', 'Times New Roman', Times, serif;
    background-color: #000;
    padding: 0;
    margin: 0;
}
.clock{
    list-style: none;
    margin: auto;
    padding: 0;
    width: 700px;
    height: 700px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    line-height: 20px;

    user-select: none;

}

.clock .date{
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 20px;
    text-align: center;
    top: 340px;
    left: 0;
}
.clock .hour{
    position: absolute;
    z-index: 3;
    width: 360px;
    height: 20px;
    top: 340px;
    left: 170px;
    transition: transform 0.3s ease-in-out 0s;
    transform:rotate(0deg);
}
.clock .hour>div{
    position: absolute;
    width: 100%;
    right: 0;
    top: 0;
    transition: transform 1s ease-in-out 0s;
    transform:rotate(0deg);
}
.clock .hour>div>div{
    float: right;
    width: 60px;
    text-align: right;
}

.clock .minute{
    position: absolute;
    z-index: 4;
    width: 520px;
    height: 20px;
    top: 340px;
    left: 90px;
}
.clock .sec{
    position: absolute;
    z-index: 5;
    width: 680px;
    height: 20px;
    top: 340px;
    left: 10px;
}

.clock>hr{
    height: 0;
    width: 0%;
    position: absolute;
    z-index: 1;
    border: #fff solid 0;
    border-bottom-width: 1px;
    margin: 10px 0 0 0;
    left: 50%;
    top: 50%;
    transition: width 0.3s ease-in-out 0s;
    overflow: visible;
}
.clock>hr.active:before{
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #000;
    top: -2px;
    left: 0;
    position: absolute;

}

.clock .copyright{
    position: absolute;
    font-size: 42px;
    width: 500px;
    line-height: 40px;
    left: 100px;
    opacity: 0.1;
    color: #FFF;
    text-align: center;
    top: 330px;
    letter-spacing: 10px;
    transform:rotate(-35deg);
}