/*==================== VARIABLES CSS ====================*/
:root {
    --header-height: 2.25em;

    /*========== Colors 主题色彩==========*/
    /* Change favorite color */
    --hue-color: 250;
    /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

    /* HSL color mode */
    --first-color: hsl(var(--hue-color), 69%, 61%);
    --first-color-second: hsl(var(--hue-color), 69%, 61%);
    --first-color-alt: hsl(var(--hue-color), 57%, 53%);
    --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: hsl(var(--hue-color), 8%, 45%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(var(--hue-color), 70%, 96%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: hsl(var(--hue-color), 100%, 98%);
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

    /*========== Font and typography ==========*/
    /* --body-font: PingFangSC-Regular, sans-serif; */

    /* .5em = 8px, 1em = 16px, 1.5em = 24px ... */
    --big-font-size: 2em;
    --h1-font-size: 1.5em;
    --h2-font-size: 1.25em;
    --h3-font-size: 1.125em;
    --normal-font-size: 1em;
    --small-font-size: 1em;
    --smaller-font-size: .75em;

    /*========== Font weight ==========*/
    --font-medium: 400;
    --font-semi-bold: 600;

    /*========== Margenes Bottom ==========*/
    /* .25em = 4px, .5em = 8px, .75em = 12px ... */
    --mb-0-25: .25em;
    --mb-0-5: .5em;
    --mb-0-75: .75em;
    --mb-1: 1em;
    --mb-1-5: 1.5em;
    --mb-2: 2em;
    --mb-2-5: 2.5em;
    --mb-3: 3em;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/*==================== BASE ====================*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    /* margin: 0 0 var(--header-height) 0; */
    font-family: PingFang-SC-Medium, PingFang SC, BlinkMacSystemFont, Hiragino Sans GB, Microsoft YaHei, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, Arial, sans-serif;
    font-size: var(--normal-font-size);
    /* font-size: 16px; */
    background-color: var(--body-color);
    color: var(--text-color);
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.listItem {
    width: 40vw;
    /*height: calc(40vw / 2.15);*/
    height: auto;
    margin: 10px;
    background-color: #FFFFFF;
    border-radius: 2px;
    box-shadow: 0 4px 50px 0 #d9e8fd;
    padding: 2% 0;
}

.backdrop-card{
    display: inline-block;
    width: auto;
    margin: 0 auto;
    padding: 50px;
    position: relative;
    z-index: 5;
    backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, .3)
}

.backdrop {
    width: 100%;
    height: 50vh;
    position: relative;
    padding: 100px 0;
    z-index: 5;
    backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, .2)
}

.listItem:hover {
    border-radius: 2px;
    box-shadow: 0px 4px 30px 10px #e6e6fa;
}

.post {
    /*max-width: 1200px;*/
    margin: 20px 10vw;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 50px 0 #d9e8fd;
}

/*==================== LAYOUT ====================*/
.container {
    max-width: 768px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

.grid {
    display: grid;
    gap: 1.5em;
}

.header {
    width: 100%;
    position: fixed;
    left: 0;
    z-index: 10;
    /*background-color: #00000000;*/
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.33);
    transform: translateX(0);
    transition: 0.4s ease-in-out;
    /*backdrop-filter: blur(3px);*/
    background: rgba(0,0,0,0)
}

/*==================== NAV ====================*/
.nav {
    max-width: 100%;
    padding-left: calc(min(180px, 10vw));
    padding-right: calc(min(180px, 10vw));
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__item {
    align-items: center;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.875em;
    color: #fff;
    font-weight: var(--font-medium);
    cursor: pointer;
    text-transform: capitalize;
    line-height: 59px;
    border-bottom: 2px solid #00000000;
}


/* Active link */
.active-link {
    border-bottom: 2px solid #214A9A;
}

/* Change background header */
.scroll-header {
    background-color: #fff;
    transform: translateX(0);
    transition: 0.4s ease-in-out;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.33);
}

.scroll-header-menu {
    color: #333333;
}

.scroll-header-menu :hover {
    color: #333333;
}

.burger div {
    /* 设置汉堡按钮三层条 */
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px;
}

.burger {
    display: none;
}


/*==================== HOME ====================*/
.home__container {
    gap: 1em;
}

.pageOneTitle {
    position: relative;
    top: 26%;
    font-size: 3.25em;
    font-weight: 400;
    text-align: center;
    color: #ffffff;
    letter-spacing: 6px;
}

.pageOnesubTitle {
    position: relative;
    top: 28%;
    font-size: 1.5em;
    font-weight: 400;
    text-align: center;
    color: #ffffff;
}

.pageOneBottomText {
    position: relative;
    top: 58%;
    font-size: 1.25em;
    text-align: center;
    color: #ffffff;
    padding: 0 10vw;
}

.hoverButton {
    position: relative;
    top: 63%;
    margin: 0 auto;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    border: 2px solid #ffffff;
    padding: 0.5em 1.5em;
    border-radius: 2px;
    font-size: 1em;
    font-weight: 400;
    text-align: center;
    color: #ffffff;
    background-color: #00000000;
}

.hoverButton:hover {
    color: #333333;
    background-color: #FFF;
    cursor: pointer;
}

.hoverButton_red {
    display: inline-block;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    border: 2px solid #214A9A;
    padding: 0.5em 1.5em;
    border-radius: 2px;
    font-size: 1em;
    font-weight: 400;
    color: #214A9A;
    background-color: #00000000;
    width: 8em;
    margin: 10px;
}

.hoverButton_red:hover {
    color: #fff;
    background-color: #214A9A;
    cursor: pointer;
}

.hoverButton_dark {
    position: relative;
    top: 63%;
    margin: 0 auto;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    border: 2px solid #333;
    padding: 0.5em 1.5em;
    border-radius: 2px;
    font-size: 1em;
    font-weight: 400;
    text-align: center;
    color: #333;
    background-color: #00000000;
}

.hoverButton_dark:hover {
    color: #fff;
    background-color: #333;
    cursor: pointer;
}

.arrowDown {
    position: relative;
    top: 67%;
    margin: 0 auto;
    width: 26px;
    height: 29px;
}


/*==================== DIGITALSOLUTIONS ====================*/

.pageTwo {
    position: relative;
    background-color: #F8FBFF;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 50px;
    text-align: center;
}

.pageTwoTitle {
    font-size: 2em;
    font-weight: 400;
    text-align: center;
    color: #000000;
    /* white-space: nowrap; */
    padding: 0 5em 1.5em 5em;
}

.pageTwoList {
    top: 20%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.cardLeft {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35%;
    height: 100%;
    float: left;
}

.cardRight {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    width: 65%;
    height: 100%;
    float: right;
    flex-direction: column;
    padding-right: 2%;
}

.cardImg {
    width: 80%;
}

.cardTitle {
    font-size: 1.25em;
    width: 100%;
    color: #000000;
    font-weight: 500;
    text-align: left;
    padding: 10px;
}

.cardText {
    font-size: 0.875em;
    width: 100%;
    color: #666666;
    font-weight: 400;
    text-align: left;
    padding: 10px;
}

.cardTop {
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.cardBottom {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 60%;
    text-align: center;
    float: right;
    flex-direction: column;
}


/*==================== ABOUT ====================*/

.aboutBgImg {
    position: relative;
    /* background-image: url(../img/aboutBg.svg); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    /*height: calc(max(calc(100vw / 6.07), 35vh));*/
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 100%;
    padding: 6vh;
}

.aboutTitle {
    position: relative;
    top: 20%;
    text-align: center;
    color: #fff;
    font-weight: 500;
    font-size: 2em;
}

.aboutDivider {
    top: 24%;
    position: relative;
    margin: 2em auto;
    width: 140px;
    height: 2px;
    background: #ffffff;
}

.aboutText {
    position: relative;
    top: 28%;
    width: 60vw;
    font-size: 0.875em;
    font-weight: 400;
    margin: 0 auto;
    display: flex;
    color: #ffffff;
    line-height: 22px;
}

/*==================== FOOTER ====================*/

.footerCopy {
    height: auto;
    text-align: center;
    font-size: 0.875em;
    padding: 1.5em 3em;
    color: #333333;
}

.footer__bg {
    background-color: #2e363c;
    padding: 0 6vw;
    flex-direction: column;
    display: flex;
    height: auto;
    width: 100%;
}

.footerLeft {
    width: 100%;
    padding: 2vw;
    display: flex;
    flex-direction: column;
}

.footerCenter {
    width: 100%;
    padding: 2vw;
    /* border-right: #fff 2px solid; */
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.footerRight {
    width: 100%;
    padding: 2vw;
}

.footerDivider {
    margin: 2% 0;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}

.formTitle {
    color: #fff;
    line-height: 3em;
}

.input-container {
    position: relative;
    margin: 6px 0;
}

label {
    color: #fff;
    position: absolute;
    left: 10px;
    /* 调整label的位置 */
    top: 50%;
    /* 将label垂直居中 */
    transform: translateY(-50%);
    /* 垂直居中 */
    font-size: 0.75em;
}

input {
    line-height: 3em;
    outline: none;
    background-color: #282829;
    border: hidden;
    /*padding: 10px 0;*/
    padding-left: 5em;
    width: 100%;
    color: #FFF;
}

.but {
    outline: none;
    display: block;
    margin: 5% 0;
    border: hidden;
    width: 40%;
    padding: 0.5vw 0;
    background-color: #214A9A;
    color: #FFF;
}

.but:hover {
    cursor: pointer;
}

.footerList {
    margin-right: 2%;
    width: 45%;
    color: #FFF;
}

.itemTitle {
    font-size: 1em;
    line-height: 3em;
    /*white-space: nowrap;*/
}

.itemText {
    font-size: 0.75em;
    line-height: 2.75em;
    /*white-space: nowrap;*/
}

.footerImg {
    height: 36px;
    width: auto;
    margin: 8px 0;
}

.footerAddress {
    margin-bottom: 20px;
    color: #FFF;
}

.footerQRCode {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    color: #FFF;
    text-align: center;
}

.QRCodeArea {
    margin: 5px 20px 5px 0;
}

.QRCode {
    width: 130px;
    height: 130px;
    background-color: #D8D8D8;
    position: relative;
}

/*========== AFFIX ==========*/
.affix {
    position: fixed;
    right: 0;
    bottom: 40vh;
    background-color: #214A9A;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.5em;
}

.affix.hidden {
    display: none;
}

/*.QRCodeIcon{*/
/*    z-index: 10;*/
/*}*/

.QRCodeIcon:hover {
    cursor: pointer;
}

.paperIcon:hover {
    cursor: pointer;
}

.QRCodeShow {
    display: none;
}

.QRCodeShow.active {
    display: block;
    width: 130px;
    height: 130px;
    position: fixed;
    right: 5em;
    bottom: 40.5vh;
    background-color: #D8D8D8;
    z-index: 10;
    padding: 0.5em;
}

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar {
    width: .60em;
    background-color: var(--scroll-bar-color);
    border-radius: .5em;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: .5em;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-color-light);
}


/*==================== MEDIA QUERIES ====================*/
/* For small devices */
@media screen and (max-width: 567px) {

    .body {
        font-size: 4px;
    }

    .nav__menu {
        position: absolute;
        display: flex;
        top: 60px;
        right: 0;
        bottom: 0;
        width: 8em;
        height: calc(100vh - 60px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        /* 动画 */
        transform: translateX(100%);
        z-index: 10;
        box-shadow: -2px 9px 10px 0px rgba(0, 0, 0, 0.33);
        backdrop-filter: blur(3px);
        background: rgba(0,0,0,0)
    }

    .nav__menu.open {
        transform: translateX(0);
        transition: 0.4s ease-in-out;
    }

    .burger {
        display: block;
        position: absolute;
        right: 3em;
    }

    .burger.active div {
        transition: 0.3s ease-in-out 0.3s;
    }

    /* 第一条线旋转45度 */
    .burger.active .top-line {
        transform: rotate(45deg) translate(4px, 6px);
    }

    /* 第三条线旋转-45度 */
    .burger.active .bottom-line {
        transform: rotate(-45deg) translate(4px, -6px);
    }

    /* 中间线向右移动并变为透明 */
    .burger.active .middle-line {
        opacity: 0;
        transform: translateX(10px);
        transition: 0.3s ease-in-out;
    }

    .pageOne {
        position: relative;
        /* background-image: url(../img/pageOneBGImg.svg); */
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        width: 100%;
        max-width: 100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        text-align: center;
        display: flex;
    }

    .pageOneTitle {
        font-size: 1.75em;
    }

    .pageOnesubTitle,
    .pageOneBottomText,
    .hoverButton {
        font-size: .875em;
    }

    .pageTwo{
        padding: 1em;
    }

    .pageTwoTitle {
        padding: 0 2em 1.5em 2em;

    }

    .cardTitle {
        font-size: 1em;
    }

    .cardText, .aboutText {
        font-size: 0.5em
    }

    .pageTwoTitle,
    .aboutTitle {
        font-size: 1.25em;
    }


    .listItem {
        width: 90vw;
        /*height: calc(80vw / 1.5);*/
        height: auto;
    }

    .container {
        margin-left: var(--mb-1);
        margin-right: var(--mb-1);
    }

    .nav__list {
        column-gap: 0;
    }

    .post {
        padding: 5px;
        margin: 20px 2vw;
    }

    .hoverButton_red{
        width: 90%;
        margin-right: 2%;
    }

}

/*mobile devices*/
@media screen and (min-width: 567px) and (max-width: 864px) {

    .nav__menu {
        position: absolute;
        display: flex;
        top: 60px;
        right: 0;
        bottom: 0;
        width: 8em;
        height: calc(100vh - 60px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        /* 动画 */
        transform: translateX(100%);
        z-index: 10;
        box-shadow: -2px 9px 10px 0px rgba(0, 0, 0, 0.33);
        backdrop-filter: blur(3px);
        background: rgba(0,0,0,0)
    }

    .nav__menu.open {
        transform: translateX(0);
        transition: 0.4s ease-in-out;
    }

    .burger {
        display: block;
        position: absolute;
        right: 3em;
    }

    .burger.active div {
        transition: 0.3s ease-in-out 0.3s;
    }

    /* 第一条线旋转45度 */
    .burger.active .top-line {
        transform: rotate(45deg) translate(4px, 6px);
    }

    /* 第三条线旋转-45度 */
    .burger.active .bottom-line {
        transform: rotate(-45deg) translate(4px, -6px);
    }

    /* 中间线向右移动并变为透明 */
    .burger.active .middle-line {
        opacity: 0;
        transform: translateX(10px);
        transition: 0.3s ease-in-out;
    }

    .listItem {
        width: 80vw;
        /*height: calc(80vw / 2);*/
    }

    .pageOne {
        position: relative;
        /* background-image: url(../img/pageOneBGImg.svg); */
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        width: 100%;
        max-width: 100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        text-align: center;
        display: flex;
    }

    .pageOneTitle {
        font-size: 2em;
    }

    .pageTwo{
        padding: 2em;
    }

    .pageTwoTitle,
    .aboutTitle {
        font-size: 1.5em;
    }

    .pageOnesubTitle,
    .pageOneBottomText,
    .hoverButton {
        font-size: 0.875em;
    }

    .cardTitle {
        font-size: 1.25em;
    }

    .cardText, .aboutText {
        font-size: 0.625em
    }

    .post {
        padding: 10px;
        margin: 20px 5vw;
    }

}

/* For medium devices */
@media screen and (min-width: 864px) and (max-width: 960px) {

    .nav__menu {
        position: absolute;
        display: flex;
        top: 60px;
        right: 0;
        bottom: 0;
        width: 8em;
        height: calc(100vh - 60px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        /* 动画 */
        transform: translateX(100%);
        z-index: 10;
        box-shadow: -2px 9px 10px 0px rgba(0, 0, 0, 0.33);
        backdrop-filter: blur(3px);
        background: rgba(0,0,0,0)
    }

    .nav__menu.open {
        transform: translateX(0);
        transition: 0.4s ease-in-out;
    }

    .burger {
        display: block;
        position: absolute;
        right: 3em;
    }

    .burger.active div {
        transition: 0.3s ease-in-out 0.3s;
    }

    /* 第一条线旋转45度 */
    .burger.active .top-line {
        transform: rotate(45deg) translate(4px, 6px);
    }

    /* 第三条线旋转-45度 */
    .burger.active .bottom-line {
        transform: rotate(-45deg) translate(4px, -6px);
    }

    /* 中间线向右移动并变为透明 */
    .burger.active .middle-line {
        opacity: 0;
        transform: translateX(10px);
        transition: 0.3s ease-in-out;
    }


    .pageOneTitle {
        font-size: 2.25em;
    }

    .pageTwoTitle,
    .aboutTitle {
        font-size: 1.75em;
    }

    .pageOnesubTitle,
    .pageOneBottomText,
    .cardTitle {
        font-size: 1em;
    }

    .pageOne {
        position: relative;
        /* background-image: url(../img/pageOneBGImg.svg); */
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        width: 100%;
        max-width: 100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        text-align: center;
        display: flex;
    }


    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .body {
        margin: 0;
        font-size: 8px;
    }

    .header {
        top: 0;
        bottom: initial;
    }

    .pageOneBottomText {
        white-space: nowrap;
    }

    .cardText, .aboutText {
        font-size: 0.7em
    }


    .listItem {
        width: 80vw;
        height: calc(40vw / 2);
        margin: 10px;
        background-color: #FFFFFF;
        border-radius: 2px;
        box-shadow: 0px 4px 50px 0px #d9e8fd;
    }

    .footerAddress {
        width: 50%;
        float: left;
    }

    .footerQRCode {
        width: 50%;
        float: right;
    }

    .post {
        padding: 15px;
        margin: 20px 7.5vw;
    }

}

/* For large devices */
@media screen and (min-width: 960px) {

    :root {
        --big-font-size: 3em;
        --h1-font-size: 2.25em;
        --h2-font-size: 1.5em;
        --h3-font-size: 1.25em;
        --normal-font-size: 1em;
        --small-font-size: .875em;
        --smaller-font-size: .813em;
    }

    .nav__menu{
        transition: 0.5s ease-in-out;
        background-color: #00000000;
    }

    .pageOne {
        position: relative;
        /* background-image: url(../img/pageOneBGImg.svg); */
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        width: 100%;
        max-width: 100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        text-align: center;
        display: flex;
    }


    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .body {
        margin: 0;
        font-size: 8px;
    }

    .header {
        top: 0;
        bottom: initial;
        backdrop-filter: blur(3px);
    }

    .nav {
        height: 60px;
        column-gap: 10%;
    }

    .nav__item {
        align-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    .nav__menu {
        position: relative;
    }

    .footer__bg {
        flex-direction: row;
        display: flex;
        padding: 0 8vw;
    }

    .footerLeft {
        width: 40vw;
        float: left;
    }

    .footerCenter {
        width: 30vw;
        float: none;
    }

    .footerRight {
        width: 30vw;
        float: right;
    }

    .pageOneBottomText {
        white-space: nowrap;
    }

    .listItem {
        width: 80vw;
        height: calc(40vw / 2);
        margin: 10px;
        background-color: #FFFFFF;
        border-radius: 2px;
        box-shadow: 0px 4px 50px 0px #d9e8fd;
    }

    .nav__list {
        display: flex;
        column-gap: 2.25vw;
    }


}