@import url('./variables.css');

/* 基础重置 */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

a {
    outline: none;
    text-decoration: none !important;
    color: initial;
    transition: all .3s;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:focus,
a:hover {
    color: var(--color-primary);
    transition: none
}

li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

em,
i {
    font-style: normal;
}

video {
    max-width: 100%;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    -webkit-appearance: none;
}

a,
button,
input,
optgroup,
select,
textarea {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: rgb(9, 48, 145, 0.85);
    color: #FFF;
    transform: translateY(-1px);
}

.bg-primary {
    background-color: var(--color-primary) !important;
    color: #FFF;
}

.bg-primary:hover {
    background-color: rgba(0, 102, 255, 0.5) !important;
    color: #FFF;
}

.text-primary,
a.text-primary:link,
a.text-primary:visited,
.button.border-primary,
.button.bg-primary-light,
blockquote.border-primary strong,
.pager.border-primary a,
.pager-prev.border-primary,
.pager-next.border-primary,
.badge.bg-primary-light,
.alert-primary,
.check-warning {
    color: var(--color-primary)
}

.g-cf:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.wow {
    visibility: hidden;
}

/* 动画 */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animated.infinite {
    animation-iteration-count: infinite;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}


/* 布局容器 */
.g-wrap {
    margin: 0 auto;
    max-width: 1400px;
}

.g-wrap2 {
    max-width: 1600px;
}

.main-wrap {
    padding-top: 90px;
}

/* 响应式断点 */
@media only screen and (min-width: 1920px) {
    html {
        font-size: 19.2px !important;
    }

    .g-wrap {
        width: calc(1920px - 140px);
        margin: 0 auto !important;
    }
}

@media only screen and (max-width: 1650px) {
    html {
        font-size: 18px;
    }

    .g-wrap {
        width: 1440px;
    }

    .sec-category .mod-box .col-l {
        width: 1075px;
    }

    .sec-category .mod-box .col-r {
        width: calc(100% - 1090px);
    }
}

@media only screen and (max-width: 1500px) {
    html {
        font-size: 16px;
    }

    .g-wrap {
        width: 1240px;
    }
}

@media only screen and (max-width: 1400px) {
    html {
        font-size: 15px;
    }

    .g-wrap {
        width: 1140px;
    }

    .sec-category .mod-box h3 a {
        background-size: 28px auto !important;
    }

    .sec-hd .btn-link span {
        background-size: 5px auto !important;
    }
}

@media only screen and (max-width: 1300px) {
    html {
        font-size: 1vw;
    }

    .g-wrap {
        width: auto;
        margin: 0 57.6px;
    }
}

/* 字体定义 */
@font-face {
    font-family: 'Conv_DINCondensedC';
    src: url('../fonts/DINCondensedC.eot');
    src: local('☺'), url('../font/DINCondensedC.woff') format('woff'), url('../font/DINCondensedC.ttf') format('truetype'), url('../font/DINCondensedC.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

::selection {
    color: #fff;
    background: var(--color-primary);
}


.container-layout {
    max-width: 1500px;
}

.line-large {
    margin-left: -15px;
    margin-right: -15px
}

.line-large .x1,
.line-large .x2,
.line-large .x3,
.line-large .x4,
.line-large .x5,
.line-large .x6,
.line-large .x7,
.line-large .x8,
.line-large .x9,
.line-large .x10,
.line-large .x11,
.line-large .x12,
.line-large .xl1,
.line-large .xl2,
.line-large .xl3,
.line-large .xl4,
.line-large .xl5,
.line-large .xl6,
.line-large .xl7,
.line-large .xl8,
.line-large .xl9,
.line-large .xl10,
.line-large .xl11,
.line-large .xl12,
.line-large .xs1,
.line-large .xs2,
.line-large .xs3,
.line-large .xs4,
.line-large .xs5,
.line-large .xs6,
.line-large .xs7,
.line-large .xs8,
.line-large .xs9,
.line-large .xs10,
.line-large .xs11,
.line-large .xs12,
.line-large .xm1,
.line-large .xm2,
.line-large .xm3,
.line-large .xm4,
.line-large .xm5,
.line-large .xm6,
.line-large .xm7,
.line-large .xm8,
.line-large .xm9,
.line-large .xm10,
.line-large .xm11,
.line-large .xm12,
.line-large .xb1,
.line-large .xb2,
.line-large .xb3,
.line-large .xb4,
.line-large .xb5,
.line-large .xb6,
.line-large .xb7,
.line-large .xb8,
.line-large .xb9,
.line-large .xb10,
.line-large .xb11,
.line-large .xb12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px
}

/* 间距工具类 */
.blank {
    height: 10px;
    line-height: 10px;
    clear: both;
    font-size: 0
}

.blank-small {
    height: 20px;
    line-height: 20px;
    clear: both;
    font-size: 0
}

.blank-middle {
    height: 30px;
    line-height: 30px;
    clear: both;
    font-size: 0
}

.blank-big {
    height: 50px;
    line-height: 50px;
    clear: both;
    font-size: 0
}

.blank-large {
    height: 80px;
    line-height: 80px;
    clear: both;
    font-size: 0
}

/* 辅助属性 */
.mb5 {
    margin-bottom: 5px;
}

.bg-gray {
    background: #F7F7F7
}

.Conv_DINCondensedC {
    font-family: "Conv_DINCondensedC";
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 辅助类 */
.text-blue {
    color: #0066ff !important;
}

.bg-pure-white {
    background-color: #ffffff !important;
}

.bg-light-gray {
    background-color: #f9f9f9 !important;
}


/* 背景渐变光晕 start */
.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    border-radius: 100%;
    filter: blur(100px);
    -webkit-filter: blur(100px);
    will-change: transform;
    opacity: 1;
    transform: translateZ(0);
}

.bg-blob-1 {
    width: 600px;
    height: 500px;
    background-color: rgba(37, 125, 255, 0.2);
    bottom: -150px;
    left: -200px;
}

.bg-blob-2 {
    width: 450px;
    height: 400px;
    background-color: rgba(37, 188, 255, 0.15);
    top: 30px;
    right: -80px;
}
/* 背景渐变光晕 end */
