/* Variables
--------------------------------------------*/
/* Base
--------------------------------------------*/
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  font-size: 62.5%;
  /* to display rem units similar to pixel sizes */
  height: 100%; }

body {
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  background-size: cover;
  background-position: center top;
  background-repeat: repeat-y;
  background-color: #000;
  width: 100%;
  height: 100%;
  box-sizing: border-box; }

body, h1, h2, h3, h4, h5, h6 {
  font-family: "proxima-nova", Arial, sans-serif;
  color: #fff; }

h1 {
  margin: 0;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 3.0rem;
  line-height: 100%; }

h2 {
  margin: 0;
  font-weight: bold;
  font-size: 2.8rem;
  line-height: 100%; }

h3 {
  margin: 0;
  font-weight: bold;
  font-size: 2.4rem; }

h4 {
  margin: 0;
  font-weight: bold;
  font-size: 1.8rem; }

h5 {
  margin: 0;
  font-size: 10.0rem;
  line-height: 65%;
  letter-spacing: -0.1rem;
  text-transform: uppercase; }

h6 {
  margin: 0;
  font-weight: bold;
  font-size: 3.0rem;
  line-height: 100%;
  text-transform: uppercase; }

p, li, td, th {
  margin-top: 0;
  font-size: 1.6rem;
  line-height: 2.2rem; }

hr {
  margin: 6% 0;
  height: 0;
  border: 0;
  border-top: solid 1px #0ff; }

@media (max-width: 560px) {
  body {
    flex-direction: column; } }

/* Backgrounds
--------------------------------------------*/
#home {
  background-image: url(../img/bg-home.jpg); }

#bio {
  background-image: url(../img/bg-bio.jpg); }

#portfolio {
  background-image: url(../img/bg-portfolio.jpg);
  background-color: #465457; }

#contact {
  background-image: url(../img/bg-contact.jpg); }

/* Navigation
--------------------------------------------*/
nav {
  position: absolute;
  top: 70px;
  right: 80px;
  display: flex; }
  nav a {
    display: inline-block;
    padding: 20px;
    color: #fff;
    font-size: 1.4rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px; }
    nav a:hover {
      background-color: rgba(255, 255, 255, 0.2); }

@media (max-width: 560px) {
  nav {
    position: relative;
    top: 10px;
    right: unset;
    justify-content: center;
    width: 100%; } }

/* Brand
--------------------------------------------*/
.brand .brand-inner {
  margin: auto;
  width: 75%; }

.brand h5 span {
  font-size: 50%;
  font-weight: 100;
  opacity: 0.7; }

.brand ul {
  padding: 0;
  list-style: none;
  text-align: center; }
  .brand ul li {
    display: inline-block;
    margin: 5%; }
    .brand ul li img {
      width: 50px; }

.brand a {
  text-decoration: none;
  color: inherit; }

#home .brand {
  margin: auto;
  width: 440px;
  height: 400px; }

.subpage .brand {
  position: absolute;
  padding: 30px;
  width: 224px;
  z-index: 1; }
  .subpage .brand .brand-inner {
    margin-left: 20px;
    width: 75%; }
  .subpage .brand h5 {
    font-size: 5.3rem; }
  .subpage .brand h6 {
    font-size: 1.6rem; }
  .subpage .brand ul li img {
    width: 30px; }

.connect a {
  opacity: 1; }
  .connect a:hover {
    opacity: 0.7; }

@media (max-width: 560px) {
  #home .brand {
    width: 85%; }
    #home .brand h5 {
      font-size: 7.5rem; }
    #home .brand h6 {
      font-size: 2.4rem; }
  .subpage .brand {
    position: relative; } }

/* Subpages
--------------------------------------------*/
.content {
  margin: auto;
  margin-top: 240px;
  width: 80%;
  max-width: 900px;
  box-sizing: border-box; }
  .content .highlight {
    margin: 40px 0px;
    font-size: 1.4rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    opacity: 0.6; }

#bio .content p {
  font-size: 2.0rem;
  line-height: 3.4rem; }

#bio .content .characters {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 30px;
  width: 100%; }
  #bio .content .characters img {
    width: 200px;
    height: auto; }

#portfolio .content img {
  width: 100%; }

#portfolio .content .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  grid-auto-flow: dense;
  padding-bottom: 20px; }
  #portfolio .content .portfolio-grid .portfolio-item {
    position: relative;
    overflow: hidden;
    border: solid 1px #666;
    transition: background-color 300ms; }
    #portfolio .content .portfolio-grid .portfolio-item:hover {
      background-color: #fff; }
    #portfolio .content .portfolio-grid .portfolio-item img {
      width: 100%;
      height: 100%;
      object-fit: cover; }
    #portfolio .content .portfolio-grid .portfolio-item a {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      color: #000;
      background: #0ff;
      opacity: 0;
      transition: opacity 0.3s;
      z-index: 1; }
      #portfolio .content .portfolio-grid .portfolio-item a span {
        position: absolute;
        bottom: 40px;
        left: 30px;
        right: 30px;
        font-size: 3.2rem;
        font-weight: bold;
        transform: translateY(20%);
        transition: transform 0.6s; }
      #portfolio .content .portfolio-grid .portfolio-item a:hover {
        opacity: 1; }
        #portfolio .content .portfolio-grid .portfolio-item a:hover span {
          transform: translateY(0%); }

#portfolio .content a, #portfolio .content a:active, #portfolio .content a:link, #portfolio .content a:visited {
  color: #0ff;
  text-decoration: none; }

#portfolio .content a:hover {
  text-decoration: underline; }

#portfolio .content .row {
  position: relative;
  display: flex;
  margin-top: 40px;
  margin-bottom: 60px; }
  #portfolio .content .row video {
    width: 100%; }
  #portfolio .content .row .column.full {
    width: 100%; }
    #portfolio .content .row .column.full.youtube-vid {
      position: relative;
      padding-bottom: 56.25%;
      /* 16:9 */
      height: 0; }
      #portfolio .content .row .column.full.youtube-vid iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; }
  #portfolio .content .row .column.half {
    width: 50%; }
    #portfolio .content .row .column.half:first-child {
      margin-right: 30px; }
    #portfolio .content .row .column.half:not(:first-child) {
      margin-left: 30px; }

#contact .content {
  width: 500px; }
  #contact .content form {
    display: flex;
    flex-direction: column; }
    #contact .content form .form-input, #contact .content form .form-btn {
      margin: 1.2rem 0;
      padding: 0.8rem;
      font-size: 1.4rem;
      border-radius: 0.5rem;
      border: none; }
    #contact .content form .form-btn {
      padding: 1.2rem;
      font-size: 2.0rem;
      font-weight: bold;
      background-color: #0ff; }
    #contact .content form input, #contact .content form textarea {
      font-family: "proxima-nova", Arial, sans-serif; }

#result {
  position: fixed;
  top: 0;
  left: 0;
  color: #fff;
  z-index: 10000; }

@media (max-width: 880px) {
  #bio .content .characters {
    display: none; } }

@media (max-width: 560px) {
  .content {
    margin-top: unset; }
  #portfolio .content .row {
    flex-direction: column; }
    #portfolio .content .row .column.half {
      margin: 20px 0 !important;
      width: 100%; }
  #contact .content {
    width: 80%; } }
