/* 共用 */
:root {
   --block-padding: 40px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* 加载本地字体 */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf');
}
/* 可变字体 默认400 */

body {
    font-family: 'Montserrat', sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 16px;
    background-color: #000;
    color: #fff;

    width: 100%;
    height: 100%;
  
    background: #000000;
    --gap: 5em;
    --line: 1px;
    --color: rgba(255, 255, 255, 0.1);
  
    background-image: linear-gradient(
        -90deg,
        transparent calc(var(--gap) - var(--line)),
        var(--color) calc(var(--gap) - var(--line) + 1px),
        var(--color) var(--gap)
      ),
      linear-gradient(
        0deg,
        transparent calc(var(--gap) - var(--line)),
        var(--color) calc(var(--gap) - var(--line) + 1px),
        var(--color) var(--gap)
      );
    background-size: var(--gap) var(--gap);
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}
a {
    text-decoration: none;
    color: #fff;
}
.text-box {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.text-box span:nth-child(1) {
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.8rem;
    white-space: pre-line;
    padding-inline: 10px;
    font-variation-settings: 'wght' 700;
    text-align: center;
    text-shadow: 0px 2.481px 2.481px rgba(0, 0, 0, 0.25);
    background: var(--text-gridient-color, linear-gradient(to top, #FFF 90%, rgba(255, 255, 255, 0.30) 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* 电脑端 */
@media (min-width: 768px) {
    .text-box span:nth-child(1) {
        white-space: nowrap;

    }
}
.text-box span:nth-child(2) {
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-variation-settings: 'wght' 600;
    text-align: center;
    text-shadow: 0px 2.481px 2.481px rgba(0, 0, 0, 0.25);
}

.common-paragraph {
    font-size: 1rem;
    font-variation-settings: 'wght' 400;
    line-height: 1.5;
    opacity: .8;
    
    strong{
        font-variation-settings: 'wght' 600;
    }
}

section {
    width: 100%;
    height: 700px;
    padding-block: var(--block-padding);
    padding-inline: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


section .text-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    padding-block: 20px;
}

section .text-box>span:first-of-type {
    font-size: 1.4rem;
    font-variation-settings: 'wght' 700;
    text-align: center;
    color: #AC101E;
    text-shadow:none;
    background: none;
    background-clip: none;
    -webkit-background-clip: none;
    -webkit-text-fill-color: initial;
}

section .text-box>span:nth-of-type(2) {
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-variation-settings: 'wght' 600;
    text-align: center;
    background: none;
    background-clip: none;
    -webkit-background-clip: none;
    -webkit-text-fill-color: initial;
}
section .text-box>p {
    font-size: 1rem;
    font-variation-settings: 'wght' 400;
    line-height: 1.5;
    opacity: .8;
}