* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    /* 当用户手动导航或者 CSSOM scrolling API 触发滚动操作时 */
    scroll-behavior: smooth;
}


/* html {
    height: 100vh;
    overflow: hidden;
    background-image: url(/img/bg/bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateZ(-1px) scale(1.6);
    transform: translateY(-30vh) translateZ(1px);
}

body {
    background-image: url(/img/bg/dot.gif);
    background-size: 5px;

    background-image: url(/img/bg/dot-i.png);
    background-size: 14px;
    backdrop-filter: blur(10px);

} */


/* 页面容器 */

.page-container {
    width: 100%;
    /* 翻页or滚动 */
    height: 100vh;
    overflow: hidden;
    /* overflow-y: scroll; */
    /* 允许垂直滚动 */

}

.page {
    display: flex;
    /* width: 100%; */
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-attachment: fixed;
    background-position: center;
}

/* 视差背景图 */
.parallax-image {
    position: absolute;
    z-index: -1;
    object-fit: cover;
    width: 100%;
    top: 0;
    left: 0;
    will-change: transform;
}


.content {
    width: 960px;
    height: 40vh;
    margin: 0 auto;
    text-align: justify;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* 
 ################################################ 主页 ################################################
 */


.main {
    background-image: url("/img/bg/bg.png");


}

/* 背景图滤镜 */
.backdrop-filter {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-image: linear-gradient(to top, #393442cc, #131313cc);
    /* 背景滤镜 */
    background-image: url("/img/bg/dot.gif");
    background-size: 5px;

    /* background-image: url(img/bg/dot-i.png);
    background-size: 14px; */

    /* 背景模糊 */
    backdrop-filter: blur(5px);
}


/* 打字机 */
.typing {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* width: 60%; */
    /* border-radius: 50px;
    background: #ffffff; */
    padding: 20px;
}

#typing-text {
    color: #ffffffe3;
    font-weight: 700;
    text-decoration: none;
    font-size: 6em;
    letter-spacing: 1.5px;
    text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.4);
    border-right: 4px solid #000;
    /* text-align: right; */
    padding-right: 10px;
    animation: blink-caret 0.75s step-end infinite;
}


/*  */

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #000
    }
}

/* 
 ################################################ 简介 ################################################
*/

.aboutMe {

    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-attachment: fixed;
    background-position: center;
    background-color: #4d4d4d;

}

.cover_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* 使内容垂直居中 */

}

.cover_title,
.cover_subtitle,
.cover_date,
.cover_text,
.cover_end {
    color: white;
    /* 设置文字颜色为白色 */
    /* text-align: center; */
    /* 文字居中对齐 */
}

.cover_title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 10px;

}

.cover_subtitle {
    font-size: 1.2em;
    letter-spacing: 2px;
    color: #acacac;
    margin-bottom: 40px;

}

.cover_date {
    font-size: 1em;
    margin-bottom: 20px;

}

.cover_text {
    width: 70%;
    margin-bottom: 20px;
}

.cover_text_p {
    font-size: 1.2em;
}



.timeline_href {
    width: 400px;
    height: 60px;
    font-size: 1em;
    font-weight: 600;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

.cover_tag_div {
    width: 60%;
    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    margin: 50px 100px;

}

.cover_tag {
    max-width: 150px;
    max-height: 37px;
    padding: 10px 20px;
    font-weight: 500;
    color: #fff;
    border-radius: 50px;
    background-color: #2e2e2e;
    font-size: 0.6em;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    margin: 5px 5px;
    overflow: hidden;
}


/* 
 ################################################ 作品集 ################################################
*/

.p5 {
    background-color: #4d4d4d;
}

.title_zpj {
    font-size: 3em;
    color: white;
    /* 字体加粗 */
    font-weight: 700;
    writing-mode: vertical-rl;
    text-align: center;
}

.containersf {
    width: 80%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10vmin;
    overflow: hidden;

}

.cardsf {
    flex: 1;
    transition: all 1s ease-in-out;
    height: 75%;
    position: relative;

}

.cardsf__head {
    color: black;
    background: rgba(99, 99, 99, 0.705);
    padding: 0.5em;
    transform: rotate(-90deg);
    transform-origin: 0% 0%;
    transition: all 0.5s ease-in-out;
    min-width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1em;
    white-space: nowrap;
    border-radius: 20px;

}

.cardsf:hover {
    flex-grow: 10;
}

.cardsf:hover img {
    filter: grayscale(0);
}

.cardsf:hover .cardsf__head {
    text-align: center;
    top: calc(100% - 2em);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    font-size: 2em;
    transform: rotate(0deg);
}

.cardsf img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-in-out;
    filter: grayscale(60%);
    border-radius: 20px;
}

.cardsf:not(:nth-child(5)) {
    margin-right: 1em;
}


/* 
 ################################################ 联系方式 ################################################
*/

.SNS {
    display: flex;
    /* 垂直居中 */
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #4d4d4d;
}

.business_card {
    width: 810px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: 50px auto;
    background: #4d4d4d;
    border: 8px solid #6d6d6d;
    box-shadow: 8px 8px 20px #333333;
}

.rotate-content {
    position: absolute;
    right: -25%;
    top: 0%;
    transform: rotate(-5deg);
    transform-origin: 0 0;
    letter-spacing: 5px;

    font-family: "微软雅黑";
}

.text-line {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.text1,
.text1-h,
.text2,
.text2-h,
.text3,
.text3-h,
.text4,
.text4-h,
.text5,
.text5-h {
    white-space: nowrap;
    margin-left: 5px;
}

.text1 {
    color: #6d6d6d;
    font-size: 60px;

}

.text1-h {
    color: #fff;
    font-size: 60px;
}

.text2 {
    color: #6d6d6d;
    font-size: 21px;

}

.text2-h {
    color: #fff;
    font-size: 20px;
}

.text3 {
    color: #6d6d6d;
    font-size: 48px;

}

.text3-h {
    color: #fff;
    font-size: 49px;
}

.text4 {
    color: #6d6d6d;
    font-size: 27px;
}

.text4-h {
    color: #fff;
    font-size: 27px;
}

.text5 {
    color: #6d6d6d;
    font-size: 32px;
}

.text5-h .a-email {
    color: #fff;
    font-size: 32px;
}

.runtime {
    color: #dddddd;
    font-size: 18px;
    width: auto;
    position: absolute;
    bottom: 30px;
    /* 左右居中 */
    left: 50%;
    transform: translateX(-50%);

}