body {
  background-color: rgb(22,23,24);
  color:#aaa;
  font-family: 'Heebo', sans-serif;
  font-size:10pt;
  /*-ms-perspective: 2px;
  -moz-perspective: 2px;
  -webkit-perspective: 2px;
  perspective: 2px;*/
}

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  color:#ddd;
  font-weight: 400;
  font-size:24pt;
  letter-spacing: 0.1em;
}

h1.projects {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  color:#ddd;
  font-size:20pt;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin-bottom:40px;
  text-align: center;
}

p {
  margin-top:15px;
}


.description {
  font-family: 'Barlow Condensed', sans-serif;
  font-size:12pt;
  color:#eee;
  letter-spacing: 0.05em;
}

.main {
  perspective: 1px;
  transform-style: preserve-3d;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  vertical-align: top;
}

.parallax {
  position: relative;
  z-index: -1;
  transform: translateZ(-0.5px) scale(1.5);
}

.fixed {
  background-color: #111;
}

.container {
  margin-top:15px;
  margin-bottom:15px;
}

.top-margin {
  margin-top: 100px;
}

.navlinks {
  color:#eee;
  font-size:50px;
}

.centered {
  margin:auto;
  max-width:1200px;
}

.play {
  position:absolute;
  top: 27.5vw;
  left:50%;
  width:10%;
  min-width:80px;
  opacity:0.5;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.play:hover, .close:hover {
  cursor:pointer;
  opacity: 1;
}

.play img, .close img {
  max-width:100%;
}

.close {
  position:absolute;
  top: 5%;
  right: 5%;
  width:3%;
  opacity:0;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

header {
    position: relative;
    background-color: black;
    padding:0;
    height: 53vw;
    width: 100vw;
    max-width:100%;
    overflow: hidden;
}
  
header iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56vw;
  min-height: 100vh;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

/*header .container {
  position: relative;
  z-index: 2;
}*/

.project {
  margin-bottom: 40px;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 1;
  z-index: 1;
}

.imgbox {
  margin-top:30px;
  margin-bottom:30px;
}


.imgtile {
  position:relative;
  display:block;
}

.col {
  padding-left: 0;
  padding-right: 7px;
  margin-bottom: 7px;
}

.overlay {
  position:absolute;
  display:block;
  width:100%;
  bottom:0;
  padding:10px;
  margin:0;
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  font-size: 8pt;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.overlay .title {
  display:block;
}

.overlay .name {
  display:block;
  font-weight:bold;
}

.bigimg {
  position: relative;
  padding:0;
  margin:0;
  overflow:hidden;
  margin-top:50px;
  height: 56.25vw;
  width:100vw;
  max-width:100%;
  vertical-align:middle;
}

.bigimg img {
  position:absolute;
  padding:0;
  margin:0;
  width:100vw;
  height:auto;
  /*-ms-transform: translateZ(-1px) scale(1.5);
  -moz-transform: translateZ(-1px) scale(1.5);
  -webkit-transform: translateZ(-1px) scale(1.5);
  transform: translateZ(-1px) scale(1.5);*/
  z-index:-1;
}

.top-container {
  width:100vw;
  max-width:100%;
  background-color:rgba(0,0,0,0);
  position:fixed;
  top:0;
  z-index:4;
  -webkit-transition: background-color 0.2s ease;
  -moz-transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.top {
  color:#fff;
  width:80%;
  max-width:1200px;
  margin: 20px auto;
  vertical-align:middle;
}

.footer {
  margin-bottom:45px;
  /*width:60%;*/
}

.logo {
  width:40%;
  min-width:30px;
  max-width:120px;
  height:auto;
}

.nav {

  text-transform:uppercase;
  letter-spacing: 0.5em;
  font-weight:400;
  font-size:10pt;
  float:right;
  vertical-align:middle;
}

.nav ul {
  list-style-type: none;
  margin:0;
  padding:0;
  overflow: hidden;
}

.nav li {
  display:inline-block;
  margin-left:5px;
}

.nav li:first-child {
  margin-left:0;
}

.nav li a {
  display: block;
  color: #fff;
  text-align: center;
  padding: 10px;
  padding-left:15px;
  text-decoration: none;
}

.nav li a:hover {
  background-color: rgba(255,255,255,0.2);
  border-radius:5px;
}

.nav li a.social:hover {
  background-color:none;
}


/*.nav span {
  color:#fff;
}

.nav span:hover {
  cursor:pointer;
  color:#eee;
}*/

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.contact {
  cursor: pointer;
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) 
and (orientation : portrait) { 
  /* STYLES GO HERE */

  .top-container {
    position:static;
  }

  .nav {
    float:none;
    margin: 0 auto;
    display:block;
    clear:both;
    text-align:center;
  }

  .logo {
    display: block;
    margin: 18px auto;
  }

  .play {
    top: 60vw;
  }


}