/* styles.css */
body {
    font-family: Arial, sans-serif; /* 设置全局字体 */
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* 使用浅灰色作为背景色 */
    color: #333; /* 设置文字颜色为深灰色 */
    animation: backgroundEffect 20s infinite alternate; /* 添加背景特效动画 */
}

@keyframes backgroundEffect {
    0% {
        background-color: #f5f5f5;
    }
    50% {
        background-color: #bdbdbd; /* 中灰色 */
    }
    100% {
        background-color: #f5f5f5;
    }
}

.header {
    background-color: #757575; /* 高级灰色 */
    color: white;
    text-align: center;
    padding: 10px 0;
}
.header {
    display: flex;
    align-items: center;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    margin-left: 10px;
}

.content {
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #bdbdbd; /* 中灰色 */
    padding: 20px;
    border-radius: 10px;
    /* 13 */
}
   



.box:active {
    transform: translateY(-2px); /* 点击时向下移动2像素 */
}
      .box:hover {
        color: #fff;
      }
   



.box {
    width: 150px;
    height: 70px;
    background-color: #a1887f; /* 咖啡色 */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* 添加阴影效果 */
    margin: 10px;
    border-radius: 5px;
    text-align: center;
    line-height: 70px;
    color: #fff; /* 设置文字颜色为白色 */
    transition: color 0.3s, box-shadow 0.3s; /* 添加过渡效果 */
}

button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #795548; /* 深咖啡色 */
    color: rgb(36, 30, 30);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}





a {
    text-decoration: underline;
    color: rgb(65, 65, 99); /* 设置链接颜色 */
    cursor: pointer; /* 鼠标移上去变成手型 */
}
a.box {
    text-decoration: none; /* 去掉下划线 */
    color: #3b3a3a; /* 设置文字颜色为淡灰色 */
}