/* 头部 */
.header {
  width: 100%;
  height: 60px;
  transition: all 0.3s;
  animation: fade-in 0.5s;
}

.yublog_header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  z-index: 999;
  background-color: #fff;
}

.yublog_header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 15px;
}

/* .yublog_header_left {} */

.yublog_header_container .yublog_logo {
  min-width: 40px;
  max-width: 150px;
  height: 40px;
}

.yublog_header_container .yublog_logo img {
  min-width: 40px;
  max-width: 150px;
  height: 40px;
}

.yublog_header_container .yufont {
  font-size: 22px;
}



/* 手机侧边 */
#mobile_aside {
  --mobile_aside_background_color: #f5f6f7;
  width: 80%;
  background-color: var(--mobile_aside_background_color);
}

/**joe主题侧边栏**/
#mobile_aside .aside_container.author {
  border-radius: 0;
  background-color: var(--mobile_aside_background_color);
}

#mobile_aside .aside_container.author .user {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 30px 0 0;
  padding: 10px;
  background-color: #fff;
}

#mobile_aside .avatar_wrapper {
  width: 48px;
  height: 48px;
  user-select: none;
  background-color: #fff;
  padding: 2px;
  margin: 0 10px 0 0;
}

#mobile_aside .aside_container.author .user .link {
  color: var(--theme-color);
  font-size: 16px;
  font-weight: 500;
  text-shadow: 1px 1px 8px var(--theme-color);
  text-align: left;
  margin: 0;
}

#mobile_aside .aside_container.author .image {
  height: 0;
}

#mobile_aside .aside_container.author .user .info {
  color: #8a8a8a;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

/**自定义侧边栏**/
.aside_user {
  display: flex;
  align-items: center;
}

.user_avatar {
  margin: 0 6px 0 0;
}

.aside_user .info {
  display: flex;
  flex-direction: column;
}

.aside_user .desc {
  font-size: 12px;
}

#mobile_aside .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  z-index: 1;
  border-radius: var(--radius-wrap) var(--radius-wrap) 0 0;
}

.mobile_aside_container {
  overflow-y: auto;
  height: 100vh;
}

.mobile_aside_container::-webkit-scrollbar {
  width: 0;
}

.mobile_aside_user {
  position: relative;
  z-index: 99;
  top: 100px;
  /* height: 100vh; */
  background-color: var(--mobile_aside_background_color);
  border-radius: 10px 10px 0 0;
  padding: 20px 15px 100px;

}

.mobile_aside_nav {
  margin: 6px 0 0;
  background-color: #fff;
  border-radius: 8px;
}

.mobile_aside_nav ul {
  border-radius: 6px;
}

.mobile_aside_nav ul li {
  padding: 0 15px;
  height: 44px;
  display: flex;
  align-items: center;
}

.mobile_aside_nav ul li a {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile_aside_bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0 20px 10px;
  background-color: var(--mobile_aside_background_color);
  z-index: 999;

}

.aside_bottom_list {
  display: flex;
}

.aside_bottom_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.aside_bottom_item .bottom_item_title {
  font-size: 14px;
  color: #8a8a8a;
}

/* 搜索 */
.header_search .yufont {
  transition: all .5s;
}

/* 移动 mask */
.yublog_search_mask {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.6);
}

.mobile_search {
  position: fixed;
  top: -100px;
  width: 100%;
  background-color: #fff;
  z-index: 98;
  transition: all .5s;
}

.mobile_search .yublog_search {
  display: block;
  padding: 20px;
  width: 100%;
  /* box-shadow: 2px 2px 20px -3px rgb(108 108 108 / 22%); */
}

.mobile_search.hidden {
  top: -100px;
}

.mobile_search.show {
  top: 60px;
  display: block;
}