@font-face {
    font-family: 'zh-han';
    src: url(../fonts/zh-han/NQvTGzoVcC9g.woff);
}

@font-face {
    font-family: 'en';
    src: url(../fonts/en/ZS6UZmIFWgHo.woff) format('woff');
}

* {
    background-color: white;
    font-family: 'zh-han', 'en';
}

.container {
    /* margin: 200px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

.container-context {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container-context text {
    margin-right: 10px;
}

.container-paragraph {
    color: #666;
    font-size: 13px;
    font-style: italic;
}

.author {
    text-align: right;
}

.follow-me-on {
    font-size: 12px;
    margin-top: 50px;
    font-style: italic;
    color: #666;
}

.container-foot {
    font-size: 15px;
    font-style: italic;
}

/* 图片弹窗样式 */
.image-popup {
    position: absolute;
    display: none;
    z-index: 1000;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: calc(100% / 1.5); /* 宽度为原图的1.5 */
    height: auto; /* 保持宽高比 */
}

.image-popup img {
    width: calc(100% / 1.5); /* 宽度为原图的1.5 */
    height: auto; /* 保持宽高比 */
}

.page-foot {
    text-align: center;
    margin-top: 300px;
    font-size: 14px;
    color: #666;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .container-paragraph {
        padding: 0 1rem;
    }

    .typing-effect {
        font-size: 0.9em;
    }
}

.container-paragraph {
    font-family: 'Courier New', monospace;
    max-width: 600px;
    margin: 2rem auto;
}

/* 基础打字效果 */
.typing-effect {
    overflow: hidden;
    white-space: pre-wrap; /* 修改为支持换行 */
    word-wrap: break-word; /* 支持长单词换行 */
    margin: 0;
}

/* 文字可以点击 */
.clickable, .social-link, .social-image {
    cursor: pointer;
}

.social-link:hover, .social-image:hover {
    text-decoration: underline;
}