:root {
    font-family: "Source Han Sans", "Microsoft Yahei", sans-serif;
    font-size: 20px;
    --opacity: -1;
    --black: 0;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

.cup-header {
    color: #fff;
    z-index: 500;
    position: fixed;
    height: 90px;
    z-index: 9999;
    top: 0;
    width: 100%;
    background-color: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.cup-header__inner {
    padding-left: 80px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: .3s ease background-color;
    z-index: 1;
}

.cup-header__logo {
    width: 176px;
    flex: 0 0 auto;
    font-size: 0;
    height: 30%;
    background-size: auto 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-image: url(../images/logo.png);
}

.cup-header__logo h1 {
    font-size: 0 !important;
}

.cup-header__main {
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    padding-left: 4rem;
}

.cup-header__main nav {
    transition: .3s ease opacity, .3s ease visibility;
    height: 100%;
}

.cup-header__main nav .main-menus {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
    padding-right: 3em;
}

.cup-header__main nav .main-menus>.item {
    margin-right: 3.5em;
    white-space: nowrap;
    height: 100%;
}

.cup-header__main nav .main-menus>.item>a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    font-size: .9rem;
    color: #fff;
}

.cup-container {
    height: 250vh;
    background: url(../images/banner_home.jpg) no-repeat fixed;
    background-size: cover;
    margin-top: -90px;
}

.cup-sticky {
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: sticky;
    top: 0;
    /* background-color: #161616; */
    background-color: rgba(22, 22, 22, var(--black) );
    color: #fff;
    text-align: center;
    line-height: 1.8;
}

.cup-sticky span {
    opacity: calc(var(--black) - var(--opacity) * var(--opacity));
}

.cup-main {
    max-width: 1440px;
    /* width: 100%; */
    margin-left: auto;
    margin-right: auto;
    padding: 0 11%;
    background: url(../images/bg.png);
}

.cup-content {
    padding: 20px 0;
}

#cup-1,
#cup-2,
#cup-3,
#cup-4,
#cup-5,
#cup-6 {
    overflow: hidden;
}

.cup-intro {
    background: url(../images/intro_bg.png) #161616;
    background-size: cover;
    background-position: top;
}

.cup-title {
    display: flex;
    justify-content: center;
    line-height: 1;
    color: #fff;
}

.cup-title h2 {
    padding: 2rem 5rem;
    font-family: Source Han Sans CN;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 4rem;
}

.title-bg1 h2 {
    background: url(../images/text_bg_1.png);
    background-size: cover;
}

.title-bg2 h2 {
    background: url(../images/text_bg_2.png);
    background-size: cover;
}

.cup-text {
    display: flex;
    justify-content: center;
    line-height: 1.5;
    color: #fff;
}

.cup-text p {
    margin-bottom: 6rem;
    line-height: 2;
    padding: 1rem;
    border: 2px solid #fff;
    border-radius: 20px;
}

.cup-text span {
    display: block;
    text-align: center;
}

.cup-process-text {
    display: flex;
    justify-content: center;
    line-height: 1.5;
    color: #fff;
    font-size: 0.8rem;
}

.cup-process-text p {
    margin-bottom: 6rem;
    line-height: 1.6;
    padding: 1rem;
    border: 2px solid #fff;
    border-radius: 20px;
}

.cup-process-text span {
    display: block;
    text-align: center;
}

.cup-time {
    display: flex;
    justify-content: center;
    line-height: 1;
    margin-bottom: 6rem;
}

.cup-time img {
    width: 100%;
}

.cup-device {
    background: url(../images/device_bg.png) #161616 no-repeat;
    background-size: cover;
    background-position: center;
}

.cup-device-img {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
}

.cup-device-img img {
    width: 100%;
    border-radius: 40px;
}

.cup-schedule {
    background: url(../images/schedule_bg.png) #161616 no-repeat;
    background-size: contain;
    background-position: right;
}

.cup-schedule .cup-title h2 {
    margin-bottom: 6rem;
}

.cup-schedule-items {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    margin-bottom: 3.6rem;
}

.cup-schedule-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 26%;
    height: auto;
    border-radius: 20px;
    background: rgba(0, 3, 103, 0.2);
    box-shadow: rgba(117, 153, 211, 0.2) 1px 1px 40px;
    padding-top: 40px;
    color: #fff;
}

.schedule-item1 {
    border: 2px #8764FF solid;
}

.schedule-item2 {
    border: 2px #4165FF solid;
}

.schedule-item3 {
    border: 2px #94D8FF solid;
}

.schedule-img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.schedule-img img {
    max-width: 90px;
    width: 100%;
}

.schedule-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-text span {
    display: block;
}

.schedule-text p {
    color: #fff;
    line-height: 1.5;
    text-align: center;
    font-size: 1rem;
}

.cup-schedule-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6rem;
}

.cup-schedule-button a {
    border-radius: 20px;
    padding: 1rem;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    transform: 2s;
}

.cup-process {
    background: url(../images/process_bg.png) #161616;
    background-size: cover;
    background-position: center;
}

.cup-process-img {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.cup-process-img img {
    width: 100%;
    border-radius: 40px;
}

.cup-download {
    background: #161616 no-repeat;
    background-size: contain;
    background-position: right;
}

.cup-download-button,
.cup-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
}

.cup-button-bg {
    padding: 6rem 10rem 6rem 10rem;
    background: url(../images/download_bg.png) no-repeat;
    background-position: center;
    background-size: contain;
}

.cup-download-button a,
.cup-button a {
    border-radius: 40px;
    background: rgba(59, 132, 255, 1);
    border: 1px solid #fff;
    padding: 1rem 2rem;
    box-shadow: rgba(63, 125, 205, 0.5) 1px 1px 40px;
    color: #fff;
    text-decoration: none;
    display: flex;
    justify-content: center;
    justify-items: center;
    line-height: 1;
}
/* 
.cup-download-button a:hover,
.cup-button a:hover {
    background: #619bff;
    opacity: 1;
} */

.cup-download-button a img,
.cup-button a img {
    width: 1rem;
    height: 1rem;
    margin-right: 10px;
}

.cup-button a {
    background-color: rgba(59, 132, 255, .5);
    transition: background-color 1s;
}

.cup-button a:hover{
    background-color: #619bff;
}



.cup-history {
    background: url(../images/history_bg.png) #161616 no-repeat;
    background-size: cover;
    background-position: center;
}

.cup-history-parent {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr 1.5fr;
    grid-template-rows: auto;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    margin-bottom: 3rem;
}

.div1 {
    grid-area: 1 / 1 / 2 / 2;
}

.div2 {
    grid-area: 1 / 2 / 2 / 4;
}

.div3 {
    grid-area: 2 / 1 / 3 / 3;
}

.div4 {
    grid-area: 2 / 3 / 3 / 4;
}

.div5 {
    grid-area: 1 / 4 / 3 / 5;
}

.cup-history-div img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.cup-intro-text {
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 4rem;
    line-height: 2;
}

.cup-history-button {
    margin-bottom: 1rem;
    transform: 5s;
}

.app-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1rem 0;
    background-color: rgb(0, 24, 78);
    color: #fff;
    line-height: 1.6;
}

.app-footer__bottom .app-container {
    max-width: 1440px;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
}

.app-footer__bottom .copyright>*:not(:last-child) {
    margin-right: .618em;
}

.app-footer__bottom .copyright>* {
    display: inline-block;
    color: #fff;
    opacity: .5;
}

.app-footer__bottom a {
    opacity: .5;
    color: #fff;
    text-decoration: none;
    
}

.app-footer__bottom a:hover {
    opacity: 1;
}

.app-footer__bottom .icons {
    display: flex;
}

.app-footer__bottom .icons .icon {
    display: inline-block;
    position: relative;
}

.app-footer__bottom .icons .icon svg {
    width: 1.24em;
    height: 1.24em;
}

.app-footer__bottom .icons .icon+.icon {
    margin-left: 1.2em;
}

.app-footer__bottom .icons .icon:hover .code {
    opacity: 1;
    visibility: visible;
    bottom: 150%;
}

.app-footer__bottom .icons .code::after {
    content: " ";
    border-style: solid;
    height: 0;
    width: 0;
    border-color: #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    border-width: 16px 10px 0 10px;
    position: absolute;
    bottom: -9px;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.app-footer__bottom .icons .code {
    padding: 5px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    -ms-transition: 500ms bottom ease, 400ms opacity ease;
    transition: 500ms bottom ease, 400ms opacity ease;
    width: 110px;
}

.app-footer__bottom svg {
    fill: currentColor;
}

.visible-xs {
    display: none;
}

.hidden-xs {
    display: block;
}

@media only screen and (max-width:1600px) {
    .app-footer__bottom .icons {
        margin-top: 1em;
    }
    .app-footer__bottom .app-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    .cup-header {
        height: 60px;
    }
}

@media only screen and (max-width:1300px) {
    :root {
        font-size: 16px;
    }
}

@media only screen and (max-width:900px) {
    :root {
        font-size: 16px;
    }
    .hidden-xs {
        display: none;
    }
    .visible-xs {
        display: block;
    }

    body{
        background-image: url(../images/banner_home_m.jpg);
        background-repeat: no-repeat;
        -webkit-background-size:100%;
        background-size:cover;
        -webkit-background-size: cover !important; 
        -moz-background-size: cover !important; 
        -o-background-size: cover; 
        background-attachment:fixed;
        padding-top: 70px;
    }



    body:before {
        content: ""; 
        background-image: inherit; 
        position: fixed; 
        top: 0; 
        left: 0; 
        height: 100vh; 
        width: 100%; 
        -webkit-background-size: cover !important; 
        -moz-background-size: cover !important; 
        -o-background-size: cover; 
        background-size: cover !important;
        z-index: -1;
    }

    body::after {
        content: ""; 
        background: none;
        top: 0; 
        left: 0; 
        height: 100vh; 
        width: 100%; 
    }





    .cup-header__inner {
        padding-left: 16px;
        height: 60px;
    }
    .cup-header__logo {
        width: 140px;
        height: 25px;
    }
    .cup-main {
        padding: 0;
        width: 90%;
    }
    .cup-container {
        height: 200vh;
        background: none;
        background-size: 100vw auto;
        object-fit: fill;
        background-attachment:fixed !important;
    }

    .cup-sticky {
        font-size: 1.4rem;
        background-color: rgba(22, 22, 22, calc(var(--black) - 0.4));
    }


    .cup-sticky span {
        --opacity: -1;
        opacity: calc(var(--black) - var(--opacity) * var(--opacity) * 0.4 - 0.2);
    }



    .cup-text span {
        display: block;
        text-align: left;
    }

    .cup-intro .cup-text span{
        display: inline;
    }

    .cup-device-img {
        margin-bottom: 3rem;
    }
    .cup-device-img img {
        border-radius: 10px;
    }
    .cup-schedule-items {
        flex-direction: column;
    }
    .cup-schedule-item {
        width: 100%;
        justify-content: flex-start;
        flex-direction: row;
        margin-bottom: 1rem;
        padding: 0;
    }
    .schedule-text span {
        display: inline;
    }
    .schedule-img {
        padding-left: 30px;
        padding-right: 20px;
        margin-bottom: 0;
    }
    .schedule-img img {
        max-width: 40px;
    }
    .cup-button {
        margin-bottom: 2rem;
    }
    .cup-process-img {
        width: 100%;
        overflow-x: scroll;
        justify-content: flex-start;
        margin-bottom: 1rem;
    }
    .cup-process-img img {
        width: auto;
        height: 300px;
        padding-bottom: 1rem;
    }
    .cup-scroll-right {
        text-align: center;
        margin: 1rem auto;
    }
    .cup-text p {
        margin-bottom: 2rem;
    }
    .cup-process-text p {
        margin-bottom: 2rem;
    }
    .download-title h2 {
        margin-bottom: 0;
    }
    .cup-button-bg {
        width: 100%;
        padding: 2rem 2rem;
    }
    .cup-history-parent {
        display: grid;
        grid-template-columns: 1fr 1.5fr 1fr;
        /* grid-template-rows: repeat(2, 1fr) 1.5fr; */
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }
    .div1 {
        grid-area: 1 / 1 / 2 / 2;
    }
    .div2 {
        grid-area: 1 / 2 / 2 / 4;
    }
    .div3 {
        grid-area: 2 / 1 / 3 / 3;
    }
    .div4 {
        grid-area: 2 / 3 / 3 / 4;
    }
    .div5 {
        grid-area: 3 / 1 / 4 / 4;
    }
    .cup-history-div img {
        border-radius: 10px;
    }
    .app-footer__bottom .app-container {
        width: 82%;
        font-size: 12px;
    }
}