html,
body {
  height: 100%;
  background: #FAFAFA;
}

body {
  font-family: 'Europa', 'Helvetica Neue', Arial, sans-serif;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#main-nav {
  height: 120px;
  width: 100%;
  position: fixed;
  line-height: 120px;
  text-align: right;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.9);
}

#logo {
  height: 120px;
  position: absolute;
  margin-left: 80px;
  top: 50px;
  opacity: 0;
}

#logo a {
  text-decoration: none;
  color: #333;
  font-weight: normal;
  font-size: 28px;
  letter-spacing: 0.214286em;
}

#nav-regular {
  display: inline-block;
  padding: 0;
  margin: 0;
  line-height: 1em;
  margin-right: 50px;
}

#nav-regular .nav-block {
  display: inline-block;
  margin: 0 30px;
}

#nav-regular .nav-block .nav-button {
  display: inline-block;
  position: relative;
  top: 50px;
  font-size: 1em;
  font-weight: 300;
  padding: 5px 0;
  opacity: 0;
  letter-spacing: .2em;
}


.nav-button:before {
  content: " ";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  margin-bottom: -5px;
  background-color: #333;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.nav-button:hover {
  cursor: pointer;
}

/*.nav-button:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}*/

#cover {
  height: 100%;
  position: relative;
}

#coverBox {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 226px;
  height: 96px;
  margin-left: -113px;
  margin-top: -48px;
}

#coverName,
#coverDescription {
  position: relative;
  top: 50px;
  opacity: 0;
  text-align: center;
}

#coverBox h1 {
  margin: 0;
  font-weight: bold;
  font-size: 3em;
  color: #333;
}

#coverBox h2 {
  margin: 12px 0 0 0;
  font-weight: normal;
  font-size: 1.6em;
  color: #333;
}

#hamburgerMenu {
  margin: 0;
  width: 42px;
  height: 18px;
  padding: 8px 0;
  position: absolute;
  visibility: hidden;
  top: 50%;
  right: 50px;
  margin-top: -17px;
}

#hamburgerMenu:hover {
  cursor: pointer;
}

.bar {
  opacity: 0;
  background: url('img/menuBar.svg') no-repeat center center;
  display: block;
  width: 22px;
  height: 6px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  top: 50px;
}

@-webkit-keyframes moveDown {
  from { top: 100px; opacity: 0; }
  to { top: 160px; opacity: 1 }
}

@-moz-keyframes moveDown {
  from { top: 100px; opacity: 0; }
  to { top: 160px; opacity: 1 }
}

@-o-keyframes moveDown {
  from { top: 100px; opacity: 0; }
  to { top: 160px; opacity: 1 }
}

@keyframes moveDown {
  from { top: 100px; opacity: 0; }
  to { top: 160px; opacity: 1 }
}

#arrow {
  width: 40px;
  position: relative;
  left: 50%;
  margin-left: -20px;
  opacity: 0;
  -webkit-animation: moveDown 1s ease-out 3s infinite;
  -o-animation: moveDown 1s ease-out 3s infinite;
  -moz-animation: moveDown 1s ease-out 3s infinite;
  animation: moveDown 1s ease-out 3s infinite;
}

.section-header {
  font-size: 1.6em;
}

#about {
  height: 100%;
  position: relative;
}

#aboutContent {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 400px;
  height: 210px;
  margin-top: -105px;
}

#profileImageHolder {
  position: absolute;
  left: 30%;
  top: 50%;
  margin-top: -90px;
  margin-left: -80px;
  width: 200px;
  height: 200px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .35);
  overflow: hidden;
  border-radius: 50%;
  opacity: 0;
  z-index: 200;

}

.profileImage {
  width: 202px;
  height: auto;
  filter: blur(100px);
}

#aboutContent p {
  /*font-size: 1.6em;*/
  font-size: 1.5em;
  /*font-weight: 300;*/
  margin-top: 0;
  line-height: 145%;
}

#aboutContent p span {
  border-bottom: 1px solid #333;
}

#aboutContent p span:hover {
  cursor: pointer;
}

#skills {
  height: 100%;
  position: relative;
}

#skillsContainer {
  position: absolute;
  height: 250px;
  /*width: 1000px;*/
  width: 900px;
  top: 50%;
  left: 50%;
  /*margin-left: -500px;*/
  margin-left: -450px;
  margin-top: -125px;
}

#skillsList {
  position: absolute;
  left: 0;
  top: 50%;
  height: 250px;
  margin-top: -125px;
}

#skillsList h2 {
  position: relative;
  margin: 10px 0 21px 0;
  top: 50px;
  opacity: 0;
}

#skillsList p {
  position: relative;
  /*font-size: 1.6em;*/
  font-size: 1.5em;
  /*font-weight: 300;*/
  margin: 0 0 21px 0;
  top: 50px;
  opacity: 0;
}

.skill {
  position: relative;
}

.skill:hover {
  cursor: pointer;
}

.skill:before {
  content: " ";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  margin-bottom: -5px;
  background-color: #333;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}



#skillsShowcase {
  visibility: hidden;
  opacity: 0;
  height: 250px;
  /*width: 50%;*/
  width: 500px;
  position: absolute;
  /*left: 50%;*/
  right: 0;
}

.skillsAnimation {
  display: inline-block;
  color: #ACB2BE;
  width: 100%;

  border-radius: 5px;
  height: 100%;
  background: #282C34;
  box-shadow: 3px 3px 20px 2px rgba(0,0,0,0.3);
}

.illustratorHolder img {
  display: block;
  width: 380px;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -190px;
  margin-top: -245px;
  box-shadow: 3px 3px 20px 2px rgba(0,0,0,0.3);
}

.sketchHolder img {
  width: 300px;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -150px;
  margin-top: -245px;
  box-shadow: 3px 3px 20px 2px rgba(0,0,0,0.3);
}

@-webkit-keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #5F8BF7 }
}

@-moz-keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #5F8BF7 }
}

.skillsAnimation span {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.1rem;
  line-height: 145%;
}

.currentlyTyping {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: .1em solid #5F8BF7;
  -webkit-animation: blink-caret 0.8s step-end infinite;
  -moz-animation: blink-caret 0.8s step-end infinite;
  -o-animation: blink-caret 0.8s step-end infinite;
  animation: blink-caret 0.8s step-end infinite;
}

.contessa {
  color: #D17277;
}

.olivine {
  color: #9AB97C;
}

.jordyBlue {
  color: #74AEE9;
}

.camel {
  color: #C99C6E;
}

.moonstoneBlue {
  color: #6DB1BD;
}

.softPurple {
  color: #BB7DD7;
}

.fountainBlue {
  color: #6CAFBB;
}

.glacier {
  color: #6FB4C0;
}

.appleBlossom {
  color: #AE554A;
}

.redViolet {
  color: #C8419C;
}

.deepChestnut {
  color: #B84643;
}

.halfBaked {
  color: #509A8F;
}

.mystic {
  color: #DFE7EB;
}

#works {
  height: 100%;
  position: relative;
}

#worksContainer {
  position: absolute;
  /*width: 1000px;*/
  width: 900px;
  height: 272px;
  left: 50%;
  top: 50%;
  /*margin-left: -500px;*/
  margin-left: -450px;
  margin-top: -136px;
}

#worksShowcase {
  visibility: hidden;
  opacity: 0;
  height: 272px;
  border-radius: 5px;
  width: 40%;
  position: absolute;
}

#worksList {
  position: absolute;
  height: 272px;
  left: 50%;
  width: 50%;
}

#worksList h2 {
  position: relative;
  left: -75px;
  opacity: 0;
}

#worksList p {
  position: relative;
  /*font-size: 1.6em;*/
  font-size: 1.5em;
  /*font-weight: 300;*/
  margin: 0 0 21px 0;
  left: -75px;
  opacity: 0;
}

.work {
  position: relative;
}

.work:hover {
  cursor: pointer;
}

.work:before {
  content: " ";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  margin-bottom: -5px;
  background-color: #333;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.underlined:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.worksImageHolder {
  display: inline-block;
  height: 100%;
  width: 100%;
}

.worksImageHolder a {
  display: block;
  position: absolute;
  width: 405.5px;
  height: 312px;
  top: 50%;
  left: 50%;
  margin-top: -156px;
  margin-left: -202.75px;
}

.worksImageHolder img {
  height: 312px;
  width: auto;
  box-shadow: 3px 3px 20px 2px rgba(0,0,0,0.3);

}

.worksVideoHolder {
  display: inline-block;
  height: 100%;
  width: 100%;
}

.worksVideoHolder a {
  display: block;
  position: absolute;
  width: 270px;
  height: 480px;
  top: 50%;
  left: 50%;
  margin-left: -135px;
  margin-top: -240px;
}

.worksVideoHolder video {
  display: block;
  border-radius: 5px;
  box-shadow: 3px 3px 20px 2px rgba(0,0,0,0.3);
}

#aboutThisSite {
  width: 100%;
  font-size: 1.5rem;
  text-align: right;
}

#worksSiteLogo {
  display: block;
  color: #333;
  font-weight: normal;
  font-size: 28px;
  letter-spacing: 0.214286em;
  padding: 0;
  text-align: center;
  height: 272px;
  line-height: 272px;
  margin: 0;
}

#percentage {
  font-size: 3.5rem;
  line-height: 1;
}

#aboutThisSite p {
  margin-top: 0;
  margin-bottom: 20px;
}

.toFadeIn {
  position: relative;
  top: 30px;
  opacity: 0;
}

#contact {
  height: 100%;
  position: relative;
}

#contactContainer {
  position: absolute;
  width: 320px;
  height: 184px;
  top: 50%;
  left: 20%;
  margin-top: -62px;
}

#contactInfo h2 {
  /*font-weight: 300;*/
  font-weight: normal;
  letter-spacing: 1px;
}

#contactInfo p {
  position: relative;
  font-size: 16px;
  margin: 0 0 21px 0;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.socialButton {
  display: inline-block;
  margin-right: 30px;
}

.socialButton img {
  width: 30px;
}

.socialButton:hover {
  opacity: 0.8;
}

@media (max-width: 1000px) {
  #skills {
    height: 1000px;
  }

  #works {
    height: 1000px;
  }

  #skillsContainer {
    width: 500px;
    height: 550px;
    margin-left: -250px;
    top: 0;
    margin-top: 120px;
  }

  #skillsList {
    top: 0;
    margin-top: 0;
    width: 400px;
    left: 50%;
    margin-left: -200px;
  }

  #skillsShowcase {
    width: 100%;
    top: 300px;
    left: 0;
    margin-top: 0;
    margin-left: 0;
  }

  .illustratorHolder img {
    width: 100%;
    left: 0;
    top: 0;
    margin-top: 0;
    margin-left: 0;
  }

  .sketchHolder img {
    top: 0;
    margin-top: 0;
  }

  #worksContainer {
    width: 500px;
    height: 550px;
    margin-left: -250px;
    top: 0;
    margin-top: 120px;
  }

  #worksList {
    top: 0;
    margin-top: 0;
    width: 450px;
    left: 0;
    padding-left: 50px;
  }

  #worksShowcase {
    width: 400px;
    padding: 0 50px;
    top: 300px;
    left: 0;
    margin-top: 0;
    margin-left: 0;
  }

  .worksVideoHolder a {
    top: 0;
    margin-top: 0;
  }
}

@media (max-width: 800px) {

  #logo {
    margin-left: 60px;
  }

  #nav-regular {
    visibility: hidden;
    width: 100px;
    display: block;
    position: absolute;
    top: 77px;
    right: 60px;
    margin-right: 0;
    text-align: right;
  }

  #nav-regular .nav-block {
    text-align: right;
    padding: 15px 0;
    margin: 0;

  }

  #nav-regular .nav-block .nav-button {
    top: 0;
    text-align: right;
  }

  #nav-regular .nav-block .nav-button:hover {
    margin-bottom: -1px;
  }

  #hamburgerMenu {
    visibility: visible;
  }

  #aboutContent {
    width: 400px;
    margin-top: 50px;
    margin-left: -200px;
  }

  #profileImageHolder {
    left: 50%;
    margin-top: -160px;
    margin-left: -100px;
  }

  #contactContainer {
    left: 50%;
    margin-left: -160px;
  }
}

@media (max-width: 520px) {
  #main-nav {
    height: 80px;
    line-height: 80px;
  }

  #coverBox h1 {
    font-size: 2em;
  }

  #coverBox h2 {
    font-size: 1.2em;
  }

  #aboutContent {
    width: 300px;
    margin-top: 50px;
    margin-left: -150px;
  }

  #logo {
    margin-left: 40px;
    height: 80px;
  }

  #logo a {
    font-size: 18px;
  }

  #nav-regular {
    right: 40px;
  }

  #hamburgerMenu {
    right: 30px;
  }

  #aboutContent h2 {
    font-size: 1.2em;
  }

  #aboutContent p {
    font-size: 1.1em;
  }

  #skillsBox {
    position: relative;
    margin: 0 auto;
    background: #FAFAFA;
    box-shadow: 3px 3px 20px 2px rgba(0,0,0,0.3);
    box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.3);
    width: 90%;
    height: 800px;
    border-radius: 5px;
  }


  #skillsContainer {
    width: 300px;
    height: 440px;
    margin-left: -150px;

    /* Set the following in case we use skillsBox */
    margin-top: 50px;

  }

  #skillsList {
    height: 210px;
    left: 0;
    width: 100%;
    margin-left: 0;
  }

  #skillsShowcase {
    height: 210px;
    top: 210px;
    text-align: center;
  }

  #skillsList h2 {
    font-size: 1.2em;
    margin: 0 0 16px 0;
  }

  #skillsList p {
    font-size: 1.1em;
  }

  .skillsAnimation {
    text-align: left;
    width: 100%;
  }

  .skillsAnimation span {
    font-size: 0.65rem;
    line-height: 130%;
  }

  #worksBox {
    position: relative;
    margin: 0 auto;
    top: 50px;
    background: #FAFAFA;
    box-shadow: 3px 3px 20px 2px rgba(0,0,0,0.3);
    width: 90%;
    height: 740px;
    border-radius: 5px;
  }

  #worksContainer {
    width: 300px;
    height: 760px;
    margin-left: -150px;

    /* Use following if using worksBox */
    margin-top: 50px;
  }

  #worksList {
    height: 200px;
    width: 100%;
    padding: 0;
  }

  #worksShowcase {
    height: 480px;
    width: 100%;
    top: 200px;
    padding: 0;
  }

  #worksList h2 {
    font-size: 1.2em;
    margin: 0 0 16px 0;
  }

  #worksList p {
    font-size: 1.1em;
  }

  #aboutThisSite {
    font-size: 1.2rem;
  }

  .worksImageHolder a {
    top: 0;
    margin-top: 0;
  }

  .worksImageHolder a {
    width: 304.125px;
    height: 234px;
    top: 0;
    margin-top: 0;
    margin-left: -152.0625px;
  }

  .worksImageHolder img {
    height: 234px;
    width: auto;
  }

  #contactContainer {
    width: 300px;
    margin-left: -150px;
  }

  #contactInfo h2 {
    font-size: 1.4em;
  }

  #contactInfo p {
    font-size: 14px;
  }
}

@media (max-width: 370px) {
  #skillsBox {
    width: 316px;
  }
  #worksBox {
    width: 316px;
  }
}

@media (max-height: 420px) {
  #about {
    height: 500px;
  }

  #aboutContent {
    margin-top: 0;
  }

  #profileImageHolder {
    margin-top: -200px;
  }
}
