#app {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
/* Header */
.Header {
  display: flex;
  width: 100%;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  font-family: serif;
  color: rgb(167, 171, 179);
  background: rgb(24, 25, 27);
  box-shadow: rgb(149 149 149) 0px 0px 4px 1px;
}
.Header > img {
  height: 50px;
}
.Header > h4 {
  flex: 1;
}
/* 导航 */
.NavList {
  width: 400px;
  height: 60px;
  color: rgb(167, 171, 179);
}

.NavList > ul {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-evenly;
}

.NavList > ul > li {
  position: relative;
  font-size: 20px;
  font-family: serif;
  font-weight: 600;
  cursor: pointer;
}

.NavList > ul > li.active::before,
.NavList > ul > li:hover::before {
  content: "";
  position: absolute;
  top: -6px;
  right: -10px;
  width: 14px;
  height: 14px;
  border-radius: 100%;
  border: 3px solid #e94328;
}

.NavList > ul > li > a {
  color: inherit;
}

.Main {
  position: relative;
  width: 100%;
  height: calc(100% - 100px);
  overflow: hidden;
}
/* 底部 */
.Footer {
  height: 40px;
  padding: 4px 0;
  text-align: center;
  color: rgb(167, 171, 179);
  background: rgb(24, 25, 27);
}

.Footer > a{
	display: block;
	color: inherit;
	font-size: 12px;
}

.Footer > span {
  display: block;
  font-size: 12px;
}

/* Loading */
.Loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(24, 25, 27);
}

.Loading > img {
  height: 55%;
  animation: spin 5s infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(1turn);
  }
}

/* 首页HOME */
.Home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.Home > img {
  display: block;
}

.Home > img:first-child {
  width: 51%;
}
.Home > img:last-child {
  width: 28.3%;
}

/* 案例-首页 */
.Project {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0 50px;
  align-items: center;
  justify-content: space-evenly;
}

.Project > li {
  width: 22%;
  aspect-ratio: 1/0.97;
  padding: 20px;
  background: url("../images/project01.png") no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
}

.Project > li:hover {
  transform: scale(1.1);
}

.Project > li:nth-child(2) {
  background: url("../images/project02.png") no-repeat;
  background-size: 100% 100%;
}

.Project > li:nth-child(3) {
  background: url("../images/project03.png") no-repeat;
  background-size: 100% 100%;
}

/* 案例列表页 */
.PList {
  padding: 20px 15%;
  overflow: auto;
  width: 100%;
  height: 100%;
}

.PList h1 {
  display: block;
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: bold;
  color: #000000;
}
.PList-Grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  margin-bottom: 30px;
}
.PList-Grid-Item {
  width: 100%;
  height: 100%;
}
.PList-Grid-Item > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1/0.6;
  margin-bottom: 12px;
  background-color: #9da0a8;
  overflow: hidden;
}
.PList-Grid-Item > div .el-image {
  width: 100%;
  height: 100%;
}
.PList-Grid-Item > div img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.PList-Grid-Item > h4 {
  color: #333;
  font-size: 16px;
}

.PList-Grid-Item > span {
  color: #666;
  font-size: 12px;
}
.PList-Grid-Item-error {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #f2f2f2;
}
/* 博客页 */

.Blog {
  padding: 20px 12%;
  width: 100%;
  height: 100%;
}
.Blog::after {
  content: "";
  display: block;
  clear: both;
}
.blog-left {
  float: left;
  width: 75%;
  height: 100%;
  overflow: hidden;
}
.blog-list {
  width: 100%;
  height: calc(100% - 35px);
  overflow: auto;
}
.blog-list > li {
  position: relative;
  padding: 28px 0;
  line-height: 1.6;
}

.blog-list > li::before {
  content: "";
  position: absolute;
  top: 0;
  width: 50px;
  height: 2px;
  background-color: #18191b;
}

.blog-list > li > label {
  color: #52555a;
  font-size: 18px;
  font-weight: bold;
}
.blog-list > li > p {
  margin: 10px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #a7abb3;
  font-size: 14px;
}
.blog-list > li > button {
  border: none;
  background: none;
  outline: none;
  color: #e94328;
  font-size: 14px;
  cursor: pointer;
}

.blog-nav {
  position: relative;
  float: left;
  width: 25%;
  height: 100%;
  padding-right: 10px;
  text-align: right;
  color: rgb(24, 25, 27);
  overflow: auto;
}
.blog-nav > dt {
  position: sticky;
  top: 0;
  z-index: 2;
  display: block;
  width: 100%;
  text-align: left;
  padding-left: 15px;
}
.blog-nav > dt > input {
  border: none;
  outline: none;
  border-bottom: 1px solid #18191b;
  height: 40px;
  width: 100%;
  font-size: 14px;
  text-align: right;
}
.blog-nav > dd {
  position: relative;
  display: block;
  padding: 10px 0;
  cursor: pointer;
  font-family: monospace;
  font-size: 18px;
}

.blog-nav > dd:after {
  content: "";
  position: absolute;
  left: 100%;
  right: 0%;
  bottom: 0;
  height: 2px;
  background: #52555a;
  transition-property: all;
  transition-timing-function: cubic-bezier(0, 0.98, 0.51, 0.93);
  transition-duration: 200ms;
  transition-delay: 0s;
}

.blog-nav > dd:hover::after {
  left: 10%;
}
.blog-nav > dd.active {
  color: #e94328;
  font-weight: bold;
}
.blog-nav > dd:not(:hover):after,
.blog-nav > dd:not(.active):after {
  transition-delay: 0s;
}
.Blog-Info {
  padding: 20px 15%;
  width: 100%;
  height: 100%;
}
.blogInfo {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.blogInfo-btn {
  position: absolute;
  top: 150px;
  background: transparent;
  border: none;
}

.blogInfo-btn > i {
  font-size: 26px;
}

.blogInfo > h2 {
  display: block;
  font-size: 18px;
  color: #18191b;
}

.blogInfo > span {
  display: block;
  line-height: 2;
  font-size: 14px;
  color: #a7abb3;
}

.blogInfo > p {
  line-height: 1.5;
  color: #52555a;
}

.blogInfo > p pre {
  line-height: 1.2;
  padding: 10px 20px;
  background: #52555a;
  color: #fff;
}

.blogInfo > p code {
  display: block;
  width: 100%;
  font-size: 14px;
  white-space: break-spaces;
}

/* 关于 */
.About {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px 15%;
  overflow: hidden;
}

.About > dl {
  width: 60%;
}

.About > dl > dt {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: bold;
}
.About > dl > dt.sub {
  font-size: 20px;
  font-weight: normal;
}
.About > dl > dd {
  margin-bottom: 6px;
  color: #555;
}
.About > dl > dd.end {
  position: relative;
  width: 100%;
  height: 30px;
  text-align: center;
}
.About > dl > dd.end::before {
  content: "头秃学习中";
  position: absolute;
  top: 0px;
  left: 50%;
  margin-left: -50px;
  width: 100px;
  height: 20px;
  background-color: #fff;
  z-index: 2;
}
.About > dl > dd.end::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 100%;
  border: 1px dashed #000;
}
.About > dl > dd.link {
  position: relative;
  display: block;
}
.link > div {
  position: absolute;
  bottom: 50px;
  box-shadow: rgb(149 149 149) 0px 0px 4px 1px;
}
.link > div > img {
  width: 200px;
}
.link > img {
  width: 30px;
  margin-right: 12px;
  cursor: pointer;
}
.About > p {
  max-width: 300px;
  flex: 1;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 100%;
  border: 2px solid #a7abb3;
}

.About > p > img {
  border-radius: 280px;
  width: 100%;
}

.AboutSend {
  width: 100%;
  height: 100%;
  padding: 50px 15%;
}

.AboutSend > h1 {
  width: 100%;
  margin-bottom: 12px;
  text-align: center;
  font-size: 20px;
}

/* 手机屏幕适配 */
@media screen and (max-width: 920px) {
  .Header {
    padding: 0 12px;
  }
  .Header > h4 {
    display: none;
  }
  .NavList > ul > li {
    font-size: 18px;
  }

  .NavList > ul > li.active::before,
  .NavList > ul > li:hover::before {
    content: "";
    position: absolute;
    top: -6px;
    right: -6px;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    border: 3px solid #e94328;
  }

  .Home > img:first-child {
    width: 80%;
  }

  .Home > img:last-child {
    width: 44.3%;
  }

  .Project {
    flex-direction: column;
  }

  .Project > li {
    width: 41%;
  }

  .PList-Grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .About {
    justify-content: flex-end;
    flex-direction: column-reverse;
  }

  .About > dl {
    width: 100%;
  }

  .About > dl > dt {
    font-size: 18px;
  }

  .About > dl > dt.sub {
    font-size: 16px;
  }

  .About > dl > dd {
    font-size: 12px;
    color: #555;
  }

  .About > p {
    max-width: 100px;
    max-height: 100px;
  }

  .skeleton_dom {
    width: calc(50% - 6px);
    margin-right: 12px;
  }

  .skeleton_dom:nth-child(2n) {
    margin-right: 0;
  }

  .skeleton_dom > .el-skeleton__image {
    width: 100%;
    aspect-ratio: 1/1;
    height: auto;
  }
}

@media screen and (max-width: 400px) {
  .Project > li {
    width: 78%;
  }
}
