body,
html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    font-size: calc(1vw + 1vh + 1.5vmin);
    color: #fff;
    background: url('background.jpg') no-repeat top center;
    background-size: cover;
    transition: background-position 0.5s ease;
    font-family: 'Microsoft YaHei', Helvetica, Arial, sans-serif;
}

.section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    scroll-snap-align: start;
    opacity: 0;
    /* 初始透明度为0 */
    transition: opacity 0.5s ease-out;
    /* 确保有平滑过渡 */
    color: #eee9ff;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    /* 继承section的背景 */
    filter: blur(10px);
    /* 应用模糊效果 */
    z-index: 0;
    /* 确保背景在内容下方 */
}

.content {
    filter: drop-shadow(2px 2px 0px black);
}

.content b {
    color: #ff7043;
}

#section1 {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes backgroundMove {
    0% {
        background-position: center center;
    }

    100% {
        background-position: center calc(100% - 30px);
    }
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* 为元素间添加间隙 */
    width: 100%;
    max-width: 500px;
    /* 控制最大宽度 */
}

#contactForm input,
#contactForm textarea {
    padding: 8px;
    font-size: 16px;
    /* 调整字体大小 */
    border: 2px solid #eee9ff;
    /* 主题色边框 */
    border-radius: 5px;
    /* 圆角边框 */
    background: #fff;
    /* 轻微透明背景 */
    outline-color: #ff7043;
}

#contactForm button {
    padding: 10px 15px;
    font-size: 18px;
    color: white;
    background-color: #5c6bc0;
    /* 使用主题色 */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /* 指针样式表明可点击 */
    transition: background-color 0.3s;
    /* 平滑背景色变化 */
}

#contactForm button:hover {
    background-color: #ff7043;
    /* 鼠标悬停时变化颜色 */
}