/**
 * Reset some basic elements
 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
hr,
dl,
dd,
ol,
ul,
figure {
    margin: 0;
    padding: 0;
}

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

@media only screen and (min-width: 375px) {
    html {
        font-size: 10px;
    }
}

@media only screen and (min-width: 414px) {
    html {
        font-size: 12px;
    }
}

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

@media only screen and (min-width: 700px) {
    html {
        font-size: 20px;
    }
}

/**
    * Basic styling
    */
body {
    font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #111;
    background-color: rgb(1, 3, 20);
    -webkit-text-size-adjust: 100%;
    -webkit-font-feature-settings: "kern" 1;
    -moz-font-feature-settings: "kern" 1;
    -o-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
    display: flex;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    overflow-x: hidden;
}

/**
    * Set `margin-bottom` to maintain vertical rhythm
    */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
ul,
ol,
dl,
figure,
.highlight {
    margin-bottom: 15px;
}

/**
    * `main` element
    */
main {
    display: block;
    /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
    * Images
    */
img {
    max-width: 100%;
    vertical-align: middle;
}

/**
    * Figures
    */
figure>img {
    display: block;
}

/* figcaption {
     font-size: 14px;
   } */

/**
    * Lists
    */
ul,
ol {
    margin-left: .3rem;
}

li>ul,
li>ol {
    margin-bottom: 0;
}

/**
    * Headings
    */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

/**
    * Links
    */
a {
    color: #2a7ae2;
    text-decoration: none;
}



/* 头部整体样式 */
.header {
    width: 100%;
    height: 6rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #232027;
}

.hdImgBox {
    margin-left: 0.649rem;
    width: 11rem;
    height: 2.75rem;
    margin-top: 2.25rem;
}

.hdLinks {
    margin-top: 3.25rem;
    margin-right: 1.2rem;
    width: 1.8rem;
    height: 1.45rem;
    position: relative;
}

.tabItem {
    position: absolute;
    background-color: rgb(6, 42, 97);
    left: -6.1rem;
    top: 2.7rem;
    border-radius: 1rem;
    display: none;
}

.tabItem::after {
    content: '';
    /* 伪元素内容为空 */
    position: absolute;
    /* 绝对定位 */
    top: -0.55rem;
    /* 与正方形的顶部对齐 */
    right: 0.55rem;
    /* 与正方形的右侧对齐 */
    border-left: 0.55rem solid transparent;
    /* 左边的透明边框 */
    border-right: 0.55rem solid transparent;
    /* 右边的透明边框 */
    border-bottom: 0.55rem solid rgb(6, 42, 97);
    /* 底部的白色边框，形成三角形 */
    width: 0;
    /* 宽度为0 */
    height: 0;
    /* 高度为0 */
}

.tabItem .tab {
    width: 7.65rem;
    height: 3.9rem;
    line-height: 3.9rem;
    cursor: pointer;
    color: #D8D8D8;
    font-size: 1.4rem;
    position: relative;
    text-align: center;
}

.line {
    width: 80%;
    height: 0.1rem;
    background-image: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .5) 25%,
            rgba(255, 255, 255, .5) 75%,
            rgba(255, 255, 255, 0) 100%);
    /* 为了显示在容器背景之上，需要设置透明边框 */
    margin-left: 10%;
}
.dot {
    height: 0.4rem;
    width: 0.4rem;
    background: #00F7FF;
    border-radius: 50%;
    position: absolute;
    left: 1.5rem;
    top: calc(50% - 0.2rem)
}

/* 页面背景 */
.tops {
    width: 100%;
    background-image: url("/assets/images/blog-mobile.png");
    background-size: 100% 16.6rem;
    background-repeat: no-repeat;
    background-position: 100% 0%;
}


/* 博客列表样式 */
.banner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-container {
    width: 100%;
}


/* blog下样式 */
.blogTitle {
    margin-top: 3.65rem;
    font-family: 苹方-简;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 4.95rem;
    text-align: center;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.blogContent {
    width: 100%;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
}

section {
    margin-bottom: 4rem;
    padding: 0 1.5rem;
}

h2 {
    font-family: 苹方-简;
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 2.3rem;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.blogUl {
    width: 100%;
}

.blogLi {
    width: calc(100% - 3rem);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.blogTime {
    font-family: 苹方-简;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2.4rem;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
}

.blogbom {
    margin-top: 0.5rem;
    width: 1.5rem;
    height: .1rem;
    border-radius: .05rem;
    background: #1937FF;
}

.blogText {
    margin-top: 1rem;
    font-family: 苹方-简;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.8rem;
    letter-spacing: 0px;
    color: #FFFFFF;
    width: 100%;
    max-height: 3.6rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* 用于限制容器的最大高度，应为line-height的整数倍，这里设置为2行 */
    text-overflow: ellipsis;
    overflow: hidden;
}

.blogBut {
    width: 100%;
    display: flex;
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.8rem;
    letter-spacing: 0px;
    color: #7F818C;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-bottom: 1rem;
}

.blogUrl {
    display: block;
    width: 13.15rem;
    height: 3.6rem;
    border-radius: 1.8rem;
    opacity: 1;
    background: rgba(255, 255, 255, 0);
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1973);
    line-height: 3.6rem;
    text-align: center;
    color: #7F818C;
}

.blogUrl:hover {
    color: #00F7FF;
    background-clip: padding-box;
    /* 背景只绘制到内边距 */
    border: solid 1px transparent;
    background: linear-gradient(270deg, rgba(0, 247, 255, 0.1) 0%, rgba(25, 55, 255, 0.1) 100%);
    /* 设置透明边框 */
    box-shadow: inset 0 0 0 1px rgba(0, 247, 255, 0.4971), inset 0 0 0 1px #1937FF;
    /* inset 阴影模拟边框 */
}