html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-size: 14px;
  font-family: 'Karla', sans-serif;
  line-height: 20px;
  color: #333333;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: #333;
}

a img {
  border: none;
}

span.tab {
  padding-left: 12px;
}

span.member {
  color: #eee;
}

span.value {
  color: #ccc;
  padding-left: 8px;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  background-color: #fafafa;
  line-height: 100px;
  font-size: 15px;
  z-index: 1000;
}

#illustration {
  background-color: #4C5364;
  line-height: 50px;
  width: 100%;
}

#illustration li {
  list-style: none;
  display: inline;
  padding-right: 50px;
}

#about {
  padding-top: 220px;
  background-color: #c26868;
  /*437fcc*/
  /*height: 1100px;*/
  margin-top: -30px;
}

#about a {
  color: #3a92c8;
  text-decoration: none;
}

#about a:hover {
  text-decoration: underline;
}

#about p {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: #fafafa;
  font-size: 11px;
}

#code {
  border-radius: 5px;
  width: 750px;
  margin: 0 auto;
  padding-top: 15px;
  font-size: 30px;
  background: #ccc;
  font-family: 'Monaco', 'Courier New';
  text-align: left;
  font-size: 13px;
  color: #fafafa;
}

#console {
  width: 670px;
  padding: 40px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin: 0 auto;
  background: #383737;
}

#resume {
  background-color: #ddd;
  height: auto;
  padding-top: 60px;
  font-size: 19px;
  line-height: 34px;
  -webkit-font-smoothing: antialiased;
}

#resume .inner {
  width: 70%;
}

#blog {
  background: #eee;
  height: auto;
  margin-top: -30px;
  text-align: center;
  padding: 60px 0 60px 0;
  font-size: 26px;
  line-height: 40px;
}

#footer {
  background: #fafafa;
  min-height: 50px;
  text-align: left;
  color: #b1b1b1;
  padding-top: 20px;
  font-size: 12px;
  line-height: 20px;
}

.read-more-state {
  display: none;
}

.read-more-target {
  opacity: 0;
  display: none;
  max-height: 0;
  font-size: 0;
  transition: .25s ease;
}

.read-more-state:checked~.read-more-wrap .read-more-target {
  opacity: 1;
  display: block;
  font-size: inherit;
  max-height: 999em;
}

.read-more-state~.read-more-trigger:before {
  content: 'Show more';
}

.read-more-state:checked~.read-more-trigger:before {
  content: 'Show less';
}

.read-more-trigger {
  cursor: pointer;
  display: inline-block;
  padding: 0 5px;
  font-size: 14px;
  margin-bottom: 10px;
  color: #3a92c8;
  line-height: 2;
  border: 1px solid #cec8c8;
  border-radius: 5px;
}

.read-more-trigger:hover {
  background-color: #fafafa
}

.inner {
  max-width: 1024px;
  margin: 0 auto;
}

.tagline {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.3em;
  font-weight: 700;
  padding-bottom: 50px;
  font-size: 11px;
  text-transform: uppercase;
}

.section-tagline {
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.3em;
  font-weight: 700;
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid #CEC8C8;
  font-size: 11px;
  text-transform: uppercase;
}

.skill {
  border: 1px solid #50a9d1;
  margin-right: 10px;
  text-transform: uppercase;
  font-weight: 500;
  width: auto;
  display: inline-block;
  font-size: 11px;
  line-height: 1.33333em;
  padding: 7px 18px;
  margin-top: 0.8em;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
}

img.icon {
  width: 65px;
  height: 65px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  float: left;
  display: block;
  margin-left: -95px;
  margin-top: 5px;
  background-color: #fff;
  opacity: 0.8;
  z-index: 0;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  filter: gray;
  -webkit-transition: all .4s ease;
}

img.icon:hover {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
  filter: none;
}

.blog-entry {
  width: 47.2%;
  margin-top: 40px;
  padding-bottom: 20px;
  background-color: white;
  display: inline-block;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}

.blog-entry-big {
  width: 95%;
}

.image-big {
  width: 100%;
}

.image-small {
  width: 60%;
  margin: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.blog-entry p {
  font-size: 14px;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 0px;
  text-align: left;
  line-height: 24px;
}

.blog-entry a {
  text-decoration: underline;
}

.blog-entry .timestamp {
  font-size: 10px;
  text-align: center;
}

.blog-entry h1 {
  font-size: 22px;
  padding: 25px;
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: left;
  line-height: 24px;
  text-align: center;
}

.blog-entry h2 {
  font-size: 19px;
  padding: 25px;
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: left;
  line-height: 24px;
  text-align: center;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.disclaimer {
  color: #ccc;
  font-size: 10px;
  font-style: italic;
}

@media screen and (max-width:860px) {
  .blog-entry {
    width: 90%;
  }
}

@media screen and (max-width:700px) {
  #code, #console {
    width: 100%;
    overflow: auto;
    font-size: 10px;
    line-height: 13px;
  }
  #resume .inner {
    width: 85%;
  }
  #resume .right {
    display: none;
  }
  #resume .icon {
    display: none;
  }
}

@media (max-width: 480px) {
  #header {
    line-height: 30px;
    padding-top: 10px;
    text-align: center;
  }
  #about {
    padding-top: 150px;
    padding-left: 5px;
    padding-right: 5px;
  }
  #illustration li {
    padding-right: 5px;
  }
  #illustration ul {
    margin: 0px;
    padding: 0px;
  }
  #code, #console {
    height: auto;
  }
  #console {
    padding: 12px;
  }
  #code {
    margin-bottom: 20px;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
  #header {
    line-height: 30px;
    padding-top: 10px;
    text-align: center;
  }
  #about {
    padding-top: 150px;
    padding-left: 5px;
    padding-right: 5px;
  }
  #illustration li {
    padding-right: 5px;
  }
  #illustration ul {
    margin: 0px;
    padding: 0px;
  }
  #code, #console {
    height: auto;
  }
  #console {
    padding: 12px;
  }
  #code {
    margin-bottom: 20px;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  #header {
    line-height: 30px;
    padding-top: 10px;
    text-align: center;
  }
  #about {
    padding-top: 150px;
    padding-left: 5px;
    padding-right: 5px;
  }
  #illustration li {
    padding-right: 5px;
  }
  #illustration ul {
    margin: 0px;
    padding: 0px;
  }
  #code, #console {
    height: auto;
  }
  #console {
    padding: 12px;
  }
  #code {
    margin-bottom: 20px;
  }
}
