/* CSS Reset
------------------------------------------------------------*/

html,
body {
  border: none;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 10px;
  --main-max-wdith: 102.4rem;
}

body {
  color: #000;
  font-size: 1.4rem;
  font-family: "lucida grande", "lucida sans unicode", lucida, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

div,
header,
main,
aside,
footer {
  position: relative;
  box-sizing: border-box;
}

input,
textarea,
button {
  box-sizing: border-box;
}

/* Common
------------------------------------------------------------*/

a {
  color: rgb(6, 120, 185);
  text-decoration: none;
}

a:hover {
  color: rgb(7, 87, 133);
  text-shadow: 0 0 0.2rem rgb(41, 149, 211);
}

.main-wrap {
  margin: 0 auto;
  max-width: var(--main-max-wdith);
  padding: 0 1.6rem;
}

/* Header
------------------------------------------------------------*/

header {
  height: 6rem;
  border-bottom: 1px solid #eee;
  line-height: 1;
}

header .main-wrap {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .title-wrap .name {
  font-size: 2.2rem;
}

header .title-wrap .name a {
  color: #000;
}

header .title-wrap .name a:hover {
  color: #000;
  text-shadow: 0 0 0.2rem #ccc;
}

header .title-wrap .discription {
  margin-left: 1rem;
  font-size: 1.2rem;
  color: #888;
}

header nav {
  font-size: 1.4rem;
}

nav .icon-menu {
  display: none;
}

nav .item {
  margin: 0 0.7rem;
}

nav .item.current a {
  font-weight: bold;
}

nav .item .timefont {
  color: #aaa;
  font-size: 1.6rem;
}

nav .item .time-about {
  font-size: 1.4rem;
}

/* Navigation
------------------------------------------------------------*/

.navigation {
  height: 37px;
  padding: 0 0 0 1.6rem;
  font-size: 1.2rem;
  line-height: 3.6rem;
  color: #666;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: center;
}

.navigation .time-home {
  margin-right: 0.5rem;
  font-size: 1.4rem;
}

.navigation span:not(:first-child) {
  margin-top: 0.1rem;
}

.navigation a:hover {
  text-shadow: none;
}

/* Footer
------------------------------------------------------------*/

footer {
  padding: 1.2rem 0 3rem 0;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 1.2rem;
  font-family: sans-serif;
}

footer .copyright {
  font-style: italic;
}

footer .site-name a {
  margin: 0 0 0 1.8rem;
  color: #666;
}

footer .site-name a:hover {
  color: #666;
  text-shadow: 0 0 0.1rem #ccc;
}

/* Main: Home
------------------------------------------------------------*/

.container {
  padding: 0;
}

.view-error {
  text-align: center;
  padding: 8rem 0;
  color: #888;
}

.view-info {
  text-align: center;
  padding: 8rem 0;
  color: #888;
}

/* Category
------------------------------------------------------------*/

.category-memo {
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid #f5f5f5;
  color: #333;
  font-size: 1.6rem;
}

/* Article
------------------------------------------------------------*/

.articles {
  margin: 0;
}

article {
  padding: 0 1.6rem;
  font-size: 1.6rem;
}

.articles article {
  border-bottom: 1px solid #f5f5f5;
}

article:last-child {
  border-bottom-width: 0;
  padding-bottom: 1.0rem;
}

article h1 {
  color: #333;
  font-size: 1.8rem;
  font-weight: normal;
  margin-block-start: 1.2rem;
  margin-block-end: 1.2rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

article .excerpt {
  margin: 1.2rem 0 1.6rem 0;
  line-height: 1.6;
  color: #666;
}

article .metas {
  margin-bottom: 1.0rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  color: #999;
  line-height: 1.4rem;
}

article .metas .meta {
  margin-right: 0.5rem;
}

article .metas .leftward span {
  display: inline-block;
}

article .metas .rightward .meta:last-child {
  margin-right: 0.5rem;
}

article .metas .timefont {
  font-size: 1.4rem;
}

article .metas .comment .timefont {
  vertical-align: middle;
}

.article h1 {
  text-align: center;
  margin-block-start: 2.0rem;
}

.article .metas {
  justify-content: center;
  margin-bottom: 2.0rem;
}

.article .metas .meta {
  margin-right: 2.2rem;
}

.article .content {
  margin: 1.2rem 0 1.6rem 0;
  line-height: 1.6;
  color: #333;
}

.article .bottom-metas {
  justify-content: flex-end;
  margin-bottom: 1.0rem;
}

.article .bottom-metas .meta {
  margin-right: 0rem;
}

/* Article Content Style
------------------------------------------------------------*/

.acontent {
  text-align: left;
}

.acontent h1 {
  text-align: left;
  font-size: 1.8rem;
  font-weight: normal;
  margin-block-start: 1.2rem;
  margin-block-end: 1.2rem;
}

.acontent .left {
  text-align: left;
}

.acontent .center {
  text-align: center;
}

.acontent .right {
  text-align: right;
}

.acontent p {
  text-indent: 2em;
}

.acontent .indent {
  text-indent: 2em;
}

.acontent .flex {
  display: flex;
}

/* Comment
------------------------------------------------------------*/

.comments {
  padding: 0 1.6rem 1.6rem 1.6rem;
  border-top: 1px solid #f5f5f5;
}

.comments h1 {
  color: #333;
  font-size: 1.8rem;
  font-weight: normal;
  margin-block-start: 1.2rem;
  margin-block-end: 1.2rem;
}

.comments h1 .count {
  color: #777;
  font-size: 1.4rem;
}

.comments form {
  position: relative;
  max-width: 50rem;
}

.comments form .row {
  margin-top: 1rem;
}

.comments form .row-action {
  text-align: right;
}

.comments form input,
.comments form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0.3rem;
}

.comments form input::placeholder,
.comments form textarea::placeholder {
  font-size: 1.2rem;
  color: #999;
}

.comments form input:focus,
.comments form textarea:focus {
  border-color: rgb(0, 140, 255);
  outline: none;
}

.comments form input {
  height: 2.8rem;
  padding: 0.1rem 0.6rem;
}

.comments form textarea {
  padding: 0.6rem 0.6rem;
  vertical-align: top;
}

.comments form button {
  width: 9.2rem;
  height: 2.8rem;
  border: 1px solid #ccc;
  border-radius: 0.3rem;
  color: #333;
  font-size: 1.4rem;
  font-weight: normal;
  background-color: #efefef;
  cursor: pointer;
}

.comments .error {
  display: block;
  position: absolute;
  top: -3.0rem;
  right: 0.5rem;
  color: red;
  font-size: 1.2rem;
}

.comments .anonymity  {
  margin-left: 1.0rem;
}

.comments .anonymity label {
  color: #888;
  font-size: 1.4rem;
  vertical-align: text-bottom;
}

.comments input[type="checkbox"] {
  width: 1.4rem;
  height: 1.4rem;
  display: inline;
  vertical-align: middle;
  cursor: pointer;
}

.comments .list  {
  margin-top: 2.0rem;
  border-top: 1px solid #f5f5f5;
}

.comments .comment   {
  margin: 1.0rem 0 0 0;
  font-size: 1.4rem;
}

.comments .comment .metas  {
  color: #999;
  font-size: 1.2rem;
}

.comments .comment .nickname {
  color: #333;
}

.comments .comment .date {
  color: #666;
}

.comments .comment .content {
  color: #333;
}

.anchor {
  font-size: 0.1rem;
  color: transparent;
}

/* Pagination
------------------------------------------------------------*/

.pagination {
  padding: 1.6rem 0;
  border-top: 1px solid #f5f5f5;
  text-align: center;
}

.pagination span {
  display: inline-block;
  padding: 0 0.5rem;
}

.pagination .timefont {
  font-size: 1.2rem;
}

.pagination .disabled {
  color: #aaa;
}

.pagination .current {
  font-weight: bold;
  color: #888;
}

/* Screen Match
------------------------------------------------------------*/

@media (max-width: 1024px) {}

@media (max-width: 800px) {
  /* :root {
    font-size: 2vmin;
  } */

  nav .icon-menu {
    display: inline-block;
    margin-right: 0.8rem;
    font-size: 2.2rem;
    color: #666;
    cursor: pointer;
    transition: transform 0.3s;
    transform: rotateZ(0deg);
  }

  nav .main-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(6rem + 1px);
    height: 0px;
    z-index: 1;
    background-color: #fff;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    overflow: hidden;
  }

  nav .main-menu .item {
    display: block;
    margin: 1.2rem 1rem;
    text-align: center;
  }

  nav .main-menu .item a {
    font-size: 1.8rem;
    margin-left: 0.5rem;
  }

  nav.expand .main-menu {
    height: 25.2rem;
    border-bottom-color: #eee;
  }

  nav.expand .icon-menu {
    transform: rotateZ(-90deg);
  }

  article .metas .tags .value {
    max-width: 12rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }

  .comments form {
    max-width: none;
  }
}