body {
    background-color: rgb(243, 243, 243);
    font-weight: 700;
    margin: 0; /* 建议添加，消除默认边距 */
    padding: 0; /* 建议添加，消除默认内边距 */
}

div {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin: 0 auto;
    line-height: 5;
}

div a {
    text-decoration: none;
    color: #000;
}

p {
    text-align: center;
    margin: 0; /* 重置p标签默认margin，避免间距过大 */
}

p a {
    text-decoration: none;
    color: #000;
    font-size: 20px;
}

p .AA {
    text-decoration: none;
    color: #ff0000;
    font-size: 20px;
}

.ccc {
    color: #0570fd;
    font-size: 20px;
}

.img-container {
    width: 300px;
    overflow: hidden;
    position: relative;
    margin: 0 auto; /* 确保图片容器居中 */
}

.img-container img {
    width: 100%;
    transition: transform 0.3s ease;
    display: block; /* 消除图片底部默认间隙 */
}

.img-container img:hover {
    transform: scale(1.2);
}

/* 修正选择器，原代码 p :hover 会选中p内部所有元素的悬停状态 */
p a:hover {
    color: #f7ad0d;
}

.hover-effect:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.fangwen {
    width: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fangwen svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.fangwen p {
    font-size: 16px;
}

.fangwen .fangwen-box {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    background-color: #333333;
    padding: 0;
    border-radius: 5px;
    line-height: 0;
    display: none;
}

.fangwen .fangwen-box span {
    font-size: 12px;
    color: #ffffff;
    display: inline-block;
    padding: 10px 0;
}

.fangwen:hover .fangwen-box {
    display: block;
}

.url {
    text-decoration: none;
    color: blue;
    background-color: transparent;
    border: none;
    outline: none;
}

a img {
    vertical-align: middle;
}

/* 响应式字体大小调整将由JS动态控制，此处可保留基础样式 */
#content {
    font-size: 30px;
}