@charset "UTF-8";
/*****************
    common
 *****************/
main {
  width: 80%;
  margin: 150px auto 80px;
  display: flex;
  justify-content: space-around;
}
#post {
  width: 60%;
}

#post .post__title {
  margin-bottom: 30px;
}

#post .post__title p {
  margin-bottom: 15px;
}

#post .post__title p a {
  color: #3498db;
}

#post .post__title h1 {
  margin-bottom: 15px;
  font-size: 2em;
}

#post .post__content {
  border-bottom: 1px solid #646464;
  padding-bottom: 30px;
}

#post .page-nav {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

#post .page-nav a {
  max-width: 200px;
  font-size: 1.2em;
  font-weight: 600;
}

#post .page-nav a span {
  color: #3498db;
  font-size: 0.6em;
}

#post .page-nav a:hover {
  text-decoration: underline;
  color: #3498db;
}

@media screen and (max-width: 390px) {
  main {
    flex-direction: column;
    width: 90%;
    margin-top: 0;
    padding-top: 30px;
    margin-bottom: 0px;
  }

  main #post {
    width: 100%;
    margin-bottom: 50px;
  }

  #post .page-nav a {
    max-width: 150px;
  }
}

/*****************
    sidebar
 *****************/
#sidebar > div {
  margin-bottom: 50px;
}

#sidebar h3 {
  margin-bottom: 10px;
}

#sidebar ul li {
  list-style: none;
}

#sidebar ul li a:hover {
  text-decoration: underline;
  color: #3498db;
}
