/* 仅在小屏幕设备（如手机）上应用以下样式 */
@media only screen and (max-width: 767px) {
    /* 全局样式 */
    body {
        font-family:  ALKATIP Basma Tom;
        background-size: cover;
        background-position: center;
        color: #000;
        margin: 0;
        padding: 0;
    }

    /* 大标题样式 */
    h1 {
        font-family: Shirkhan Egme;
        text-align: center;
        font-size: 16px;
        color: #000;
        margin-top: 30px; /* 添加与上方元素的间距 */
        margin-bottom: 20px;
    }

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

    /* 容器样式 */
    .container {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    /* 图标区域样式 */
    .icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        margin-top: 20px;
        align-items: stretch;
    }

    .icons div {
        margin: 1%;
    }

    .icons img {
        width: 40px;
        height: 40px;
        cursor: pointer;
    }

    .icons p {
        cursor: pointer;
        margin: 5% 0;
        font-size: 10px;
        text-align: center;
    }

    /* 图片区域样式 */
    .images {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }

    .images img {
        width: 120px;
        height: 55px;
        margin: 5px;
        border-radius: 10px;
        cursor: pointer;
    }

    .images p {
        cursor: pointer;
        margin: 10px;
        font-size: 12px;
    }

    /* 普通文本链接样式 */
    .text-links {
        margin-top: 30px;
    }

    .text-links a {
        margin: 0 -1px;
        text-decoration: none;
        color: inherit;
        font-size: 8px;
    }

    /* 特殊文本链接样式 */
    .text-links01 {
        margin-top: 30px;
    }

    .text-links01 a {
        margin: 0 15px;
        text-decoration: none;
        color: #f34341;
        font-size: 13px;
    }

    /* 导航链接样式 */
    .nav-links {
        margin-top: 30px;
        text-align: center;
    }

    .nav-links a {
        margin: 0 7px;
        text-decoration: none;
        color: inherit;
        font-size: 8px;
    }

    /* 信息栏样式 */
    .info-bar {
        margin-top: 30px;
        padding: 20px;
        background-color: rgba(247, 247, 247, 0.65);
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

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

    .info-bar .image-links {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        margin-top: 15px;
        /*gap: 15px;*/
    }

    .info-bar .image-links > div {
        flex: 1 1 calc(20% - 15px);
        max-width: calc(20% - 15px);
        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: 40px;
        border-radius: 5px;
        cursor: pointer;
    }

    .info-bar .image-links p {
        cursor: pointer;
        margin-top: 8px;
        font-size: 12px;
        color: #413c3c;
        font-weight: 500;
    }

    /* 语言切换按钮样式 */
    .language-switcher {
        position: absolute;
        top: 20px;
        right: 20px;
        font-family: ALKATIP Basma Tom;
    }

    .language-switcher button {
        background-color: #ffffff00;
        color: #000000;
        border: none;
        padding: 5px 5px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 8px;
        font-family: ALKATIP Basma Tom;
    }

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

    /* 主内容区域样式 */
    .main-content {
        padding: 15px;
        border-top-left-radius: 15px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 4px;
    }

    /* 页脚样式 */
    footer {
        background-color: #a9a9a9d4;
        text-align: center;
        padding: 8px;
        font-size: 10.5px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
}