@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);
}

/* 背景模式 */
.upimg5 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s;
}

.pic:hover .upimg5 {
    transform: scale(1.05);
}

.container img {
    max-width: 100%;
}











/* ==========================================================================
   footer
   ========================================================================== */
footer img {
    max-width: 100%;
}

.foot_main {
    padding: .8rem 0;
    background: url(../images/home_foot.webp) no-repeat;
    background-size: cover;
}

.foothd {
    background: url(../images/footBg02.webp) no-repeat;
    background-size: cover;
}

.foot_top {
    justify-content: space-between;
    align-items: center;
}

.foot_logo {
    width: 2rem;
}

.link_list {
    gap: .2rem;
}

.link_box {
    width: .36rem;
    height: .36rem;
    background: rgba(196, 196, 196, .5);
    border-radius: 50%;
    font-size: var(--font18);
    line-height: 1;
    color: rgba(245, 245, 245, 0.5);
    transition: all .3s;
}

.link_box:hover {
    text-decoration: none;
    color: #fff;
}

.foot_left {
    width: calc(100% - 9.2rem);
    padding-left: .75rem;
}

.foot_right {
    width: 9.2rem;
}

.foot_center {
    margin: .8rem 0;
}

.foot_ul li {
    margin-bottom: .2rem;
}

.foot_ul li a {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font18);
    font-weight: 500;
}

.foot_ul li a:hover {
    text-decoration: underline;
}

.thesis_list {
    gap: .2rem .5rem;
}

.thesis_list li {
    flex: 1;
}

.thesis_img {
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.4);
    padding: .1rem .2rem;
}

.thesis_name {
    text-align: center;
    color: rgba(238, 238, 238, 1);
    font-size: var(--font16);
    font-weight: 400;
    margin-top: .3rem;
}

.labs_link {
    margin-top: .6rem;
    justify-content: flex-end;
    align-items: center;
    gap: .1rem;
    border-radius: .1rem;
    background: linear-gradient(270.00deg, rgba(196, 196, 196, 0.4) 0%, rgba(196, 196, 196, 0) 100%);
    padding: .15rem .3rem;
    color: rgba(255, 255, 255, 1);
    font-size: var(--font20);
    font-weight: 700;
    transition: all .3s;
}

.ewm_img {
    border-radius: .08rem;
    width: .96rem;
    overflow: hidden;
}

.ewm_intro {
    color: rgba(240, 240, 240, 1);
    font-size: var(--font16);
    font-weight: 400;
    margin-top: .15rem;
}

.footContact_flex {
    gap: .3rem 1.8rem;
}

.footCon_left {
    flex-direction: column;
    gap: .35rem;
}

.footCon_title {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font20);
    font-weight: 500;
    align-items: center;
    gap: .1rem;
}

.footCon_title i {
    font-size: var(--font16);
}

.footCon_info {
    color: rgba(240, 240, 240, 1);
    font-size: var(--font16);
    font-weight: 400;
    margin-top: .15rem;
}

.footCon_right .footCon_info p {
    margin-bottom: .15rem;
}

.foothd_flex {
    justify-content: space-between;
    padding: .2rem 0;
}

.copy_left {
    color: rgba(245, 245, 245, 1);
    font-size: var(--font14);
    font-weight: 300;
}

.copy_right {
    gap: .1rem .3rem;
}

.copy_right a {
    color: rgba(245, 245, 245, 1);
    font-size: var(--font14);
    font-weight: 300;
    position: relative;
}

.copy_right a:not(:last-of-type)::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -0.15rem;
    width: 1px;
    height: .14rem;
    background: rgba(245, 245, 245, 1);
}

@media only screen and (max-width: 768px) {
    .link_box {
        width: 24px;
        height: 24px;
    }
}

@media only screen and (max-width: 500px) {
    .foothd .wrapper {
        padding: 0;
    }

    .foothd_flex {
        justify-content: center;
    }

    .foot_left {
        width: 100%;
        padding-left: 0;
    }

    .foot_right {
        width: 100%;
    }

    .foot_ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0 20px;
    }

    .thesis_list {
        gap: .2rem .3rem;
    }

    .thesis_list li {
        flex: 0 1 calc(33.33% - .2rem);
    }

    .ewm_img {
        width: 80px;
    }

    .foot_bottom .foot_left {
        width: 110px;
    }

    .foot_bottom .foot_right {
        width: calc(100% - 115px);
    }
}