/*
 * Common Section
 */
@font-face {
  font-family: 'assistant';
  src: url('/font/assistant-regular-webfont.woff2') format('woff2'),
       url('/font/assistant-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: fallback;
}

*, body, h1, h2, h3, h4, h5, h6,
.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
  letter-spacing: 0.05rem;
}

body {
  font-family: 'assistant', sans-serif;
  color: #222;
  padding-bottom: 5rem;
}

.hidden {
  display: none;
}

a {
  color: #222;
  text-decoration: underline;
}

a.plain {
  text-decoration: none;
}

.centered-area {
  width: 100%;
  text-align: center;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.6rem;
}

h3 {
  font-size: 2.2rem;
}

h4 {
  font-size: 1.8rem;
}

li {
  margin-bottom: 0.2rem;
}

.container {
  max-width: 90.0rem;
}

pre code {
  background: none;
}

.full-width-divider {
  display: block;
  width: 100%;
  border-top: 1px solid #ddd;
  margin: 1.5rem 0 2.5rem 0;
  clear: both;
}

.half-width-divider {
  width: 75%;
  margin: inherit;
  margin-bottom: 3rem;
}

#header-padding {
  display: block;
  width: 100%;
  margin: 0 0 2rem 0;
}

header p.subtitle {
  font-size: 2.2rem;
}

.captcha {
  margin-bottom: 1.5rem;
}

@media (max-width: 640px){
  .hidden-small {
    display: none;
  }
}

@media (min-width: 640px){
  .hidden-big {
    display: none;
  }
}

/*
 * Header Section
 */
header {
  padding-top: 5rem;
  padding-bottom: 3rem;
}

header .header-img {
  width: 8rem;
  height: 8rem;
  border-radius: 100%;
  border: 2px solid black;
}

header h1 {
  font-size: 6rem;
  color: black;
}

header .link-icon {
  color: black;
  margin: 0rem 3%;
  width: 5rem;
  height: 5rem;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  font-style: normal;
  font-weight: normal;
  speak: none;
  text-decoration: inherit;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em;
}

.button-small .icon {
  height: auto;
  line-height: inherit;
  vertical-align: middle;
}

@media (max-width: 640px){
  header {
    height:100vh;
  }
}

/*
 * Navbar Section
 */
.navbar-spacer {
  display: none;
  height: 13rem;
}

nav {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin-bottom: 5rem;
}

nav ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
}

@media (max-width: 640px){
  nav ul {
    margin: 0;
  }
  nav ul li {
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
  }
  nav ul li:last-of-type {
    border-bottom: none;
  }
}

@media (min-width: 640px){
  nav {
    height: 100%;
  }

  nav ul#site-navigation {
    padding-left: 1.5rem;
  }

  nav ul li {
    display: inline;
    margin: 0 3rem;
  }

  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
  }

  .has-docked-nav .navbar-spacer {
    display: block;
  }
}
/*
 * Projects Section
 */
.project img.project-icon {
  width: 4rem;
  float: left;
  margin-right: 0.75em;
  margin-top: 0.25em;
}

@media (min-width: 640px){
  .half-column-section{
    display: table;
  }

  .half-project {
    width: 48%;
    margin: 0 2% 0 0;
    float: left;
  }

  .hidden img {
    width: 40%;
    margin: 2rem 5%;
    float: left;
  }
}

.button-small {
  height: 2.8rem;
  line-height: 2.8rem;
  padding: 0 1.5rem;
}

/*
 * Work Section
 */

.wide-showcase-img {
  width: 90%;
  margin: 1rem 5%;
  box-shadow: 0px 0px 10px #4D4D4D;
}

.narrow-showcase-img {
  width: 40%;
  margin: 2rem 5%;
  float: left;
}

.professional-experience h2 img {
  float: right;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 6rem;
  margin: 0 0 1.5rem 0;
}

.professional-experience p {
  clear: both;
}

.professional-experience h3 {
  margin-bottom: 1.5rem;
}

.professional-experience h6 {
  margin-bottom: 0;
}

.professional-experience p {
  margin-top: 2rem;
}

@media (min-width: 640px){
  .wide-showcase-img {
    width: 40%;
    margin: 2rem 5%;
    float: left;
  }

  .narrow-showcase-img {
    width: 20%;
    margin: 2rem 5%;
    float: left;
  }
}

/*
 * Posts Section
 */
#comments-header {
  margin-top: 2.5rem;
}

.post-summary {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.post-item {
  margin-bottom: 2rem;
}

.tags-list {
  margin-top: 0.5rem;
}

.social-interaction {
  margin-right: 2rem;
}

.tag {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

ul.pagination {
  list-style: none;
}

ul.pagination li {
  display: inline;
  margin: 0 0.5rem;
}

.youtube-nocookies {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 3rem;
}

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