/* Reset Stylesheet */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Type */
body {
  font-family: "Source Sans Pro", sans-serif;
  color: #C2D2FF;
  font-size: 16px;
}

a {
  color: #C2D2FF;
  text-decoration: none;
}

h3 {
  font-size: 1.9em;
}

h2 {
  font-size: 1.4em;
}

h1 {
  font-size: 1.9em;
}

h4 {
  font-size: 1.4em;
}

abbr {
  text-decoration: none;
}

/* Main Layout */
html, body, main {
  width: 100%;
  height: 100%;
}

body {
  display: flex;
  background: -moz-radial-gradient(99.59% 0.92%, circle farthest-corner, #1f2944 0%, #141414 100%);
  background: -webkit-radial-gradient(99.59% 0.92%, circle farthest-corner, #1f2944 0%, #141414 100%);
  background: -o-radial-gradient(99.59% 0.92%, circle farthest-corner, #1f2944 0%, #141414 100%);
  background: -ms-radial-gradient(99.59% 0.92%, circle farthest-corner, #1f2944 0%, #141414 100%);
  background: radial-gradient(99.59% 0.92%, circle farthest-corner, #1f2944 0%, #141414 100%);
}

/* Aside */
aside {
  width: 200px;
  height: 100%;
  background: rgba(17, 17, 17, 0.3);
  flex-shrink: 0;
}
aside #logo {
  width: 150px;
  height: 28px;
  background: url(logo.svg) no-repeat;
  background-position: center;
  margin: 50px 25px;
}
aside > footer {
  text-align: right;
  margin-left: 18.75px;
  position: absolute;
  bottom: 37.5px;
}
aside > footer address {
  margin-top: 50px;
}
aside > footer #github_link {
  width: 30px;
  height: 30px;
  margin: 10px auto 0;
  display: block;
}

/* Main */
main section#sliderWrapper {
  width: calc(100vw - 200px);
  height: 100%;
  position: absolute;
  overflow: hidden;
}
main section#projectsSlider {
  --index: 0;
  width: calc(100vw - 200px - 18.75px);
  /*---- vw to prevent overflow on right*/
  height: 80vh;
  /* ----- vh, for accurate verticle alignment */
  margin-top: 10vh;
  /* ----- vh, for accurate verticle alignment */
  transform: translateX(calc(var(--index) * -288.75px ));
  margin-left: 18.75px;
  display: flex;
  position: absolute;
  transition: transform 0.6s ease-in-out;
}
main article {
  width: 270px;
  height: 100%;
  margin-left: 18.75px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.5s ease-in-out;
}
main article > header {
  width: 216px;
  padding: 0.7em 0 0.7em 0.7em;
  background: #000;
  position: absolute;
  bottom: 10%;
  z-index: 5;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color="#000000");
}
main article > a > div {
  width: 240px;
  height: 100%;
  display: flex;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: absolute;
  right: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color="#000000");
}
main article:hover {
  transform: scale(1.25);
}

/* Controls */
.controls {
  height: 100%;
  width: 100%;
  flex-shrink: 0;
  position: absolute;
  pointer-events: none;
  top: 0;
}
.controls .arrows {
  width: 60px;
  height: 60px;
  position: absolute;
  top: calc(50% - 30px);
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}
.controls .arrows:last-of-type {
  transform: rotate(180deg);
  right: 0;
}
main.arrows:last-of-type {
  right: 18.75px;
}

.controls .arrows::before {
  display: block;
  content: "";
  width: 1px;
  height: 20px;
  background: #C2D2FF;
  position: absolute;
  top: 13px;
  left: 20px;
  transform: rotate(45deg);
}
.controls .arrows::after {
  display: block;
  content: "";
  width: 1px;
  height: 20px;
  background: #C2D2FF;
  position: absolute;
  top: 27px;
  left: 20px;
  transform: rotate(-45deg);
}

/* Main Project Article */
#projectWrapper {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
}

#project {
  --marginTop:50%;
  width: calc(1.7777777777777777777777777777778 * 80vh);
  max-width: 80vw;
  height: calc(80vh + 100px );
  max-height: calc((0.5625 * 80vw) + 100px);
  background: white;
  margin: 0 auto;
  margin-top: var(--marginTop);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color="#000000");
}
#project #projectInfo {
  width: 100%;
  height: 100px;
  background: #111;
  position: relative;
}
#project #projectInfo header {
  padding: 0.7em 0 0.7em 0.7em;
}
#project #projectInfo h4 {
  line-height: 1.4em;
}
#project #projectInfo a {
  position: relative;
}
#project #projectInfo a::after {
  display: block;
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  top: 10px;
  right: -30px;
  background: url(newTab_icon.svg) no-repeat center;
}
#project #projectInfo #close {
  width: 60px;
  height: 60px;
  position: absolute;
  right: 20px;
  top: 20px;
}
#project #projectInfo #close:before {
  display: block;
  content: "";
  width: 1px;
  height: 60px;
  background: #C2D2FF;
  position: absolute;
  top: auto;
  left: 30px;
  transform: rotate(45deg);
}
#project #projectInfo #close:after {
  display: block;
  content: "";
  width: 1px;
  height: 60px;
  background: #C2D2FF;
  position: absolute;
  top: auto;
  left: 30px;
  transform: rotate(-45deg);
}
#project #galleryWrapper {
  width: 100%;
  height: calc(100% - 100px);
  overflow: hidden;
  position: relative;
}
#project #galleryWrapper #gallerySlider {
  --index:0;
  --max:3;
  --width: calc(100% / var( --max));
  display: flex;
  transform: translateX(calc(var(--index) * var( --width ) * -1 ));
  transition: transform 1s ease-in-out;
}
#project #galleryWrapper #gallerySlider .slide {
  height: 100%;
  position: relative;
}
#project #galleryWrapper #gallerySlider .slide.hasVideo::before {
  display: block;
  content: "";
  position: absolute;
  width: 20vh;
  height: 20vh;
  top: calc( 50% - 10vh);
  left: calc( 50% - 10vh);
  background: url(play_btn.svg) no-repeat center;
  opacity: 0.9;
}
#project #galleryWrapper #gallerySlider .slide #vimeoVideo {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
}
#project #galleryWrapper #gallerySlider img {
  width: 100%;
  transition: opacity 1s ease-in-out;
}
#project #dotsGal {
  --width:50%;
  position: absolute;
  bottom: 5px;
  left: calc(50% - var(--width));
  height: 10px;
  display: flex;
}
#project #dotsGal .dot {
  width: 10px;
  height: 10px;
  border-radius: 200px;
  background: white;
  margin-left: 5px;
  opacity: 0.4;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color="#000000");
}
#project #dotsGal .dot:after {
  display: block;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 200px;
  background: #C2D2FF;
  position: absolute;
  left: 1px;
  top: 1px;
}
#project #dotsGal .dot.active {
  opacity: 1;
}
#project #dotsGal .dot:first-of-type {
  margin-left: 0;
}

/* Media Queries */

@media screen and (max-width: 550px), (max-height: 400px) {
  aside {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
  }
  aside #logo {
    width: 150px;
    height: 30px;
    margin: 10px 10px;
    background-position: left;
  }
  aside > footer {
    bottom: 4px;
    z-index: 10;
    right: 10px;
  }
  aside > footer > h1, aside > footer > span, aside > footer #github_link {
    display: none;
  }
  main section#sliderWrapper {
    width: 100%;
  }
  main section#projectsSlider {
    margin: 0px;
    bottom: 60px;
  }
  main article:hover {
    transform: scale(1);
  }
}

@media screen and (max-width: 550px) and (orientation: portrait) {
  #project {
    width: 100vw;
    max-width: 100vw;
    height: calc((0.5625 * 100vw) + 100px);
    max-height: calc((0.5625 * 100vw) + 100px);
  }
}

@media screen and (max-height: 56.1vw) and (max-width: 600px) {
  #project {
    height: 100%;
    max-height: 100%;
    margin-top: 0;
  }
}

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