/* 头部 - 通用 */
.ax-header {
    display: flex;
    justify-content: center;
}

.ax-header .kx-pc-header {
    width: 1024px;
    display: flex;
    justify-content: space-between;
}

/* 导航菜单 - 通用 */
.ax-nav .ax-grade:hover .ax-outer {
    left: -50%;
    animation: fadeInDown 0.5s ease forwards;
}

/* 主内容区域 - 通用 */
.kx-main {
    display: flex;
    justify-content: center;
    margin: 1rem auto;
}

.kx-content {
    min-width: 1024px;
    display: flex;
    justify-content: center;
}

.kx-box {
    max-width: 720px;
    min-width: 360px;
}

.kx-aside {
    width: 320px;
    padding: 0 12px;
}

.kx-aside> :not(:first-child) {
    margin: 10px auto;
}

.kx-aside .ax-panel-body {
    padding: 1rem;
}

.kx-article {
    max-width: 1024px;
    min-width: 360px;
}

@media screen and (max-width: 1024px) {
    .ax-header {
        display: block;
    }

    .ax-header .kx-pc-header {
        width: 100%;
    }

    .kx-main {
        margin: -1px auto;
    }

    .kx-content {
        width: 100%;
        min-width: 320px;
    }

    .kx-box {
        width: 100%;
    }

    .kx-aside {
        display: none;
    }
}

/* 首页轮播图 */
.ax-swiper {
    height: 280px;
}

.ax-slide {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
}

.kx-caption {
    color: #fff;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    width: 100%;
    line-height: 1.8rem;
    text-align: center;
    box-sizing: border-box;
    padding: 0.8rem;
    transition: all 200ms linear;
    position: absolute;
    left: 0;
    bottom: 0;
}

/* 首页文章列表 */
.ax-margin {
    margin-left: 0;
    margin-right: 0;
}

.ax-graphic {
    padding-left: 5px;
    padding-right: 5px;
}

/* 页面底部 */
.ax-footer {
    text-align: center;
    padding: 5px;
}

/* logo字体 */
.ax-header .ax-logo {
    display: flex;
    align-items: flex-end;
}

.ax-header .ax-logo:hover {
    animation-duration: 300ms;
    animation-name: shake;
}

@font-face {
    font-family: 'KaiXinFonts';
    src: url('/static/fonts/KaiXinFonts.eot');
    src: url('/static/fonts/KaiXinFonts.eot?#iefix') format('embedded-opentype'),
        url('/static/fonts/KaiXinFonts.woff2') format('woff2'),
        url('/static/fonts/KaiXinFonts.woff') format('woff'),
        url('/static/fonts/KaiXinFonts.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.ax-header .kx-logo-text {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 5px #80bfff;
    font-family: KaiXinFonts;
}

/* 友链 */
.kx-links-cate {
    cursor: pointer;
}

.kx-links-li {
    height:100px;
}

.kx-links-li-a {
    height: 100%;
}

/* 搜索 */
.kx-article .ax-margin {
    margin: auto;
}
.kx-article .ax-breadcrumb {
    padding: 5px;
}