/* 
	Author: 吃猫的鱼
	https://www.fish9.cn
*/
* {
	margin: 0px;
	padding: 0px;
	-webkit-tap-highlight-color: transparent;
}

body {
	font-family: Arial, sans-serif;
}


*:focus {
	outline: none;
}

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

p {
	margin-bottom: 0px;
}

li {
	list-style-type: none;
}

ol ul {
	padding-left: 0;
}



/* 清除浮动 */
.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

.outside_container_shadow {
	box-shadow: 0 0 20px 0 rgb(44 101 144 / 10%);
}



.none {
	display: none;
}

.loader {
	display: inline-block;
	width: 25px;
	height: 25px;
}

.loader:after {
	content: " ";
	display: block;
	width: 12px;
	height: 12px;
	margin: 3px;
	border-radius: 50%;
	border: 4px solid var(--simple_write_theme_color);
	border-color: var(--simple_write_theme_color) transparent var(--simple_write_theme_color) transparent;
	animation: loader 0.85s linear infinite;
}

@keyframes loader {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* 全局雪花样式 */
#Snow {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	pointer-events: none;
}

/* 全局顶部滚动条样式 */
.progress-bar-container {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 6px;
	background-color: #dddddd00;
	border-radius: 5px;
	z-index: 999;
}

.progress-bar {
	height: 100%;
	width: 0;
	background-color: var(--simple_write_theme_color);
	border-radius: 5px;
	transition: width .2s linear;
}

/* 全局结束 正文开始 */




/* 头部开始 */
.backg {
	height: 450px;
	/* 使用线性渐变 */
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	height: 200px;
	transition: all 0.8s;
}


/* 主体部分开始 */
body {
	background-color: #f3f0fe;
}

.fish9_container {
	display: flex;
	position: relative;
	/* flex-wrap: wrap; */
	align-items: flex-start;

	margin: 0 auto;
	transition: all 0.8s;
}

.fish9_main {
	position: relative;
	overflow: visible;
	width: 95%;
	margin: 0 auto;
	border-radius: 12px;
	background-color: #ffffff;

	position: sticky;
	top: 0px;
}

.fish9_panel {
	position: relative;
	overflow: visible;
	width: 100%;
	margin: 0 auto;
	border-radius: 8px;
	background-color: #ffffff;
}

.fish9_side {
	/* 添加滚动容器 */
	display: none;
	/* background-color: #ffffff; */
	border-radius: 18px;
	transition: all 0.8s;
	position: sticky;
	top: 0px;
}

@media (min-width: 576px) {
	.fish9_container {
		max-width: 560px
	}
}

@media (min-width: 768px) {
	.fish9_container {
		max-width: 850px
	}
}

@media (min-width: 992px) {
	.fish9_container {
		max-width: 960px;
	}

	.fish9_main {
		/* display: block; */
		margin: 0px 0px;
		margin-left: 10px;
		width: 70%;
		flex: 1 77%;
	}

	.fish9_side {
		display: block;
		margin: 0px 25px;
		/* width: 10%; */
		flex: 1 23%;
	}
}

@media (min-width: 1200px) {
	.fish9_container {
		max-width: 1140px
	}
}

@media (min-width: 1400px) {
	.fish9_container {
		max-width: 1200px
	}
}

/* 头上个人头像+名言开始 */
.user_info {
	position: absolute;
	display: flex;
	/* justify-content: space-between; */
	align-items: center;
	top: -39px;
	right: 8%;
	width: auto;
}

.about {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding-right: 10px;
}

.name {
	color: #000000;
	font-weight: 600;
}



.say {
	font-size: 13px;
	text-align: right;
	color: var(--simple_write_theme_color);
	position: relative;
	top: 5px;
	/* overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis; */
}

.logo_img {
	width: 68px;
	height: 68px;
	transition: -webkit-transform 0.75s;
	transition: transform 0.75s;
	transition: transform 0.75s, -webkit-transform 0.75s;
}

.logo_img:hover {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg)
}

.user_info .logo_img img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 50%;
}

/* 头上个人头像+名言结束 */



/* 导航开始 */
.nav-container {
	display: flex;
	width: 85%;
	text-align: center;
	overflow-x: auto;
	white-space: nowrap;
	background-color: rgba(255, 255, 255, 0);
	margin: 0 auto;
	padding-top: 60px;
	color: black;
}

/* 滚动条样式 */
::-webkit-scrollbar-track {
	background-color: rgba(226, 226, 226, 0.756);
}


.nav-container::-webkit-scrollbar {
	height: 8px;
	width: 10px;
}


.nav-container::-webkit-scrollbar-thumb {
	background-color: var(--under_logo_nav_color);
	border-radius: 4px;
}

.nav-container::-webkit-scrollbar-thumb:hover {

	background: var(--under_logo_nav_color);
}



.nav-tag {
	display: flex;
	align-items: center;
	margin-right: 12px;
	margin-bottom: 6px;
	border-radius: 5px;
	padding: 1px 6px;
	background-color: var(--under_logo_nav_color);
	transition: background-color 0.5s;
}


.nav-container .nav-tag:hover {
	background-color: var(--under_logo_nav_hover);
	cursor: pointer;
}

.nav-container .nav-tag:hover a {
	color: var(--under_logo_nav_color);
}


.nav-container span {
	line-height: 24px;
}


.nav-tag a {
	color: var(--under_logo_nav_hover);
	font-weight: bolder;
	font-size: 12px;
	line-height: 24px;
}

/* 点击后样式 */
.nav-container .nav-tag.clicked {
	background-color: var(--under_logo_nav_hover);
	cursor: pointer;
}

.nav-container .nav-tag.clicked a {
	color: var(--under_logo_nav_color);
}

/* 导航结束 */







/* 文章列表部分开始 */


.no_content {
	/* 没有文章内容的显示样式 */
	background-color: #f5f5f7;
	color: var(--simple_write_theme_color);
	width: 100%;
	margin: 0 auto;
	text-align: center;
	padding: 30px;
	margin: 15px;
	border-radius: 15px;
}



.article_box_container {
	gap: 0 10px;
	display: flex;
	flex-wrap: wrap;
	color: rgb(255, 255, 255);
	/* background-color: rgb(234, 141, 234); */
	width: 94%;
	margin: 0 auto;
	margin-top: 5px;
	padding-top: 15px;
}

.article_box {
	display: flex;
	flex-direction: row;
	margin: 0 3px;
	margin-bottom: 20px;
	box-sizing: border-box;
	width: 48%;
	height: 124px;
	color: #000000;
	background-color: white;
	border: 1px solid #e7e6e6;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(36, 36, 36, 0.2);
	transition: all 0.4s;
	/* background: linear-gradient(to bottom, #fff, #f5f5f5); */



	/* opacity: 0; */
	/* 初始化时让目标元素透明 */
	/* transform: translateY(30%);
	transition: transform 0.4s ease-in-out, opacity 0.4s ease-out; */
	/* 添加过渡效果 */
}


.article_box_show {
	opacity: 1;
	/* 添加展示动画效果 */
	transform: translateY(0);
}



.article_box:hover {
	cursor: pointer;
	box-shadow: 0px 1px 6px var(--simple_write_theme_color);
}

.article_box_left {
	display: flex;
	align-items: center;
}

.article_img {
	min-width: 95px;
	width: 125px;
	height: 95px;
	border-radius: 15px;
	margin-left: 12px;
	overflow: hidden;
	object-fit: cover;
	transition: all 0.5s;
}

/* 图片懒加载过渡效果 */

.lazyload {
	width: 125px;
	height: 95px;
	/* border-radius: 15px; */
	margin-left: 12px;
	overflow: hidden;

	transition: opacity 0.5s ease-in-out;

}

.lazyload.loaded {
	opacity: 1;
	/* 图像加载完成后将透明度设置为1 */
}






.article_img:hover {
	transform: scale(1.06);
}

.article_box_right {
	flex: 1;
	overflow: hidden;
}

.article_content {
	position: relative;
	height: 100%;
	overflow: hidden;
	margin-left: 6px;
	padding: 5px 10px;
}


/* 文章展示中的标签框开始 */
.badge {
	display: inline-block;
	padding: .35em .65em;
	font-size: 0.75em;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25rem;
}

.badge a {
	color: #ffffff;
	vertical-align: middle;
}

.top_article {
	padding: 5px;
	background-color: #f05050;

}

.top_article p {
	vertical-align: middle;
}

.classify_tag {
	margin-left: 4px;
	padding: 5px;
	background-color: #699eef;
	height: 8px;
}

.no_classify_tag {
	margin-left: 4px;
	padding: 5px;
	background-color: #5d97bc;
	height: 9px;
}



.badge_container {
	display: flex;
	align-items: center;
	margin-top: 7px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.badge_container span .top_icon {
	background-image: url("../svg/top.svg");
	color: #f3f0fe;
	background-size: cover;
	background-repeat: no-repeat;
	display: inline-block;
	width: 8px;
	height: 8px;
}

.article_box_right .article_content .badge_container span p {
	/* font-weight: normal; */
	line-height: 8px;
}

/* 文章展示中标签结束 */




.article_content .title {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	width: 100%;
	font-size: 15px;
	margin-top: 0px;
	margin-bottom: 1px;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #000000;
	line-height: 24px;
	max-height: 48px;
	font-family: 'indexTitleFont', sans-serif;
	transition: all 0.4s;
}

.article_simple {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	text-indent: 10px;
	font-size: 12px;
	line-height: 17px;
	max-height: 34px;
	overflow: hidden;
	color: #797a7a;
	transition: color 0.35s;
	transition: all 0.4s;
}

.article_box:hover .article_simple {
	cursor: pointer;
	color: var(--simple_write_theme_color);
}

.article_box:hover .article_content .title {
	cursor: pointer;
	color: var(--simple_write_theme_color);
}


.others_meta {
	display: flex;
	align-items: center;
	margin-top: auto;
	font-size: 13px;
}

.others_meta ul {
	padding-left: 0;
	margin-bottom: 5px;
	display: flex;
	flex-direction: row-reverse;
	position: absolute;
	bottom: 15px;
	transition: all 0.4s ease-in;
	line-height: 13px;
}

.others_meta ul li {
	margin-left: 8px;
	font-size: 12px;
	color: rgba(168, 167, 167, 0.728);
}





/* 文章加载更多按钮 */

.load_more {
	position: absolute;
	transform: translate(-50%);
	background-color: white;
	border-radius: 15px;
	color: var(--simple_write_theme_color);
	display: block;
	left: 50%;
	bottom: -50px;
	cursor: pointer;
	font-size: 14px;
	font-weight: bolder;
	padding: 10px;
	text-align: center;
}

/* 文章列表分页结束 */

/* 侧边栏开始 */

.side_nav {
	position: fixed;
	top: 140px;
	z-index: 9999;
}

.side_nav_box_container {
	/* 根据relative 进行定位*/
	position: absolute;
	top: 280px;
	left: -76px;
	transform: translateY(-50%);
	z-index: 9998;
	transition: all 0.3s ease;
}

.side_nav_box {
	display: flex;
	flex-direction: column;
	position: sticky;
	width: 75px;
	height: 275px;
	background-color: #ffffff9d;
	backdrop-filter: blur(3px);
	transition: all 0.3s ease;
	transform-origin: right;
	border-radius: 10px 0px 0px 10px;
	/* 设置变换的原点为右侧 */
	overflow: hidden;
	padding: 3px 0px;
}

.side_nav_box_arrow {
	position: absolute;
	top: 50%;
	right: 58px;
	width: 28px;
	height: 28px;
	background-color: #ffffff00;
	border-radius: 50%;
	cursor: pointer;
	z-index: 9999;
	border-radius: 1px;
	transition: all 0.3s ease;
	transform: translateY(-50%);
}

.arrow_r_icon {
	/* background-image: url("../svg/arrow-r.svg");
	background-size: cover;
	background-repeat: no-repeat; */
	display: inline-block;
	width: 28px;
	height: 28px;
}

.side_nav_box.closed {
	transform: scaleX(0);
}

.side_nav_box_arrow.closed {
	right: -14px;
}

.arrow_r_icon.left {
	transform: rotate(180deg);
}

.side_nav_box.small {
	border-radius: 0px 10px 10px 0px;
	transform-origin: left;
}

.side_nav_box_container.small {
	left: 0px;
}

.side_nav_box_arrow.small {
	right: -14px;
	transform: translateY(-50%);
}

.side_nav_box_arrow.small.closed {
	right: 58px;
}



/* 侧边栏结束 */


/* 侧边栏内盒子开始 */
.side_inner_box {
	display: flex;
	flex-direction: column;
	margin: 8px 10px 0px 10px;
	border-radius: 6px;
	padding: 4px 0px;
	transition: all 0.5s ease;
}



.home_icon {
	margin: 0 auto;
	background-image: url("../svg/home-theme.svg");
	background-size: cover;
	background-repeat: no-repeat;
	display: inline-block;
	width: 35px;
	height: 35px;
	transition: all 0.5s ease;
}


.side_inner_box a {
	text-align: center;
	margin: 0 auto;
	padding-top: 5px;
	font-size: 14px;
	color: var(--simple_write_theme_color);
	font-weight: bolder;
	transition: all 0.5s ease;
	line-height: 10px;
}

.side_inner_box:hover {
	background-color: var(--simple_write_theme_color);
	cursor: pointer;
}

.side_inner_box:hover a {
	color: white;
}



.side_inner_box:hover .home_icon {
	background-image: url("../svg/home-white.svg");
}


.about_icon {
	margin: 0 auto;
	background-image: url("../svg/about-theme.svg");
	background-size: cover;
	background-repeat: no-repeat;
	display: inline-block;
	width: 35px;
	height: 35px;
	transition: all 0.5s ease;
}

.side_inner_box:hover .about_icon {
	background-image: url("../svg/about-white.svg");
}

.photo_icon {
	margin: 0 auto;
	background-image: url("../svg/photo.svg");
	background-size: cover;
	background-repeat: no-repeat;
	display: inline-block;
	width: 35px;
	height: 35px;
	transition: all 0.5s ease;
}

.side_inner_box:hover .photo_icon {
	background-image: url("../svg/photo-white.svg");
}

.saying_icon {
	margin: 0 auto;
	background-image: url("../svg/saying-theme.svg");
	background-size: cover;
	background-repeat: no-repeat;
	display: inline-block;
	width: 35px;
	height: 35px;
	transition: all 0.5s ease;
}

.side_inner_box:hover .saying_icon {
	background-image: url("../svg/saying-white.svg");
}


/* 侧边导航选中样式 */
.side_inner_box.clicked {
	background-color: var(--simple_write_theme_color);
	cursor: pointer;
}

.side_inner_box.clicked a {
	color: white;
}

.side_inner_box.clicked .home_icon {
	background-image: url("../svg/home-white.svg");
}

.side_inner_box.clicked .about_icon {
	background-image: url("../svg/about-white.svg");
}

.side_inner_box.clicked .photo_icon {
	background-image: url("../svg/photo-white.svg");
}

.side_inner_box.clicked .saying_icon {
	background-image: url("../svg/saying-white.svg");
}

/* 侧边栏内盒子结束 */