body {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue","Helvetica",PingFang SC,PingFang TC,Hiragino Sans GB,STHeiti,Microsoft YaHei,Microsoft JhengHei,"WenQuanYi Micro Hei",sans-serif;
  font-size: 15px;
  color: #555;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-size: cover;
  overflow: hidden;
}

 #sakura{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

.container {
  padding: 16px 16px;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}

.index h2 {
  font-size: 22px;
  margin: 20px 0 18px;
  border: none;
}

.index ul {
  -webkit-padding-start: 20px;
  margin: 0 0;
}

.index ul li {
  padding-bottom: 2px;
}

.title, .page_title {
  font-size: 24px;
  color: #333;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 15px;
  text-align: center;
}

h1, h2 {
  color: #333;
}

h1 {
  margin: 20px 0 18px;
  font-size: 24px;
}

h2 {
  font-size: 20px;
  padding-bottom: 5px;
  margin: 20px 0 15px;
  border-bottom: 1px dashed #e8e8e8;
}

h3 {
  margin: 15px 0 15px;
  font-size: 20px;
}

h4 {
  margin: 15px 0 15px;
  font-size: 18px;
}

h5, h6 {
  margin: 15px 0 15px;
  font-size: 16px;
  font-weight: bold;
}

footer {
  padding: 0px 16px;
  margin: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #787878;
}

#header {
  padding-bottom: 15px;
  font-size: 14px;
  color: #787878;
}

#header .updated {
  float: right;
}

/* Optimization for pre and code tag */
pre, code {
  font-family: "Source code pro", Consolas, "DejaVu Sans Mono", "Lucida Console", Monaco, monospace;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  overflow: auto;
  background-color: #f8f8f8;
}

code {
  padding: 1px 2px;
}

blockquote {
  padding: 0px 15px;
  margin: 15px 0;
  border-left: 2px solid rgba(40, 50, 60, 0.85);
  overflow: auto;
  word-wrap: break-word;
}

blockquote p {
  margin: 0 0 10px 0;
  color: #8a8a8a;
}

blockquote p:last-child {
  margin-bottom: 0;
}

img {
  border: 0;
  vertical-align: middle;
  margin: 0 auto;
  max-width: 100%;
}

pre {
  padding: 8px;
  margin: 16px 0;
  background-color: #f8f8f8;
  border-radius: 4px;
  font-size: 90%;
}

code {
  padding: 4px;
  background-color: #f8f8f8;
  border-radius: 4px;
  font-size: 90%;
  color: #333;
}

/* Table of Contents */
.toc {
  margin: 15px 0 0;
  padding: 8px 8px;
  border: 1px solid #e8e8e8;
  background-color: #ecf5ff;
  float: right;
  display: block;
  font-size: 14px;
  border-radius: 3px;
}

.toc > .toctitle {
  display: block;
  text-align: center;
  margin-bottom: 8px;
}

.toc ul {
  -webkit-padding-start: 20px;
  margin: 0 0;
}

ul, ol {
  -webkit-padding-start: 20px;
}

/* Hackers */
/* Hacker for codehilite */

/* Clear the float problem */
.clearfix:after {
  visibility: hidden;
  clear: both;
  font-size: 0;
  content: ".";
  display: block;
  height: 0;
}

hr {
    background-image: repeating-linear-gradient(-45deg,
            #ddd,
            #ddd 4px,
            transparent 4px,
            transparent 8px);
    border: 0;
    height: 3px;
    margin: 40px 0;
}


/* *********************魔改博客园本身内容********************************** */
#cnblogs_post_body p, .blogpost-body p {
    font-size: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
}

#cnblogs_post_body li {
    font-size: 20px;
    padding-bottom: 5px;
}

.cnblogs-markdown pre code, .blogpost-body pre code {
    font-size: 15px;
}

#mainContent .cnblogs-markdown img {
    max-width: 80% !important;
}

img.event-img{
    content: url("https://images.cnblogs.com/cnblogs_com/blogs/719220/galleries/2149125/o_220422094953_20220422125131_1(1).jpg")  !important;
}

div#cnblogs_ch{
    display: none;
}

div#post-signature{
    background-image: url("https://images.cnblogs.com/cnblogs_com/blogs/719220/galleries/2149125/o_230403144257_70733451_p0.jpg") !important;
}

#mainContent #post-signature p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6em;
    color: white;
}

#cnblogs_post_body.blogpost-body-html img, #mainContent .cnblogs-markdown img {
    padding-bottom: 5px;
    padding-top: 8px;
}

.custom-signature {
    font-size: 18px !important;
}

#cnblog-nav{
  margin-top: 10px !important;
}

#sideBarMain {
  
  background-position: 50% 68%; !important;
  background-attachment: scroll !important; /* 让背景图片随页面滚动 */
  background-repeat: no-repeat !important; /* 不重复背景图片 */
}

#sidebar_recentcomments {
  display: none !important;
}

div#sidebar_shortcut {
  display: none !important;
}


.profile-menu a {
    color: transparent !important;
}

.profile-menu{
  background-image: url("https://images.cnblogs.com/cnblogs_com/blogs/719220/galleries/2149125/o_240323005743_20200627220412_tpbjj.gif") !important;
  background-size: cover !important;
  background-position: 50% 30% !important;
}


@media screen and (max-width: 5000px) {
    .cards-list {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
}

.desc_img {
    width: 60% !important;
    height: 40% !important;
    margin-left: 5% !important;
    max-height: 1000px !important;
}

.custom-card-actions a:first-of-type {
  margin-left: 1% !important;
  margin-right: 1% !important;
  background-position: center !important;
}

.custom-card-title {
  font-size: 20px !important;
}

.custom-card {
  margin-left: 4.5% !important;
  margin-right: 4.5% !important;
}

.c_b_p_desc {
    word-break: keep-all !important;
    line-height: 2.5 !important;
}

.profile-menu a {
  pointer-events: none !important;
}

#blog-calendar{
    background-size: 75% !important;
    background-position: center !important;
    background-repeat: no-repeat !important; /* 不重复背景图片 */
}

/*************************NEMU_title*****************************/
.panel-danger {
    border-color: #F2DEDE !important;
    background-color: #F2DEDE !important;
}
.panel {
    margin-bottom: 20px !important;
    background-color: #ffffff !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) !important;
}
.panel-danger > .panel-heading {
    color: #ffffff !important;
    background-color: #DB524B !important;
    border-color: #F2DEDE !important;
}
.panel-heading {
    border-bottom: 10px solid transparent !important;
    padding: 0px 0px !important;
    padding-left: 10px !important;
}
.panel-body {
    padding: 0px !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    background-color: #F2DEDE !important;
}
.panel-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 24px !important;
    color: inherit !important;
}
/***********************************************************/
@keyframes spin3D {
    from {
        transform: rotate3d(0.5, 0.5, 0.5, 360deg);
    }
    to {
        transform: rotate3d(0deg);
    }
}
#loading {
    height: 100%;
    background-color: #1d2630;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 99999999;
}
.spinner-box {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}
.leo {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.blue-orbit {
    width: 165px;
    height: 165px;
    border: 1px solid #91daffa5;
    animation: spin3D 3s linear 0.2s infinite;
}
.green-orbit {
    width: 120px;
    height: 120px;
    border: 1px solid #91ffbfa5;
    animation: spin3D 2s linear 0s infinite;
}
.red-orbit {
    width: 90px;
    height: 90px;
    border: 1px solid #ffca91a5;
    animation: spin3D 1s linear 0s infinite;
}
.white-orbit {
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    animation: spin3D 10s linear 0s infinite;
}
.w1 {
    transform: rotate3D(1, 1, 1, 90deg);
}
.w2 {
    transform: rotate3D(1, 2, 0.5, 90deg);
}

.w3 {
    transform: rotate3D(0.5, 1, 2, 90deg);
}


.hr-double-arrow {
    color: #d0d0d5;
    border: double;
    border-width: 3px 5px;
    border-color: #d0d0d5 transparent;
    height: 1px;
    overflow: visible;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
}
.hr-double-arrow:before, 
.hr-double-arrow:after {
    content: '';
    position: absolute;
    width: 5px; height: 5px;
    border-width: 0 3px 3px 0;
    border-style: double;
    top: -3px;
    background: radial-gradient(2px at 1px 1px, currentColor 2px, transparent 0) no-repeat;
}
.hr-double-arrow:before {
    transform: rotate(-45deg);
    left: -20px;
}
.hr-double-arrow:after {
    transform: rotate(135deg);
    right: -20px;
}
