/* FONTS */

@font-face {
  font-family: Roboto; 
  src: url(/fonts/Roboto-Regular.ttf);
}

@font-face {
  font-family: Roboto;
  src: url(/fonts/Roboto-Bold.ttf); 
  font-weight: bold;
}

@font-face {
  font-family: Roboto;
  src: url(/fonts/Roboto-Thin.ttf); 
  font-weight: 200;
}

@font-face {
  font-family: Roboto;
  src: url(/fonts/Roboto-Italic.ttf); 
  font-style: italic;
}

@font-face {
  font-family: Roboto;
  src: url(/fonts/Roboto-BoldItalic.ttf);
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: Roboto;
  src: url(/fonts/Roboto-ThinItalic.ttf);
  font-weight: 200;
  font-style: italic;
}

/* LAYOUT */

body {
  color: #fff;
  font-size: 125%;
  line-height: 1.5;
  max-width: 35rem;
  padding: 1rem;
  margin: 0 auto;
  background-color: #333;
  font-family: Roboto;
}

.content {
  margin-bottom: 2rem;
}

.content a {
  color: #fff;
  text-decoration: underline;
}

.content img {
  display: block;
  margin: auto;
}

.tag {
  font-style: italic;
}

.page-title {
  margin-bottom: -0.25rem;
}

time {
  color: #a1a1a1;
  font-style: italic;
}

.tag-list {
  display: flex;
}

.tag-list a {
  display: block;
}

.avatar {
  border-radius: 50%;
  max-width: 10rem;
}

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.center-container div img {
  margin: auto;
  display: block;
}

.center-container div {
  flex: 1;
}

.content code {
  text-wrap: wrap;
}

.content code span {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.content code {
  margin: 1rem;
}

.social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

.social-media div {
  display: block;
  flex: 1;
  max-width: 2rem;
  padding: 0.25rem;
}

.social-media img {
  filter: invert(1);
}

/* NAVIGATION */

.site-nav {
  display: flex;
  padding-bottom: 1rem;
  justify-content: space-between;
}

.site-nav a {
  display: block;
  padding: 1rem;
  color: #a1a1a1;
  text-decoration: none;
}

.site-nav .logo {
  font-weight: bold;
  padding-left: 0;
  color: #fff;
  text-decoration: none;
}

.main-menu {
  font-size: 80%;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 48rem) {
  .site-nav,
  .main-menu,
  .center-container {
    flex-direction: column;
  }

  .site-nav a {
    padding: 0.5rem;
    padding-left: 0;
    text-align: center;
  }

  .social-media div {
    width: 2rem;
  }
}

/* LISTS */

.post-snippet {
  margin-bottom: 1rem;
}

.post-snippet h3 {
  margin-bottom: 0.25rem;
}
