/* Theme */
:root {
  --body-bg-color: #12181b;
  --primary-color: #fb873c;
  --text-color-light: #929399;
  --text-color-normal: #c2c3c7;
  --text-color-dark: #ebebec;
  --border-color: #353746;
  --black: #fff;
}

[data-theme="light"] {
  --body-bg-color: #ffffff;
  --primary-color: #fb873c;
  --text-color-light: #a1a6b1;
  --text-color-normal: #3d4452;
  --text-color-dark: #1a202b;
  --border-color: #e8e9eb;
  --black: #000;
}

/* Document */
html,
body {
  min-height: 100%;
}

body {
  background-color: var(--body-bg-color);
  color: var(--text-color-normal);
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  padding: 0 50px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
}

/* Headers & Text */
.header-h1,
.header-h2,
.header-h3,
.header-h4,
.header-h5 {
  font-family: "PT Serif";
  color: var(--text-color-dark);
}

.header-h1 {
  font-size: 48px;
  line-height: 52px;
}
.header-h2 {
  font-size: 40px;
  line-height: 52px;
}
.header-h3 {
  font-size: 30px;
  line-height: 42px;
}
.header-h4 {
  font-size: 30px;
  line-height: 42px;
}
.header-h5 {
  font-size: 15px;
  text-transform: uppercase;
  color: var(--text-color-light);
  font-family: "Open Sans";
}

/* Container */
.container {
  margin: 0 auto;
  max-width: 1169px;
}

/* Layout */
.layout-header {
  display: flex;
  justify-content: space-between;
  line-height: 80px;
  margin-bottom: 100px;
  background-color: var(--body-bg-color);
  position: sticky;
  top: 0;
  z-index: 1;
}
@media (min-width: 0px) and (max-width: 600px) {
  .layout-header {
    line-height: 50px;
    flex-direction: column;
    text-align: center;
    margin-right: -50px;
    margin-left: -50px;
  }
}
@media (min-width: 0px) and (max-width: 900px) {
  .layout-header {
    padding: 0 25px 10px;
    margin-right: -50px;
    margin-left: -50px;
  }
}
.layout-brand {
}
.layout-brand-link {
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  line-height: 85px;
  transition-duration: 0.2s;
  transition-property: transform;
  display: inline-block;
}
.layout-brand-link:hover {
  transform: scale(1.05) rotate(-1.5deg);
}
@media (min-width: 0px) and (max-width: 600px) {
  .layout-brand-link {
    line-height: 30px;
  }
}
.layout-navigation {
}
.layout-main {
  animation: fadeIn 0.2s ease-in;
}
.layout-footer {
  margin: 100px 0 75px;
  text-align: center;
}

/* Navigation */
.navigation {
  white-space: nowrap;
}
.navigation-item {
  padding: 4px 12px;
  text-decoration: none;
  color: var(--text-color-normal);
  font-size: 14px;
  position: relative;
}
.navigation-item:hover {
  color: var(--black);
}
.navigation-item:hover:after,
.navigation-item-active:after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 0;
  width: calc(100% - 27px);
  height: 1px;
}
.navigation-item-active {
  color: var(--black);
}
.navigation-item-active:after,
.navigation-item-active:hover:after {
  background-color: var(--primary-color);
}
.navigation-button:first-of-type {
  margin-left: 10px;
}
.navigation-button {
  background: none;
  border: none;
  vertical-align: middle;
  cursor: pointer;
  line-height: 10px;
}
.navigation-button-icon {
  display: block;
  width: 18px;
  height: 18px;
  background: url("/imgs/icon-sun.svg") no-repeat;
}
[data-theme="light"] .navigation-button-icon {
  width: 16px;
  height: 16px;
  background: url("/imgs/icon-moon.svg") no-repeat;
  background-size: contain;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 700px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 0px) and (max-width: 900px) {
  .hero-left {
    flex-basis: 100%;
  }
}
.hero-lead {
  margin-bottom: 36px;
}
.hero-text {
  font-size: 20px;
  line-height: 30px;
  color: var(--text-color-dark);
}
.hero-separator {
  flex-basis: 100%;
  text-align: center;
  margin: 125px 0;
}

/* Blog Roll */
.blog-roll {
  margin: 0 auto;
  max-width: 700px;
}
.blog-roll-item {
}

/* Post */
.post {
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
}
.post:last-child {
  border-bottom: none;
}
.post-meta {
  font-size: 14px;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--text-color-light);
}
.post-link {
  text-decoration: none;
  display: block;
  margin: 10px 0 25px;
}
.post-link:hover {
  color: var(--black);
}
.post-header-text {
  margin: 10px 0 25px;
}
.post-exerpt,
.post p {
  margin-bottom: 25px;
}

/* Blog */
.blog {
}
.blog-hero {
  margin-bottom: 100px;
}
.blog-hero img {
  max-width: 100%;
  border-radius: 5px;
}
@media (min-width: 0px) and (max-width: 900px) {
  .blog-hero {
    margin-left: -50px;
    margin-right: -50px;
  }
  .blog-hero img {
    border-radius: 0px;
  }
}
.blog-content {
  margin: 0 auto;
  max-width: 700px;
}

/* Photography */
.photography {
  position: absolute;
  top: 100px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
.photography-prev,
.photography-next {
  position: absolute;
  top: 0px;
  bottom: 200px;
  width: 10px;
  display: flex;
  cursor: pointer;
  opacity: 25%;
  filter: brightness(100%);
  user-select: none;
  justify-content: center;
  z-index: 2
}
.photography-prev:hover,
.photography-next:hover {
  opacity: 100%;
}
.photography-prev {
  left: 25px;
  padding: 0 40% 0 25px;
}
.photography-next {
  right: 25px;
  padding: 0 25px 0 40%;
}
@media (min-width: 0px) and (max-width: 700px) {
  .photography-prev img,
  .photography-next img {
    display: none;
  }
}
.photography-prev img,
.photography-next img {
  width: 100%;
}
[data-theme="light"] .photography-prev,
[data-theme="light"] .photography-next {
  filter: brightness(0%);
}
.photography-slideshow {
  flex-basis: 100%;
}

/* Slideshow */
.slideshow {
}
.slideshow-photo {
  position: absolute;
  top: 75px;
  right: 150px;
  left: 150px;
  bottom: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
}
@media (min-width: 701px) and (max-width: 900px) {
  .slideshow-photo {
    left: 100px;
    right: 100px;
  }
}
@media (min-width: 0px) and (max-width: 700px) {
  .slideshow-photo {
    top: 50px;
    bottom: 80px;
    left: -10px;
    right: -10px;
  }
}
.slideshow-thumbnails {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: nowrap;
  margin: 50px auto 0 auto;
  max-width: 400px;
  padding: 0 0 8px 0;
  /* Thumnail Scroll */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Hide scrollbar FF/IE */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
/* Hide scrollbar Chrome/Safari */
.slideshow-thumbnails::-webkit-scrollbar {
 background: transparent;
  height: 0px;
}
@media (min-width: 401px) and (max-width: 900px) {
  .slideshow-thumbnails {
    bottom: 25px;
  }
}
@media (min-width: 0px) and (max-width: 400px) {
  .slideshow-thumbnails {
    bottom: 0;
    display: none;
  }
}
.slideshow-thumbnail {
  min-width: 50px;
  margin: 0 8px 0 0;
  background-size: cover;
  opacity: 0.25;
  cursor: pointer;
  /* Thumnail Scroll */
  scroll-snap-align: center;
}
.slideshow-thumbnail:after {
  content: "";
  display: block;
  padding-bottom: 100%; /* Responsive aspect ratio */
}
.slideshow-thumbnail.active,
.slideshow-thumbnail:hover {
  opacity: 1;
  box-shadow: inset 0px 0px 0px 1px var(--primary-color);
}
.slideshow-thumbnail:last-child {
  margin: 0px;
}

/* Resume */
.resume {
  margin: 0 auto;
  max-width: 700px;
}

.resume-section-intro,
.resume-section-technology,
.resume-section-experience {
  margin: 75px 0;
}

/* Resume - Intro */
.resume-description,
.resume-links {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 36px;
  color: var(--text-color-dark);
}


/* Resume - Technology */
.resume-tech {
  margin: 40px 0;
}
.resume-tech-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.resume-tech-list-item {
  display: flex;
  flex-direction: column;
  margin: 15px 0 0 0;
  text-align: center;
  width: 120px;
  height: 130px;
  justify-content: space-around;
}
.resume-tech-brand {
  display: block;
  padding: 0 25px;
  margin-bottom: 5px;
}

.resume-job {
  margin: 60px 0;
}
.resume-job h3 {
  margin: 0 0 10px;
}
.resume-job h5 {
  margin: 0 0 20px;
}
.resume-job p {
  margin-bottom: 10px;
}
.resume-job ul {
  list-style-type: disc;
}
.resume-job li {
  margin-left: 25px;
  padding-left: 10px;
  line-height: 1.75;
  margin-top: 10px;
}

/* Music */
.music {
  margin: 0 auto;
  max-width: 700px;
}

.music-section-intro {
  margin: 75px 0;
}

/* Resume - Technology */
.music {
  margin: 40px 0;
}
.music-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.music-list-item {
  display: flex;
  flex-direction: column;
  margin: 15px 0 0 0;
  text-align: left;
  width: 120px;
  height: 130px;
  justify-content: space-around;
  min-width: 400px;
}
