body {
  background-color: #f1f1f1;
}

h1 {
  font-family: Montserrat, sans-serif;
  font-size: 76pt;
  font-weight: 800;
  line-height: 100%;
  padding: 30px 0;
  margin: 0;
}

h1.dark {
  color: #3f3f3f;
}

h1.light {
  color: #a1a1a1;
}

h2 {
  font-family: Oswald, sans-serif;
  font-size: 23pt;
  font-weight: 300;
  letter-spacing: 4pt;
  line-height: 100%;
  color: #222;
  margin: 0;
}

p,
ul {
  font-family: Raleway, sans-serif;
  font-size: 16pt;
  font-weight: 400;
  line-height: 135%;
  margin: 0;
}

p {
  padding: 0 0 12pt;
}

ul {
  padding: 0 0 12pt 50px;
}

p.dark {
  color: #222;
}

p.light,
ul {
  color: white;
}

.center {
  text-align: center;
}

strong,
.orange {
  color: #f26522;
}

strong,
.bold {
  font-weight: 700;
}

hr {
  display: block;
  margin: 1.35em auto;
  text-align: center;
  border: 2px solid #f26522;
  width: 160px;
}

div {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#main {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  background-color: white;
  overflow: hidden;
}

#hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 400px;
  margin: auto;
  background: #3f3f3f url('/images/herobg.jpg') top center no-repeat;
}

#logo2 {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -100px;
  width: 200px;
  height: 200px;
  opacity: 0.8;
}

#intro {
  position: relative;
  width: 100%;
  min-height: 468px;
  padding: 50px 0 0 50px;
  background: -webkit-linear-gradient(-75deg, white, #f7f7f7, #d1d1d1);
  background: -o-linear-gradient(-75deg, white, #f7f7f7, #d1d1d1);
  background: -moz-linear-gradient(-75deg, white, #f7f7f7, #d1d1d1);
  background: linear-gradient(165deg, white, #f7f7f7, #d1d1d1);
}

#hello {
  width: 100%;
}

#intro-text {
  width: 65%;
  padding: 0 0 25px;
}

#portrait1 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 33%;
  max-width: 400px;
  height: auto;
}

.ux {
  width: 100%;
  height: 600px;
  position: relative;
  background: #3f3f3f;
}

#ux-left {
  width: 50%;
  height: 600px;
  background: #f26522 url('/images/ux.gif') left top/auto 100%;
  float: left;
}

#ux-right,
#ux-back {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 600px;
  background: #3f3f3f;
  padding: 50px 50px 50px 80px;
}

#ux-back {
  opacity: 0;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
  transition: opacity .25s ease-in-out;
}

#ux-back:hover {
  opacity: 1;
}

.ui {
  width: 100%;
  height: 600px;
  position: relative;
  background: #3f3f3f;
}

#ui-left,
#ui-back {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 600px;
  background: #3f3f3f;
  padding: 50px 80px 50px 50px;
}

#ui-back {
  opacity: 0;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
  transition: opacity .25s ease-in-out;
}

#ui-back:hover {
  opacity: 1;
}

#ui-right {
  margin-left: 50%;
  width: 50%;
  height: 600px;
  background: #f26522 url('/images/ui.gif') right top/auto 100%;
}

.view {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  width: 100%;
  height: auto;
  text-align: center;
}

#ux-view1,
#ux-view2,
#ui-view1,
#ui-view2 {
  margin: 0;
  padding: 0;
  font-size: 12pt;
  color: white;
}

#ux-view2,
#ui-view2 {
  -moz-animation: blinker 2s ease-in-out infinite;
  -webkit-animation: blinker 2s ease-in-out infinite;
  -o-animation: blinker 2s ease-in-out infinite;
  animation: blinker 2s ease-in-out infinite;
}

@keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#ux-view1::after {
  content: 'View UX Portfolio';
}

#ux-view2::after {
  content: '\2193';
}

.trigger.active #ux-view1::after {
  content: 'Close UX Portfolio';
}

.trigger.active #ux-view2::after {
  content: '\2191';
}

#ui-view1::after {
  content: 'View Visual Design Portfolio';
}

#ui-view2::after {
  content: '\2193';
}

.trigger.active #ui-view1::after {
  content: 'Close Visual Design Portfolio';
}

.trigger.active #ui-view2::after {
  content: '\2191';
}

.featured-project {
  cursor: pointer;
  position: absolute;
  top: 150px;
  width: 45%;
  height: 350px;
  background-color: #e5e5e5;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 99;
}

#featured-ux {
  left: 100px;
}

#featured-ui {
  right: 100px;
}

.drawer {
  max-height: 0;
  width: 100%;
  max-width: 1200px;
  padding: 0 50px;
  background-color: #e5e5e5;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4) inset;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

#testimonials {
  position: relative;
  width: 100%;
  padding: 0 50px;
}

.testimonial {
  clear: both;
  width: 100%;
  text-align: center;
  margin: auto;
}

.lquote,
.quote,
.rquote {
  float: left;
}

.lquote,
.rquote {
  width: 10%;
}

.quote {
  width: 80%;
  padding-top: 50px;
}

.previous,
.next {
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 60px;
  width: 50px;
  font-family: Oswald, sans-serif;
  font-size: 32pt;
  text-align: center;
  line-height: 300px;
  color: #a1a1a1;
}

.previous:hover,
.next:hover {
  color: #f26522;
}

.previous {
  left: 0;
}

.next {
  right: 0;
}

#indicators {
  clear: both;
  display: block;
  text-align: center;
  width: 100%;
  height: 60px;
  line-height: 60px;
}

.indicator-inactive,
.indicator-active {
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 4px;
}

.indicator-inactive {
  background-color: #a1a1a1;
}

.indicator-inactive:hover {
  background-color: #f26522;
}

.indicator-active {
  background-color: #f26522;
}

#about {
  position: relative;
  width: 100%;
  clear: both;
}

#about-bg {
  width: 100%;
  height: 750px;
}

#portrait2 {
  position: absolute;
  top: 0;
  left: 50%;
  -moz-transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

#bio {
  margin: -485px auto 0;
  width: 62%;
}

.skill {
  width: 33%;
  min-width: 185px;
  height: 60px;
  font-family: Raleway, sans-serif;
  font-size: 12pt;
  font-weight: 400;
  line-height: 150%;
  float: left;
}

.bar-gray {
  width: 80%;
  height: 15px;
  background-color: #e5e5e5;
}

.bar-orange {
  height: 100%;
  background-color: #f26522;
}

#sketch { width: 80%; }

#axure { width: 95%; }

#invision { width: 85%; }

#xd { width: 90%; }

#photoshop { width: 95%; }

#illustrator { width: 75%; }

#indesign { width: 70%; }

#html-css { width: 70%; }

#js { width: 40%; }

.clearfix {
  clear: both;
  width: 100%;
  height: 50px;
}

#contact {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url('/images/contactbg.jpg');
}

#contact-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 25px;
}

#contact-info:hover {
  background-color: rgba(0, 0, 0, 0.5);
  -moz-transition: background-color .25s ease-in-out;
  -webkit-transition: background-color .25s ease-in-out;
  transition: background-color .25s ease-in-out;
}

#contact-icons {
  text-align: center;
  height: 200px;
  line-height: 160px;
}

#contact-icons img {
  display: inline-block;
  vertical-align: middle;
  width: 72px;
  height: 72px;
  margin: 20px;
  opacity: 0.5;
  -moz-transition: width 0.1s, height 0.1s, opacity 0.1s;
  -webkit-transition: width 0.1s, height 0.1s, opacity 0.1s;
  -o-transition: width 0.1s, height 0.1s, opacity 0.1s;
  -ms-transition: width 0.1s, height 0.1s, opacity 0.1s;
  transition: width 0.1s, height 0.1s, opacity 0.1s;
}

#contact-icons img:hover {
  width: 120px;
  height: 120px;
  opacity: 0.8;
}

#header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 1200px;
  height: 72px;
  -moz-transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
}

#toplogo {
  position: fixed;
  top: 8px;
  left: 22px;
  width: 55px;
  height: 55px;
}

nav {
  position: fixed;
  top: 35%;
  right: 0;
  height: 100%;
  overflow: hidden;
}

nav a {
  font-family: Oswald, sans-serif;
  font-size: 11pt;
  font-weight: 300;
  letter-spacing: 2pt;
  border-style: none;
  color: #3f3f3f;
  display: inline;
  padding: 8px 2px;
  margin: 0 20px;
  text-decoration: none;
}

nav a:not(:last-child):hover,
nav a:not(:last-child).active {
  border-bottom: 2px solid #f26522;
}

#hamburger {
  display: none;
  font-size: 20pt;
  margin-top: -20px;
}

@media screen and (-webkit-min-device-pixel-ratio: 1.5),
screen and (-moz-min-device-pixel-ratio: 1.5),
screen and (min-device-pixel-ratio: 1.5) {
  #hero {
    background: #3f3f3f url('/images/herobg@2x.jpg') top center/auto 100% no-repeat;
  }
  #ux-left {
    background: #f26522 url('/images/ux@2x.gif') left top/auto 100%;
  }
  #ui-right {
    background: #f26522 url('/images/ui@2x.gif') right top/auto 100%;
  }
  #contact {
    background-image: url('/images/contactbg@2x.jpg') auto 100% no-repeat;
  }
}

@media screen and (max-width: 960px) {
  .ux,
  .ui {
    height: auto;
  }
  #ux-left,
  #ui-right {
    position: relative;
    width: 100%;
    height: 450px;
    margin: 0;
  }
  #ux-right,
  #ux-back,
  #ui-left,
  #ui-back {
    position: relative;
    clear: both;
    width: 100%;
    height: auto;
    padding: 0 50px;
  }
  #ux-back,
  #ui-back {
    opacity: 1;
  }
  .view {
    position: relative;
    margin-top: 50px;
  }
  .featured-project {
    top: auto;
    width: 70%;
    bottom: -20px;
  }
}

@media screen and (max-width: 768px) {
  #hello {
    width: 100%;
    max-width: 450px;
  }
  #intro {
    min-height: 0;
  }
  #intro-text {
    width: 100%;
  }
  #portrait1 {
    display: none;
  }
  #about-bg {
    width: 150%;
    margin-left: -25%;
  }
  #bio {
    width: 100%;
    padding: 0 50px;
  }
}

@media screen and (max-width: 740px) {
  h1 {
    font-size: 53pt;
  }
  h2 {
    font-size: 18pt;
  }
  p,
  ul {
    font-size: 14pt;
  }
  #intro,
  #contact-info {
    padding: 20px;
  }
  #hello h1 {
    padding: 0 0 15px;
  }
  #ux-right,
  #ux-back,
  #ui-left,
  #ui-back,
  #bio {
    padding: 0 20px;
  }
  .skill {
    width: 50%;
    min-width: 150px;
  }
  #contact-info {
    background-color: rgba(0, 0, 0, 0.5);
    -moz-transition: background-color .25s ease-in-out;
    -webkit-transition: background-color .25s ease-in-out;
    transition: background-color .25s ease-in-out;
  }
  #contact-icons img {
    margin: 10px;
    opacity: 0.8;
  }
  #contact-icons img:hover {
    width: 72px;
    height: 72px;
  }
  nav a {
    display: none;
  }
  nav #hamburger {
    display: block;
    float: right;
  }
}

@media screen and (max-width: 740px) {
  div#header.open {
    height: auto;
  }
  nav.open {
    position: relative;
  }
  nav.open #hamburger {
    position: absolute;
    top: 25px;
    right: 0;
  }
  nav.open a {
    display: table;
    float: none;
    background-color: white;
  }
}
