/*
@font-face {
    font-family: 'WYGDMCT';
    src: url(WYGDMCT.otf);
    font-weight: 400;
    font-style: normal;
}
*/

@font-face {
    font-family: 'FZZYS';
    src: url(../assets/FZZYS.TTF) format("truetype");
    font-weight: 400;
    font-style: normal;
}

div {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    /* Firefox */
    -webkit-box-sizing: border-box;
    /* Safari */
}

section {
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

h1,
.h1 {
    font-size: 2.5rem;
}

h2,
.h2 {
    font-size: 2rem;
}

h3,
.h3 {
    font-size: 1.75rem;
}

h4,
.h4 {
    font-size: 1.5rem;
}

h5,
.h5 {
    font-size: 1.25rem;
}

h6,
.h6 {
    font-size: 1rem;
}

.display-1 {
    font-size: 6rem;
    font-weight: 300;
}

.display-2 {
    font-size: 5.5rem;
    font-weight: 300;
}

.display-3 {
    font-size: 4.5rem;
    font-weight: 300;
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 300;
}

.clearfix::after {
    display: table;
    clear: both;
    content: "";
}

a {
    text-decoration: none;
}

.container-fill-height {
    display: table!important;
    width: 100%;
    height: 100vh;
}

.container-fill-height .container-content-bottom,
.container-fill-height .container-content-middle {
    display: table-cell;
    vertical-align: middle;
}

.container-fill-height .container-content-bottom {
    vertical-align: bottom;
}


/*
 * 全局页面
 */

body {
    font-family: 'FZZYS';
}

.full {
    min-height: 100vh;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    position: relative;
}

.clock .full {
    width: 100vmin;
}

.full .inner {
    width: 100%;
    padding: 10vmin;
    height: 100vmin;
}

@media (max-width: 576px) {
    .full .inner {
        padding: 3vmin;
    }
}

nav {
    height: 60px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #ac9055;
    background: rgba(0, 0, 0, .7);
    position: fixed;
    z-index: 2000;
    color: #c0b595;
    white-space: nowrap;
    overflow-x: auto;
}

nav *,
#nav_toggle {
    color: #c0b595;
    line-height: 60px;
    padding: 0 20px;
    box-sizing: content-box;
}

nav button {
    border: none;
    background: transparent;
    float: right;
}

#nav_toggle {
    margin: 0;
    position: absolute;
    z-index: 1999;
    background: rgba(0, 0, 0, .7);
    width: 100%;
    top: 60px;
    display: none;
}

#nav_toggle a {
    display: block;
    float: none;
    color: #c0b595;
}

nav a:not(:first-child):hover {
    color: #ac9055;
    background-image: url(../img/Spoon.svg);
    background-position: bottom center;
    background-repeat: no-repeat;
}

.main1 {
    height: 100vh;
    background: #f8f8f8 url(../img/bg.png) top repeat;
    overflow: hidden;
}

.scene,
.layer {
    display: block;
    width: 100%;
    height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
}

section:not(#page-index) {
    display: none;
}


/*
.main1 .cloud_block {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 499;
}

.mian1 .cloud1 {
    background: transparent url(../img/cloud1.png) repeat top center;
    z-index: 1;
    -moz-animation: move-twink-back 100s linear infinite;
    -ms-animation: move-twink-back 100s linear infinite;
    -o-animation: move-twink-back 100s linear infinite;
    -webkit-animation: move-twink-back 100s linear infinite;
    animation: move-twink-back 100s linear infinite;
}

.main1 .cloud2 {
    background: transparent url(img/cloud2.png) repeat top center;
    z-index: 1;
    -moz-animation: move-twink-back 250s linear infinite;
    -ms-animation: move-twink-back 250s linear infinite;
    -o-animation: move-twink-back 250s linear infinite;
    -webkit-animation: move-twink-back 250s linear infinite;
    animation: move-twink-back 250s linear infinite;
}

@keyframes move-twink-back {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 5000px -5000px;
    }
}

@-webkit-keyframes move-twink-back {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 5000px -5000px;
    }
}

@-moz-keyframes move-twink-back {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 5000px -5000px;
    }
}

@-ms-keyframes move-twink-back {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 5000px -5000px;
    }
}*/

.main1 .title {
    background: url(../img/title.svg) no-repeat center center;
    max-width: 75vw;
    width: 600px;
    z-index: 1100;
    height: 500px;
    margin: 0 auto
}

.main-nav {
    width: calc((20px * 2 + 80px) * 5);
    margin: 0 auto;
    top: 50%;
    z-index: 900;
    position: relative;
}

.main-nav .item {
    float: left;
    width: 80px;
    margin: 0 20px;
}

@media (max-width: 768px) {
    .main-nav {
        width: calc((10px * 2 + 50px) * 5);
    }
    .main-nav .item {
        width: 50px;
        margin: 0 7px;
    }
}

.auto-p {
    z-index: 20;
}

.main-nav .item:hover {
    -webkit-filter: opacity(70%);
    filter: opacity(70%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 40%, 0);
        transform: translate3d(0, 40%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.main-nav .item img {
    width: 100%;
}

.main1 .p1_1 {
    position: absolute;
    left: -70px;
    top: 10px;
    z-index: 10;
}

.main1 .p1_2 {
    position: absolute;
    top: -190px;
    left: 50%;
    margin-left: -272px;
    z-index: 1;
}

.main1 .p1_3 {
    position: absolute;
    top: -190px;
    left: 50%;
    margin-left: -485px;
    z-index: 3;
}

.main1 .p1_4 {
    position: absolute;
    top: -190px;
    left: 50%;
    margin-left: -600px;
    opacity: 0;
    z-index: 2;
}

.main1 .p1_5 {
    position: absolute;
    top: -80px;
    left: 50%;
    opacity: 0;
}

.main1 .p1_6 {
    position: absolute;
    top: 20px;
    left: 50%;
    opacity: 0;
}

.main1 .p1_7 {
    position: absolute;
    bottom: -30px;
    left: -50px;
}

.main1 .p1_7 {
    position: absolute;
    width: 100%;
    max-width: 1570px;
    min-width: 1200px;
}

.main1 .p1_8 {
    position: absolute;
    left: 50%;
    top: 400px;
}

.main1 .p1_9 {
    position: absolute;
    right: -70px;
    top: 500px;
}


/*
 * 钟表
 */

.clock {
    background: #333333;
}

.circle {
    border: 1px solid #ac9055;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.time {
    margin: 0 auto;
    text-align: center;
}

.time h1 {
    font-size: 9vmin;
    color: #c0b595;
}

.hander {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 99;
}

.hander:after {
    content: '';
    width: 0;
    height: 0px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -3px;
    overflow: hidden;
    border: solid 1vmin transparent;
    border-top-width: 5vmin;
    border-bottom-width: 16px;
    border-top-color: #ac9055;
    z-index: 99;
}

.minute-divide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0px;
    right: 0px;
    margin: 0;
    padding: 0;
    z-index: 4;
    clear: both;
}

.hour-name {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0px;
    right: 0px;
    margin: 0;
    padding: 0;
    z-index: 5;
    clear: both;
}

.hour-name li {
    position: absolute;
    height: 4vmin;
    font-size: 4vmin;
    color: #ac9055;
    width: 4vmin;
    margin: auto;
    text-align: center;
}

.hour-name li:nth-child(1) {
    top: 25%;
    right: 10%;
}

.hour-name li:nth-child(2) {
    bottom: 25%;
    right: 10%;
}

.hour-name li:nth-child(3) {
    bottom: 5%;
    left: 0px;
    right: 0px;
}

.hour-name li:nth-child(4) {
    bottom: 25%;
    left: 10%;
}

.hour-name li:nth-child(5) {
    top: 25%;
    left: 10%;
}

.hour-name li:nth-child(6) {
    top: 5%;
    left: 0px;
    right: 0px;
}

.hour-name li:nth-child(7) {
    top: 10%;
    right: 25%;
}

.hour-name li:nth-child(8) {
    top: 47.5%;
    right: 3%;
}

.hour-name li:nth-child(9) {
    bottom: 10%;
    right: 25%;
}

.hour-name li:nth-child(10) {
    bottom: 10%;
    left: 25%;
}

.hour-name li:nth-child(11) {
    top: 47.5%;
    left: 3%;
}

.hour-name li:nth-child(12) {
    top: 10%;
    left: 25%;
}

.minute-divide li {
    position: absolute;
    width: 1px;
    top: 0px;
    left: 0;
    margin: 0 auto;
    right: 0;
    overflow: hidden;
    height: 100%;
}

.minute-divide li:before {
    content: ' ';
    display: block;
    width: 1px;
    height: 2vmin;
    background-color: #ac9055;
}

.minute-divide li:nth-child(2) {
    transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
}

.minute-divide li:nth-child(3) {
    transform: rotate(60deg);
    -webkit-transform: rotate(60deg);
}

.minute-divide li:nth-child(4) {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

.minute-divide li:nth-child(5) {
    transform: rotate(120deg);
    -webkit-transform: rotate(120deg);
}

.minute-divide li:nth-child(6) {
    transform: rotate(150deg);
    -webkit-transform: rotate(150deg);
}

.minute-divide li:nth-child(7) {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.minute-divide li:nth-child(8) {
    transform: rotate(210deg);
    -webkit-transform: rotate(210deg);
}

.minute-divide li:nth-child(9) {
    transform: rotate(240deg);
    -webkit-transform: rotate(240deg);
}

.minute-divide li:nth-child(10) {
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
}

.minute-divide li:nth-child(11) {
    transform: rotate(300deg);
    -webkit-transform: rotate(300deg);
}

.minute-divide li:nth-child(12) {
    transform: rotate(330deg);
    -webkit-transform: rotate(330deg);
}

ul {
    list-style: none;
}

.clock .bottom {
    bottom: 0;
    position: absolute;
    white-space: nowrap;
    border-top: 1px solid #ac9055;
    background: rgba(0, 0, 0, .25);
    overflow-x: auto;
    width: 100%;
    text-align: center;
}


/*
 * 时辰 底部滚动条
 */

.clock .bottom::-webkit-scrollbar {
    width: 10px;
}

.clock .bottom::-webkit-scrollbar-thumb {
    background-color: #ac9055;
}

.clock .bottom .item {
    padding: 40px;
    display: inline-block;
}

.clock .bottom .item a {
    color: #ac9055;
    font-size: 35px;
}

@media (max-width: 768px) {
    .clock .bottom .item {
        padding: 20px;
    }
}


/*
 * 二十四节气
 */

.solarterm {
    font-family: "times new roman", "KaiTi", "KaiTi_GB2312", 'FZZYS';
}

.solarterm .full {
    display: block;
}

.solarterm .col-1-4 {
    width: 25%;
    border-right: 1px dashed #c0b595;
    float: left;
    height: 100vh;
    padding: 10vmin 0;
}

.solarterm .col-1-4:last-child {
    border: none;
}

@media (max-width: 576px) {
    .solarterm .col-1-4 {
        width: 100%;
        height: inherit;
        border: none;
    }
}

.hexagon:after,
.hexagon:after,
.hexagon ul:after,
.hexagon ul:before {
    display: table;
    content: " ";
}

.hexagon {
    position: relative;
    height: 10.5vmin;
    width: 14vmin;
    margin: 0 auto;
}

.hexagon li {
    position: absolute;
    width: 6vmin;
    height: 10.5vmin;
}

.hexagon.spring li {
    background: #6CD89C;
}

.hexagon.summer li {
    background: #D86C6C;
}

.hexagon.autumn li {
    background: #D8996C;
}

.hexagon.winter li {
    background: #6CB5D8;
}

.hexagon li:nth-of-type(1) {
    transform: rotate(300deg);
    -webkit-transform: rotate(300deg);
}

.hexagon li:nth-of-type(2) {
    transform: rotate(240deg);
    -webkit-transform: rotate(240deg);
}

.hexagon li:nth-of-type(3) {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.hexagon span {
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 6vmin;
    height: 10.5vmin;
    text-align: center;
    font-size: 4.5vmin;
    color: #ffffff;
    line-height: 10.5vmin;
}

.month {
    margin: 0 auto;
    padding: 10vmin 0;
    text-align: center;
    position: relative;
}

.month span {
    font-size: 4vmin;
    width: 15vmin;
    margin: 0 auto;
}

.month span:nth-of-type(2) {
    font-size: 2vmin;
    right: 60%;
    position: absolute;
}

.month span:nth-of-type(3) {
    font-size: 2vmin;
    left: 60%;
    position: absolute;
}

.new-year {
    background: #FFDB99;
}

.new-year .up {
    z-index: 2;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0px;
    right: 0px;
    width: 100%;
    max-width: 1400px;
    white-space: nowrap;
    overflow-x: auto;
}

.new-year .up .item {
    position: relative;
    width: 90px;
    height: 260px;
    text-align: center;
    color: #ffffff;
    font-size: 120%;
    display: inline-block;
    text-shadow: 2px 2px rgba(0, 0, 0, .3);
}

.new-year .up .item:hover {
    cursor: pointer;
    -webkit-animation: swing 1.2s;
}

@-webkit-keyframes swing {
    20%,
    40%,
    60%,
    80%,
    100% {
        -webkit-transform-origin: top center;
    }
    20% {
        -webkit-transform: rotate(4deg);
    }
    40% {
        -webkit-transform: rotate(-3deg);
    }
    60% {
        -webkit-transform: rotate(2deg);
    }
    80% {
        -webkit-transform: rotate(-1deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
    }
}

.new-year .up .item {}

.new-year .up .item .item-inner-1,
.new-year .up .item .item-inner-2 {
    background: url(../img/ChineseKnotting.svg) no-repeat;
    width: 90px;
    height: 200px;
    padding-top: 115px;
    position: absolute;
}

.new-year .up .item .item-inner-1 {}

.new-year .up .item .item-inner-2 {
    position: absolute;
    top: 60px;
}

.new-year .full {
    max-width: 1300px;
}

.new-year .full .info {
    color: #ED1C24;
    width: 400px;
    z-index: 4;
}

.new-year .full .info h1 {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #ED1C24;
}

.new-year .full .info h4 {
    line-height: 1.4;
}

.new-year .full .picture {
    background-position: right center;
    background-repeat: no-repeat;
    position: absolute;
    width: 360px;
    right: 0;
    top: 90px;
    height: 80vh;
    z-index: 1;
}


/*
 * 诗词
 */

.poem {
    background: url(../img/poem.jpg) center bottom / contain no-repeat;
    color: rgb(125, 147, 136);
    font-family: 'WYGDMCT';
    font-family: 'FZZYS';
}

.poem .info .from {
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .poem .info {
        zoom: 0.6;
    }
}

.poem .content * {
    zoom: 1.7;
    text-align: center;
}

.poem .from h1 {
    text-align: right;
}

.poem .switch {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.poem .switch h1 {
    text-align: center;
    line-height: 80px;
    margin: 0;
}

.poem .switch .rotate {
    cursor: pointer;
    border: 1px solid #d4dbdb;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

.poem .switch .rotate:hover {
    background: rgba(125, 147, 136, .1);
}

.qin {
    height: 100vh;
    background-image: url(../img/qin.png);
    background-position: center;
    background-size: cover;
    background-color: #dbb485;
}

.qin .mask {
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
}

.qin #stop-music {
    width: 200px;
    height: 80px;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border: none;
    background: -webkit-linear-gradient(left, hsla(0, 0%, 48%, .9), hsla(0, 0%, 31%, .9));
    cursor: pointer;
    color: #FFFFFF;
    font-size: 17px;
}

.qin .line {
    display: block;
    margin: 0 auto;
    width: calc(((5px * 2) + 120px)*7);
    /* calc( margin * 2 + width ) *item */
    z-index: 2;
}
.key-bg-1,
.key-bg-2,
.key-bg-3,
.key-bg-4,
.key-bg-5,
.key-bg-6,
.key-bg-7 {
    float: left;
    width: 120px;
    height: 120px;
    margin: 5px;
    line-height: 120px;
    text-align: center;
    font-size: 31px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    border-radius: 5px;
}

.key-bg-1 {
    background: hsla(50, 70%, 80%, .9);
}

.key-bg-2 {
    background: hsla(100, 70%, 80%, .9);
}

.key-bg-3 {
    background: hsla(150, 70%, 80%, .9);
}

.key-bg-4 {
    background: hsla(200, 70%, 80%, .9);
}

.key-bg-5 {
    background: hsla(250, 70%, 80%, .9);
}

.key-bg-6 {
    background: hsla(300, 70%, 80%, .9);
}

.key-bg-7 {
    background: hsla(0, 70%, 80%, .9);
}

.qin .line kbd {
    position: absolute;
    right: 3px;
    top: 0;
    line-height: 23px;
    font-size: 23px;
}

@media (max-width: 768px) {
    .qin .line {
        width: 100%;
    }
    .key-bg-1,
    .key-bg-2,
    .key-bg-3,
    .key-bg-4,
    .key-bg-5,
    .key-bg-6,
    .key-bg-7 {
        width: 14.28%;
        margin: 0;
        line-height: 60px;
        border-radius: 0;
    }
    .qin .line kbd {
        display: none;
    }
}


/*笔墨纸砚*/

section#page-bmzy video {
    position: absolute;
    height: 100%;
    width: 100%;
}

section#page-bmzy video {
    position: absolute;
    height: 100%;
    width: 100%;
}