html {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Merriweather", "Helvetica Neue", Arial, sans-serif;
}

hr {
  border-width: 3px;
  border-color: #00bc8c;
}

.hr-100 {
  max-width: 100px;
}

hr.light {
  border-color: #fff;
}

a {
  color: #00bc8c;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
afocus, a:hover {
  color: rgb(0%, 73.5254901961%, 54.7530246141%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

.bg-primary {
  background-color: #00bc8c !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.card {
  max-width: 350px;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}
.text-faded a {
  color: rgb(0%, 53.7254901961%, 40.008343763%);
  text-decoration: none;
}
.text-faded afocus, .text-faded a:hover {
  color: #000;
  text-decoration: none;
}

section {
  padding: 8rem 0;
}

section#blog, section#games, section#projects {
  padding: 4rem 0;
}
@media (max-width: 768px) {
  section#blog, section#games, section#projects {
    padding: 1rem 0;
  }
}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

body {
  -webkit-tap-highlight-color: #212529;
}

.map {
  position: relative;
  background-color: #ccc;
  margin-bottom: 1em;
}

.map img {
  display: block;
  width: 100%;
}

.marker {
  position: absolute;
  z-index: 1;
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #fff;
  background-color: #00bb8c;
  transition: all 300ms;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
}

.marker:hover {
  background-color: #fff;
}

.map-popup {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 99;
  width: 90%;
  padding: 1rem;
  background-color: #fff;
  transition: all 300ms ease-in;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
}

.map-popup h3 {
  margin-top: -3px;
  font-size: 20px;
  font-weight: bold;
}

.map-popup > *:first-child {
  margin-top: 0;
}

.map-popup > *:last-child {
  margin-bottom: 0;
}

.map-popup.open {
  opacity: 1;
  visibility: visible;
}

.map-popup-close {
  float: right;
  font-size: 22px;
  margin-top: -8px !important;
  cursor: pointer;
}

@media only screen and (min-width: 48em) {
  .map-item {
    position: absolute;
  }
  .map-item .marker {
    top: auto;
    left: auto;
  }
  .map-popup {
    position: absolute;
    left: 48px;
    width: 300px;
    transform: translateY(-50%);
  }
  .map-popup:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -16px;
    margin-top: -16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 16px 16px 0;
    border-color: transparent #fff transparent transparent;
  }
  .map-popup.edge {
    left: auto;
    right: calc(100% + 24px);
  }
  .map-popup.edge:before {
    left: auto;
    right: -16px;
    border-width: 16px 0 16px 16px;
    border-color: transparent transparent transparent #fff;
  }
}
.bs-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  padding: 0;
}

.bs-image {
  width: 33.3%;
  height: 225px;
  overflow: hidden;
  position: relative;
  display: inline-block;
}

.bs-image img {
  position: absolute;
  top: -9999px;
  bottom: -9999px;
  left: -9999px;
  right: -9999px;
  max-height: 350px;
  margin: auto;
}

.back-to-top {
  color: #212529;
  bottom: 15px;
  right: 15px;
  display: none;
  position: fixed;
  z-index: 10;
}

.page-title {
  font-weight: 800;
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
  line-height: 1.2;
}

@media only screen and (min-width: 768px) {
  .page-title {
    font-size: 36px;
  }
}
.page-subtitle {
  font-size: 1.75rem;
  font-weight: 300;
  margin: 0 0 10px;
  line-height: 1.2;
}

section h2 {
  font-weight: 800;
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
  line-height: 1.2;
}

#archive .archive-group ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}
#archive .card {
  margin-bottom: 1.25rem;
}

#projects .card-deck .card .card-img-top {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.word-cloud ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: justify;
}
.word-cloud ul li {
  display: inline-block;
  margin: 0 1rem 1rem 0;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
#mainNav .navbar-brand {
  font-weight: 700;
  font-size: 46px;
  text-transform: uppercase;
  color: #00bc8c;
  padding: 0px;
  margin: 0px;
  line-height: 0.9;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}
#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: rgb(0%, 73.5254901961%, 54.7530246141%);
}
#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #212529;
}
#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #00bc8c;
}
#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #00bc8c !important;
  background-color: transparent;
}
#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}
@media (min-width: 992px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #00bc8c;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: rgb(0%, 73.5254901961%, 54.7530246141%);
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #00bc8c;
  }
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  background-image: url("/static/images/header-home.jpg");
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}
header.masthead h1 {
  font-size: 2rem;
}
header.masthead p {
  font-weight: 300;
}
@media (min-width: 768px) {
  header.masthead p {
    font-size: 1.15rem;
  }
}
@media (min-width: 992px) {
  header.masthead {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}
@media (min-width: 1200px) {
  header.masthead h1 {
    font-size: 4rem;
  }
}

header {
  padding: 2rem 0;
}

header.header-blog,
header.header-page,
header.header-projects {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 512px) {
  header.header-blog,
  header.header-page,
  header.header-projects {
    background-size: 150% !important;
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: 58px;
  }
}
header.header-blog,
header.header-page,
header.header-projects {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
header.header-blog hr,
header.header-page hr,
header.header-projects hr {
  margin-top: 30px;
  margin-bottom: 30px;
}
header.header-blog h1,
header.header-page h1,
header.header-projects h1 {
  font-size: 2rem;
}
header.header-blog p,
header.header-page p,
header.header-projects p {
  font-weight: 300;
}
@media (min-width: 768px) {
  header.header-blog p,
  header.header-page p,
  header.header-projects p {
    font-size: 1.15rem;
  }
}
@media (min-width: 992px) {
  header.header-blog,
  header.header-page,
  header.header-projects {
    height: 40vh;
    min-height: 325px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.header-blog h1,
  header.header-page h1,
  header.header-projects h1 {
    font-size: 3rem;
  }
}
@media (min-width: 1200px) {
  header.header-blog h1,
  header.header-page h1,
  header.header-projects h1 {
    font-size: 4rem;
  }
}

header#page {
  padding: 2rem 0 1rem 0;
}
@media (max-width: 768px) {
  header#page {
    padding: 0rem 0 1rem 0;
  }
}

header#post {
  padding: 2rem 0 0 0;
}
@media (max-width: 768px) {
  header#post {
    padding: 1rem 0 0.5rem 0;
  }
}

footer {
  background-color: #212529 !important;
  padding: 3rem 0;
}
footer a {
  color: #fff;
}
footer p {
  margin: 0;
}
footer .icon-dark {
  color: #212529;
}
footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  margin-top: 2rem;
  margin-bottom: 0;
  text-align: center;
}
@media (max-width: 768px) {
  footer {
    padding: 1rem 0;
  }
  footer .copyright {
    margin-top: 0.5rem;
    margin-bottom: 0;
    text-align: center;
  }
}

.service-box {
  max-width: 400px;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}
.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(0, 188, 140, 0.9);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-link {
  font-size: 14px;
  color: rgb(0%, 53.7254901961%, 40.008343763%);
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-link .hover {
  color: #000;
}
.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}
.portfolio-box:focus {
  outline: none;
}
@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

.post-preview {
  margin-bottom: 2rem;
}
.post-preview a {
  color: #000;
}
.post-preview a:hover {
  color: #00bc8c;
  text-decoration: none;
}

.post-preview:last-child {
  margin-bottom: 0.5rem;
}

.post-title {
  font-weight: 800;
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
  line-height: 1.2;
}

@media only screen and (min-width: 768px) {
  .post-title {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .post-title {
    margin-top: 0;
  }
}
.post-subtitle {
  font-size: 1.75rem;
  font-weight: 300;
  margin: 0 0 10px;
  line-height: 1.2;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-bottom: 1rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pagination {
  padding: 4rem 0;
}
@media (max-width: 768px) {
  .pagination {
    padding: 1rem 0;
  }
}

#disqus_thread {
  padding: 4rem 0;
}

code {
  padding: 0.1em 0.4em;
  background: #f5f6f7;
  border: 1px solid #e4e4e4;
  border-radius: 3px;
  color: #f92672;
}

.codehilite pre {
  background-color: #f5f6f7;
  border: 1px solid #e4e4e4;
  padding: 0.6em 0.8em 0.4em 0.8em;
  border-radius: 3px;
  color: #000;
  word-wrap: normal;
}
.codehilite pre code {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  white-space: pre;
}
.codehilite pre code .lineno {
  margin-right: 5px;
}
.codehilite pre::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
  height: 7px;
}
.codehilite pre::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.5);
}

.codehilite .hll {
  background-color: #e6e3c3;
}

.codehilite {
  background: #fafafa;
  color: #272822;
}

.codehilite .c {
  color: #75715e;
} /* Comment */
.codehilite .err {
  color: #960050; /* background-color: #1e0010*/
} /* Error */
.codehilite .k {
  color: #00a8c8;
} /* Keyword */
.codehilite .l {
  color: #ae81ff;
} /* Literal */
.codehilite .n {
  color: #111111;
} /* Name */
.codehilite .o {
  color: #f92672;
} /* Operator */
.codehilite .p {
  color: #111111;
} /* Punctuation */
.codehilite .ch {
  color: #75715e;
} /* Comment.Hashbang */
.codehilite .cm {
  color: #75715e;
} /* Comment.Multiline */
.codehilite .cp {
  color: #75715e;
} /* Comment.Preproc */
.codehilite .cpf {
  color: #75715e;
} /* Comment.PreprocFile */
.codehilite .c1 {
  color: #75715e;
} /* Comment.Single */
.codehilite .cs {
  color: #75715e;
} /* Comment.Special */
.codehilite .ge {
  font-style: italic;
} /* Generic.Emph */
.codehilite .gs {
  font-weight: bold;
} /* Generic.Strong */
.codehilite .kc {
  color: #00a8c8;
} /* Keyword.Constant */
.codehilite .kd {
  color: #00a8c8;
} /* Keyword.Declaration */
.codehilite .kn {
  color: #f92672;
} /* Keyword.Namespace */
.codehilite .kp {
  color: #00a8c8;
} /* Keyword.Pseudo */
.codehilite .kr {
  color: #00a8c8;
} /* Keyword.Reserved */
.codehilite .kt {
  color: #00a8c8;
} /* Keyword.Type */
.codehilite .ld {
  color: #fd971f;
} /* Literal.Date */
.codehilite .m {
  color: #ae81ff;
} /* Literal.Number */
.codehilite .s {
  color: #fd971f;
} /* Literal.String */
.codehilite .na {
  color: #75af00;
} /* Name.Attribute */
.codehilite .nb {
  color: #111111;
} /* Name.Builtin */
.codehilite .nc {
  color: #75af00;
} /* Name.Class */
.codehilite .no {
  color: #00a8c8;
} /* Name.Constant */
.codehilite .nd {
  color: #75af00;
} /* Name.Decorator */
.codehilite .ni {
  color: #111111;
} /* Name.Entity */
.codehilite .ne {
  color: #75af00;
} /* Name.Exception */
.codehilite .nf {
  color: #75af00;
} /* Name.Function */
.codehilite .nl {
  color: #111111;
} /* Name.Label */
.codehilite .nn {
  color: #111111;
} /* Name.Namespace */
.codehilite .nx {
  color: #75af00;
} /* Name.Other */
.codehilite .py {
  color: #111111;
} /* Name.Property */
.codehilite .nt {
  color: #f92672;
} /* Name.Tag */
.codehilite .nv {
  color: #111111;
} /* Name.Variable */
.codehilite .ow {
  color: #f92672;
} /* Operator.Word */
.codehilite .w {
  color: #272822;
} /* Text.Whitespace */
.codehilite .mb {
  color: #ae81ff;
} /* Literal.Number.Bin */
.codehilite .mf {
  color: #ae81ff;
} /* Literal.Number.Float */
.codehilite .mh {
  color: #ae81ff;
} /* Literal.Number.Hex */
.codehilite .mi {
  color: #ae81ff;
} /* Literal.Number.Integer */
.codehilite .mo {
  color: #ae81ff;
} /* Literal.Number.Oct */
.codehilite .sb {
  color: #fd971f;
} /* Literal.String.Backtick */
.codehilite .sc {
  color: #fd971f;
} /* Literal.String.Char */
.codehilite .sd {
  color: #fd971f;
} /* Literal.String.Doc */
.codehilite .s2 {
  color: #fd971f;
} /* Literal.String.Double */
.codehilite .se {
  color: #8045FF;
} /* Literal.String.Escape */
.codehilite .sh {
  color: #fd971f;
} /* Literal.String.Heredoc */
.codehilite .si {
  color: #fd971f;
} /* Literal.String.Interpol */
.codehilite .sx {
  color: #fd971f;
} /* Literal.String.Other */
.codehilite .sr {
  color: #fd971f;
} /* Literal.String.Regex */
.codehilite .s1 {
  color: #fd971f;
} /* Literal.String.Single */
.codehilite .ss {
  color: #fd971f;
} /* Literal.String.Symbol */
.codehilite .bp {
  color: #111111;
} /* Name.Builtin.Pseudo */
.codehilite .vc {
  color: #111111;
} /* Name.Variable.Class */
.codehilite .vg {
  color: #111111;
} /* Name.Variable.Global */
.codehilite .vi {
  color: #111111;
} /* Name.Variable.Instance */
.codehilite .il {
  color: #ae81ff;
} /* Literal.Number.Integer.Long */
.fa-sm {
  font-size: 0.75em;
}

.text-primary {
  color: #00bc8c !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #00bc8c;
  border-color: #00bc8c;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: rgb(0%, 63.7254901961%, 47.4551522737%) !important;
}
.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 188, 140, 0.5) !important;
}

#mainNav .navbar-brand {
  color: rgb(255, 255, 255);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
}
.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  position: relative;
}

.lightbox-image {
  display: block;
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.5rem;
}
.lightbox-image.is-clickable {
  cursor: pointer;
}

.lightbox-action,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.15s;
}
.lightbox-action[hidden],
.lightbox-nav[hidden] {
  display: none;
}

.lightbox-action {
  right: -1rem;
  width: 2rem;
  height: 2rem;
  font-size: 0.875rem;
  color: #000;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.lightbox-action:hover, .lightbox-action:focus {
  color: #000;
  background: #f8f9fa;
  text-decoration: none;
}

.lightbox-close {
  top: -1rem;
}

.lightbox-newtab {
  top: 1.5rem;
}

@media (max-width: 575.98px) {
  .lightbox-action {
    right: 0.5rem;
  }
  .lightbox-close {
    top: 0.5rem;
  }
  .lightbox-newtab {
    top: 3rem;
  }
}
.lightbox-nav {
  top: 50%;
  width: 2.25rem;
  height: 2.25rem;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}
.lightbox-nav:hover, .lightbox-nav:focus {
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-prev {
  left: 0.5rem;
}

.lightbox-next {
  right: 0.5rem;
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.lightbox-caption[hidden] {
  display: none;
}
.lightbox-caption span {
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
}
