:root {
    --main-color: #2c3e50;
    --sub-color: #2c3e50;
    --focus-color: #c7000b;
    --animate-duration: 500ms;
    --animate-delay: 1.5s;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf');
}

@font-face {
    font-family: 'MontserratBold';
    src: url('fonts/Montserrat-Bold.ttf');
}

@font-face {
    font-family: 'AcuminProBold';
    src: url('fonts/Acumin-Pro-Condensed-Bold.otf');
}

@font-face {
    font-family: 'ShuHeiTi';
    src: url('fonts/Alimama_ShuHeiTi_Bold.ttf');
}

@font-face {
    font-family: 'MiSans';
    src: url('fonts/MiSans-Normal.ttf');
}

@font-face {
    font-family: 'MiSansBold';
    src: url('fonts/MiSans-Bold.ttf');
}

@font-face {
    font-family: 'MiSansMedium';
    src: url('fonts/MiSans-Medium.ttf');
}

@font-face {
    font-family: 'MiSansLight';
    src: url('fonts/MiSans-ExtraLight.ttf');
}

/* 移动端 12px / 16rem = 75% */
@media (max-width: 375px) {
    html {
        font-size: 75%;
    }
}

/* 960px / 60rem = 16px */
@media (min-width: 992px) {
    html {
        font-size: 100%;
    }
}

/* 1140px / 60rem = 19px */
@media (min-width: 1200px) {
    html {
        font-size: 118.75%;
    }
}

/* 1320px / 60rem = 22px */
@media (min-width: 1400px) {
    html {
        font-size: 137.5%;
    }
}

body {
    font: 1rem 'MiSans', system-ui, -apple-system, "Microsoft YaHei", "微软雅黑", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    margin-bottom: 1rem;
}

/* 幕帘特效 */
.curtain_effect:before {
    background-color: #f6f6f6;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 0;
    z-index: 2;
    -webkit-transition: left 0.5s cubic-bezier(0.55, 0.055, 0.675, 0.19) 0.5s, width 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: left 0.5s cubic-bezier(0.55, 0.055, 0.675, 0.19) 0.5s, width 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.curtain_effect.is-active--curtain:before {
    left: 100%;
    width: 100%;
}

/* 横线特效 */
.line_effect::after {
    content: "";
    width: 100%;
    height: 5px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #c7000b;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform 2s cubic-bezier(.23,1,.32,1);
    transition: -webkit-transform 2s cubic-bezier(.23,1,.32,1);
    -o-transition: transform 2s cubic-bezier(.23, 1, .32, 1);
    transition: transform 2s cubic-bezier(.23,1,.32,1);
    transition: transform 2s cubic-bezier(.23,1,.32,1), -webkit-transform 2s cubic-bezier(.23,1,.32,1);
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    overflow: hidden;
}

.line_effect.is-active--line:after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

@-webkit-keyframes scaleDown {
    from {
        -webkit-transform: scale(1.2); /* Start scale */
        transform: scale(1.2);
    }
    to {
        -webkit-transform: scale(1); /* End scale */
        transform: scale(1);
    }
}

@-moz-keyframes scaleDown {
    from {
        -moz-transform: scale(1.2); /* Start scale */
        transform: scale(1.2);
    }
    to {
        -moz-transform: scale(1); /* End scale */
        transform: scale(1);
    }
}

@-o-keyframes scaleDown {
    from {
        -o-transform: scale(1.2); /* Start scale */
        transform: scale(1.2);
    }
    to {
        -o-transform: scale(1); /* End scale */
        transform: scale(1);
    }
}

@keyframes scaleDown {
    from {
        -webkit-transform: scale(1.2); /* Start scale */
        -moz-transform: scale(1.2);
        -o-transform: scale(1.2);
        transform: scale(1.2);
    }
    to {
        -webkit-transform: scale(1); /* End scale */
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

.text_effect {
    font-size: 2rem;
    color: orange;
    text-align: center;
    line-height: 2;
    font-family: 'MiSansBold';
    text-transform: uppercase;
    height: 50rem;
    opacity: 1;
    transition: font-size 1s, opacity 1s;
}
