@font-face {
  font-family: 'Mono Social Icons Font';
  src: url('../fonts/MonoSocialIconsFont-1.10.eot');
  src: url('../fonts/MonoSocialIconsFont-1.10.eot?#iefix') format('embedded-opentype'),
  url('../fonts/MonoSocialIconsFont-1.10.woff') format('woff'),
  url('../fonts/MonoSocialIconsFont-1.10.ttf') format('truetype'),
  url('../fonts/MonoSocialIconsFont-1.10.svg#MonoSocialIconsFont') format('svg');
  src: url('../fonts/MonoSocialIconsFont-1.10.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
  font-size: 2.25vh;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Varela Round', sans-serif;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: 2.5em;
  line-height: 1em;
}

h2 {
  font-size: 1.75em;
  line-height: 1em;
}

h3 {
  font-size: 1.25em;
  line-height: 1.1em;
}

h4 {
  font-size: 1em;
  line-height: 1.5em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin-bottom: 2.75em;
  padding: 0;
}

ul:last-child li:last-child {
  margin-bottom: 0;
}

li {
  margin: 1.5em 0;
}

a {
  border-bottom: 1px solid #232323;
  text-decoration: none;
  color: #232323;
}

hr {
  position: relative;
  left: 50%;
  margin: 1.75em 0 1em;
  border-bottom: none;
  width: 35%;
  opacity: 0.25;
  transform: translateX(-50%);
}

/**
Common
*/
section {
  display: flex;
  padding: 5vh;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
}

.background {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.landing {
  align-items: center;
}

.landing.animate-bg-color {
  background-color: darkslateblue;
  animation: bg-color-change 12s infinite;
}

.content-card {
  width: 75%;
  text-align: center;
  z-index: 1;
}

.highlighted {
  display: inline-block;
  margin: 0 0 .75em;
  border-radius: 3px;
  padding: 0.2em 0.4em;
  color: white;
  background: #232323;
}

.social-icon,
a.social-icon:before {
  font-family: 'Mono Social Icons Font';
  -webkit-text-rendering: optimizeLegibility;
  -moz-text-rendering: optimizeLegibility;
  -ms-text-rendering: optimizeLegibility;
  -o-text-rendering: optimizeLegibility;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

a.social-icon:before {
  content: attr(title);
  margin-right: 0.3em;
  font-size: 130%;
}

/**
Blocks
*/
.header__list {
  list-style-type: none;
  margin-bottom: 0;
  padding: 0;
}

.header__list li {
  display: inline;
  margin-right: 0.2em;
  font-size: 2.25em;
}

.header__list li a {
  border-bottom: none;
  color: #232323;
}

.header__list li a:hover {
  color: #315a89;
}

.header__list li a span {
  display: inline-block;
  transition: transform 375ms;
}

.header__list li a:hover span {
  transition-duration: 200ms;
  transform: rotateY(180deg);
}

.header__list li a:hover .mail {}

.header__list li a:hover .twitter {
  color: #1da1f2;
}

.header__list li a:hover .github {
  color: #667074;
}

.header__list li a:hover .xing {
  color: #007575;
}

.main__projects__list-item__link--external {
  display: inline-block;
  font-size: 0.6em;
  border-radius: 15px;
  width: 1.6em;
  height: 1.5em;
  text-align: center;
  color: white;
  background: #000;
}

li .main__projects__list-item__span {
  font-size: 0.75em;
  color: #999;
}

li .main__projects__list-item__video {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  border-radius: 7px;
  overflow: hidden;
}

fw-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.main__list {
  list-style-type: none;
}

.main__list.videos li {
  margin-bottom: 2em;
  text-align: left;
}

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto; background: black;}
.embed-container iframe, .embed-container object, .embed-container embed {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

@-webkit-keyframes bg-color-change {
    0%  { background: darkslateblue; }
    25% { background: green; }
    75%  { background: darkslateblue; }
}

@-moz-keyframes bg-color-change {
    0%  { background: darkslateblue; }
    25% { background: green; }
    75%  { background: darkslateblue; }
}

@-keyframes bg-color-change {
    0%  { background: darkslateblue; }
    25% { background: green; }
    75%  { background: darkslateblue; }
}
