* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Corben";
    src: url("Corben-Bold-2.ttf");
}


/* 添加浮动动画 */

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-25px);
    }
    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
}


/* 添加轻微摇晃动画 */

@keyframes shake {
    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    25% {
        transform: translate(-50%, -50%) rotate(2deg);
    }
    75% {
        transform: translate(-50%, -50%) rotate(-2deg);
    }
}


/* 添加脉冲阴影效果 */

@keyframes shadowPulse {
    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    }
}


/* 添加背景渐变动画 */

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.home-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* title 部分 */

.title {
    height: 100vh;
    position: relative;
}

.title .title-1 {
    display: block;
    width: 40%;
    height: auto;
    position: absolute;
    top: 100%;
    left: 53%;
    transform: translate(-50%, -50%);
    animation: float 3s ease-in-out infinite;
}

.title .title-2,
.title .title-3,
.title .title-4,
.title .title-5 {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 8s ease-in-out infinite;
}

.title .title-6 {
    display: block;
    width: 30%;
    height: auto;
    position: absolute;
    top: 35%;
    left: 72%;
    transform: translate(-50%, -50%);
    animation: float 7s ease-in-out infinite;
}

.title .title-7 {
    display: block;
    width: 60%;
    height: auto;
    position: absolute;
    top: 75%;
    left: 75%;
    transform: translate(-50%, -50%);
    animation: float 9s ease-in-out infinite;
}


/* people 部分 */

.people {
    height: 80vh;
    position: relative;
}

.people .people-1 {
    display: block;
    width: 40%;
    height: auto;
    position: absolute;
    top: 30%;
    left: -5%;
    transform: translate(-50%, -50%);
}

.people .people-2 {
    display: block;
    width: 30%;
    height: auto;
    position: absolute;
    top: -10%;
    left: 0%;
    transform: translate(-50%, -50%);
}

.people .people-text {
    display: block;
    width: 50%;
    height: auto;
    position: absolute;
    top: 30%;
    left: 40%;
    transform: translate(-50%, -50%);
    font-size: 1.2vw;
    font-family: "Corben";
    color: #e2f7ff;
    letter-spacing: 1px;
    text-align: justify;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}


/* history 部分 */

.history {
    height: 300vh;
    position: relative;
}

.history .history-background {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.history .history-1 {
    display: block;
    width: 30%;
    height: auto;
    position: absolute;
    top: 8%;
    left: 1%;
    transform: translate(-50%, -50%);
}

.history .history-2 {
    display: block;
    width: 35%;
    height: auto;
    position: absolute;
    top: 10%;
    left: 30%;
    transform: translate(-50%, -50%);
}

.history .history-3 {
    display: block;
    width: 35%;
    height: auto;
    position: absolute;
    top: 24%;
    left: 10%;
    transform: translate(-50%, -50%);
}

.history .history-4 {
    display: block;
    width: 35%;
    height: auto;
    position: absolute;
    top: 27%;
    left: 5%;
    transform: translate(-50%, -50%);
}

.history .history-5 {
    display: block;
    width: 35%;
    height: auto;
    position: absolute;
    top: 29%;
    left: 5%;
    transform: translate(-50%, -50%);
}

.history .history-6 {
    display: block;
    width: 3%;
    height: auto;
    position: absolute;
    top: 32%;
    left: 49%;
    transform: translate(-50%, -50%);
    /* transform:rotate(15deg); */
}

.history .history-7 {
    display: block;
    width: 26%;
    height: auto;
    position: absolute;
    top: 47%;
    left: 38%;
    transform: translate(-50%, -50%);
    /* transform:rotate(10deg); */
}

.history .history-8 {
    display: block;
    width: 60%;
    height: auto;
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* transform:rotate(10deg); */
}

.history .history-9 {
    display: block;
    width: 30%;
    height: auto;
    position: absolute;
    top: 60%;
    left: 26%;
    transform: translate(-50%, -50%);
}

.history .history-10 {
    display: block;
    width: 20%;
    height: auto;
    position: absolute;
    top: 72%;
    left: 3%;
    transform: translate(-50%, -50%);
}

.history .function-1 {
    display: block;
    width: 116%;
    height: auto;
    position: absolute;
    top: 85%;
    left: 42%;
    transform: translate(-50%, -50%);
}

.history .history-text-1 {
    display: block;
    width: 37%;
    height: auto;
    position: absolute;
    top: 13%;
    left: 60%;
    transform: translate(-50%, -50%);
    font-size: 1.1vw;
    font-family: "Corben";
    color: #00123b;
    letter-spacing: 1px;
    text-align: justify;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

.history .history-text-2 {
    display: block;
    width: 40%;
    height: auto;
    position: absolute;
    top: 66%;
    left: 47%;
    transform: translate(-50%, -50%);
    font-size: 1.1vw;
    font-family: "Corben";
    color: #e2f7ff;
    letter-spacing: 1px;
    text-align: justify;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
}


/* function 部分 */

.function {
    height: 240vh;
    position: relative;
    background-color: #B4C6F5;
}

.function .function-2 {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: -15%;
    left: 0%;
    transform: translate(-50%, -50%);
}

.function .function-3 {
    display: block;
    width: 67%;
    height: auto;
    position: absolute;
    top: 10%;
    left: 0%;
    transform: translate(-50%, -50%);
}

.function .function-4 {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 40%;
    left: 30%;
    transform: translate(-50%, -50%);
}

.function .function-text-1 {
    display: block;
    width: 36%;
    height: auto;
    position: absolute;
    top: 30%;
    left: 57%;
    transform: translate(-50%, -50%);
    font-size: 1.4vw;
    font-family: "Corben";
    color: #001c27;
    letter-spacing: 1px;
    padding: 30px;
    background: rgba(238, 232, 232, 0.6);
    border-radius: 15px;
}

.function .function-text-2 {
    display: block;
    width: 30%;
    height: auto;
    position: absolute;
    top: 77%;
    left: 6%;
    transform: translate(-50%, -50%);
    font-size: 1.4vw;
    font-family: "Corben";
    color: #001c27;
    letter-spacing: 1px;
    padding: 30px;
    background: rgba(238, 232, 232, 0.6);
    border-radius: 15px;
}

.home-video {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.258);
}


/* 最后的标题 */

.nav-img {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
    padding: 50px 5%;
    background: rgba(255, 255, 255, 0.258);
}

.nav-img a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: 140px;
}

.nav-img a:hover {
    transform: translateY(-5px);
}

.image-container {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    filter: brightness(20%);
    transition: all 0.3s ease;
    border: 3px solid #e9ecef;
}

.nav-img a:hover img {
    filter: grayscale(0%);
    border-color: #ff6a00;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-img span {
    margin-top: 12px;
    font-weight: 600;
    color: #495057;
    text-align: center;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-img a:hover span {
    color: #192769;
}

.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    width: 100%;
    padding: 0 10px;
    z-index: 2;
}

.nav-img a:hover .image-text {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
}

@media (max-width: 1200px) {
    .people-section {
        flex-direction: column;
    }
    .people-text {
        margin-left: 0;
        margin-top: 5%;
    }
    .history-section,
    .function-section {
        min-height: auto;
        padding-bottom: 15%;
    }
}

@media (max-width: 768px) {
    .title-section img {
        max-width: 150px;
    }
    .people-1,
    .people-2 {
        position: relative;
        width: 80%;
        max-width: none;
        top: 0;
        left: 0;
        margin: 0 auto;
    }
    .people-images {
        min-height: auto;
    }
    .history-text,
    .function-text {
        width: 95%;
        padding: 1.5rem;
    }
    .nav-img {
        gap: 20px;
        padding: 30px 5%;
    }
    .nav-img a {
        width: 110px;
    }
    .nav-img img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .story-section {
        padding: 1rem;
    }
    .title-section img {
        max-width: 120px;
    }
    .people-text,
    .history-text,
    .function-text {
        padding: 1.5rem;
    }
    .nav-img {
        gap: 15px;
    }
    .nav-img a {
        width: 90px;
    }
    .nav-img img {
        width: 70px;
        height: 70px;
    }
    .nav-img span {
        font-size: 14px;
    }
}