/* 1. 引入常规体 */
@font-face {
    font-family: 'SGH'; /* 家族名称统一叫 SGH */
    src: url('fonts/SGH-Light.ttf') format('truetype');
    font-weight: 200; /* 200 代表 Light 粗细 */
    font-style: normal;
}

/* 2. 引入中等体  */
@font-face {
    font-family: 'SGH';
    src: url('fonts/SGH-Medium.ttf') format('truetype');
    font-weight: 400; 
    font-style: normal;
}

/* 3. 引入粗体 */
@font-face {
    font-family: 'SGH';
    src: url('fonts/SGH-Bold.ttf') format('truetype');
    font-weight: 700; /* 700 代表粗体 */
    font-style: normal;
}

body {
    font-family: 'SGH', sans-serif;
    background-color: rgb(255, 240, 240);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contect {
    padding: 30px;
}

p {
    text-indent: 2em;      /* 首行缩进 2 字符 */
    line-height: 1.8;      /* 设置行高，数字越大行距越宽松 */
    margin: 0;             /* 清除段落默认的外边距，让段间距等于行距 */
    font-size: 1.1rem;
}

.red-title {
    color: firebrick;
    text-align: center;
    font-size: 4rem;
    margin: 1rem 0 1rem 0;
}
.c-h3 {
    color: #330000;
    text-align: center;
    font-size: 1.4rem;
    margin: 0 0 3rem 0;
}
.footer {
    background-color: rgb(255, 225, 225);
    color: #330000;
    margin: 2rem 0 0 0;
    padding: 1rem;
    line-height: 0.5;
}
.topmenu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin: 0;
    gap: 1rem;
    padding: 0;
    overflow: hidden;
    background-color: rgb(255, 210, 210);
}
.topmenu li a {
    display: inline-block;
    color: #330000;
    background-color: rgb(255, 210, 210);
    text-align: center;
    padding: 1rem 3rem 1rem 3rem;
    text-decoration: none;
    transition: color 0.5s ease;
}
.topmenu li a:hover {
    color: crimson;
}