/* GENERAL */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body{
  height: 100%;
}

body {
  font-size: 13px;
  position: relative;
  z-index: -9999999;
/*  overflow: hidden;*/
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);; /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
  -ms-transform: translate(-50%, -50%);; /* IE 9 */
  transform: translate(-50%, -50%);; /* IE 10, Fx 16+, Op 12.1+ */
}

h1 {
  font-size: 14px;
  font-weight: normal;
}

header {
  position: fixed;
  left:0;
  padding-top: 20px;
  z-index: 4;
}

aside .inner, aside {
  z-index: -999;
}

header {
  width: 100%;
  background-color: white;
}

header .inner, aside .inner {
  width: 80%;
  margin: 0 auto;
  position: relative;
}

header .inner {
  border-bottom: 1px solid #ababab;
  font-weight: 700;
  padding-bottom: 15px;
  margin-bottom: 16px;
  line-break: strict;
}

header h1 {
  font-weight: 500;
  font-family: Arial;
}

h1 span {
  font-weight: 700;
}

h1 a {
  text-decoration: none;
  color: black;
}

#welcome {
  width: 20%;
}

#filter {
  width: 100%;
  float: none;
  display: block;
}

nav {
  display: block;
  font-size: 14px;
  margin-top: 8px;
  color: black;
}

nav li {
  text-decoration: none;
}

nav li:hover {
  cursor: pointer;
}

nav ul {
    list-style: none;
}

nav li {
  padding-bottom: 8px;
}

nav li:last-child {
  padding-bottom: 8px;
}

#contact {
  float: none;
  text-align: left;
  width: 100%;
  margin-top: 8px;
  display: block;
}

#content{
  width: 80%;
  margin: 0 auto;
  z-index: 2;
}

 #post-container {
    padding-top: 250px;
  }

#content .inner {
  width: 100%;
  float: none;
  display: block;
}

/* imgs */

.img-box {
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 10px;
}

.videowrapper {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 76.25%;
    padding-top: 25px;
    height: 0;
}
.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.img-desc {
  position: absolute;
  margin: 0 auto;
  right: 0;
  top: 0; /* Adjust this value to move the positioned div up and down */
  text-align: center;
  width: 100%; /* Set the width of the positioned div */
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#3b6fd6+0,000edd+99 */
  background: rgb(59,111,214); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(59,111,214,1) 0%, rgba(0,14,221,1) 99%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(59,111,214,1) 0%,rgba(0,14,221,1) 99%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(59,111,214,1) 0%,rgba(0,14,221,1) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b6fd6', endColorstr='#000edd',GradientType=0 ); /* IE6-9 */
  padding: 6px;
  font-size: 9px;
  color: yellow;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.project-img {
  width: 100%;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border: 1px solid #666666;
}

.img-box-icon {
}

.project-icon {
  width: 100%;
}

/* rows and cols */

.row:after {
  content: "";
  display: table;
  clear: both;
}

.col10 {
  width: 10%;
  float: left;
  display: block;
}

.col20 {
  width: 20%;
  float: left;
  display: block;
}

.col50 {
  width: 50%;
  float: left;
  display: block;
}

.col90 {
  width: 90%;
  float: left;
  display: block;
}

.col80 {
  width: 80%;
  float: left;
  display: block;
}

.col70 {
  width: 70%;
  float: left;
  display: block;
}

.floatright {
  float: right;
}


/* Post */

.post {
  margin-bottom: 20%;
  border-bottom: 1px solid #ababab;
  padding-bottom: 8px;
}

.post:last-child {
    margin-bottom: 3%;
}

footer {
  padding: 10px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 10px;
}

.post-head h2 {
  font-size: 13px;
  font-weight: 700;
  font-family: Arial;
}

.post-head h3 {
    border-bottom: 1px solid #ababab;
    border-top: 1px solid #ababab;
    margin: 16px 0 12px;
    padding: 8px 0;
    display: block;
    font-size: 13px;
    font-weight: normal;
}

.post-head p {
  margin-bottom: 20px;
}

.notmobile {
  display: none;
}

#nav-title {
font-weight: normal;
font-family: Arial;
margin-top: 10px;
margin-bottom: 10px;
border: 1px solid black;
padding: 5px;
display: table;
}


/* CANVAS */
canvas {
  border: 1px solid #666666;
}

canvas:hover {
  cursor: grab;
}

canvas:active {
  cursor: grabbing;
}

#canvasWelcome {
  height: 150px;
  margin-top: 20%;
}

#canvasWelcome canvas {
  border: none;
}

.canvas-box {
  height: 350px;
}

.progress {
  position: absolute;
  font-weight: 700;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);; /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
  -ms-transform: translate(-50%, -50%);; /* IE 9 */
  transform: translate(-50%, -50%);; /* IE 10, Fx 16+, Op 12.1+ */
  text-align: center;
  animation: appear 1s linear 50;
}

@keyframes appear {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

/* MEDIA QUERIES */

@media screen and (min-width: 800px) {
  .notmobile {
      display: block;
  }


  header, aside {
    position: fixed;
    left:0;
    padding-top: 100px;
  }

  header .inner {
  padding-bottom: 10px;
}

  aside {
    padding-top: 180px;
    width: 100%;
  }

  h1 a:hover {
    cursor: pointer;
  }

  nav {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    color: black;
}

  nav li {
    display: inline-block;
    padding-bottom: 0px;
    margin-bottom: 0px;
  }

  nav li:last-child {
    margin-bottom: 0px;
  }

  nav li:after {
    content: " /";
  }

  nav li:last-child:after {
    content: "";
  }

  nav li:hover {
    cursor: pointer;
    text-decoration: underline;
  }

  #filter {
  width: 50%;
  float: left;
  display: block;
}

  #contact {
    float: right;
    text-align: right;
    width: 50%;
    display: block;
    margin-top: 2px;
  }

  .filler {
    position: fixed;
    top: 0;
    right: 0;
    width: 74%;
    height: 200px;
    background-color: white;
    z-index: 3;
  }

  #content{
    width: 80%;
    margin: 0 auto;
    z-index: 2;
  }

  #post-container {
    padding-top: 220px;
  }

  #content .inner {
    width: 77%;
    float: right;
    display: block;
  }

  .post {
    margin-bottom: 10%;
  }

  .post-head h3 {
    margin: 16px 0 32px;
}
  .title {
    font-weight: 700;
  }

  .img-box {
  width: 80%;
   margin-bottom: 20px;
  }

  #welcome .img-box {
    width: 100%;
  }

  .img-desc {
  padding: 6px;
  font-size: 10px;
  color: yellow;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#nav-title {
font-weight: normal;
font-family: Arial;
margin-top: 10px;
margin-bottom: 10px;
border: 1px solid black;
padding: 5px;
display: table;
}


}
