:root {
  --page-side-padidng: 20em;
}

body,
html {
  background: #222;
  padding: 0 0px;
  margin: 0;
  height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  line-height: 1.6;
}

pre[class*="language-"] {
  background: #202020 !important;
}

code {
  font-size: 14px !important;
}

header {
  width: 100%;
  background: #111;
  display: flex;
  box-sizing: border-box;
  padding-left: var(--page-side-padidng);
  padding-right: var(--page-side-padidng);
  padding-top: 40px;
  padding-bottom: 40px;
}

header a {
  text-decoration: none;
  color: white;
}

header .logo {
  height: 100px;
  display: flex;
}

header .logo img {
  border-radius: 8px;
  margin-right: 20px
}

header .logo span {
  align-self: end;
  width: 140px;
  font-weight: bold;
  font-family: sans-serif;
  margin-bottom: 6px
}

.content {
  box-sizing: border-box;
  padding-left: var(--page-side-padidng);
  padding-right: var(--page-side-padidng);
}

.content .posts {
  background-color: #292929;
  margin: 40px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 20px;
  border-radius: 8px;
}

.content .posts h1 {
  line-height: 36px;
  margin-bottom: 0px;
}

.content .posts .post h1:first-child {
  margin-top: 0px;
}

.content .posts h1 a {
  margin: 0px;
  padding: 0px;
  font-family: BenchNine, sans-serif;
  text-decoration: none;
}

.content .posts .post .date {
  font-size: 12px;
  color: #e38e8e;
}

.content .posts .post p:first-of-type {
  margin-top: 10px;
}

.content a {
  color: white;
}

.content a:hover {
  color: rgb(200, 80, 80) !important;
}

.content .posts p {
  font-family: Helvetica, sans-serif;
}

.content .posts p:last-child {
  margin-bottom: 0px;
}

.content .posts .post:first-child {
  margin-top: 0px;
}

.content .posts .post {
  margin-top: 30px;
}

.content .posts .post:last-of-type {
  padding-bottom: 15px;
}

.content .posts .post:only-child {
  padding-bottom: 0px;
}

.content .posts a.nav-button {
  padding: 10px;
  background-color: #1c1c1c;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: none;
  ;
}

footer {
  background-color: #111;
  padding-left: var(--page-side-padidng);
  padding-right: var(--page-side-padidng);
  padding-top: 30px;
  padding-bottom: 30px;
}

blockquote {
  padding: 12px;
  margin: 10px;
  background: #3c3c3c;
  box-sizing: border-box;
  margin: 10px;
  border-radius: 4px;
  border-left: 2px solid #5d5c5c;
}

p code {
  background: #424242;
  border-radius: 6px;
  margin: 3px;
  line-height: 17px;
  padding: 4px;
}

p li {
  line-height: 28px;
}

p img {
  max-width: 90%;
}
article h1{
  font-size: 2rem;
}

@media only screen and (max-width: 1220px) {
  :root {
    --page-side-padidng: 12em;
  }
}

@media only screen and (max-width: 900px) {
  :root {
    --page-side-padidng: 5em;
  }
}

@media only screen and (max-width: 600px) {
  :root {
    --page-side-padidng: 1em;
  }

  .header {
    display: flex;
    justify-content: center;
  }
}

@media only screen and (max-width: 480px) {
  :root {
    --page-side-padidng: 0px;
  }

  .content .posts {
    border-radius: 0px;
  }

  footer {
    padding-left: 2em;
    padding-right: 2em;
  }

  h1 {
    line-height: 35px;
  }
}