/* about.css: 针对 "Über uns" 页面的特定样式 */

/* 全局字体设置 */
body {
    font-family: "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
    background: url('images/background.jpg'); /* 替换为实际路径 */
    background-size: cover; /* 背景图片填充整个页面 */
    background-repeat: no-repeat; /* 不重复显示背景图片 */
    margin: 0;
    overflow-y: auto; /* 允许垂直滚动 */
}

/* 导航栏 */
.tabs {
    display: flex;
    justify-content: center; /* 水平居中 */
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: #f1f1f1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tab {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 25px;
    background: #e6e6e6;
    transition: background 0.3s ease, color 0.3s ease;
}

.tab:hover {
    background: #388e3c;
    color: #fff;
}

.tab.active {
    background: #ff7b7b;
    color: #fff;
}

/* 主容器样式 */
.about-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9); /* 半透明背景 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    text-align: center;
}

/* 标题 */
.about-header h1 {
    font-size: 2.2em;
    color: #d46a6a;
    margin-bottom: 20px;
}

/* 图片 */
.profile {
    display: block;
    margin: 20px auto; /* 保持图片水平居中 */
    max-width: 50%; /* 调整图片最大宽度为容器宽度的 50% */
    border-radius: 10px; /* 添加轻微圆角（可选） */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 添加阴影（可选） */
}

/* 内容部分 */
.about-content {
    text-align: left;
    font-size: 1.1em;
    line-height: 1.8;
    margin-top: 20px;
    color: #555;
}

.about-content p {
    margin-bottom: 15px;
}

/* 页脚 */
.about-footer {
    text-align: center;
    margin-top: 30px;
}

.about-footer h3 {
    font-size: 1.5em;
    color: #388e3c;
    margin-bottom: 10px;
}

.about-footer p {
    font-size: 1.2em;
    color: #777;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .about-container {
        padding: 15px;
    }

    .about-header h1 {
        font-size: 1.8em;
    }

    .profile {
        max-width: 100%;
    }

    .about-content {
        font-size: 1em;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .tab {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}
