﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

h1 {
    font-size: 5rem;  /* 原来2.5rem增加到5rem */
    margin-bottom: 60px;  /* 增加底部间距 */
    color: #4CAF50;
    font-weight: bold;
}

.qr-code-section {
    display: flex;
    justify-content: center;
    gap: 60px;  /* 增加间距 */
    flex-wrap: wrap;
}

.qr-code {
    background-color: white;
    padding: 40px;  /* 增加内边距 */
    border-radius: 20px;  /* 圆角增大 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;  /* 增加宽度 */
    height: 400px; /* 给二维码区域一个固定高度 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.qr-img {
    width: 100%;  /* 图片宽度为容器宽度 */
    height: 100%;  /* 图片高度为容器高度 */
    object-fit: contain;  /* 保持图片比例，避免超出框架 */
    margin-bottom: 20px;  /* 增加底部间距 */
}

.qr-text {
    font-size: 2.4rem;  /* 增加字体大小 */
    color: #555;
    font-weight: bold;
}

@media (max-width: 768px) {
    .qr-code-section {
        flex-direction: column;
    }

    .qr-code {
        width: 100%;
        margin-bottom: 40px;  /* 增加间距 */
        height: auto;  /* 高度自适应 */
    }

    .qr-img {
        width: 250px;  /* 调整二维码大小 */
        height: 250px;  /* 调整二维码大小 */
    }

    h1 {
        font-size: 4rem;  /* 调整标题大小 */
    }

    .qr-text {
        font-size: 2rem;  /* 调整字体大小 */
    }
}
