/* 自定义增强样式 */

.navbar {
    box-shadow: 0 2px 4px rgba(143, 143, 143, 0);
}

.container-main {
    flex: 1;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.post-card {
    transition: transform .2s;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0);
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.markdown-content {
    line-height: 1.6;
    font-size: 16px;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
}

.main-heading {
  font-family: 'Impact', sans-serif;
  font-size: 150px;
  color: #000000; /* 也可以修改颜色 */
}

.nav {
    z-index: 999;
    /*相对定位  相对于自己原位置不移动
    固定定位  相对于浏览器窗口的位置 0 0*/
    /*
    有粘性定位的元素的父元素不能设置overflow:hidden|auto|scroll;
    */
    position: sticky;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
}



.nav-wrap {
   
   align-items: center;
    display: flex;
    gap: 20 px;
}

.nav-wrap>a {
    top: 24px;
}

.nav-wrap .nav-item {
    position: relative;
    color: rgb(138, 138, 138);
    padding: 0 20px;
    font-size: 16px;
    height: 60px;
}

.head-out {
    margin-right: auto;
    width: 200px;
}
.head-out .head-in {
    padding-left: auto;
    padding-top: 23px;
}

.navbar .nav .nav-wrap .n-content a {
    color: rgb(138, 138, 138);
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.nav-sub {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 80%, transparent);
    display: none;
    left: 0;
    padding-bottom: 30px;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 60px;
    width: 104px;
}

/* .sub {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 80%, transparent);
    display: none;
    left: 0;
    padding-bottom: 30px;
    font-size: 12px;
    right: 0;
    top: 60px;
    width: 100%;
} */

.nav-item:hover > .nav-sub {
    display: block;
}

.nav-sub:hover {
    display: block;
}

.people:hover > .title-line {
    display: block;
}