body {
    font-family: Arial, sans-serif ALKATIP Basma Tom;
    background-size: cover;
    background-position: center;
    color: #000;
}

/* 大标题样式 */
h1 {
    font-family: ALKATIP Basma Tom; /*Shirkhan Egme*/
    text-align: center;
    font-size: 48px; /* 增大字体 */
    color: #000;
    margin-bottom: 30px; /* 增加间距 */
}

/* 随意一言样式 */
#random-sentence {
    text-align: center;
    font-size: 18px; 
}

.container {
    width: 75%; /* 增大宽度 */
    margin: 0 auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 80%);
    padding: 30px; /* 增加内边距 */
    border-radius: 15px; /* 增大圆角 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* 增大阴影 */
}

.icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px; /* 增加间距 */
    align-items: stretch;
}

.icons div {
    margin: 1%; /* 增加间距 */
}

.icons img {
    width: 60px; /* 增大图标 */
    height: 60px; /* 增大图标 */
    cursor: pointer;
}

.icons p {
    cursor: pointer;
    margin: 5% 0%; /* 增加间距 */
    font-size: 15px; /* 增大字体 */
    text-align: center; /* 文本水平居中 */
}

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 30px; /* 增加间距 */
}

.images img {
    width: 200px; /* 增大图片 */
    height: 100px; /* 增大图片 */
    margin: 15px; /* 增加间距 */
    border-radius: 15px; /* 增大圆角 */
    cursor: pointer;
}

.images p {
    cursor: pointer;
    margin: 10px; /* 增加间距 */
    font-size: 16px; /* 增大字体 */
}

.text-links01 {
    margin-top: 60px; /* 增加间距 */
}

.text-links01 a {
    margin: 0 30px; /* 增加间距 */
    text-decoration: none;
    color: #f34341;
    font-size: 32px; /* 增大字体 */
}

.text-links {
    margin-top: 60px; /* 增加间距 */
    direction: rtl; /* 从右到左显示 */
}

.text-links a {
    margin: 0 10px; /* 增加间距 */
    text-decoration: none;
    color: inherit;
    font-size: 20px; /* 增大字体 */
    display: inline-block; /* 将链接设置为块级元素 */
    padding: 10px; /* 添加内边距 */
    border: 1px solid #ccc; /* 默认边框颜色 */
    background-color: #f9f9f9; /* 默认背景颜色 */
    transition: all 0.3s ease; /* 添加过渡效果 */
    border-radius: 8px;
}

.text-links a:hover {
    color: #fff; /* 鼠标悬停时文字颜色变为白色 */
    background-color: #777; /* 鼠标悬停时背景颜色变为黑色 */
    border-color: #777; /* 鼠标悬停时边框颜色变为黑色 */
}

.nav-links {
    margin-top: 60px; /* 增加间距 */
    /*text-align: right;*/
    direction: rtl; /* 从右到左显示 */
}

.nav-links a {
    /*margin: 0 15px; */
    text-decoration: none;
    color: inherit;
    font-size: 17px; /* 增大字体 */
    display: inline-block; /* 将链接设置为块级元素 */
    padding: 10px; /* 添加内边距 */
    border: 1px solid #ccc; /* 默认边框颜色 */
    background-color: #f9f9f9; /* 默认背景颜色 */
    transition: all 0.3s ease; /* 添加过渡效果 */
    border-radius: 8px;
}

.nav-links a:hover {
    color: #fff; /* 鼠标悬停时文字颜色变为白色 */
    background-color: #777; /* 鼠标悬停时背景颜色变为黑色 */
    border-color: #777; /* 鼠标悬停时边框颜色变为黑色 */
}

/* 优化后的 info-bar 部分 */
.info-bar {
    margin-top: 50px;
    padding: 25px;
    background-color: rgba(247, 247, 247, 0.65); /* 使用 rgba 提高背景透明度 */
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.info-bar h2 {
    margin-bottom: 25px;
    font-size: 30px;
    text-align: center;
    color: #333;
}

.info-bar .image-links {
    display: flex;
    align-content: space-around;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 20px; /* 使用 gap 替代 margin 来控制间距 */
}

/* 图片容器样式 */
.info-bar .image-links > div {
    flex: 1 1 calc(10% - 20px); /* 使用 flex 属性简化宽度计算 */
    max-width: calc(10% - 20px); /* 限制最大宽度 */
    text-align: center;
    transition: transform 0.3s ease;
}

.info-bar .image-links > div:hover {
    transform: scale(1.05);
}

/* 图片样式 */
.info-bar .image-links img {
    width: auto; /* 图片宽度填满容器 */
    height: auto; /* 保持图片比例 */
    max-height: 50px; /* 限制图片最大高度 */
    border-radius: 5px;
    cursor: pointer;
}

/* 文字样式 */
.info-bar .image-links p {
    flex-direction: row;
    cursor: pointer;
    margin-top: 10px;
    font-size: 15px;
    color: #413c3c;
    font-weight: 500;
}
/* 语言切换按钮样式 */
.language-switcher {
    position: absolute;
    top: 30px; /* 增加间距 */
    right: 30px; /* 增加间距 */
    font-family: ALKATIP Basma Tom;
}

.language-switcher button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 13px 25px; /* 增大按钮 */
    border-radius: 8px; /* 增大圆角 */
    cursor: pointer;
    font-size: 20px; /* 增大字体 */
    font-family: ALKATIP Basma Tom;
}

.language-switcher button:hover {
    background-color: #555;
}

.main-content {
    padding: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 5px;
}

footer {
    background-color: #a9a9a9d4;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}