/*
 * Author: William Chong
 */
/* ==========================================================================
   Normalize.scss settings
   ========================================================================== */
/**
 * Includes legacy browser support IE6/7
 *
 * Set to false if you want to drop support for IE6 and IE7
 */
/* Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 * 3. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
 *  `em` units.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/**
 * Remove default margin.
 */
body {
  margin: 0; }

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block; }

/**
 * 1. Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */ }

/**
 * Prevents modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none; }

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */
a:active, a:hover {
  outline: 0; }

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted; }

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold; }

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic; }

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/**
 * Addresses styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000; }

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

/* Embedded content
   ========================================================================== */
/**
 * 1. Remove border when inside `a` element in IE 8/9/10.
 * 2. Improves image quality when scaled in IE 7.
 */
img {
  border: 0; }

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden; }

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px; }

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  box-sizing: content-box;
  height: 0; }

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto; }

/**
 * Address odd `em`-unit font size rendering in all browsers.
 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em; }

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *  Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 * 4. Improves appearance and consistency in all browsers.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */ }

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible; }

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none; }

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *  and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *  `input` and others.
 * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
 *  Known issue: inner spacing remains in IE 6.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */ }

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default; }

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal; }

/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 *  Known issue: excess padding remains in IE 6.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  box-sizing: content-box;
  /* 2 */ }

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 * 3. Corrects text not wrapping in Firefox 3.
 * 4. Corrects alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto; }

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold; }

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0; }

td,
th {
  padding: 0; }

@keyframes pulse {
  0% {
    opacity: 0; }
  50% {
    opacity: 1; }
  100% {
    opacity: 0; } }
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0; }

::-moz-selection {
  background: #fc113f;
  color: #ffffff; }

::selection {
  background: #fc113f;
  color: #ffffff; }

.clearfix {
  display: inline-block;
  clear: none !important; }

/* start commented backslash hack \*/
* html .clearfix {
  height: 1%; }

.clearfix {
  display: block; }

/* close commented backslash hack */
html,
body {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: normal;
  font-size: 16px;
  line-height: 1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  background-color: #1e1e1e; }
  html.overlay,
  body.overlay {
    overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Abril Fatface", cursive;
  font-weight: normal;
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  display: block;
  text-align: center; }
  h1.tags, h2.tags, h3.tags, h4.tags, h5.tags, h6.tags {
    display: inline-block;
    margin: 0 auto;
    cursor: pointer;
    transition: 0.33s all; }
    h1.tags:before, h1.tags:after, h2.tags:before, h2.tags:after, h3.tags:before, h3.tags:after, h4.tags:before, h4.tags:after, h5.tags:before, h5.tags:after, h6.tags:before, h6.tags:after {
      content: '';
      position: absolute;
      top: 50%;
      transform: translateY(-40%);
      left: -1.17em;
      width: 0.94em;
      height: 0.94em;
      background: url("../img/ui/code-open.svg") no-repeat;
      transition: 0.33s all;
      opacity: 0; }
    h1.tags:after, h2.tags:after, h3.tags:after, h4.tags:after, h5.tags:after, h6.tags:after {
      background: url("../img/ui/code-close.svg") no-repeat;
      left: auto;
      right: -1.41em; }
    h1.tags:hover, h2.tags:hover, h3.tags:hover, h4.tags:hover, h5.tags:hover, h6.tags:hover {
      color: #198ffc; }
      h1.tags:hover:before, h2.tags:hover:before, h3.tags:hover:before, h4.tags:hover:before, h5.tags:hover:before, h6.tags:hover:before {
        left: -0.78em;
        opacity: 1; }
      h1.tags:hover:after, h2.tags:hover:after, h3.tags:hover:after, h4.tags:hover:after, h5.tags:hover:after, h6.tags:hover:after {
        right: -0.94em;
        opacity: 1; }

h1 {
  font-size: 4rem; }

h2 {
  font-size: 3rem; }

h3 {
  font-size: 2.5rem; }

h4 {
  font-size: 2rem; }

h5 {
  font-size: 1.5rem; }

h6 {
  font-size: 1rem; }

strong {
  font-weight: 700; }

p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  padding: 0; }
  p.body-text {
    font-size: 1rem; }
  p a {
    font-weight: 700;
    text-decoration: none; }

img {
  max-width: 100%;
  height: auto;
  align-self: center;
  flex-basis: auto; }

.container {
  padding: 0;
  margin: 0 auto;
  position: relative; }

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0; }

iframe {
  border: none; }

strong {
  font-weight: 700; }

section {
  width: 100%;
  display: block;
  position: relative;
  font-size: 0; }

select::-ms-expand {
  display: none; }

a {
  color: inherit;
  position: relative;
  transition: all 0.35s; }
  a:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #198ffc;
    bottom: 0;
    right: 50%;
    transition: 0.33s all; }
  a:before {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #198ffc;
    bottom: 0;
    left: 50%;
    transition: 0.33s all;
    transform-origin: 100% 100%; }
  a:visited {
    color: inherit; }
  a:hover {
    color: #198ffc; }
    a:hover:after, a:hover:before {
      width: 50%; }

section.intro {
  position: relative;
  min-height: 640px;
  height: 100%;
  background: url("../img/dark-galaxy-milky-way-8952.jpg") center center no-repeat;
  background-size: cover; }
  section.intro .background {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    z-index: 10; }
    section.intro .background img {
      width: 100%;
      min-height: 100%;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 101; }
    section.intro .background:after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 102; }
  section.intro .card {
    position: absolute;
    z-index: 11;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
    max-width: 640px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 2rem;
    text-align: center;
    transition: 0.33s all; }
    section.intro .card:hover {
      background-color: #ffffff; }
    section.intro .card h1 {
      color: #1e1e1e; }
    section.intro .card hr {
      margin: 2rem 0;
      border-bottom: 4px double rgba(30, 30, 30, 0.65); }
    section.intro .card p {
      line-height: 1.6; }
    section.intro .card strong {
      display: block;
      margin-bottom: 0.5rem;
      color: #198ffc; }
    section.intro .card a {
      display: inline-block;
      margin-top: 0.5rem; }
    section.intro .card .icons {
      width: calc(100% - 4rem);
      display: flex;
      margin: 1rem auto 0;
      align-items: center;
      justify-content: center; }
      section.intro .card .icons a {
        width: 24px;
        margin-right: 0.5rem; }
        section.intro .card .icons a:hover:after, section.intro .card .icons a:hover:before {
          display: none; }
        section.intro .card .icons a:last-child {
          margin-right: 0; }
  section.intro .arrows {
    position: absolute;
    z-index: 12;
    bottom: 1rem;
    left: 50%;
    width: 40px;
    height: 60px;
    transform: translateX(-50%); }
    section.intro .arrows img {
      position: absolute;
      opacity: 0; }
      section.intro .arrows img:nth-child(3) {
        top: 0;
        animation: pulse 2s ease-in-out 1s infinite; }
      section.intro .arrows img:nth-child(2) {
        top: 0.75rem;
        animation: pulse 2s ease-in-out 1.33s infinite; }
      section.intro .arrows img:nth-child(1) {
        top: 1.5rem;
        animation: pulse 2s ease-in-out 1.66s infinite; }
  @media (max-width: 768px) {
    section.intro .card h1 {
      font-size: 10vw; } }

a.contact {
  position: fixed;
  z-index: 1001;
  padding: 0.5rem 1.5rem;
  border: 3px solid rgba(30, 30, 30, 0.65);
  color: rgba(30, 30, 30, 0.65);
  letter-spacing: 1px;
  background-color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  bottom: 1.25rem;
  right: 2rem;
  font-weight: 700; }
  a.contact:hover {
    color: #198ffc;
    background-color: #1e1e1e;
    border: 3px solid #1e1e1e; }
  a.contact:after, a.contact:before {
    display: none; }
  a.contact.js-active {
    color: #fc113f;
    background-color: #1e1e1e;
    border: 3px solid #1e1e1e; }

a.back-to-top {
  position: fixed;
  z-index: 1001;
  width: 36px;
  height: 36px;
  background-color: rgba(30, 30, 30, 0.65);
  cursor: pointer;
  bottom: -36px;
  left: 1.25rem;
  transition: all 0.33s;
  border: 2px solid #ffffff; }
  a.back-to-top:after {
    display: none; }
  a.back-to-top.js-active {
    bottom: 1.25rem; }

span.progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 0;
  background-color: #198ffc;
  height: 4px; }

section.work {
  position: relative;
  padding-bottom: 4rem;
  text-align: center; }
  section.work:before {
    content: '';
    position: absolute;
    width: 0%;
    height: 4px;
    top: 0;
    left: 0;
    background-color: #198ffc;
    transition: all 0.33s; }
  section.work.js-active:before {
    width: 100%; }
  section.work h1 {
    padding: 2rem 0; }
  section.work .grid {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto; }
  section.work .item {
    display: flex;
    position: relative;
    flex: auto;
    height: 250px;
    min-width: 150px;
    margin: 0 0.5rem 0.5rem 0;
    overflow: hidden;
    background: url("http://via.placeholder.com/640x480") center center no-repeat;
    background-size: cover;
    cursor: pointer;
    border: 3px solid #dbdbdb;
    transition: 0.33s all; }
    section.work .item img {
      display: none; }
    section.work .item .cover {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      opacity: 1;
      background-color: rgba(255, 255, 255, 0.75);
      transition: 0.33s all;
      z-index: 101; }
    section.work .item .label {
      position: absolute;
      font-size: 0.75rem;
      bottom: 0.66rem;
      left: -4rem;
      opacity: 0;
      padding: 0.5rem;
      font-weight: 700;
      background-color: #ffffff;
      transition: 0.33s all;
      z-index: 102; }
    section.work .item:hover .cover {
      opacity: 0; }
    section.work .item:hover .label {
      opacity: 1;
      left: 0.66rem; }
  section.work .item:nth-child(4n+1) {
    width: 250px; }
  section.work .item:nth-child(4n+2) {
    width: 325px; }
  section.work .item:nth-child(4n+3) {
    width: 180px; }
  section.work .item:nth-child(4n+4) {
    width: 380px; }
  section.work .item .label {
    color: #1e1e1e; }
  section.work .item:hover {
    border: 3px solid #1e1e1e; }
  section.work .video-gallery {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto; }
    section.work .video-gallery ul {
      width: auto;
      margin: 2rem auto;
      text-align: center; }
      section.work .video-gallery ul li {
        display: inline-block;
        margin-left: 12px;
        margin-right: 12px;
        padding-right: 12px;
        font-size: 1rem;
        position: relative;
        cursor: pointer; }
        section.work .video-gallery ul li.js-active {
          font-weight: 700;
          color: #fc113f; }
        section.work .video-gallery ul li:hover {
          font-weight: 700; }
        section.work .video-gallery ul li:after {
          content: '//';
          position: absolute;
          width: 12px;
          text-align: center;
          height: 100%;
          right: -12px;
          top: 0;
          color: #dbdbdb;
          font-weight: 300 !important; }
        section.work .video-gallery ul li:last-child:after {
          display: none; }

section.about {
  background: #1e1e1e;
  padding: 3rem 0 9rem;
  text-align: center; }
  section.about h1 {
    color: #ffffff;
    text-align: center; }
  section.about .card {
    width: 100%;
    max-width: 480px;
    margin: 2rem auto;
    background: #ffffff; }
    section.about .card img {
      margin-bottom: 2rem; }
    section.about .card p {
      padding: 0 2rem;
      margin-bottom: 2rem;
      text-align: left; }
      section.about .card p:first-child {
        margin-top: 2rem; }
    section.about .card .icons {
      width: calc(100% - 4rem);
      display: flex;
      margin: 0 auto;
      align-items: center;
      justify-content: flex-start; }
      section.about .card .icons a {
        width: 40px;
        margin-right: 0.5rem; }
        section.about .card .icons a:hover:after {
          display: none; }
        section.about .card .icons a:last-child {
          margin-right: 0; }

aside.contact {
  position: fixed;
  right: -280px;
  bottom: 4.75rem;
  width: 280px;
  background-color: #ffffff;
  border: 3px solid #1e1e1e;
  transition: 0.33s all;
  z-index: 9999;
  padding: 1rem 1rem 1.5rem; }
  aside.contact.js-active {
    right: 2rem; }
  aside.contact .close {
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    position: absolute;
    z-index: 101;
    cursor: pointer; }
  aside.contact .card strong {
    display: block;
    margin-bottom: 1.5rem; }
  aside.contact .card p {
    margin-bottom: 0.75rem; }
    aside.contact .card p a {
      display: inline-block; }
      aside.contact .card p a img {
        width: 16px;
        height: 16px; }
    aside.contact .card p:last-child {
      margin-bottom: 0; }

/*# sourceMappingURL=styles.css.map */
