html {
}

body {
    background-color: #EEE;
}

#frame-container {
    height: 100vh;
}


#the-frame {
    margin: 0 auto;
    width: 780px;
    height: 580px;
}

#the-particles {
    position: fixed;
    z-index: -2;
    top: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

#the-gradients {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
}


/*================== TITLE AREA ===================*/

#title-area {
    height: 155px;
    margin-bottom: 65px;
    position: relative;
}

#title-area-left {
    float: left;
    width: 400px;
    height: 100%;
}

#title-area-right {
    float: right;
    width: 371px;
    height: 100%;
}

#title-area-left-text {
    color: #AAA;
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 17px;
    position: absolute;
    bottom: 0;
}

#title-area-right-logo-svg {
    fill: #222;
    width: 380px;
}


#title-area-right-bar {
    background-color: #222;
    height: 7px;
    width: 80px;
    float: right;
    position: absolute;
    bottom: 0;
    right: 0;
}

/*================== CONTENT AREA ===================*/

#content-area {
    height: 370px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/*================== SINGLE BLOCK AREA ===================*/

.single-block {
    width: 360px;
    height: 360px;
    background-color: #222;
    padding: 40px;
    color: #EEE;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.block-title {
    height: 45px;
    font-size: 34px;
    font-weight: 300;

}

.block-title-b {
    font-weight: 900;
}

.block-subtitle {
    height: 26px;
    font-size: 16px;
}

.block-content {
    position: absolute;
    z-index: 7;
    transition: margin-top 0.7s, opacity 2s;
}

.block-content-hover {
    position: absolute;
    z-index: 8;
    width: 280px;
    opacity: 0;
    pointer-events: none;
    bottom: 95px;
    transition: bottom 1s, opacity 0.5s;
}

.block-head {
    height: 109px;
    width: 100%;
}

.block-head-left {
    float: left;
    width: 109px;
    height: 100%;
}

.block-head-right {
    float: right;
    width: 144px;
    height: 100%;
}

.app-name-zh {
    color: #EEE;
    font-size: 36px;
    font-weight: 600;
}

.app-name-en {
    color: #EEE;
    font-size: 21px;
    font-weight: 300;
}

.app-name-en-b {
    font-weight: 800;
}

.app-version {
    opacity: 0.6;
    font-size: 13px;
    margin-top: 18px;
}

.block-body {
    height: 110px;
    margin-top: 10px;
    margin-bottom: 18px;
    margin-left: 1px;
    width: 100%;
    position: relative;
}

.block-body-text {
    position: absolute;
    bottom: 14px;
    font-size: 15px;
    font-weight: 300;
}

.base-button {
    border: 1px solid #EEE;
    border-radius: 4px;
    width: 85px;
    height: 36px;
    display: block;
    float: left;
    margin-right: 7px;
    text-align: center;
    opacity: 0.6;
    line-height: 36px;
    transition: all .4s;
}

.base-button:hover, .base-button:active {
    background-color: #EEE;
    color: #444;
    opacity: 1;
}

.base-button-sa {
    width: 64px;
    display: none;
    margin-right: 0;
    border-radius: 4px 0 0 4px;
}

.base-button-sb {
    width: 64px;
    display: none;
    border-radius: 0 4px 4px 0;
}

.block-base-hover-detect-area:hover .base-button-download {
    display: none;
}

.block-base-hover-detect-area:hover .base-button-sa, .block-base-hover-detect-area:hover .base-button-sb {
    display: block;
}

    /*================== SVG AREA ===================*/

#wepeiyang-svg {
    height: 430px;
    left: 40px;
    top: 45px;
}

#ferryquery-svg {
    height: 305px;
    left: 45px;
    top: 95px;
}

#truthseeker-svg {
    height: 375px;
    left: 45px;
    top: 99px;
}

.svg-invert {
    fill: #EEE;
    height: 109px;
}

.calm-svg {
    fill: #EEE;
    position: absolute;
    opacity: 0.12;
}

/*================== GRADIENT AREA ===================*/


.block-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s cubic-bezier(.26,0,0,1);
}



.single-block:hover .block-gradient {
    opacity: 1;
    transition: all 4s cubic-bezier(.26,0,0,1);
}

.single-block:hover .block-content{
    opacity: 0;
    margin-top: 44px;
    pointer-events: none;
    transition: margin-top 1s, opacity 0.5s;
}

.single-block:hover .block-content-hover {
    bottom: 35px;
    opacity: 1;
    pointer-events: auto;
    transition: bottom 0.7s, opacity 2s;
}

@media screen and (max-width: 1350px) {
    #the-frame {
        width: 780px;
    }

    #content-area {
        justify-content: center;
        /* height: 800px; */
        margin-bottom: 100px;
    }

}


@media screen and (max-width: 980px) {
    #the-frame {
        width: 85%;
        height: auto;
        clear: both;
    }

    #frame-container {
        height: auto;
    }

    #barba-wrapper, .barba-container {
        height: auto;
    }

    #title-area {
        margin-top: 100px;
    }

    #title-area-left-text {
        font-size: 40px;
    }

    #title-area-right, #title-area-left {
        float: right;
        text-align: right;
        width: 100%;
        height: auto;
    }

    #title-area-right-logo-svg {
        width: 80%;
        height: auto;
    }

    #title-area-right-bar {
        position: relative;
        height: 15px;
        width: 200px;
        margin-right: 20px;
        margin-top: 20px;
    }

    #title-area{
        height: auto;
        clear: both;
        overflow: auto;
    }
    
    #title-area-left-text {
        position: relative;
        margin-top: 50px;
        margin-right: 20px;
    }

    #content-area {
        display: block;
        height: auto;
    }

    .single-block {
        width: 100%;
        height: 800px;
        margin-bottom: 80px;
        padding: 80px;
    }

    .block-content {
        transform-origin: 0 0;
        transform: scale(2);
    }

    .block-content-hover {
        transform-origin: 0 110%;
        transform: scale(2.3);
    }


}

/* 发布页只有一个产品 为了视觉美感将它占满宽度 */
/* 页面宽度定了最小980px 我们这里使用981判断更宽的电脑屏幕 */
@media screen and (min-width: 981px) {
    .single-block {
        width: 100%;
    }
    .block-content-hover {
        width: 75%;
    }
    .block-head {
        max-width: 300px;
    }
    #wepeiyang-svg {
        left: 160%;
    }
}
