@import url(./layout.css);

/* ==========================================================================
   common part
========================================================================== */
.pic {
    overflow: hidden;
    position: relative;
    height: auto;
}

.bgimg {
    width: 100%;
}

.upimg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all .5s;
}

.pic:hover .upimg {
    transform: scale(1.05);
}

/* 没有放大效果 */
.upimg2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* 居中对齐 */
.upimg3 {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transition: all .5s;
}

.pic:hover .upimg3 {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* 缩小放大 */
.upimg4 {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    -webkit-transform: translate(-50%, -50%) scale(0.93);
    transform: translate(-50%, -50%) scale(0.93);
    transition: all .5s;
}

.pic:hover .upimg4 {
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}

.container img {
    max-width: 100%;
}




.home_heading {
    width: 100%;
    padding-top: .3rem;
    border-top: .03rem solid #DCDCDC;
}

.home_title {
    display: inline-block;
    font-weight: 500;
    font-size: .36rem;
    color: #252525;
    position: relative;
}

.home_title::before {
    content: "";
    width: 100%;
    height: .03rem;
    background: #192350;
    position: absolute;
    left: 0;
    top: -0.33rem;
}

.home_title::after {
    content: "";
    position: absolute;
    right: -0.22rem;
    top: -0.33rem;
    width: .22rem;
    height: 3px;
    background: #fff;
}




/* ==========================================================================
   part01
========================================================================== */
.part01 {
    padding: 1rem 0;
}

.home_main {
    margin-top: .7rem;
}

.homePro_list {
    overflow: hidden;
}

.homePro_list li {
    width: 20%;
    transition: all .3s;
}

.homePro_list li:hover {
    width: 50%;
}

.homePro_bg {
    height: 5.2rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.homePro_bg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.3;
    transition: all .3s;
}

.homePro_list li:hover .homePro_bg::before {
    opacity: 0;
}

.homePro_title {
    background: #192350;
    font-weight: 400;
    font-size: .2rem;
    color: #FFFFFF;
    padding: .15rem 0;
    text-align: center;
}


@media only screen and (max-width: 500px) {
    .homePro_list {
        flex-wrap: wrap;
    }

    .homePro_list li {
        width: 50%;
    }

    .homePro_list li:last-child {
        width: 100%;
    }

    .part01 {
        padding: 25px 0;
    }

    .home_main {
        margin-top: 20px;
    }

    .homePro_bg::before {
        opacity: 0;
    }
}








/* ==========================================================================
   part02
========================================================================== */
.video_main {
    position: relative;
}

.video_area {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    top: 25%;
}

.video_area h1 {
    font-weight: 500;
    font-size: .5rem;
    color: #FFFFFF;
}

.video_area h3 {
    font-weight: 500;
    font-size: .24rem;
    color: #FFFFFF;
    margin-top: .2rem;
}

.video_btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 54%;
    z-index: 1;
    cursor: pointer;
}

#play-landing-animation {
    position: relative;
    color: #FFFFFF;
    width: .75rem;
    height: .75rem;
    transition: all .3s;
}

#play-landing-animation:hover {
    transform: scale(1.2);
}

#play-landing-animation:before {
    animation: fx-plyr-play-button 1.5s ease-out infinite;
    border: 4px solid #FFFFFF;
    border-radius: 150%;
    -webkit-box-shadow: 0 0 10px #FFFFFF;
    box-shadow: 0 0 10px #FFFFFF;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    content: "";
    height: 140%;
    left: -20%;
    position: absolute;
    top: -20%;
    width: 140%;
    opacity: 0;
    transition: all .3s;
}

#play-landing-animation:hover:before {
    opacity: 1;
}

@keyframes fx-plyr-play-button {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5)
    }

    to {
        opacity: 0
    }
}

.video_box {
    height: 8.6rem;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 960px) {
    .video_box {
        height: 430px;
    }
}

@media only screen and (max-width: 768px) {
    .video_box {
        height: 344px;
    }
}

@media only screen and (max-width: 768px) {
    .video_box {
        height: 240px;
    }
}






/* ==========================================================================
   part03
========================================================================== */
.part03 {
    padding: 1rem 0;
}

.homeApply_list {
    margin-top: .5rem;
    margin-left: -0.1rem;
}

.homeApply_list li {
    width: calc(50% - .1rem);
    margin-left: .1rem;
    margin-bottom: .1rem;
    transition: all .4s;
    position: relative;
}

.homeApply_list li:nth-child(n+3) {
    width: calc(33.33% - .1rem);
}

.homeApply_list li:hover{
    transform: scale(1.1);
    z-index: 10;
}

.homeApply_area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.homeApply_title {
    font-weight: 500;
    font-size: .26rem;
    color: #FFFFFF;
    margin-bottom: .2rem;
}

.homeApply_more {
    width: 1.2rem;
    height: .3rem;
    border-radius: .3rem;
    background: rgba(0, 0, 0, 0.5);
    font-weight: 400;
    font-size: .16rem;
    color: #FFFEFE;
    margin: 0 auto;
    transition: all .3s;
}

.homeApply_more:hover {
    background: #fff;
    color: var(--primary);
}



@media only screen and (max-width: 500px) {
    .homeApply_list li {
        width: 100%;
    }

    .homeApply_list li:nth-child(n+3) {
        width: 100%;
    }

    .homeApply_title {
        font-size: 18px;
    }

    .homeApply_more {
        width: auto;
        height: auto;
        padding: 2px 10px;
        font-size: 12px;
    }

    .part03 {
        padding: 25px 0;
    }
}










/* ==========================================================================
   footer
   ========================================================================== */
footer {
    position: relative;
    font-size: .16rem;
    color: #fff;
    background: #192350;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.foot_img {
    width: 1.25rem;
}

.foot_img img {
    max-width: 100%;
}




.foot_top {
    padding: .5rem 0 .25rem;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #FFFFFF;
}

.share_link img{
    width: .32rem;
}

.share_box .share_link:not(:last-of-type) {
    margin-right: .16rem;
}


.foot_main {
    padding: .3rem 0;
    border-bottom: 1px solid #FFFFFF;
}

.foot_list .foot_item:not(:last-of-type) {
    padding-right: 1rem;
}

.foot_item h3 {
    font-weight: 500;
    font-size: .2rem;
    color: #FFFFFF;
    margin-bottom: .2rem;
}

.foot_item ul li {
    font-weight: 300;
    font-size: .16rem;
    line-height: 2;
    color: #FFFFFF;
}




.foot_bottom {
    padding: .5rem 0;
}

.foot_area {
    font-weight: 300;
    font-size: .16rem;
    color: #FFFFFF;
}

@media only screen and (max-width: 768px) {

    .share_box,
    .foot_main {
        display: none;
    }

    .foot_bottom {
        padding: 20px 0;
    }

    .foot_area {
        margin-top: 0;
        font-size: 12px;
    }
}

@media only screen and (max-width: 500px) {
    .foot_top {
        display: none;
    }

    .space {
        display: block;
    }

    .foot_bottom {
        padding: 10px 0;
    }
}