@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%;
}




/* ==========================================================================
   part01
========================================================================== */
.part01 {
    padding: .4rem 0 .8rem;
}

.homeAbout_left {
    width: 40.52%;
    background: rgba(0, 0, 0, 1);
}

.homeAbout_right {
    width: 59.48%;
}

.homeAbout_right img {
    width: 100%;
}

.homeAbout_box {
    margin: 0 1.2rem;
}

.homeAbout_title {
    color: rgba(255, 255, 255, 1);
    font-size: .36rem;
    font-weight: 400;
    margin-bottom: .25rem;
}

.homeAbout_intro {
    color: rgba(153, 153, 153, 1);
    font-size: .18rem;
    font-weight: 400;
    overflow: auto;
    max-height: calc(.18rem * 21);
}

.homeAbout_intro::-webkit-scrollbar {
    width: .06rem;
    background-color: transparent;
}

.homeAbout_intro::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--primary);
}

@media only screen and (max-width: 1280px) {
    .homeAbout_box {
        margin: 0 .8rem;
    }
}

@media only screen and (max-width: 920px) {
    .homeAbout_box {
        margin: 0 .4rem;
    }
}

@media only screen and (max-width: 768px) {
    .homeAbout_box {
        margin: 0 20px;
    }

    .homeAbout_intro {
        font-size: 12px;
        max-height: calc(12px * 15);
    }
}

@media only screen and (max-width: 500px) {
    .homeAbout_left {
        width: 100%;
        padding: 20px 0;
    }

    .homeAbout_right {
        width: 100%;
    }

    .homeAbout_intro {
        font-size: 12px;
        max-height: 100%;
    }

}










/* ==========================================================================
   part02
========================================================================== */
.homePro_list {
    gap: .6rem;
}

.homePro_list li {
    width: calc(50% - .3rem);
    transition: all .6s;
}

.homePro_list li:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 4px 20px 0px;
}

.homePro_box {
    background: rgba(248, 248, 248, 1);
    padding: .45rem;
    height: 100%;
    flex-direction: column;
}

.homePro_name {
    color: rgba(50, 50, 50, 1);
    font-size: .3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: .2rem;
}

.homePro_link {
    border: 1px solid rgba(153, 153, 153, 1);
    border-radius: 50px;
    padding: .05rem .2rem;
    color: rgba(102, 102, 102, 1);
    font-size: .16rem;
    font-weight: 400;
    overflow: hidden;
    position: relative;
}

.homePro_link::before {
    content: '';
    background: linear-gradient(to left, rgba(140, 30, 31, 0) 50%, rgba(140, 30, 31, 0.4) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px;
    transition: all .8s;
}

.homePro_link:hover::before {
    background-position: left bottom;
}

.homePro_more {
    margin: auto 0 .35rem;
}

.homePro_box .pic {
    width: 3.2rem;
    margin: 0 auto;
}

@media only screen and (max-width: 1024px) {
    .homePro_link {
        font-size: 12px;
    }
}

@media only screen and (max-width: 500px) {
    .homePro_list li {
        width: 100%;
    }
}












/* ==========================================================================
   part03
========================================================================== */
.part03 {
    padding: 0 0 1rem;
}

.homeApply_list li {
    margin-top: .6rem;
}

.homeApply_box {
    position: relative;
}

.homeApply_box img {
    width: 100%;
}

.homeApply_area {
    position: absolute;
    bottom: .3rem;
}

.homeApply_list li:nth-child(odd) .homeApply_area {
    left: .3rem;
}

.homeApply_list li:nth-child(even) .homeApply_area {
    right: .3rem;
}

.homeApply_title {
    color: rgba(255, 255, 255, 1);
    font-size: .36rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

.homeApply_info {
    color: rgb(235, 235, 235);
    font-size: .18rem;
    font-weight: 500;
    max-width: 7.9rem;
    padding: .2rem;
    background: rgba(0, 0, 0, .5);
}

@media only screen and (max-width: 768px) {
    .homeApply_area {
        padding: 1rem 0 0 1rem;
    }
}

@media only screen and (max-width: 500px) {
    .homeApply_area {
        padding: 10px 0 0 10px;
    }

    .homeApply_title {
        margin-bottom: 5px;
    }

    .homeApply_info {
        font-size: 12px;
        /* overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        line-clamp: 3;
        -webkit-line-clamp: 3; */
    }
}










/* ==========================================================================
   footer
   ========================================================================== */
footer {
    background: rgba(0, 0, 0, 1);
}

footer img {
    max-width: 100%;
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.foot_flex {
    justify-content: space-between;
    align-items: center;
    padding: .5rem .3rem .25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foot_img {
    width: 1.5rem;
}

.foot_h4 {
    color: rgba(255, 255, 255, 1);
    font-size: .2rem;
    line-height: 1.8;
    font-weight: 500;
}

.foot_main {
    padding: .6rem 0;
}

.foot_nav {
    justify-content: space-between;
}

.foot_intro {
    color: rgba(153, 153, 153, 1);
    font-size: .18rem;
    font-weight: 400;
    max-width: 3.25rem;
}

.foot_h3 {
    color: rgba(255, 255, 255, 1);
    font-size: .2rem;
    line-height: 2;
    font-weight: 500;
}

.foot_h5 {
    color: rgba(153, 153, 153, 1);
    font-size: .16rem;
    line-height: 2;
    font-weight: 400;
}

.foot_h5 a {
    color: inherit;
}

.foot_contact {
    max-width: 3.55rem;
}

.fc_link {
    margin: .2rem 0;
    background: rgba(140, 30, 31, 1);
    width: 1.68rem;
    height: .36rem;
    color: rgba(255, 255, 255, 1);
    font-size: .16rem;
    font-weight: 500;
}

.fc_link:hover {
    text-decoration: none;
}

.friend_link a:not(:first-child) {
    margin-left: 10px;
}


@media only screen and (max-width: 500px) {
    .foot_nav li:first-child {
        display: none;
    }

    .foot_h3 {
        font-size: 14px;
    }

    .foot_h5 {
        font-size: 10px;
    }

    .foot_contact .foot_h5 {
        font-size: 12px;
    }

    .foot_contact {
        margin-top: 20px;
        max-width: 100%;
    }

    .fc_link {
        font-size: 12px;
        width: 100px;
        height: 26px;
    }

    .friend_link img {
        width: 26px;
    }
}