html {
  margin-top: 53px !important;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  display: block;
  background: #1a1a1a;
  padding: 16px 0 10px;
  z-index: 999;
}

.timeline {
  position: relative;
  margin-top: 50px;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0px;
  left: calc(48% + 15px);
  bottom: 0px;
  width: 4px;
  background: #ddd;
}

.timeline:after {
  content: "";
  display: table;
  clear: both;
}

.entry {
  clear: both;
  display: inline-block;
  width: 100%;
  text-align: left;
  position: relative;
}

.entry .title {
  margin-bottom: .5em;
  float: left;
  width: 48%;
  padding-right: 30px;
  text-align: right;
  position: relative;
  box-sizing: border-box;
}

.entry .title:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 4px solid white;
  background: salmon;
  border-radius: 100%;
  top: 15%;
  right: -29px;
  z-index: 99;
}

.entry .title h3 {
  margin: 0;
  font-size: 120%;
}

.entry .title p {
  margin: 0;
  font-size: 100%;
}

.entry .title img {
  margin-top: 10px;
  max-width: 100px;
  max-height: 50px;
}

.entry .body {
  margin: 0 0 3em;
  float: right;
  width: 48%;
  padding-left: 20px;
  box-sizing: border-box;
}

.entry .body h4 {
  font-size: 1.2em !important;
}

.entry .body ul {
  color: #353535;
  padding-left: 0;
  list-style-type: none;
}

.entry .body ul li:before {
  content: "–";
  margin-right: .5em;
}

.cv-title {
  font-size: 2em;
}

.equation-math {
  text-align: center;
  margin: 40px 0;
  position: relative;
}

.equation-math span {
  text-align: left;
}

#canvas-graph-animation-container {
  position: relative;
  background: white !important;
}

#canvas-graph-animation {
  position: absolute;
  top: 0;
  left: 0;
}

.equation-math-number {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: 0;
  height: 100%;
  line-height: 40px;
  right: 20px;
  font-size: 0.9em;
  color: #1b1b1b;
  font-weight: bold;
}

.blog-figure-container {
  text-align: center;
}

.blog-figure-container img {
  max-width: 100%;
}

.blog-figure-container p {
  text-align: left;
}

.photography-items div {
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  cursor: pointer;
  font-size: 1.5em;
}

.photography-items a {
  text-indent: -9999px;
  width: 100%;
  color: white !important;
  height: 100%;
  text-align: center;
  padding: 110px 0;
  display: inline-block;
  text-decoration: none !important;
}

.photography-items a:hover {
  text-indent: 0;
}

.photography-items a:hover span {
  padding: 6px 12px;
  background: #1a1a1a;
  opacity: .75;
}

.page-cover {
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 12px;
  background-color: #1a1a1a;
  margin-bottom: 50px;
}

.page-cover h1 {
  font-size: 2em;
  display: inline-block;
  margin: 0 auto 50px;
  color: white;
  padding: 8px 20px;
  background: rgba(26, 26, 26, 0.7);
}

.page-cover time {
  display: inline-block;
  background: rgba(26, 26, 26, 0.7);
  padding: 8px 20px;
  color: white;
}

footer {
  margin: 60px auto 50px !important;
  color: #484848;
  font-size: .9em;
}

@keyframes shake {

  25% {
    transform: translate3d(-50px, 0, 0);
  }

  0%, 50%, 100% {
    transform: translate3d(0, 0, 0);
  }

  75% {
    transform: translate3d(50px, 0, 0);
  }

}

.shape {
  display: inline-block;
}

.shape-space-invader {
  animation: shake 5s infinite;
  transform: translate3d(0, 0, 0);
  box-shadow:
  0 0 0 1em #e5e9ef,
  0 1em 0 1em #e5e9ef,
  -2.5em 1.5em 0 .5em #e5e9ef,
  2.5em 1.5em 0 .5em #e5e9ef,
  -3em -3em 0 0 #e5e9ef,
  3em -3em 0 0 #e5e9ef,
  -2em -2em 0 0 #e5e9ef,
  2em -2em 0 0 #e5e9ef,
  -3em -1em 0 0 #e5e9ef,
  -2em -1em 0 0 #e5e9ef,
  2em -1em 0 0 #e5e9ef,
  3em -1em 0 0 #e5e9ef,
  -4em 0 0 0 #e5e9ef,
  -3em 0 0 0 #e5e9ef,
  3em 0 0 0 #e5e9ef,
  4em 0 0 0 #e5e9ef,
  -5em 1em 0 0 #e5e9ef,
  -4em 1em 0 0 #e5e9ef,
  4em 1em 0 0 #e5e9ef,
  5em 1em 0 0 #e5e9ef,
  -5em 2em 0 0 #e5e9ef,
  5em 2em 0 0 #e5e9ef,
  -5em 3em 0 0 #e5e9ef,
  -3em 3em 0 0 #e5e9ef,
  3em 3em 0 0 #e5e9ef,
  5em 3em 0 0 #e5e9ef,
  -2em 4em 0 0 #e5e9ef,
  -1em 4em 0 0 #e5e9ef,
  1em 4em 0 0 #e5e9ef,
  2em 4em 0 0 #e5e9ef;
  background: #e5e9ef;
  width: 1em;
  height: 1em;
  font-size: 3px;
  overflow: hidden;
  margin: 9px 0 8px 0;
}

.shape-circle {
  width: 10px;
  height: 10px;
  background: #e5e9ef;
  -moz-border-radius: 50px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  margin: 0 0 -4px;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 30px solid #e5e9ef;
}

.shape-infinity {
  position: relative;
  width: 46px;
  height: 17px;
}

.shape-infinity:before,
.shape-infinity:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 3px solid #e5e9ef;
  -moz-border-radius: 50px 50px 0 50px;
  border-radius: 50px 50px 0 50px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.shape-infinity:after {
  left: auto;
  right: 0;
  -moz-border-radius: 50px 50px 50px 0;
  border-radius: 50px 50px 50px 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.margintop50 {
  margin-top: 50px;
}

.marginbottom50 {
  margin-bottom: 50px;
}

.page-title {
  margin-top: 150px;
  margin-bottom: 100px;
  font-size: 3em;
}

.rambling-short-item h2 {
  font-size: 2em;
}

.rambling-short-item time {
  margin-bottom: 30px;
  color: #5d5d5d;
  display: block;
}

#social a {
  text-decoration: none;
}

#social svg {
  height: 12px;
}

#social svg g {
  fill: #353535;
  transition: fill .4s;
}

#social a:hover svg g {
  opacity: .75;
  fill: #3b5998;
  transition: fill .4s;
}

#copyright-container {
  font-weight: bold !important;
}

.copyright-tilde {
  margin-right: 14px;
}

.copyright-author {
}

.center {
  text-align: center;
}

#main-content {
  position: relative;
  z-index: 0;
}

#neuroevolution-canvas {
  display: none;
}

.home-title {
  font-size: 1.5em;
  margin-bottom: 40px;
}

.post-item {
  background: #a1a1a1;
  margin-bottom: 30px;
}

.posts-container {
  max-width: 1600px !important;
}

.post-item-image {
  display: inline-block;
  width: 100%;
  height: 270px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  float: left;
  transition: opacity .5s;
}

.post-item-content {
  background: #ffffff;
  border: 1px solid #e9eff3;
  display: inline-block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #222222;
  box-sizing: border-box;
  padding: 18px;
  border-top: 0;
  transition: background .5s;
}

.post-item:hover .post-item-content {
  background: #e9eff3;
  transition: background .5s;
  color: #222222 !important;
}

.post-item:hover .post-item-image {
  opacity: .75;
  transition: opacity .5s;
}

.post-item-content a:hover {
  color: #222222;
}

.post-item-content h3 {
  font-size: 1.2em;
}

.post-item-content p {
  margin: 10px 0;
  font-size: .9em;
  color: #5d5d5d;
}

.columns {
  margin-left: 0 !important;
}

.three {
  width: 100% !important;
}

.home-title::before {
  content: '';
  display: inherit;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  margin-bottom: 4px;
  background-color: #c1c3c5;
  position: relative;
  top: 50px;
  left: calc(50% - 2px);
}

.hide {
  display: none !important;
}

#logo-container {
  position: relative;
  text-align: center;
}

#logo-container a {
  display: inline-block;
}

#logo-container a:hover span {
  opacity: 1;
}

#logo-container img {
  float: left;
}

#logo-container span {
  display: none;
}

#main-navigation {
  font-size: .8em;
  text-decoration: none;
  display: none;
  margin-top: 15px;
  width: 100%;
}

#main-navigation ul {
  margin: 0;
  display: block;
}

#main-navigation ul li {
  display: inline-block;
  width: 100%;
}

#main-navigation ul li a {
  text-decoration: none;
  display: block;
  padding: 4px 0;
  color: white;
}

#main-navigation ul li a i {
  color: white;
  float: left;
  display: inline-block;
  font-size: 1.2em;
  opacity: .7;
  margin-right: 20px;
  margin-top: 3px;
  transition: opacity .4s;
}

#main-navigation ul li a:hover i {
  opacity: 1;
}

.burgermenu {
  position: absolute;
  right: 0;
  top: 4px;
  cursor: pointer;
  font-size: 1.1em !important;
  color: white;
  font-weight: bold;
  transform: rotate(0deg) !important;
  transition: transform .2s;
}

.burgermenu-active {
  transform: rotate(90deg) !important;
  transition: transform .2s;
}

#home-about {
  background: #1a1a1a;
  margin-top: -27px;
  margin-bottom: 30px;
  padding: 45px 0;
  color: white;
  text-align: center;
}

#home-about img {
  border-radius: 169px;
  border: 2px solid #6d6d6d;
  padding: 2px;
  margin-top: 30px;
  box-sizing: border-box;
  max-width: 170px;
  max-height: 170px;
  margin-bottom: 20px;
}

#home-about section {
  box-sizing: border-box;
  text-align: left;
}

#home-about h3 {

}

#home-about p {
}

@media (min-width: 600px) {

  .three {
    width: 50% !important;
  }

  html {
    margin: 0 !important;
  }

  #neuroevolution-canvas {
    display: block;
  }

  .burgermenu {
    display: none !important;
  }

  header {
    position: relative;
  }

  #logo-container {
    margin: 7px 0 0 !important;
    float: left;
  }

  #logo-container span {
    opacity: 0;
    display: inline-block;
    transition: opacity .25s ease-in-out;
    float: right;
    text-decoration: none;
    color: #bfbfbf;
    margin-left: 20px;
    font-weight: bold;
    margin-top: 3px;
    font-size: .7em;
  }

  #main-navigation {
    float: right;
    text-align: center;
    display: block !important;
    margin-top: 0;
    width: auto;
  }

  #main-navigation ul {
    display: inline-block;
    margin: 2px 0 0;
    padding: 0;
  }

  #main-navigation ul li {
    margin: 0;
    display: inline-block;
    padding: 0;
    width: auto;
    float: left;
  }

  #main-navigation ul li a {
    border-radius: 3px;
    padding: 8px 14px 7px;
    font-weight: normal;
    color: white;
  }

  #main-navigation ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
  }

  #main-navigation ul li a:active {
    background: rgba(255, 255, 255, 0.25);
  }

  #main-navigation ul li a i {
    display: none;
  }

  .page-cover {
    padding: 90px 12px !important;
  }

}

@media (min-width: 1000px) {

  .three {
    width: 25% !important;
  }

  #home-about {
    margin-top: 0;
  }

  #home-about {
    text-align: left;
  }

  #home-about img {
    float: left;
    width: 20%;
    height: 20%;
    margin-bottom: 0;
  }

  #home-about section {
    padding-left: 20px;
    float: right;
    width: 80%;
  }

}
