@import url('https://fonts.loli.net/css?family=Long+Cang&display=swap');
@import url('https://fonts.loli.net/css?family=Noto+Serif+SC:wght@900&display=swap');
@import url('https://fonts.loli.net/css?family=Noto+Sans+SC&display=swap');
@import url('https://fonts.loli.net/css?family=Ma+Shan+Zheng&display=swap');
@import url('https://fonts.loli.net/css?family=Noto+Sans+SC&display=swap');
@import url('https://fonts.loli.net/css?family=Noto+Serif+JP:wght@200&display=swap');
@import url('https://fonts.loli.net/css?family=Pacifico&display=swap');
@import url('https://fonts.loli.net/css?family=Judson&display=swap');

* {
    font-family: "Microsoft YaHei", "Hoefler Text", 'Noto Sans SC', 'Ma Shan Zheng', "Liberation Serif", "Times New Roman", "serif";
    margin: 0;
    padding: 0;
}


._mobile-display {
    display: none;
}

._mobile-display-flex {
    display: none;
}

._pc-display {
    display: block;
}

._pc-display-flex {
    display: flex;
}

body {
    overflow-x: hidden;
}

#select-label {
    display: block;
    position: absolute;
    width: 480px;
    height: 270px;
    z-index: 12;
}

.template-h1 {
    color: #333333;
    font-family: 'Noto Serif SC';
    font-size: 2.4rem;
    padding: 4%;
}

.template-h2 {
    color: #444444;
    font-family: 'Noto Serif SC';
    font-size: 2rem;
    padding: 1%;
    text-align: center;
}

.template-h3 {
    color: #555555;
    font-family: 'Noto Serif SC';
    font-size: 1.6rem;
    padding: 1%;
}

.template-h4 {
    color: #555555;
    font-family: 'Noto Serif SC';
    font-size: 1.3rem;
    padding: 1%;
}

.template-text-h1 {
    color: #252525;
    font-family: 'Noto Serif SC';
    font-size: 2.4rem;
    padding: 1%;
    padding-bottom: 0%;
    padding-top: 4%;
}

.template-text-author {
    color: #363636;
    font-family: 'Noto Sans SC';
    font-size: 1.2rem;
    padding: 1%;
    padding-bottom: 1%;
}

.template-text-para {
    transition: 0.8s ease-in-out;
    font-size: inherit;
    padding-top: 0%;
    margin-top: 0%;
    margin: 1%;
    margin-left: 6%;
    margin-right: 10%; 
    line-height: 180%;
    letter-spacing: 1.2px;
    text-indent: 2rem;
    width: 84%;
}


.template-small-text {
    font-size: var(--root-font-size-normal);
    color: #333333;
}

.template-album-title {
    font-size: 1.5rem;
    color: #FFFFFF;
    padding-top: 30px;
    text-align: center;
    font-weight: bold;
    font-family: 'Noto Serif SC';
}

.all-main-out {
    width: 60%;
    background-color: #F7F7F7;
    margin-left: 20%;
    transform: translateY(420px);
    box-shadow: 4px 4px 10px rgba(148, 94, 94, 0.5);
    margin-bottom: 0%;
    transition: 1s ease-in-out;
}

.full-main-out {
    width: 100%;
    background-color: #F7F7F7;
    margin-left: 0%;
    transform: translateY(420px);
    box-shadow: 4px 4px 10px rgba(148, 94, 94, 0.5);
    margin-bottom: 0%;
    padding: 3%;
    margin-bottom: 50px;
}

.album-pic-container {
    width: 480px;
    height: 270px;
    transition: 0.3s ease-in-out;
    padding: 10px;
    padding-top: 5%;
    padding-bottom: 5%;
    z-index: 22;
}




.album-pic {
    width: 480px;
    height: 270px;
    transition: 0.3s ease-in-out;
    background-size: cover;
    z-index: 23;
}


#diary-body {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    overflow: hidden; 
    height: 100vh; 
    width: 100vw; 
    position: absolute; 
    top: 0; 
    left: 0; 
    margin: 0; 
    padding: 0;
    transform-origin: left; 
}

.diary-book-title {
    font-size: 5rem;
    position: absolute;
    color: white;
    bottom: 100px;
    left: 20px;
    font-family: FZCHJT;
    font-weight: bold;
}

.diary-book-title span {
    font-size: 2.8rem;
    font-weight: bold;
    background: url(./images/diary-book-bg.jpg);
    background-attachment: fixed;
    background-clip: text;
    background-size: cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.diary-cover-flip-botton {
    position: fixed;
    right: -20vw;
    top: -11vh;
    color: white;
    font-size: 1.5rem;
    z-index: 15;
    cursor: pointer;
    background: url(./images/bookmark.png);
    background-position: right;
    background-size: cover;
    padding: 0.8rem 1.2rem;
    border-radius: 0rem;
    opacity: 0.3;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.diary-cover-flip-botton:hover {
    right: -21.5vw;
    opacity: 1;
}

.diary-book-cover-img {
    top: 0;
    left: 0;
    width: 100%;
    height: 78.5%;
    background: url(./images/diary-book-bg.jpg);
    background-size: auto;
}


.diary-book-container {
    display: block;
    transform: rotateZ(-37.5deg) rotateX(10deg) skewX(10deg) translateY(10px);
    transform-style: preserve-3d;
    transition: 1s ease-in-out;
}

.diary-book-container-outer{
    transform: scaleX(100%) scaleY(100%);
}


#diary-book-cover {
    background: #F5F5F5;
    transform-origin: left;
    position: absolute;
    color: white;
    font-size: 5rem;
    width: 540px;
    height: 750px;
    right: -300px;
    bottom: -400px;
    transform: translateY(0px) rotateY(-2deg) translateZ(3px);
    transition: inherit;
}

#diary-book-d1 {
    background-size: cover;
    background: url(./images/diary-book-bg.jpg);
    transform-origin: left;
    position: absolute;
    color: rgb(53, 53, 53);
    font-size: 5rem;
    width: 540px;
    height: 750px;
    right: -300px;
    bottom: -400px;
    transform: translateY(0px) rotateY(-1deg) translateZ(3px);
    transition: inherit;
}

#diary-book-d2 {
    background: #F5F5F5;
    transform-origin: left;
    position: absolute;
    color: rgb(53, 53, 53);
    width: 540px;
    height: 750px;
    right: -300px;
    bottom: -400px;
    transform: translateY(0px) rotateY(-1deg) translateZ(3px);
    transition: inherit;
}

#diary-book-d2 p {
    font-size: 1.1rem;
    padding: 10%;
    color: #F5F5F5;
    text-decoration: underline grey;
    display: inline-block;
    text-align-last: justify;
}

.diary-book-template-page-underline {
    position: absolute;
    display: inline-block;
}

.diary-book-template-page-underline p {
    font-size: 1.1rem;
    text-align: justify;
    color: #F5F5F5;
    padding: 10%;
    padding-top: 5px;
    display: inline-block;
    text-decoration: underline grey;
    display: inline-block;
    text-align-last: justify;
}

.diary-book-template-page-underline h3 {
    font-size: 1.5rem;
    padding: 10%;
    color: #F5F5F5;
    padding-bottom: 1%;
    display: inline-block;
    text-decoration: none;
    display: inline-block;
    text-align-last: justify;
    height: 2.1rem;
    overflow: hidden;
}


.diary-book-template-page {
    background: #F5F5F5;
    transform-origin: left;
    position: absolute;
    right: -300px;
    bottom: -400px;
    width: 540px;
    height: 750px;
    transform: translateY(0px) rotateY(1deg);
    transition: 1s ease-in-out;
    background: url(./images/home-bg-pc.png);
}

.diary-book-template-page-inside{
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 15;
    transform: rotateZ(90deg) translateX(105px) translateY(105px);
    transform-origin: center;
    width: 750px;   
    height: 540px;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.diary-book-template-page-inside a {
    font-size: 1.5rem;
    width: 30%;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    padding-left: 50px;
    margin-top: 6px;
    margin-bottom: 6px;
    background: url(./images/bookmark-long.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.95;
    box-shadow: -10px 6px 3px rgba(82, 82, 82, 0.4); 
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    transform: translateX(-30px);
    z-index: 12;
    font-family: 'Noto Serif SC'
}

.diary-book-template-page-inside a:nth-child(1) {
    width: 54%;
}

.diary-book-template-page-inside a:nth-child(2) {
    width: 50%;
}

.diary-book-template-page-inside a:nth-child(3) {
    width: 46%;
}

.diary-book-template-page-inside a:nth-child(4) {
    width: 42%;
}

.diary-book-template-page-inside a:nth-child(5) {
    width: 38%;
}

.diary-book-template-page-inside a:nth-child(6) {
    width: 34%;
}

.diary-book-template-page-inside a:hover {
    width: 82%;
    color: rgba(255, 255, 255, 0.9);
    background-position: right;
    opacity: 1;
    padding-left: 60px;
    transform: translateX(20px) scale(1.15);
}


.diary-book-template-page-inside p {
    font-size: 1.1rem;
    color: #252525;
    padding: 10%;
    padding-top: 5px;
    display: inline-block;
}

.diary-book-template-page-inside h3 {
    font-size: 1.5rem;
    padding: 10%;
    color: #252525;
    padding-bottom: 1%;
    display: inline-block;
    display: inline-block;
    text-align-last: justify;
    height: 2.1rem;
    overflow: hidden;
}



#diary-book-pages {
    transform: translateX(0) translateZ(0px);
    transition: 1s ease-in-out;
}


#diary-cover-flip:checked ~ #diary-book-cover {
    transform: translateX(0) rotateY(-180deg) translateZ(1px);
}

#diary-cover-flip:checked ~ #diary-book-d1 {
    transform: translateX(0) rotateY(-179deg) translateZ(1px);
}

#diary-cover-flip:checked ~ #diary-book-d2 {
    transform: translateX(0) rotateY(-100deg) translateZ(1px);
}

#diary-cover-flip:checked ~ #diary-book-pages{
    transform: translateX(0) translateZ(1px);
}

#diary-cover-flip:checked ~ #diary-book-end{
    transform: translateX(0) translateZ(-2px);
}


#diary-cover-flip-botton {
    transition: 1s ease;
}

#diary-cover-flip:checked ~ #diary-cover-flip-botton {
    transform: translateX(-100px);
    opacity: 0;
}


#diary-cover-flip {
    display: none;
    position: absolute;
}

#diary-book-end {
    background: rgb(255, 245, 245);
    transform-origin: left;
    position: absolute;
    color: white;
    font-size: 5rem;
    width: 540px;
    height: 750px;
    right: -300px;
    bottom: -400px;
    transform: translateY(0px) rotateY(1deg) translateZ(-2px);
    transition: inherit;
    box-shadow: -50px 50px 30px rgba(0, 0, 0, 0.8);
}

#diary-book-end:after {
    content: '';
    width: 30px;
    height: 100%;
    background-size: cover;
    background: #5B4545;
    position: absolute;
    top: 0;
    left: 0;
    transform: skewY(-45deg) translateX(-30px) translateY(-15px);
} 

#diary-book-end:before {
    content: '';
    width: 100%;
    height: 30px;
    background: #dab8b8;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: skewX(-45deg) translateX(15px) translateY(30px);
} 


.diary-text-template-page-inside {
    font-size: 1.5rem;
    width: 50%;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    padding-left: 30px;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 25%;
    background: url(./images/bookmark-long.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    transition: 0.25s ease-in-out;
    transform: translateX(-30px);
    z-index: 12;
    font-family: 'Noto Serif SC';
    cursor: pointer;
}

.diary-text-template-page-inside:before {
    content: '';
    z-index: 10;
    background-color: #873E3E;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(30px) rotate(0deg) ;
    transform-origin: center;
    background: url(./images/bookmark-end.png);
    background-size: contain;
}

.diary-text-template-page-inside:hover {
    color: rgba(255, 255, 255, 1);
    width: 60% ;
}

#text-catalogue {
    padding-top: 1%;
    height: 0;
    transform: rotateY(90deg);
}

#text-default:checked ~ #text-catalogue {
    height: auto;
    transform: rotateY(0deg);
}

#text-body-1 {
    padding-top: 1%;
    height: 0;
    transform: rotateY(90deg);
}

#text-1:checked ~ #text-body-1 {
    height: auto;
    transform: rotateY(0deg);
}

#text-body-2 {
    padding-top: 1%;
    height: 0;
    transform: rotateY(90deg);
}

#text-2:checked ~ #text-body-2 {
    height: auto;
    transform: rotateY(0deg);
}


.body-home {
    background-image: linear-gradient(35deg, #FFDB76, #66B6BF);
    background-repeat: no-repeat;
}

.home-card {
    width: 75%;
    height: 95%;
    background-color: rgba(0,0,0,0);
    display: flex;
    flex-direction: row;
    transform: translateY(0%);
}

.home-slogan-out {
    width: 100%; 
    height: 85%; 
    padding-top: 20%; 
    padding-left: 0%; 
    display: flex; 
    flex-direction: column; 
    transform: translateX(-5%);
}

.home-slogan {
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
    color: #FFFFFF; 
    font-size: 6rem; 
    margin: -0.5%;
    transform: translateY(0%);
    margin-right: 15%;
    font-family: 'Noto Serif SC';
    line-height: 115%;
    letter-spacing: -0.6rem;
}

.home-slogan-mobile {
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
    color: #FFFFFF; 
    font-size: 16rem; 
    font-family: STXK;
    writing-mode: vertical-rl;
    letter-spacing: 2.4rem;
    position: absolute;
    top: 5rem;
    display: none;
}

.home-large-icon-mobile {
    background-image: url(./images/leaf.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 50vw;
    height: 50vw;
    top: 15vh;
    display: none;
}

.home-slogan span {
    font-family: inherit;
}

.home-slogan-small {
    color: #F5F5F5; 
    font-size: 1.6rem; 
    padding-top: 10%;
    margin: -0.5%;
    margin-bottom: 22%;
    font-family: FZCHJT;
    letter-spacing: 0.4rem;
}

.home-dot {
    background-color: #FFFFFF;
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 3rem;
    bottom: 3%;
    right: 2%;
    box-shadow: 5px 2px 6px rgba(0, 0, 0, 0.2);
}

.home-p {
    color: #191919;
    transition: 0.2s ease;
}

.home-p:hover {
    color: rgb(141, 141, 141);
  }

.home-img {
    z-index: 0;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(150deg, #F3EEE1, #F5F5F5);;
}

.home-warning {
    color: #FFFFFF;
    font-size: 1.7vh;
}

.home-button-out {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    transform: translateX(-5.5vh);
}

.home-button {
    z-index: 10;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: lighter;
    background-color: #FFDB76;
    text-shadow: 2px 2px 5px rgba(190, 99, 99, 0.4);
    box-shadow: 2px 2px 5px rgba(190, 99, 99, 0.4);
    width: 40%;
    padding: 2%;
    margin: 2%;
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.home-card-main {
    width: 90%; 
    height: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 10;
}

.home-button:hover {
    width: 50%;
}

.home-button-mobile {
    display: flex; 
    flex-direction: column-reverse; 
    height: 100%; 
    width: 100%; 
    align-items: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.home-button-mobile:hover {
    transform: translateY(-5%);
    transform: scale(105%);
    opacity: 0.6;
}





.top {
	background-color: rgba(0, 0, 0, 0.0); 
	backdrop-filter: blur(1.5px);
	-webkit-backdrop-filter: blur(1.5px);
	width: 100%; 
	height: 4.5%;
	transition: 0.5s;
	padding: 10px 0px 10px 0px;
	display: flex;
	transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
	justify-content: center;
	position: fixed;
	align-items: center;
	z-index: 20;
	border-bottom-left-radius:25px;
	border-bottom-right-radius:25px;
}


.topitem {
	text-decoration: none;
	text-align: center;
	flex-grow: 1;
	color: #FFFFFF;
	font-size: 1.2rem;
	width: 60px
}

.topitem a {
	color: #FFFFFF;
	text-decoration: none;
    opacity: 0.7;
	transition: ease 0.1s;
    text-shadow: 2px 2px 5px rgba(53, 53, 53, 0.4);
}

.topitem a:hover {
	color: #FFFFFF ;
    font-size: 1.35rem;
    opacity: 1;
}

.album-card {
    display: flex; 
    width: 80%; 
    height: 270px;
    padding: 0%;
    margin: 20px;
    margin-top: 60px;
    background-color: rgba(56, 56, 56, 0.3);
    align-items: center;
    overflow: hidden;
    transition: 0.4s ease-in-out;
    flex-direction: column;
}

.album-card:hover {
    background-color: rgba(158, 139, 98, 0.7);
    width: 80%;
    height: 360px;
    margin-top: 30px;
}


.album-link-img {
    width: 200px;
    opacity: 0;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.album-link-img:hover {
    opacity: 0.7;
}

.album-cover-img {
    width: 200px; 
    height: 200px;  
    margin: 20px; 
    margin-top: 36px; 
    border-radius: 0rem;
    transform: rotateX(30deg) rotateY(1080deg) rotateZ(30deg) scale(0.75);
    transition: 3s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.05s;
    transform-style: preserve-3d;
}

.album-cover-img:hover {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.2);
}

#album-0:checked ~ #album-cover-img-0 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.2);
}

#album-1:checked ~ #album-cover-img-1 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.2);
}

#album-2:checked ~ #album-cover-img-2 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.2);
}

#album-3:checked ~ #album-cover-img-3 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.2);
}

#album-4:checked ~ #album-cover-img-4 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.2);
}

#album-5:checked ~ #album-cover-img-5 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.2);
}

#album-6:checked ~ #album-cover-img-6 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.2);
}

#album-7:checked ~ #album-cover-img-7 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.2);
}





.table-2 {
    display: flex; 
    width: 100%; 
    padding: 2%;
    padding-top: 1.5%;
    padding-bottom: 1%;
    padding-left: 4%;
}

.table-4 {
    display: flex; 
    width: 25%; 
    padding-top: 1%;
    padding-bottom: 1%;
}

.big-title {
    font-size: 4rem; 
    left: 20%; 
    position: absolute; 
    font-family: 'Noto Serif SC'; 
    color: #FFFFFF; 
    text-shadow: 4px 4px 10px rgba(190, 151, 99, 0.6);
}

.big-title-album-big {
    font-size: 4rem; 
    left: 2%; 
    position: absolute; 
    font-family: FZCHJT; 
    color: #FFFFFF; 
    text-shadow: 4px 4px 10px rgba(190, 151, 99, 0.6);
}

.big-title-album-middle {
    font-size: 4rem; 
    left: 2%; 
    position: absolute; 
    font-family: 'Noto Serif SC'; 
    color: #FFFFFF; 
    text-shadow: 4px 4px 10px rgba(95, 85, 71, 0.6);
}

.big-title-underneath {
    width: 60%; 
    background-color: #FFFFFF; 
    transform: translateY(400px); 
    height: 2px; 
    margin-left: 20%; 
    box-shadow: 4px 4px 8px rgba(148, 94, 94, 0.8);
}

.big-title-underneath-100 {
    width: 100%; 
    background-color: #FFFFFF; 
    transform: translateY(400px); 
    height: 2px; 
    margin-left: 0%; 
    box-shadow: 4px 4px 8px rgba(148, 94, 94, 0.8);
}

.album-masonry {
    column-gap: 0;
}

.album-masonry-container {
    height: 2400px;
    z-index: 0;
}

.album-gradient {
    background-image: linear-gradient(rgba(0,0,0,0), #FFFFFF);
    position: fixed;
    width: 100%;
    height: 200px;
    left: 0;
    bottom: 0;
}

.album-container {
    position: relative;
    margin: auto;
    overflow: hidden;
}

#album-more {
    display: none;
}

#album-more + label {
    z-index: 30;
    display: block;
    position: absolute;
    width: 100%;
    height: 500px;
    bottom: 0px;
    left: 0px;
    pointer-events: none;
}

#album-more + label::after {
    z-index: 30;
    content: '查看更多';
    font-weight: bold;
    display: inline-block;
    position: absolute;
    bottom: 20px;
    color: #FFFFFF;
    font-size: 1.32rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(228, 185, 93, 0.9);
    padding: 0.8% 3%;
    border-radius: 3rem;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); 
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

#album-more + label:hover::after {
    padding: 0.8% 4%;
}

#album-more:checked ~ #album-masonry-container {
    height: auto;
}

#album-more:checked ~ #album-gradient {
    display: none;
}

#album-more:checked + label {
    display: none;
}




.album-item {
    padding: 4px;
    transition: 3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.album-item img {
    display: block;
    width: 100%;
    box-shadow: 0px 0px 4px rgba(97, 94, 94, 0.5);
}

.album-item-attached {
    padding: 4px;
    transition: 3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.album-item-attached img {
    display: block;
    width: 100%;
    box-shadow: 0px 0px 4px rgba(97, 94, 94, 0.5);
}

.album-item-attached p {
    position: absolute; 
    display: inline-block; 
    color: white; 
    transform: translateX(-24.5vw);
}

.album-introduction {
    padding: 2%; 
    background-color: #ececec; 
    width: 98%;
    margin: 2%; 
    margin-top: 1.8%; 
    box-shadow: 2px 2px 8px rgba(139, 137, 137, 0.5); 
    letter-spacing: -1px;
    font-size: 1.5rem;
    color: #333333;
}

.album-milestone {
    display: flex;
    align-items: center;
    padding: 1%; 
    width: 98%;
    margin: 2%; 
    margin-top: 1.8%;
    background-image: url(./images/milestone.png);
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
    letter-spacing: -0.5px;
    font-size: 1.5rem;
    color: #F2F2F2;
}

.album-milestone span {
    background-image: url(./images/gold-medal.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 2rem;
    color: transparent;
    margin-right: 30px;
    margin-left: 10px;
}

.document-text-button {
    transition: 0.15s ease-in-out;
    font-size: 1.2rem; 
    color: rgb(53, 53, 53);
    background: #e6e6e6; 
    font-family: 'Noto Serif SC';
    padding: 2%;
    padding-top: 1%;
    padding-bottom: 1%;
    margin-left: 2%;
    margin-right: 2%;
    border-radius: 3rem;
    cursor: pointer;
    text-align: center;
}

.document-text-button:hover {
    color: var(--root-pattern-yellow);
    background: rgb(53, 53, 53); 
    padding: 5%;
    padding-top: 1%;
    padding-bottom: 1%;
}

.document-para-inherit span {
    font-size: 1.8rem;
    font-family: 'Noto Serif SC';
    font-weight: bold;
    color: rgb(66, 66, 66);
    font-style: italic;
}

.document-para-inherit a {
    text-decoration: underline;
    color: rgba(145, 117, 58, 0.9);
}

.document-para-inherit a:hover {
    background-color: white;
}

.document-para-inherit {
    transition: 0.8s ease-in-out;
    font-size: inherit;
    padding-top: 0%;
    margin-top: -1%;
    margin: 1%;
    margin-left: 6%;
    margin-right: 12%; 
    line-height: 180%;
    letter-spacing: 1.2px;
}

.document-key {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-left: 21%;
    padding-top: 2%;
    padding-bottom: 2%;
    justify-content: center;
    align-items: center;
}

.document-key-info {
    color: rgb(97, 97, 97); 
    font-style: italic; 
    margin-bottom: 5%; 
    font-size: 1rem;
    line-height: 145%;
}

.document-key-img {
    height: 300px; 
}

.document-script {
    width: 94%;
    height: 400px;
    background-image: url(./images/paper.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: 5%;
    margin-top: 1%;
    margin-bottom: 1%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #222222;
}

.document-script div {
    font-family: 'Ma Shan Zheng';
}

.document-script div b {
    font-family: 'Ma Shan Zheng';
}

.document-script-title {
    font-size: 1.8rem;
    margin-bottom: 5rem;
}

.document-script-body {
    font-size: 2.8rem;
}

.document-script-para {
    font-size: 1.6rem;
    line-height: 140%;
}

.document-script-body-small {
    font-size: 2.2rem;
    margin-bottom: 13rem;
}

.document-key-img-vertical {
    height: 800px; 
}

.document-chart-title {
    width: 98%;
    font-size: 1.2rem;
    padding-bottom: 1%;
    padding-left: 2%;
    padding-top: 1.5%;
    font-style: italic;
}

.document-chart-item-a {
    background-color: #e6e6e6;
    width: 98%;
    padding-left: 2%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.document-chart-item-b {
    width: 98%;
    padding-left: 2%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.document-chart {
    font-size: 1rem;
    margin: 1%;
    margin-left: 6%;
    margin-right: 12%; 
    margin-bottom: 2%;
    line-height: 180%;
    letter-spacing: 1.2px;
    width: 82%;
    background-color: #f0f0f0;
    color: #5a5a5a;
    box-shadow: 4px 4px 6px rgba(139, 137, 137, 0.5); 
}

.document-chart-item-title {
    width: 20%;
}

.document-chart-item-body {
    width: 80%;
}

.document-gold {
    color: rgba(0, 0, 0, 0);
    background-image: url(./images/gold-medal.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

.document-sliver {
    color: rgba(0, 0, 0, 0);
    background-image: url(./images/sliver-medal.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}


@media screen and (max-width: 1100px) {

    .document-para {
        font-size: 1rem;
        margin: 0%;
        margin-left: 2%;
        margin-right: 3%; 
    }

    .document-para-inherit {
        line-height: 4rem;
        margin: 0%;
        margin-top: 2vh;
        margin-left: 2%;
        margin-right: 3%; 
    }

    .document-para-inherit span {
        font-size: 2.15rem;
        font-family: 'Noto Serif SC';
    }

    .document-chart-title {
        font-size: 40px;
        padding-top: 4%;
        padding-bottom: 4%;
    }

    .document-chart-item-title {
        font-size: 160%;
        width: 98%;
        font-weight: normal;
        font-style: normal;
        margin-top: 2vh;
        margin-bottom: 0.4vh;
        font-weight: bold;
    }

    .document-chart-item-body {
        font-size: 160%;
        width: 98%;
        letter-spacing: 3px;
        padding-top: 0.8vh;
        padding-bottom: 2vh;
        line-height: 40px;
        padding-right: 0px;
    }

    .document-chart-item-a {
        width: 98%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .document-chart-item-b {
        width: 98%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .document-chart {
        margin: 1%;
        margin-left: 1%;
        margin-right: 2%; 
        line-height: 180%;
        width: 94%;
    }

    .document-script-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
        margin-top: 0rem;
    }

    .document-script-body {
        font-size: 3.6rem;
    }

    .document-script {
        width: 94%;
        height: 400px;
        padding-top: 15%;
        margin-top: 2vh;
    }

    .document-script-para {
        font-size: 2.05rem;
        line-height: 130%;
    }

    .document-key {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin-left: 3%;
        justify-content: center;
        align-items: center;
    }

    .document-key-img {
        height: 500px; 
    }

    .document-key-info {
        font-size: 2rem;
    }


    .diary-book-container-outer{
        transform: scaleX(200%) scaleY(200%);
    }

    .diary-cover-flip-botton {
        right: -40vw;
        top: -11vh;
        color: white;
        font-size: 1.5rem;
    }
    
    .diary-cover-flip-botton:hover {
        right: -41vw;
    }

    .diary-text-template-page-inside {
        font-size: 2rem;
        width: 90%;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 5%;
    }

    .diary-text-template-page-inside:hover {
        width: 95%;
    }

    .album-masonry {
        padding: 20px;
        margin-top: 10px;
        column-count: 1;
        column-gap: 0;
        height: auto;
    }

    .album-masonry-container {
        height: 1600px;
    }

    #album-more + label::after {
        bottom: 50px;
        color: #FFFFFF;
        font-size: 2.5rem;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(228, 185, 93, 0.9);
        padding: 1vh 4vh;
    }

    .big-title-album-middle {
        font-size: 3.6rem; 
        left: 2%; 
    }

    .template-album-title {
        font-size: 2rem;
        color: #FFFFFF;
        font-weight: lighter;
        letter-spacing: 1px;
        padding-bottom: 10px;
        padding-right: 0px;
        font-family: 'Noto Serif SC';
        text-align: center;
    }


    .album-link-img:hover {
        opacity: 0;
    }


    .album-pic-container {
        width: 320px;
        height: 180px;
    }

    .album-card {
        height: 400px;
        justify-content: center;
    }

    .album-card:hover {
        height: 600px;
    }
    
    .album-pic {
        width: 320px;
        height: 180px;
    }

    .album-introduction {
        margin-top: 4%; 
        font-size: 2rem;
        color: #333333;
    }

    .album-milestone {
        margin-top: 4%; 
        font-size: 2rem;
        padding-top: 1%;
        padding-bottom: 1%;
    }
    
    .big-title {
        left: 5%;
        font-size: 6rem; 
    }

    .body-home {
        background-image: linear-gradient(0deg, #F2F2F2, #F2F2F2 );
    }

    .home-img {
        background-image: url(./images/home-bg-mobile.jpg);
        background-repeat: repeat;
        background-size: auto;
        transform: translateY(0%);
    }

    .home-card {
        flex-direction: column;
        width: 90%;
        align-items: center;
        justify-content: center;
    }

    .home-card-main {
        width: 90%;
        transform: translateX(5%);
    }

    .home-button-out {
        transform: translateX(0%) translateY(4%);
    }

    .home-slogan {
        opacity: 0;
    }

    .home-slogan-small {
        opacity: 0;
    }

    .home-large-icon-mobile {
        display: block;
    }

    .home-slogan-mobile {
        display: block;
    }

    .home-button {
        transform: translateY(-50%);
        border-radius: 3rem;
        width: 76%;
        font-size: 2.5rem;
        font-weight: bold;
    }

    .home-button:hover {
        width: 82%;
    }

    .home-warning {
        color: rgba(0, 0, 0, 0);
    }

    .home-dot {
        opacity: 0;
    }

    ._mobile-display {
        display: block;
    }

    ._mobile-display-flex {
        display: flex;
    }

    ._pc-display {
        display: none;
    }

    ._pc-display-flex {
        display: none;
    }

    .all-main-out {
        width: 96%;
        background-color: #F7F7F7;
        margin-left: 2%;
        transform: translateY(420px);
        box-shadow: 4px 4px 10px rgba(148, 94, 94, 0.5);
        margin-bottom: 5%;
        border-radius: 2rem;
    }

    .big-title-underneath {
        width: 90%;
        margin-left: 5%;
    }

    .template-h1 {
        color: #333333;
        font-size: 3.6rem;
        padding: 5%;
    }  

    .template-small-text {
        font-size: 200%;
        color: #333333;
    }

    .table-2 {
        display: flex; 
        width: 100%; 
        padding: 2.5%;
        padding-left: 5.1%;
    }

    .table-4 {
        display: flex; 
        width: 50%; 
        padding-top: 2.5%;
        padding-bottom: 2.5%;
    }
    



}



 /* 移动适配按钮 */

 .mobiletop {
    overflow: hidden;;
    position: fixed;
    display: none;
    top: 8%;
    width: 100%;
    height: 0%;
    flex-direction: column;
    margin-left: -80%;
    text-decoration: none;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s ;
    display: none;
    z-index: 35;
    font-style: none;
}

.mobiletop:visited {
    font-style: none;
}

.mobile-title {
    padding: 5%;
    color: #cecece;
    font-size: 2.4rem;
    background-color: rgba(30, 30, 30, 0.7);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s ;
}

.mobile-title:hover {
   background-color: #FFD069;
   color: #565659;
}

.mobile-title a {
    text-decoration: none;
    color: #F2F2F2;
    width: 80%;
}


.menuin {
   width: auto; 
   height: 100%;
   border-radius: 0%;
   overflow: hidden;
   display: none;
   align-items: center;
   justify-content: center;
   z-index: 15;
}


.checkround {
   background-image: url(./images/menu.png) ;
   background-repeat: repeat;
   background-size: cover;
   width: 80px; 
   height: 80px;
   border-radius: 5%;
   background-color:  transparent;
   margin-left: 40%;
   transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
   z-index: 20;
}

#menubotton1:checked ~ .checkround {
   width: 1250px; 
   height: 800px;
   background-size: 0%;
   border-radius: 50%;
   z-index: 2;
   margin-left: -410%;
   background-color: rgba(30, 30, 30, 0.7);
}

#menubotton1:not(checked) ~ .checkround {
   width: 80px; 
   height: 80px;
}

#menubotton1:checked ~ .blackcover {
   width: 200%;
   height: 200%;
   opacity: 0.4;
}

#menubotton1:checked ~ .mobiletop {
   display: block;
   height: 80%;
   margin-top: 4%;
}


.topmenu {
    width: 0%;
}


.sidebar {
    position: absolute;
    top: 50%;
    left: 95%;
    background-color: #FFFFFF;
    display: block;
    z-index: -20;
}

.blackcover {
    width: 200%;
    height: 1%;
    position: fixed;
    margin-left: -100%;
    margin-top: -50%;
    background-color: rgba(30, 30, 30, 0.7);
    opacity: 1;
    z-index: 4;
    opacity: 0;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
}









/* 移动适配 */

@media screen and (max-width: 1100px) {

    .topitem {
        display: none;
    }

    .topmenu {
        width: 90%;
    }

    .mobiletop {
        display: flex;
    }

   .menuin {
       display: flex;
   }


   .to-hide {
       display: none;
   }

   .to-back {
       background-color: rgba(229,229,229,0);
   }

   .top {
       background-color: transparent; 
       backdrop-filter: none;
       -webkit-backdrop-filter: none;
       width: 100%; 
       height: 10%;
       transition: 0.5s;
       display: block;
       justify-content: center;
       padding: 0px 0px 0px 0px;
       position: fixed;
       align-items: center;
       z-index: 8;
       border-bottom-left-radius:25px;
       border-bottom-right-radius:25px;
       margin: 0%;
       z-index: 20;
   }

   .topitem {
       font-size: 1.44rem;
   }
}