body {
  padding: 0;
  margin: 0;
  background: #FBFCF5;
  font-family: Raleway, sans-serif;
  font-size: 16px; }

a {
  color: #859C3D;
  text-decoration: none; }

a:hover {
  color: black; }

ul {
  list-style: '- '; }

h1, h2, h3, h4 {
  font-weight: normal;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.1em; }

img {
  width: 100%; }

.centre {
  text-align: center; }

.hl {
  color: #859C3D; }

.page-container {
  max-width: 45em;
  margin: auto; }

.container {
  max-width: 45em;
  margin: auto; }

.main-header a, .site-footer a, .dark-section a, .portfolio-grid li.recent a, .portfolio-container .item.recent a {
  color: #ebf0ce;
  text-decoration: none; }
.main-header a:hover, .site-footer a:hover, .dark-section a:hover, .portfolio-grid li.recent a:hover, .portfolio-container .item.recent a:hover {
  color: white; }

.main-header {
  background: #212121;
  padding: 0.5em;
  color: #F5F5F5;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.1em; }
  .main-header a.header-text {
    float: left;
    display: inline-block;
    padding: 0.25em;
    color: #F5F5F5; }
  .main-header a {
    display: inline-block;
    padding: 0.25em; }
  .main-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right; }
  .main-header li {
    display: inline-block;
    padding: 0; }

.site-footer {
  background: #212121;
  padding: 1em;
  color: #F5F5F5; }

.intro-text-main {
    margin-top: 2em;
    margin-bottom: 2em;
    text-align: center;
    font-size: 2em;
    line-height: 1.5em;
  }

.intro-text-main img {
  width: 15em;
  display: block;
  margin: auto;
}

a.portfolio-link::before, a.gallery-link::before, a.cosplay-link::before {
  content: '';
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  margin-right: 0.25em;
}

a.portfolio-link::before {
  background: url('../images/code.svg') no-repeat center;
  background-position-y: 0.1em;
}

a.gallery-link::before {
  background: url('../images/camera-retro.svg') no-repeat center;
}

a.cosplay-link::before {
  background: url('../images/user-astronaut.svg') no-repeat center;
}

.intro-text {
  margin-top: 1em;
  margin-bottom: 0.5em;
  text-align: center;
  font-size: 1.5em; }

.front-page-logo {
  display: block;
  width: 25%;
  margin: auto; }

.logo-section {
  width: 60%;
  margin: auto;
  text-align: center; }
  .logo-section .connector {
    margin: 0 0.2em;
    display: inline-block;
    font-size: 10em;
    line-height: 1em;
    text-align: center;
    color: #859C3D; }
  .logo-section img {
    display: inline-block;
    width: 7em; }

.science-section {
  margin: 1.5em 0;
  margin-top: 0;
  text-align: center; }

.dna-image {
  height: 8em; }

.dark-section {
  padding: 0.5em 0;
  background: #212121;
  color: #F5F5F5; }
  .dark-section .container {
    max-width: 50em; }
  .dark-section .big-highlight {
    width: 40%; }

.recent-section {
  display: flex; }
  .recent-section .section-highlight {
    width: 50%;
    padding: 0 0.5em;
    text-align: center; }
    .recent-section .section-highlight h3 {
      margin-top: 0;
      text-align: center; }
    .recent-section .section-highlight img {
      display: inline-block;
      max-height: 10em;
      width: auto;
      margin: auto; }
 
.destination-section {
  display: flex;
  padding: 1em 0;
}

.destination-item {
  flex: 1;
  padding: 1em;
  text-align: center;
}

.destination-item .icon-container {
  display: block;
  height: 4em;
}

.destination-item img {
  width: 4em;
}

.large-text {
  font-size: 1.5em;
  text-align: center; }

.skills-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.2em;
  text-align: center; }

.skills-section ul li {
  margin: 0 1em 1em 1em;
  display: inline-block; }

.social-media-list {
  margin: 1em 0 0 0;
  padding: 0;
  list-style: none;
  text-align: center; }
  .social-media-list li {
    margin-right: 1em;
    display: inline; }
  .social-media-list .icon svg {
    width: 1em; }

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0;
  margin: 0;
  margin-bottom: 2em;
  list-style: none;
  overflow: hidden;
  text-align: center; }
  .portfolio-grid li {
    position: relative;
    padding: 0.5em;
    margin: 0.25em;
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: 1px 1px 3px rgba(255, 255, 255, 0.2);
    text-align: left; }
    .portfolio-grid li a {
      display: block;
      color: #212121 !important;
    }
    .portfolio-grid li .title {
      max-width: 100%;
      font-size: 1.25em;
      display: inline-block;
      padding: 1em 0.25em 0.5em 0.25em;
      text-transform: uppercase;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis; }
    .portfolio-grid li img {
      width: 100%; }
  .portfolio-grid li.older {
    width: 20%; }
    .portfolio-grid li.older .tag {
      font-size: 0.8em; }
  .portfolio-grid .tags, .portfolio-grid a {
    flex: 1 1 auto;
  }
  .portfolio-grid .tags {
    align-items: flex-end;
  }
  .portfolio-grid .tag {
    display: inline-block;
    background: #F5F5F5;
    color: #212121;
    padding: 0.5em 1em;
    font-size: 0.9em; }

.portfolio-container {
  padding: 1em;
  min-height: 50em; }
  .portfolio-container .tags {
    margin: 1em 0 1em 0;
    padding: 0;
    list-style: none;
    text-align: center;
    color: #859C3D; }
    .portfolio-container .tags li {
      margin-right: 1em;
      display: inline; }
  .portfolio-container .item {
    display: inline-block;
    width: 30%;
    margin: 0.5em;
    padding: 0.5em;
    background: white;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); }
  .portfolio-container .item.recent {
    background: #212121;
    color: #F5F5F5; }

.pagination {
  padding: 1em 0;
  width: 100%;
  text-align: center; }
  .pagination .previous {
    float: left; }
  .pagination .next {
    float: right; }

.post-header h1 {
  font-size: 1.2em; }
.post-header .post-meta {
  text-align: center; }

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
  margin-bottom: 15px; }
  .highlighter-rouge .highlight {
    background: #eef; }
  .highlight .c {
    color: #998;
    font-style: italic; }
  .highlight .err {
    color: #a61717;
    background-color: #e3d2d2; }
  .highlight .k {
    font-weight: bold; }
  .highlight .o {
    font-weight: bold; }
  .highlight .cm {
    color: #998;
    font-style: italic; }
  .highlight .cp {
    color: #999;
    font-weight: bold; }
  .highlight .c1 {
    color: #998;
    font-style: italic; }
  .highlight .cs {
    color: #999;
    font-weight: bold;
    font-style: italic; }
  .highlight .gd {
    color: #000;
    background-color: #fdd; }
  .highlight .gd .x {
    color: #000;
    background-color: #faa; }
  .highlight .ge {
    font-style: italic; }
  .highlight .gr {
    color: #a00; }
  .highlight .gh {
    color: #999; }
  .highlight .gi {
    color: #000;
    background-color: #dfd; }
  .highlight .gi .x {
    color: #000;
    background-color: #afa; }
  .highlight .go {
    color: #888; }
  .highlight .gp {
    color: #555; }
  .highlight .gs {
    font-weight: bold; }
  .highlight .gu {
    color: #aaa; }
  .highlight .gt {
    color: #a00; }
  .highlight .kc {
    font-weight: bold; }
  .highlight .kd {
    font-weight: bold; }
  .highlight .kp {
    font-weight: bold; }
  .highlight .kr {
    font-weight: bold; }
  .highlight .kt {
    color: #458;
    font-weight: bold; }
  .highlight .m {
    color: #099; }
  .highlight .s {
    color: #d14; }
  .highlight .na {
    color: #008080; }
  .highlight .nb {
    color: #0086B3; }
  .highlight .nc {
    color: #458;
    font-weight: bold; }
  .highlight .no {
    color: #008080; }
  .highlight .ni {
    color: #800080; }
  .highlight .ne {
    color: #900;
    font-weight: bold; }
  .highlight .nf {
    color: #900;
    font-weight: bold; }
  .highlight .nn {
    color: #555; }
  .highlight .nt {
    color: #000080; }
  .highlight .nv {
    color: #008080; }
  .highlight .ow {
    font-weight: bold; }
  .highlight .w {
    color: #bbb; }
  .highlight .mf {
    color: #099; }
  .highlight .mh {
    color: #099; }
  .highlight .mi {
    color: #099; }
  .highlight .mo {
    color: #099; }
  .highlight .sb {
    color: #d14; }
  .highlight .sc {
    color: #d14; }
  .highlight .sd {
    color: #d14; }
  .highlight .s2 {
    color: #d14; }
  .highlight .se {
    color: #d14; }
  .highlight .sh {
    color: #d14; }
  .highlight .si {
    color: #d14; }
  .highlight .sx {
    color: #d14; }
  .highlight .sr {
    color: #009926; }
  .highlight .s1 {
    color: #d14; }
  .highlight .ss {
    color: #990073; }
  .highlight .bp {
    color: #999; }
  .highlight .vc {
    color: #008080; }
  .highlight .vg {
    color: #008080; }
  .highlight .vi {
    color: #008080; }
  .highlight .il {
    color: #099; }
