@import url("https://fonts.googleapis.com/css?family=Lato");
@import url(skeleton.css);
@import url(font-awesome.min.css);
body {
  background: #fff;
  color: #000;
  font-size: 1.5em;
  overflow-y: scroll;
  font-family: "Lato", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: justify; }

img {
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25); }

/* Lists */
ul {
  margin-left: 2rem;
  list-style: disc outside; }

ol {
  list-style: decimal inside; }

ol, ul {
  padding-left: 0;
  margin-top: 0; }

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }

li {
  margin-bottom: 0rem; }

/* Header */
header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 0.125rem solid #aaa; }
  header .wrapper {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; }
  header .title {
    color: #000;
    font-size: 3rem;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    padding: 0 0.5rem;
    user-select: none;
    cursor: pointer; }
    header .title:hover {
      color: #000; }
  header .title::first-letter {
    font-size: 3.5rem;
    text-transform: uppercase; }
  header .icons {
    display: block; }
    header .icons ul {
      list-style: none;
      margin: 0; }
    header .icons li {
      float: left;
      padding: 1rem 0.5rem; }
    header .icons a i {
      display: block;
      text-align: center;
      font-size: 2rem;
      line-height: 3rem;
      width: 3rem;
      height: 3rem;
      border-radius: 0.5rem;
      background-color: #aaa;
      color: #fff; }
    header .icons a i.fa-linkedin:hover {
      background: #007bb5; }
    header .icons a i.fa-facebook:hover {
      background: #3b5998; }
    header .icons a i.fa-github:hover {
      background: #333; }
    header .icons a i.fa-instagram:hover {
      background: #cd486b; }
    header .icons a i.fa-youtube-play:hover {
      background: #bb0000; }
    header .icons a i.fa-envelope:hover {
      background: #009ee8; }
  header nav ul {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 1.5rem;
    margin: auto; }
  header nav li {
    display: block;
    padding: 1rem .5rem; }
  header nav a {
    display: block;
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
    color: #aaa; }
    header nav a::first-letter {
      font-size: 1.8rem;
      text-transform: uppercase; }
    header nav a.active {
      color: #000; }

@media (max-width: 750px) {
  header .wrapper {
    justify-content: space-around; }
  header nav ul {
    justify-content: space-around; }
    header nav ul li {
      margin: auto; } }

/* Footer */
footer {
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 0.125rem solid #aaa;
  text-align: center;
  color: #aaa; }

/* Main */
main {
  padding: 2rem 0; }

/* Home */
.home h1, .home h2, .home h3, .home h4, .home h5, .home h6 {
  text-align: center; }

.home .portrait {
  display: block;
  width: 100%;
  box-shadow: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  max-width: 300px; }

@media (min-width: 750px) {
  .home h1, .home h2, .home h3, .home h4, .home h5, .home h6 {
    text-align: left; }
  .home .portrait {
    margin-bottom: 0; } }

/* Project */
.project {
  margin-bottom: 4rem; }
  .project h1, .project h2, .project h3, .project h4, .project h5, .project h6 {
    text-align: center; }
  .project p {
    text-align: center; }

/* Post */
.post h1 {
  text-align: center;
  margin-top: 2rem; }

.post h2, .post h3, .post h4, .post h5, .post h6 {
  text-align: center; }

.post img.center {
  display: block;
  margin: 0 auto; }

/* Youtube player */
.caption {
  text-align: center; }

.youtube {
  position: relative;
  cursor: pointer;
  padding-bottom: 56.25%; }

.youtube img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto; }

.youtube .play {
  background: url("play.png") no-repeat center center;
  background-size: 64px 64px;
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: .5;
  filter: alpha(opacity=50);
  transition: all 0.2s ease-out; }

.youtube .play:hover {
  opacity: 1;
  filter: alpha(opacity=100); }

.youtube .player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

/* Resume */
.resume {
  position: relative;
  width: 100%; }

.resume .section {
  font-size: 1.5em;
  text-align: center;
  margin-top: 30px; }

.resume .row {
  position: relative;
  margin: 0 auto;
  box-sizing: border-box; }

.resume .key {
  font-weight: bold;
  text-align: left; }

.resume .value {
  text-align: left; }

.resume .value-only {
  text-align: left; }

.resume hr {
  border: 0;
  height: 1px;
  background: #333;
  background-image: linear-gradient(to right, #ccc, #333, #ccc);
  margin: 0 auto;
  margin-bottom: 30px; }

.resume ul {
  margin-top: 0.5em; }

.resume li {
  margin: 0 auto; }

@media (min-width: 400px) {
  .resume .key {
    font-weight: bold;
    text-align: right;
    float: left;
    width: 25%; }
  .resume .value {
    text-align: left;
    float: left;
    margin-left: 5%;
    width: 70%; }
  .resume .value-only {
    text-align: left;
    float: left;
    margin-left: 30%;
    width: 70%; } }

/* Links */
a {
  color: #007bb5;
  font-weight: bold;
  text-decoration: none; }
  a:hover {
    color: #009ee8; }
