@font-face {
  font-family: 'Lora';
  src: url('fonts/Lora-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Light.ttf') format('truetype');
  font-weight: lighter;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-LightItalic.ttf') format('truetype');
  font-weight: lighter;
  font-style: italic;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('fonts/RobotoCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/RobotoCondensed-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Roboto Condensed';
  src: url('fonts/RobotoCondensed-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/RobotoCondensed-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

body {
  background-color: white;
  font-family: 'Roboto', sans-serif;
  padding: 0;
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: 'Roboto Condensed', serif;
}
p,
ul {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 20px;
}
a {
  color: black;
  text-decoration: underline;
}
pre {
  margin: 30px 0;
}

p > code {
  background-color: #f1f1f1;
  padding: 1px 3px;
  border-radius: 2px;
}
pre.highlight > code {
  font-size: 14px;
}

.header {
  height: calc(100vh - 120px);
  max-height: 600px;
  background-image: url('../img/header_photo.jpg');
  background-size: cover;
  background-color: #598080;
  background-position-y: 90%;
  background-position-x: 50%;
}
.header-post {
  height: 100px;
  background: #35e693; /* Old browsers */ /* FF3.6+ */ /* Chrome,Safari4+ */ /* Chrome10+,Safari5.1+ */ /* Opera 11.10+ */ /* IE10+ */
  background: linear-gradient(45deg, #35e693 0%, #72a7ff 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#35e693', endColorstr='#72a7ff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  background-size: cover;
  text-transform: uppercase;
}
.avatar {
  background-image: url('../img/andre.jpg');
  background-size: cover;
  margin-left: auto;
  margin-right: auto;
  height: 100px;
  width: 100px;
  position: relative;
  top: -50px;
  margin-bottom: -50px;
  border: 2px solid white;
  border-radius: 50px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
}
.centered {
  text-align: center;
}

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 100px;
}
@media (min-width: 615px) {
  .container {
    max-width: 600px;
  }
}

.nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 40px;
  align-items: flex-start;
}
.nav-item {
  margin-left: 10px;
  margin-right: 10px;
  background-color: #f1f3f5;
  color: #495057;
  padding: 12px;
  min-width: 80px;
  text-align: center;
  border-bottom: 2px solid white;
}
.nav-item:hover,
.nav-item:active {
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
  margin-top: -2px;
}

.name-title {
  color: #444;
}
a.name-title {
  display: inline;
  text-decoration: none;
  color: #444;
}
a.name-title:hover {
  text-decoration: none;
  color: #444;
  border-bottom: 1px solid #444;
}
.name-subtitle {
  color: #999;
  font-size: 18px;
  font-family: 'Roboto Condensed';
  margin-bottom: 40px;
  text-transform: uppercase;
}
.post-title {
  color: #666;
  font-family: 'Roboto Condensed';
  margin: 40px 0 0;
  text-transform: uppercase;
}
.post-date {
  color: #999;
  font-family: 'Source Sans Pro';
  margin: 0 0 40px;
  text-transform: uppercase;
}
.verify-in-keybase {
  color: #999;
  font-variant: small-caps;
  font-size: small;
}
.verify-in-keybase a {
  color: #999;
}

.big-tweet-header {
  margin-top: 50px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

.big-tweet-name-part {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 80px;
}

.big-tweet-name {
  margin: 0;
  display: block;
}

.big-tweet-handle,
.big-tweet-date {
  display: inline-block;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #888;
}
.big-tweet-handle a {
  color: #888;
}
.big-tweet-date {
  margin-left: 10px;
}

.big-tweet-avatar {
  background-image: url('../img/andre.jpg');
  background-size: cover;
  height: 80px;
  width: 80px;
  border-radius: 10px;
}

.big-tweet-body p {
  font-size: 1.4rem;
}
.big-tweet-body pre {
  font-size: 1.6rem;
}

.big-tweet-body table {
  width: 100%;
  margin: 40px 0;
  font-size: 2.1rem;
}

.big-tweet-body th {
  border-bottom: 1px solid #333;
}

.syllables {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 20px;
  color: #555;
  margin-right: 15px;
}
h2.hr {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #aaa;
  line-height: 0;
  margin: 60px 0 30px;
  font-size: 16px;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
span.hr {
  background-color: white;
  padding: 0 10px;
  font-family: 'Roboto Condensed';
  color: #999;
}
ul.horizontal {
  width: 100%;
  max-width: 352px;
  display: flex;
  padding: 0;
  margin: 0 auto;
  justify-content: space-between;
}
ul.horizontal li {
  display: inline-block;
  text-align: center;
}
ul.horizontal li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 39px;
  font-size: 20px;
  color: white;
  text-decoration: none;
  border-bottom: 2px solid white;
}
blockquote {
  display: block;
  padding-left: 1.5em;
  padding-right: 1em;
  padding-top: 21px;
  padding-bottom: 1px;
  margin: 1.5em 0;
  border-left: 4px solid #ddd;
  background-color: #eee;
  color: #333;
}
ul.horizontal li a:hover,
ul.horizontal li a:active {
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
  margin-top: -2px;
}
.twitter-bg {
  background-color: #33ccff;
}
.facebook-bg {
  background-color: #3b5998;
}
.linkedin-bg {
  background-color: #0e76a8;
}
.stackexchange-bg {
  background-color: #ef8236;
}
.github-bg {
  background-color: #171515;
}
.email-bg {
  background-color: #888;
}
.codementor-bg {
  background-color: #003648;
}
.post img {
  width: 100%;
  margin: 2em 0;
}
.post ol li {
  margin: 10px 0;
}
.post h2:not(.name-title) {
  margin-top: 40px;
  margin-bottom: 20px;
}
.footer {
  margin-top: 60px;
  background-color: #eee;
  text-align: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 30px 0;
  color: #888;
}
.footer a {
  color: #888;
}
.footer p {
  font-size: 14px;
  text-align: center;
}
span.dot {
  margin: 0 5px;
}
