html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}
body,
h3,
h2,
p {
    margin: 0;
}

a {
    color: #3ca5f6;
    background-color: transparent;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

[hidden] {
    display: none;
}

html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
        sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    line-height: 1.5;
}

ol li {
    font-size: 18px;
}

*,
:after,
:before {
    box-sizing: border-box;
    border: 0 solid #e2e8f0;
    word-wrap: break-word;
}

a {
    text-decoration: inherit;
}

article li {
    margin: 6px;
}

video {
    max-width: 100%;
    height: auto;
    display: block;
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-gray-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.border-gray-200 {
    --tw-border-opacity: 1;
    border-color: rgb(229 231 235 / var(--tw-border-opacity));
}

.border-t {
    border-top-width: 1px;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.font-semibold {
    font-weight: 600;
}

.h-5 {
    height: 1.25rem;
}

.h-8 {
    height: 2rem;
}

.h-16 {
    height: 4rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.leading-7 {
    line-height: 1.75rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.ml-1 {
    margin-left: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.ml-12 {
    margin-left: 3rem;
}

.-mt-px {
    margin-top: -1px;
}

.max-w-6xl {
    max-width: 72rem;
}

.min-h-screen {
    min-height: 100vh;
}

.overflow-hidden {
    overflow: hidden;
}

.p-6 {
    padding: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.pt-8 {
    padding-top: 2rem;
}

.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.shadow {
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.text-center {
    text-align: center;
}

.text-gray-200 {
    --tw-text-opacity: 1;
    color: rgb(229 231 235 / var(--tw-text-opacity));
}

.text-gray-300 {
    --tw-text-opacity: 1;
    color: rgb(209 213 219 / var(--tw-text-opacity));
}

.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity));
}

.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity));
}

.text-gray-600 {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity));
}

.text-gray-700 {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity));
}

.text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity));
}

.underline {
    text-decoration: underline;
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.w-5 {
    width: 1.25rem;
}

.w-8 {
    width: 2rem;
}

.w-auto {
    width: auto;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .sm\:rounded-lg {
        border-radius: 0.5rem;
    }

    .sm\:block {
        display: block;
    }

    .sm\:items-center {
        align-items: center;
    }

    .sm\:justify-start {
        justify-content: flex-start;
    }

    .sm\:justify-between {
        justify-content: space-between;
    }

    .sm\:h-20 {
        height: 5rem;
    }

    .sm\:ml-0 {
        margin-left: 0;
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:pt-0 {
        padding-top: 0;
    }

    .sm\:text-left {
        text-align: left;
    }

    .sm\:text-right {
        text-align: right;
    }
}

@media (min-width: 768px) {
    .md\:border-t-0 {
        border-top-width: 0;
    }

    .md\:border-l {
        border-left-width: 1px;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (prefers-color-scheme: dark) {
    .dark\:bg-gray-800 {
        --tw-bg-opacity: 1;
        background-color: rgb(31 41 55 / var(--tw-bg-opacity));
    }

    .dark\:bg-gray-900 {
        --tw-bg-opacity: 1;
        background-color: rgb(17 24 39 / var(--tw-bg-opacity));
    }

    .dark\:border-gray-700 {
        --tw-border-opacity: 1;
        border-color: rgb(55 65 81 / var(--tw-border-opacity));
    }

    .dark\:text-white {
        --tw-text-opacity: 1;
        color: rgb(255 255 255 / var(--tw-text-opacity));
    }

    .dark\:text-gray-400 {
        --tw-text-opacity: 1;
        color: rgb(156 163 175 / var(--tw-text-opacity));
    }

    .dark\:text-gray-500 {
        --tw-text-opacity: 1;
        color: rgb(107 114 128 / var(--tw-text-opacity));
    }
}

pre {
    overflow: auto;
    margin: 10px 0;
}

p {
    line-height: 30px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 8px;
    background-color: #fff;
}

/* 修改滚动条的颜色 */
::-webkit-scrollbar-thumb {
    background-color: #aaa;
}

/* 让滚动条变成半透明 */
::-webkit-scrollbar {
    width: 10px;
    /* background-color: rgba(0, 0, 0, 0.1); */
}

/* 悬浮在滚动条上的按钮 */
::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

/* 滚动条的按钮和背景颜色透明度 */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0);
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1.1em;
}

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

body {
    font-size: 16px;
    color: #333;
}

a:active,
a:hover {
    outline: 0;
}

a,
a:hover {
    transition: all 0.3s ease-out 0s;
    text-decoration: none;
}

.h2 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

blockquote {
    padding: 10px 20px;
    margin: 20px 0;
    border-left: 5px solid #eee;
    font-size: 16px;
    color: #111;
    background: #fbfbfb;
    border: 1px solid #eee;
    border-left: 5px solid #ddd;
}

blockquote p {
    margin-bottom: 0 !important;
}
.header {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid #ccc;
    z-index: 99999;
    background-color: #fff;
}

.center {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.header.scroll {
    position: fixed;
    z-index: 99;
    top: -22px;
    height: 44px;
    transform: translateY(22px);
    transition: transform 0.2s ease-in-out;
}

.header-container {
    height: 60px;
}
.header.scroll .logo img {
    height: 20px;
}

.header .logo img {
    height: 30px;
    transition: transform 0.2s ease-in-out;
}

.header .logo img:hover {
    transform: scale(1.1);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 0 20px;
    line-height: 60px;
    position: relative;
}

nav ul li a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #333;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav ul li a:hover:before {
    transform: scaleX(1);
}

nav ul li:hover > ul {
    display: block;
}

nav ul ul {
    display: none;
    z-index: 99;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #fff;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

nav ul ul li {
    position: relative;
}

nav ul ul li a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 7px 16px;
    padding-right: 8px;
    line-height: 28px;
    position: relative;
}

nav ul ul li a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #333;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav ul ul li a:hover:before {
    transform: scaleX(1);
}

nav ul ul ul {
    display: none;
    position: absolute;
    top: 0;
    left: 200px;
    background-color: #fff;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

nav ul ul ul li a {
    padding: 10px 40px;
}

.header .search {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    margin-right: 16px;
}

.button-group {
    display: flex;
    margin-bottom: 4px;
}

.button-group .button {
    width: 100%;
    margin: 4px;
    background: none;
    border: 2px solid #333;
}

.button-group .button-1 {
    margin: 4px;
}

button {
    border: 1px solid #ccc;
    font-family: initial;
    cursor: pointer;
    transition: all 0.35s;
}

.button {
    padding: 10px;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 8px 0 10px 8px;
    border: 1px solid #ccc;
}

.header input[type="text"] {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 20px;
    margin-right: 10px;
}

.header button[type="submit"] {
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
}

.header.scroll input[type="text"],
.header.scroll button[type="submit"] {
    padding: 6px 12px;
}

.footer {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    background-color: #2d3237;
    color: #778695;
    padding: 20px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    font-size: 15px;
}


footer a {
    cursor: pointer;
    color: #778695;
}

footer a,
a:hover {
    transition: all 0.3s ease-out 0s;
}

.main {
    display: flex;
    position: relative;
    justify-content: space-between;
    width: 1350px;
    margin: auto;
    min-height: 800px;
    overflow: hidden;
}

.content {
    float: left;
    width: 1030px;
    min-height: 800px;
    padding: 0 10px 10px 10px;
    animation: fade 2s linear infinite;
}

.aside {
    float: right;
    position: relative;
    width: 310px;
    min-height: 800px;
    padding: 0 0 10px 0;
    margin-left: 10px;
}

.aside-box {
    width: inherit;
    min-height: 800px;
    top: 46px;
}

/* .aside-box.fixed {
    position: fixed;
    top: 46px;
} */

.aside-2 {
    margin-top: 30px;
}

code:not([class]) {
    margin: 0;
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    font-family: var(--code-font-family);
    font-size: 0.85em;
    color: #45739f;
    background-color: rgb(27 27 35 / 5%);
}

/* code 高亮 */

.code-label {
    background-color: #eee;
    font-size: 14px;
    padding: 6px;
    margin: 0 6px;
    border-radius: 6px;
    font-family: auto;
}

pre code.hljs {
    display: block;
    overflow-x: auto;
    border-radius: 4px;
}

.hljs {
    color: #abb2bf;
    background: #282c34;
}

.hljs-comment,
.hljs-quote {
    color: #5c6370;
    font-style: italic;
}

.hljs-doctag,
.hljs-formula,
.hljs-keyword {
    color: #c678dd;
}

.hljs-deletion,
.hljs-name,
.hljs-section,
.hljs-selector-tag,
.hljs-subst {
    color: #e06c75;
}

.hljs-literal {
    color: #56b6c2;
}

.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string,
.hljs-regexp,
.hljs-string {
    color: #98c379;
}

.hljs-attr,
.hljs-number,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-pseudo,
.hljs-template-variable,
.hljs-type,
.hljs-variable {
    color: #d19a66;
}

.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-symbol,
.hljs-title {
    color: #61aeee;
}

.hljs-built_in,
.hljs-class .hljs-title,
.hljs-title.class_ {
    color: #e6c07b;
}

.hljs-emphasis {
    font-style: italic;
}

.hljs-strong {
    font-weight: 700;
}

.hljs-link {
    text-decoration: underline;
}

/* article */

.entry-content .h3,
.entry-content h3 {
    padding-left: 10px;
    border-left: 4px solid #000;
    margin: 26px 0;
}

.entry-content p {
    line-height: 30px;
    font-size: 18px;
    margin-bottom: 10px;
}

.list-navs > div {
    float: left;
    width: 242px;
    text-align: center;
    margin-bottom: 30px;
}

.sec-panel {
    overflow: hidden;
}

.sec-panel-head {
    margin-top: 10px;
}

.sec-panel-head ._name {
    margin-top: 6px;
}

.sec-panel-head h2 {
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid #ddd;
}

.sec-panel-head p {
    margin: 14px 0 10px 0;
    color: #333;
    line-height: 26px;
    text-indent: 32px;
}

.sec-panel-head small {
    color: #aaa;
    font-size: 16px;
}

.navs-link {
    display: inline-block;
    width: 200px;
    height: 110px;
    overflow: hidden;
}

.navs-link-info h3 {
    color: #333;
}

.navs-link-info p {
    color: #aaa;
    font-size: 15px;
    margin-top: 0;
}

.aphorism ._content {
    text-indent: 26px;
}

.aphorism ._name {
    text-align: right;
    color: #888;
}

.article-list h2 {
    margin-bottom: 8px;
}

.article-list h2 a {
    color: #000;
    font-size: 21px;
}

.article-list p {
    color: #888;
    line-height: 26px;
}

.article-list div {
    color: #888;
    margin-top: 6px;
    margin-bottom: 20px;
}

.article-list div span {
    color: #aaa;
    font-size: 14px;
}

.breadcrumb {
    padding: 8px 30px;
    margin: 0;
    color: #999;
    background: #fff;
    border-radius: 0;
    border-bottom: 1px solid #f7f7f7;
}

.breadcrumb > li {
    display: inline-block;
}

textarea {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    font-family: inherit;
}

table {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    border-collapse: collapse;
}

th {
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: left;
    text-indent: 12px;
    padding: 12px;
}

td {
    border: 1px solid #ddd;
    text-align: left;
    text-indent: 12px;
    padding: 12px;
}

tr:nth-child(even) {
    background-color: #f6f6f6;
}

tr:hover {
    /* background-color: #eee; */
}

.highlighted {
    background-color: yellow;
    color: black;
}

@keyframes slideIn {
    from {
        top: -50px;
        opacity: 0;
        transform: translate(-50%, -10%);
    }

    to {
        top: 30px;
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #2d3237;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 18px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    z-index: 9999;
}

.notification.hide {
    opacity: 0;
}

.arg-type {
    color: #24831d;
    font-weight: 400;
    font-size: 18px;
}

.arg-name {
    color: #0f55c8;
}

.syntaxhighlighter {
    padding: 10px 0;
}

.quick_link {
    margin-right: 10px;
}

.color_24831d {
    color: #24831d;
}

.color_red {
    color: red;
}

.color_0f55c8 {
    color: #0f55c8;
}

.entry-content .blockquote,
.entry-content blockquote {
    font-size: 16px;
    color: #111;
    background: #fbfbfb;
    border: 1px solid #eee;
    border-left: 5px solid #ddd;
    padding: 10px 20px;
    margin: 0 0 20px;
}

.back-to-top-btn {
    width: 100px;
    height: 100px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    display: none;
    opacity: 0.2;
    transition: opacity 0.3s;
}

.back-to-top-btn:hover {
    opacity: 1;
}

@media screen and (max-width: 1350px) {
    .main aside {
        width: 300px;
    }

    .content {
        width: 800px;
    }

    .main {
        width: 1100px;
    }

    nav ul li a {
        padding: 0 10px;
    }
}

@media screen and (max-width: 1130px) {
    .main aside {
        width: 280px;
    }

    .content {
        width: 700px;
    }

    .main {
        width: 900px;
    }

    nav ul li a {
        padding: 0 10px;
    }
}

@media screen and (max-width: 1000px) {
    .main aside {
        width: 280px;
    }

    .content {
        width: 700px;
    }

    .main {
        width: 100%;
    }

    nav ul li a {
        padding: 0 6px;
    }

    .header {
        padding: 0 6px;
    }
}

@media screen and (max-width: 867px) {
    .header {
        display: none;
    }

    .main {
        width: 100%;
    }

    .list-navs > div {
        width: 170px;
    }

    .content {
        width: 100%;
    }

    .aside {
        display: none;
    }
}

.slide-ad {
    width: 100%;
    height: 500px;
}

/* 显示半透明的遮罩层 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #eee;
}

.textarea-mask {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 输入框的样式 */
.textarea-input {
    width: 80%;
    height: 350px;
    background-color: #fff;
    border: none;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    resize: none;
}

/* 按钮的样式 */
.textarea-btn {
    height: 350px;
    padding: 5px 10px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    cursor: pointer;
}

.textarea-btn:hover {
    background-color: #000;
}

.button-1 {
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    display: block;
    height: 42px;
    line-height: 39px;
    text-decoration: none;
    color: #333;
    border: 2px solid #333;
    text-align: center;
    position: relative;
    transition: all 0.2s;
    cursor: pointer;
}

.button-1 span {
    position: relative;
    z-index: 2;
}

.button-1:after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #333;
    transition: all 0.2s;
}

.button-1:hover {
    color: #fff;
}

.button-1:hover:after {
    height: 100%;
}
.doc-content {
    overflow: hidden;
}
.md-doc p {
    margin-bottom: 18px;
}
.md-doc h1 {
    font-size: 28px;
    font-weight: 800;
}
.md-doc h2 {
    margin: 40px 0 16px;
    border-bottom: 1px solid #ccc;
    letter-spacing: -0.02em;
    padding-bottom: 10px;
    line-height: 32px;
    font-size: 24px;
}
.md-doc h2 a,
.md-doc h3 a,
.md-doc h4 a {
    color: #333;
}

.md-doc ul > li:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #eee;
    transition: background-color 0.5s;
    left: -1.25rem;
    top: 0.75rem;
}

.md-doc h3 {
    margin: 28px 0 22px;
    letter-spacing: -0.02em;
    line-height: 22px;
    font-size: 22px;
}

.md-doc a {
    color: #4e7063;
}

code[class*="language-"],
pre[class*="language-"] {
    font-size: 1.02em;
}

.md-doc :not(pre) > code {
    border-radius: 4px;
    padding: 3px 8px;
    color: #04a3ad;
    background-color: #f1f1f1;
    transition: color 0.5s, background-color 0.5s;
    font-size: 0.875em;
}

pre[class*="language-"] {
    border-radius: 6px;
}

div.code-toolbar {
    margin: 20px 0;
}
div.code-toolbar > .toolbar > .toolbar-item > a,
div.code-toolbar > .toolbar > .toolbar-item > button,
div.code-toolbar > .toolbar > .toolbar-item > span {
    color: #bbb;
    font-size: 0.8em;
    padding: 0.5em !important;
    background: #f5f2f0;
    background: rgba(224, 224, 224, 0.2);
    box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.2);
    border-radius: 0.5em;
}

.ad-container {
    padding: 4px;
}
