@import url(public.css);
@import url(fire.css);
@import url(part2.css);
@import url(part3.css);

/* 加载 */

:root {
    --fg: #f2efde;
    --bg: #101326;
    --dur: 8s;
    font-size: calc(20px + (30 - 20) * (100vw - 320px) / (1280 - 320));
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--bg);
    color: var(--fg);
    transition: 0.5s ease-in-out;
    z-index: 99999999;
    display: grid;
    place-items: center;
    align-content: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hexagon {
    margin-bottom: 1.5em;
    overflow: hidden;
    position: relative;
    width: 15em;
    height: 15em;
}

.hexagon__group,
.hexagon__sector,
.hexagon__sector:before,
.hexagon__sector:after {
    position: absolute;
}

.hexagon__group {
    width: 100%;
    height: 100%;
}

.hexagon__group:nth-child(2) .hexagon__sector,
.hexagon__group:nth-child(2) .hexagon__sector:before,
.hexagon__group:nth-child(2) .hexagon__sector:after {
    animation-delay: calc(var(--dur) * -1/6);
}

.hexagon__group:nth-child(3) .hexagon__sector,
.hexagon__group:nth-child(3) .hexagon__sector:before,
.hexagon__group:nth-child(3) .hexagon__sector:after {
    animation-delay: calc(var(--dur) * -2/6);
}

.hexagon__group:nth-child(4) .hexagon__sector,
.hexagon__group:nth-child(4) .hexagon__sector:before,
.hexagon__group:nth-child(4) .hexagon__sector:after {
    animation-delay: calc(var(--dur) * -3/6);
}

.hexagon__group:nth-child(5) .hexagon__sector,
.hexagon__group:nth-child(5) .hexagon__sector:before,
.hexagon__group:nth-child(5) .hexagon__sector:after {
    animation-delay: calc(var(--dur) * -4/6);
}

.hexagon__group:nth-child(6) .hexagon__sector,
.hexagon__group:nth-child(6) .hexagon__sector:before,
.hexagon__group:nth-child(6) .hexagon__sector:after {
    animation-delay: calc(var(--dur) * -5/6);
}

.hexagon__group:nth-child(odd) {
    transform: rotate(30deg);
}

.hexagon__sector,
.hexagon__sector:before,
.hexagon__sector:after {
    animation-duration: var(--dur);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    /*animation-play-state: paused;*/
    width: 0.2em;
    height: 0.2em;
}

.hexagon__sector {
    animation-name: moveOut1;
    top: calc(50% - 0.1em);
    left: calc(50% - 0.1em);
}

.hexagon__sector:nth-child(2) {
    animation-name: moveOut2;
}

.hexagon__sector:nth-child(3) {
    animation-name: moveOut3;
}

.hexagon__sector:nth-child(4) {
    animation-name: moveOut4;
}

.hexagon__sector:nth-child(5) {
    animation-name: moveOut5;
}

.hexagon__sector:nth-child(6) {
    animation-name: moveOut6;
}

.hexagon__sector:before,
.hexagon__sector:after {
    animation-name: ripple;
    background-color: currentColor;
    border-radius: 0.1em;
    content: "";
    display: block;
    top: 0;
    left: 0;
    transform-origin: 0.1em 0.1em;
}

.hexagon__sector:before {
    transform: rotate(-30deg)
}

.hexagon__sector:after {
    transform: rotate(-150deg)
}


/* Dark theme */

@media (prefers-color-scheme: dark) {
     :root {
        --fg: #101326;
        --bg: #f2efde;
    }
}


/* Animations */

@keyframes moveOut1 {
    from {
        transform: translateY(0) scale(0);
    }
    3% {
        transform: translateY(0.2em) scale(1);
    }
    97% {
        transform: translateY(7.3em) scale(1);
    }
    to {
        transform: translateY(7.5em) scale(0);
    }
}

@keyframes moveOut2 {
    from {
        transform: rotate(60deg) translateY(0) scale(0);
    }
    3% {
        transform: rotate(60deg) translateY(0.2em) scale(1);
    }
    97% {
        transform: rotate(60deg) translateY(7.3em) scale(1);
    }
    to {
        transform: rotate(60deg) translateY(7.5em) scale(0);
    }
}

@keyframes moveOut3 {
    from {
        transform: rotate(120deg) translateY(0) scale(0);
    }
    3% {
        transform: rotate(120deg) translateY(0.2em) scale(1);
    }
    97% {
        transform: rotate(120deg) translateY(7.3em) scale(1);
    }
    to {
        transform: rotate(120deg) translateY(7.5em) scale(0);
    }
}

@keyframes moveOut4 {
    from {
        transform: rotate(180deg) translateY(0) scale(0);
    }
    3% {
        transform: rotate(180deg) translateY(0.2em) scale(1);
    }
    97% {
        transform: rotate(180deg) translateY(7.3em) scale(1);
    }
    to {
        transform: rotate(180deg) translateY(7.5em) scale(0);
    }
}

@keyframes moveOut5 {
    from {
        transform: rotate(240deg) translateY(0) scale(0);
    }
    3% {
        transform: rotate(240deg) translateY(0.2em) scale(1);
    }
    97% {
        transform: rotate(240deg) translateY(7.3em) scale(1);
    }
    to {
        transform: rotate(240deg) translateY(7.5em) scale(0);
    }
}

@keyframes moveOut6 {
    from {
        transform: rotate(300deg) translateY(0) scale(0);
    }
    3% {
        transform: rotate(300deg) translateY(0.2em) scale(1);
    }
    97% {
        transform: rotate(300deg) translateY(7.3em) scale(1);
    }
    to {
        transform: rotate(300deg) translateY(7.5em) scale(0);
    }
}

@keyframes ripple {
    from,
    to {
        width: 0.2em;
    }
    33% {
        width: 2.4em;
    }
}


/* 粒子 */

span.pixal {
    position: absolute;
    left: -5px;
    top: -5px;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
}


/* 封面 */

.first-page {
    height: 900px;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.title-logo {
    width: 50%;
    height: 1000px;
    margin: 0 auto;
    position: relative;
}


/* 标题 */

.title-contain {
    position: relative;
    width: 100%;
    height: 200px;
}

.button-box {
    position: absolute;
    width: 100px;
    height: 100px;
    left: calc(50% - 50px);
    bottom: 5%;
    align-items: center;
    justify-content: center;
    transition: 1s ease-in;
    z-index: 999999;
    animation: buttonbreath 2s ease-in-out infinite;
}

#button2 {
    top: 6%;
    z-index: 99;
}

#button3 {
    z-index: 9999;
    opacity: 0;
}

.part1-end {
    width: 800px;
    height: 200px;
    margin: 0 auto;
    padding-top: 100px;
    margin-bottom: 20px;
}

#btn-map {
    display: block;
    top: 15%;
    position: absolute;
    z-index: 99;
}

.enterMap-div {
    height: 100px;
    clear: both;
    position: relative;
}

#graph-circular {
    width: 100%;
    height: 800px;
    overflow: hidden;
}

@media screen and (max-height: 920px) {
    .button-box {
        bottom: 25%;
    }
    .part1-end {
        padding-top: 70px;
    }
    #button2 {
        top: -26.6%;
    }
    #button3 {
        bottom: 27.7%;
    }
    #btn-map {
        top: -40%;
    }
    .enterMap-div {
        height: 32px;
    }
    #graph-circular {
        height: 650px;
    }
}

@keyframes buttonbreath {
    10% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.95);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
}

.next-button {
    position: absolute;
    width: 100px;
    height: 100px;
}

.progress0 {
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: 1s linear;
    visibility: visible;
}

.button-box:hover {
    opacity: 1;
    animation: none;
    transform: scale(1.1);
}

.button-box:hover .progress0 {
    stroke-dashoffset: 100;
}

.progress1 {
    stroke-dasharray: 1.5;
    stroke-dashoffset: 5;
    transform-origin: center center;
    animation: around 20s infinite;
}

@keyframes around {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.down {
    position: absolute;
    left: calc(50% - 16px);
    top: calc(50% - 8px);
    animation: down 2s ease-in-out infinite;
}

@keyframes down {
    0% {
        opacity: 0.5;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(15px);
    }
    50% {
        transform: translateY(17px);
    }
    60% {
        opacity: 1;
        transform: translateY(15px);
    }
    100% {
        opacity: 0.5;
        transform: translateY(0);
    }
}

.title1 {
    position: absolute;
    text-align: center;
    width: 400px;
    left: calc(50% - 200px);
    font-size: 36px;
    color: #f2efde;
    font-family: 'SourceHanSerifCN-Bold';
    line-height: 2;
    letter-spacing: 2.5em;
    margin-bottom: 1.5em;
    margin-left: 1.25em;
    transition: 1s;
    z-index: 10;
}

.title-contain:hover .title2 {
    transform: translateX(-43px);
}

.title-contain:hover .title3 {
    transform: translateX(43px);
}

.title2 {
    position: absolute;
    text-align: center;
    width: 400px;
    left: calc(50% - 200px);
    font-size: 36px;
    font-family: 'SourceHanSerifCN-Bold';
    line-height: 2;
    letter-spacing: 2.5em;
    margin-bottom: 1.5em;
    margin-left: 1.25em;
    color: #ad2934;
    opacity: 0.6;
    z-index: 9;
    transition: 0.5s ease-out;
    transform: translateX(-10px);
}

.title3 {
    position: absolute;
    text-align: center;
    width: 400px;
    left: calc(50% - 200px);
    font-size: 36px;
    font-family: 'SourceHanSerifCN-Bold';
    line-height: 2;
    letter-spacing: 2.5em;
    margin-bottom: 1.5em;
    margin-left: 1.25em;
    color: #101326;
    -webkit-text-stroke: #ad2934;
    -webkit-text-stroke-width: 1px;
    opacity: 0.8;
    z-index: 8;
    transition: 0.5s ease-out;
    transform: translateX(10px);
}

.x {
    -webkit-text-stroke: #101326;
    -webkit-text-stroke-width: 1px;
}

.surface {
    position: relative;
    height: 1080px;
    width: 100%;
    margin: 0;
}

.clickon {
    position: absolute;
    width: 200px;
    height: 32;
    top: 65%;
    left: calc(50% - 100px);
    z-index: 99;
    opacity: 0.1;
    animation: ciclkon 3s ease-in-out infinite;
}

@keyframes ciclkon {
    0% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.1;
    }
}

.halo-box {
    z-index: 1;
}

.halo {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 35%;
    left: calc(50% - 103px);
    border-radius: 50%;
    opacity: 0;
    border: 1px solid #c6952c;
    transition: 0.5s ease;
    transform-origin: center center;
}

.halo2 {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 35%;
    left: calc(50% - 103px);
    background: #c6952c;
    border-radius: 50%;
    transform: scale(0);
    transition: 0.1s ease;
}

.halo3 {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 34.7%;
    left: calc(50% - 106px);
    border: 3px solid #c6952c;
    border-radius: 50%;
    opacity: 0;
    transition: 0.2s ease;
}

.halo-photo-box {
    position: absolute;
    width: 0px;
    height: 0px;
    border-radius: 50%;
    top: 35%;
    left: calc(50%);
    transition: 0.8s ease;
    transform-origin: center center;
    transform: scale(1);
    overflow: hidden;
}

.halo-photo {
    position: absolute;
    width: 900px;
    right: -450px;
}

#torch1 {
    position: absolute;
    margin: 0;
    width: 50px;
    height: 400px;
    background: url(../image/torch.png) no-repeat center;
    top: 30%;
    left: calc(50% - 25px);
    margin: 0 auto;
    z-index: 12;
}

#torch2 {
    position: absolute;
    margin: 0;
    width: 50px;
    height: 400px;
    background: url(../image/torch2.png) no-repeat center;
    top: 30%;
    left: calc(50% - 25px);
    margin: 0 auto;
    z-index: 10;
}

#firelight {
    position: absolute;
    margin: 0;
    width: 300px;
    height: 100px;
    border-radius: 50% / 50%;
    background: #ee8f0d;
    top: 30%;
    left: calc(50% - 150px);
    margin: 0 auto;
    z-index: 10;
    box-shadow: 0 0 100px 200px rgba(226, 15, 0, 0.4);
    filter: blur(80px);
    opacity: 0;
    animation: light 3s ease-in-out infinite;
    -webkit-animation: light 3s ease-in-out infinite;
}

.fireseed {
    z-index: 100;
    transition: all 2s ease-out;
    opacity: 0;
}

.lightseed {
    z-index: 98;
    transition: all 2s ease-out;
}

#fireseed {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    position: fixed;
    background: #fef1d9;
    left: calc(50% - 5px);
    top: 48%;
    box-shadow: 0 0 10px 2px rgba(255, 235, 110, 0.4);
    transition: all 0.5s ease-out;
    z-index: 8;
}

#fireseed2 {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    position: fixed;
    background: #fef1d9;
    left: calc(50% - 5px);
    top: 48%;
    box-shadow: 0 0 10px 2px rgba(255, 235, 110, 0.4);
    transition: all 0.5s ease-out;
    z-index: 8;
}

#fireseed3 {
    width: 10px;
    height: 0px;
    position: fixed;
    border-radius: 100px;
    background: #fef1d9;
    left: calc(50% - 5px);
    top: 48%;
    box-shadow: 0 0 10px 2px rgba(255, 235, 110, 0.4);
    transition: all 0.5s ease-out;
    transform: translateY(-5px);
    z-index: 8;
}

#lightseed1 {
    width: 10px;
    height: 20px;
    border-radius: 100px;
    position: fixed;
    background: #fef1d9;
    left: calc(50% - 5px);
    top: 10%;
    box-shadow: 0 0 10px 2px rgba(255, 235, 110, 0.4);
    transition: all 2s ease-out;
    z-index: 10;
    visibility: hidden;
}

#lightseed2 {
    width: 0px;
    height: 0px;
    border-radius: 10px;
    background: #fef1d9;
    position: absolute;
    left: calc(50% - 0px);
    box-shadow: 0 0 10px 3px rgba(255, 235, 110, 0);
    filter: brightness(1.1);
    transition: all 2s ease-out;
    z-index: 999;
}

#lightseed3 {
    width: 0px;
    height: 0px;
    border-radius: 20px;
    background: #c6952c;
    position: absolute;
    left: calc(50% - 0px);
    box-shadow: 0 0 10px 4px rgba(255, 156, 0, 0.0);
    opacity: 0.7;
    transition: all 0.5s ease;
    z-index: 998;
    transform: translateY(25px);
}


/* .seedspark{
    width: 10px;
    height: 10px;
    position: fixed;
    left: calc(50% - 5px);
    transform:  scale(0.18) translateX(-240px);
} */

#timeline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.testblock {
    width: 100px;
    height: 100px;
    background: cornsilk;
    margin: 100px;
}

.all-box {
    width: 1700px;
    height: 200px;
    display: flex;
    justify-content: center;
    justify-items: center;
    margin-left: -30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.all-box p {
    text-indent: 0;
    margin-bottom: 0px;
}

.past-time-box {
    width: 700px;
    height: 200px;
    display: flex;
    margin: 0 50px;
    /* background: cornflowerblue; */
}

#beijing .past-time-box {
    height: 150px;
}

.past-time-box h2 {
    line-height: 0.5;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.past-time-box .left-box {
    margin-top: 20px;
    height: 200px;
    width: 300px;
    /* background: #ad2934; */
    text-align: right;
}

.past-time-box .right-box {
    margin-top: 20px;
    height: 200px;
    width: 300px;
    /* background: #ad2934; */
    text-align: left;
}

.past-time-box h2 {
    margin-bottom: 30px;
}

.left-box .logo {
    width: 300px;
    height: 100px;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.logo img {
    height: 100px;
    margin-left: 20px;
}

.barbox {
    width: 400px;
    height: 200px;
    margin-top: -10px;
    /* background: #ad2934; */
}

.barbox span {
    margin-left: 10px;
}

.barbox p {
    margin-top: 12px;
}

.bar-under {
    position: relative;
    width: 300px;
    height: 5px;
    /* background: rgba(254,241,217,0.1); */
    /* background: #242a36; */
}

.baron {
    position: absolute;
    height: 5px;
    background: #f2efde;
    opacity: 1;
    box-shadow: 0 0 20px 2px rgba(254, 241, 217, 0.4);
    transition: 0.5s ease-out;
}

.past-torch {
    position: relative;
    width: 130px;
    height: 200px;
    text-align: center;
}

.past-torch img {
    position: absolute;
}

.past-time-box .torch {
    width: 130px;
    height: 145px;
}

.world-his-box {
    width: 400px;
    height: 150px;
    /* background: yellowgreen; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: right;
    text-align: right;
    margin-top: 20px;
}

.world-his-box h2 {
    width: 390px;
    margin-bottom: 0;
    margin-left: 10px;
    border-bottom: 2px solid #c6952c;
}

.china-his-box {
    width: 400px;
    height: 150px;
    /* background: #ad2934; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    margin-top: 20px;
}

.china-his-box h2 {
    width: 300px;
    margin-bottom: 0;
    border-bottom: 2px solid #c6952c;
}

.china-awards-box {
    width: 400px;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 0px;
}

.china-awards-box span {
    width: 30px;
    height: 30px;
    border-radius: 100px;
    font-size: 30px;
    line-height: 30px;
    /* font-family: 'SourceHanSans-Bold'; */
    font-weight: 600;
    transform: translateY(50px);
    text-align: center;
    justify-content: center;
    transition: 0.5s ease;
    color: rgba(16, 19, 38, 0.7);
}

.china-awards-box span:nth-child(1) {
    background: rgba(198, 149, 44);
}

.china-awards-box span:nth-child(2) {
    background: rgba(162, 165, 174);
}

.china-awards-box span:nth-child(3) {
    background: rgba(157, 92, 77);
}

.china-awards-box span:nth-child(4) {
    background: rgba(242, 239, 222);
}

.china-awards-box span:hover {
    transform: scale(1.3) translateY(45px);
}

.china-awards-num-box {
    width: 400px;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 0px;
}

.china-awards-num-box span {
    /* font-family: 'SourceHanSans-Bold'; */
    font-size: 16px;
    transform: translateY(25px);
    text-align: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.china-awards-num-box span:nth-child(1) {
    color: rgb(198, 149, 44);
}

.china-awards-num-box span:nth-child(2) {
    color: rgb(162, 165, 174);
}

.china-awards-num-box span:nth-child(3) {
    color: rgb(148, 137, 134);
}

.china-awards-num-box span:nth-child(4) {
    color: rgb(242, 239, 222);
}

.doot-box {
    margin: 0;
    padding: 0;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 1100px;
    z-index: 99;
}

.doot-box span {
    position: absolute;
    font-family: verdana;
    font-weight: bold;
    z-index: 99;
}

.doot-box img {
    width: 500px;
    position: absolute;
    left: calc(50% - 250px);
    z-index: 9;
}