@charset "utf-8";

.mid {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px 60px;
    box-sizing: border-box;
}

.headimg {
    top: 0px;
    height: 250px;
    width: 100%;
    background-image: url("../image/headimg2.jpg");
    background-size: 1540px;
    background-repeat: no-repeat;
    background-position-y: -190px;
    background-position-x: -150px;
    overflow: hidden;
    border-bottom: 5px solid rgb(58, 83, 85);
    animation: headload 0.9s linear;
}

.headimg h1 {
    color: rgb(92, 136, 177);
    font-size: 5em;
    text-align: center;
    line-height: 200px;
}

.mid .ab {
    width: 100%;
    max-width: 1000px;
    min-height: 260px;
    box-shadow: 0 0 15px rgb(83, 103, 110);
    background: rgba(71, 142, 175, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    display: flex;
    overflow: hidden;
    margin: 40px auto 0;
}

.a1 .img {
    background-image: url("../image/about1.jpg");
}

.a2 .img {
    background-image: url("../image/about2.jpg");
}

.a3 .img {
    background-image: url("../image/about3.mp4");
}

/* 额外四张卡片复用现有配图，形成 7 张结构 */
.a4 .img {
    background-image: url("../image/about4.jpg");
}

.a5 .img {
    background-image: url("../image/about5.jpg");
}

.a6 .img {
    background-image: url("../image/about6.jpg");
}

.a7 .img {
    background-image: url("../image/about7.jpg");
}

.ab p {
    word-wrap: break-word;
    color: rgb(41, 68, 68);
    line-height: 24px;
}

.ab .txt {
    flex: 1;
    margin: 0 40px;
}

.ab h2 {
    text-align: center;
    color: rgb(51, 86, 114);
}

.ab .img {
    width: 300px;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.3);
    opacity: 0.8;
    transition: all 0.5s ease 0s;
}

.ab .img:hover {
    transform: scale(1.1);
}

.ab .imghid {
    overflow: hidden;
}

/* Double-Lora 项目链接按钮样式 */
.proj-links {
    margin-top: 8px;
    text-align: center;
}

.proj-btn {
    display: inline-block;
    padding: 6px 16px;
    margin: 4px 8px 0 0;
    border-radius: 16px;
    background-color: rgb(51, 86, 114);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.proj-btn:hover {
    background-color: rgb(72, 120, 158);
    transform: translateY(-1px);
}

/* about3.mp4 视频区域样式，尺寸对齐图片卡片 */
.proj-video {
    width: 300px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.a1,
.a2,
.a3,
.a4,
.a5,
.a6,
.a7 {
    margin-left: 0;
}

@keyframes a1load {
    0% {
        opacity: 0;
    }

    70% {
        opacity: 0;
        margin-top: 100px;
    }

    100% {
        opacity: 1;
        margin-top: 40px;
    }
}

@keyframes a2load {
    0% {

        opacity: 0;
    }

    80% {
        opacity: 0;
        margin-top: 100px;
    }

    100% {
        opacity: 1;
    }
}

@keyframes a3load {
    0% {

        opacity: 0;
    }

    90% {
        opacity: 0;
        margin-top: 100px;
    }

    100% {
        opacity: 1;
    }
}

@keyframes headload {
    0% {
        height: 0px;
    }

    100% {
        height: 240px;
    }
}