/* =========================
   全局基础设置
========================= */
body {
    background: #000;
    margin: 0;
    padding: 0;

/*    font-size: 14px;
    line-height: 1.2;
    font-family: "Microsoft Yahei", "Tahoma", "SimHei", sans-serif;
*/
}

/* =========================
   主容器（绝对居中）
========================= */
#container {
    width: 800px;
    height: 500px;
    background: url(bg.jpg) no-repeat center top;

    position: fixed;          /* 永远相对视口 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* =========================
   Photo 按钮
========================= */
#photo {
    position: absolute;
    top: 193px;
    left: 257px;

    width: 195px;
    height: 106px;

    display: block;
    background: url(photo.jpg) no-repeat top left;

    text-indent: -999em;
    overflow: hidden;
}

#photo::after {
    content: "";
    position: absolute;
    inset: 0;

    background: url(photo.jpg) no-repeat bottom left;

    opacity: 0;
    transition: opacity 0.3s ease;
}

#photo:hover::after {
    opacity: 1;
}

/* =========================
   Blog 按钮
========================= */
#blog {
    position: absolute;
    top: 188px;
    right: 135px;

    width: 195px;
    height: 106px;

    display: block;
    background: url(blog.jpg) no-repeat top left;

    text-indent: -999em;
    overflow: hidden;
}

#blog::after {
    content: "";
    position: absolute;
    inset: 0;

    background: url(blog.jpg) no-repeat bottom left;

    opacity: 0;
    transition: opacity 0.3s ease;
}

#blog:hover::after {
    opacity: 1;
}

/* =========================
   底部文字区域
========================= */
#text {
    position: absolute;
    top: 415px;
    left: 158px;
    width: 484px;

    font-size: 12px;
    line-height: 1.2;
    color: #145678;
/*
    font-family: "Microsoft Yahei" , "sans-serif";
*/
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "sans-serif";

    display: flex;
    flex-direction: column;
/*    gap: 4px;           控制两行间距 */
}

/* 清除 p 默认 margin */
#text p {
    margin: 0;
}