/* GLOBAL
----------------------------------------------------------- */
html{
    height:100%;
}

body {
    height:100%;
    font-family: Fleya, serif;
    background-color: rgb(240,240,240);
     -webkit-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
        -moz-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
          -o-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
             transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
  }

html, body { margin: 0; }

::selection {
  background: pink;
  color: white;
}

::-moz-selection {
  background: pink;
  color: white;
}


nav {
  position: fixed;
  width: 103vh;
  height: 7.5rem;
  z-index: 1000;
  background: none;
top: -8rem;
  transform: rotate(90deg);
  transform-origin: 0 100%;
  background-color: lightgrey;
  text-align: center;
  -webkit-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.31);
     -moz-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.31);
          box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.31);
  -webkit-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
     -moz-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
       -o-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
          transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
}

nav #leftArrow{
  position: absolute;
  left: 1.5rem;
  font-size: 3rem;
  color: rgb(50,50,50);
  margin-top: 1.5rem;
  user-select: none;
}

nav #rightArrow{
  position: absolute;
  right: 1.5rem;
  font-size: 3rem;
  transform: rotate(180deg);
  color: rgb(50,50,50);
  margin-top: 1.5rem;
  user-select: none;
}

nav #leftArrow:hover{
  cursor: pointer;
  color: rgb(100,100,100);
}

nav #rightArrow:hover{
  cursor: pointer;
  color: rgb(100,100,100);
}

#wrapper {
    position: absolute;
    margin-top: 0.3rem;
    display: table;
    table-layout: fixed;
    width:110%;
    margin-left: -5.5%;
    user-select: none;
}

#wrapper div {
    display: table-cell;
    text-align: center;

}

#wrapper div:hover {
    cursor: pointer;
}

#navigationSlider{
  -webkit-transition: all 400ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
     -moz-transition: all 400ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
       -o-transition: all 400ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
          transition: all 400ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
}


nav input[type=range]{
    -webkit-appearance: none;
    width: 80vh;
    background: none;
    border-radius: 10rem;
  }

@-moz-document url-prefix() {
  nav input[type=range]{
    margin-bottom: -3.3rem;
   }
}

nav input[type=range]::-webkit-slider-runnable-track {
  margin-top: 0rem;
  margin-bottom: -6rem;
  height: 7rem;
  background: white;
  border-radius: 10rem;
  -webkit-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.3);
     -moz-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.3);
          box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.3);
  padding-right: 0.7rem;
}

nav input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 6.2rem;
    width: 13.7rem;
    background: blue;
    margin-top: 0.3rem;
    margin-left: 0.4rem;
    background: url('img/buttonSlider.svg');
    background-repeat: no-repeat;
    cursor: pointer;
}

nav input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.03);
}

input[type=range]:focus {
    outline: none;
}

nav input[type=range]::-moz-range-track {
  margin-top: 0rem;
  height: 7rem;
  background: white;
  border-radius: 10rem;
  -webkit-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.3);
     -moz-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.3);
          box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.3);
  padding-right: 0.7rem;
}

nav input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  border: none;
  height: 6.2rem;
  width: 13.7rem;
  background: blue;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
  background: url('img/buttonSlider.svg');
  background-repeat: no-repeat;
  cursor: pointer;
}

nav input[type=range]::-moz-range-thumb:hover {
  transform: scale(1.03);
}

nav input[type=range]::-moz-focus-inner {
    outline: none;
}

.headLeft{
  position: fixed;
  top: 0;
  z-index: 9999;
  display: inline-block;
  float: left;
  padding: 2%;
  font-family: Fleya, Times, serif;
}

#previousProject{
  float: right;
  opacity: 0;
  padding-left: 1rem;
  -webkit-transition: all 200ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
     -moz-transition: all 200ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
       -o-transition: all 200ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
          transition: all 200ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
}

.headLeft:hover #previousProject{
  opacity: 1;
}

.headRight{
  position: fixed;
  top: 0;
  z-index: 9999;
  display: inline-block;
  text-align: right;
  float: right;
  right: 0;
  padding: 2%;
  font-family: Fleya, Times, serif;
}

#nextProject{
  float: left;
  opacity: 0;
  padding-right: 1rem;
  -webkit-transition: all 200ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
     -moz-transition: all 200ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
       -o-transition: all 200ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
          transition: all 200ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
}

.headRight:hover #nextProject{
  opacity: 1;
}

.headCenter{
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 70%;
  height: 10%;
  margin-left: 15%;
  display: inline-block;
  text-align: center;
  padding: 2%;
  font-family: Fleya, Times, serif;
}

.returnLeft{
  position: fixed;
  transform: rotate(90deg);
  z-index: 9999;
  width: 7rem;
  margin-left: -3rem;
  display: inline;
  text-align: center;
  padding: 2%;
  left: 0;
  font-family: Fleya, Times, serif;
}

.info{
  position: fixed;
  width: 60%;
  font-size: 2rem;
  margin-left: 20%;
  z-index: 910;
  top: 12%;
  transform: translate(0, -50%) scale(0);
  font-family: Fleya, Times, serif;
  user-select: none;
}

.info a{
  border-bottom: 1px solid currentColor;
}

#infoLeft{
  position: absolute;
  left: 0;
  width: 70%;
  font-size: 0.8rem;
  padding-left: 3rem;
}

#infoRight{
  position: absolute;
  right: 0;
  width: 30%;
  font-size: 0.8rem;
}

.contact{
  position: fixed;
  font-size: 0rem;
  z-index: 910;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
}

.popup img {
  border:none;
  width: 50%;
}

.popup span {
  visibility:hidden;
  position: absolute;
  top:50px;
  left:700px;
}

.popup:active span {
  visibility:visible;
}

.mobileNav{
  width: 100%;
  text-align: center;
  height: 90%;
  margin-top: 5%;
  margin-bottom: 5%;
  display: none;
}

#mobileNavTop{
  top: 0;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}

#mobileNavBottom{
  bottom: 0;
  position: absolute;
  text-align: center;
  left: 50%;
  transform: translate(-50%);
}

#raster{
  width: 90%;
  height: 95vh;
  float: right;
  z-index: 1;
  margin-top: 2vh;
  margin-left: 10%;
  overflow-y: hidden;
  user-select: none;
}

.inuse_container{
  box-sizing: border-box;
  float: left;
  position: relative;
  display: inline-block;
  width: 25%;
  height: 33.333%;
  border: none;
  text-align: left;
  -webkit-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
     -moz-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
       -o-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
          transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
}

#wsDescription{
  -webkit-transition: none;
     -moz-transition: none;
       -o-transition: none;
          transition: none;
}

.inuse_container p{
margin-top: 30%;
}

.inuse_container span:hover{
  cursor: pointer;
}

#image_frame{
  height: 100%;
  width: 100%;
  position: absolute;
  white-space: nowrap;
  text-align: center;
  margin: 0;
}

.inuse_image{
  vertical-align: middle;
  max-height: 10%;
  max-width: 10%;
  padding: 5%;
}

.inuse_image2{
  vertical-align: middle;
  max-height: 80%;
  max-width: 80%;
  padding: 5%;
}

.inuse_image3{
  vertical-align: middle;
  max-height: 10%;
  max-width: 10%;
  padding: 5%;
}

#helper{
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

footer {
  position: fixed;
  text-align: right;
  z-index: 9999;
  bottom: 0;
  right: 0;
  margin: 0.4rem;
}

footer p{
  line-height: 0;
  font-size: 0.7rem;

}

/* PROJECT PAGE */

.content{
  width: 100%;
  position: relative;
  margin-top: 8rem;
  margin-bottom: 8rem;
  -webkit-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
         -moz-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
           -o-transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
              transition: all 800ms cubic-bezier(0.675, 0.275, 0.115, 0.905);
}

.projectDescription{
  width: 60%;
  margin-left: 10%;
  height: auto;
  color: black;
}

.projectPictures{
  width: 80%;
  margin-left: 10%;
  height: auto;
  margin-top: 1rem;
}

.projectPictures img{
  width: 70%;
  margin-left: 15%;
  margin-top: 3rem;
  height: auto;
}

.projectPictures #twoRows{
  box-sizing: border-box;
  width: 49.5%;
  margin-left: 0%;
  margin-top: 3rem;
  height: auto;
}

.toTop{
  width: 100%/* OPTIMIZE:  */;
  text-align: center;
  margin-bottom: 8rem;
}

.toTop svg{
  height: 5rem;
}

#indent{
  padding-left: 3rem;
}

.imageCaption{
  margin-top: -0.5rem;
  font-size: 0.8rem;
  text-align: center;
font-style: italic;}

.imageHead{
  text-align: center;
  margin-top: 6rem;
  text-decoration: underline;
}

@media only screen and (max-width: 999px){

  #leftArrow{
    display: none;
  }

  #rightArrow{
    display: none;
  }

  nav {
    position: fixed;
    width: 100%;
    margin: 0;
    top: 0;
    height: auto;
    background-color: white;
    border-radius: none;
    box-sizing: border-box;
    bottom: auto;
    transform: none;
  }

  nav input[type=range]{
      -webkit-appearance: none;
      width: 95%;
      height: 4rem;
      background: none;
      border-radius: 10rem;
    }

  nav input[type=range]::-webkit-slider-runnable-track {
    margin-top: 0rem;
    height: 4.3rem;
    margin-top: -6rem;
    background: white;
    border-radius: 10rem;
    -webkit-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.51);
       -moz-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.51);
            box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.51);
            border:1px solid lightgrey;
    padding-right: 0.7rem;
  }

  nav input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none;
      border: none;
      height: 3.6rem;
      width: 8rem;
      background: blue;
      margin-top: 0.3rem;
      margin-left: 0.3rem;
      background: url('img/buttonSlider.svg');
      background-repeat: no-repeat;
      cursor: pointer;
  }
  nav input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.03);
  }
  input[type=range]:focus {
      outline: none;
  }
  nav input[type=range]::-moz-range-track {
    margin-top: 0rem;
    height: 4.3rem;
    background: white;
    border-radius: 10rem;
    -webkit-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.51);
       -moz-box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.51);
            box-shadow: inset -1px 32px 66px -12px rgba(0,0,0,0.51);
            border:1px solid lightgrey;
    padding-right: 0.7rem;
  }

  nav input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    border: none;
    height: 3.6rem;
    width: 8rem;
    background: blue;
    margin-top: 0.3rem;
    margin-left: 0.3rem;
    background: url('img/buttonSlider.svg');
    background-repeat: no-repeat;
    cursor: pointer;
  }

  nav input[type=range]::-moz-range-thumb:hover {
    transform: scale(1.03);
  }

  nav input[type=range]::-moz-focus-inner {
      outline: none;
  }

  nav #leftArrow{
    position: absolute;
    left: 1.5rem;
    font-size: 2rem;
    color: rgb(50,50,50);
    margin-top: 0.7rem;
  }

  nav #rightArrow{
    position: absolute;
    right: 1.5rem;
    font-size: 2rem;
    transform: rotate(180deg);
    color: rgb(50,50,50);
    margin-top: 0.7rem;
  }

  #imgContainerOverlay{
    width: 50%;
    height: 50vw;
  }

  .inuse_container{
    width: 33.333%;
    height: 40%;
    line-height: 1.3;
  }

  #raster{
    overflow-y:visible;
  }

  .info{
    position: fixed;
    width: 80%;
    font-size: 1.8rem;
    margin-left: 10%;
    z-index: 910;
    top: 8rem;
    transform: translate(0, 0) scale(0);
    user-select: none;
  }

}

@media only screen and (max-width: 750px){
  nav input[type=range]{
      width: 90%;
    }

  nav #leftArrow{
    left: 0.7rem;
  }

  nav #rightArrow{
    right: 0.7rem;
  }

  #indent{
    padding-left: 1.6rem;
  }

  .projectPictures{
    width: 100%;
    margin-left: 0%;
  }

  .projectPictures #twoRows{
    width: 49%;
  }

  .projectPictures img{
    width: 90%;
    margin-left: 5%;
  }

  #imgContainerOverlay{
    width: 100%;
    height: 100vw;
  }

  #leftEye{
    display: none;
  }

  #rightEye{
    width: 70%;
    position: absolute;
    left: 15%;
    top: 50%;
    transform: translate(0, -50%);
  }

  .eyes{
    z-index: 0;
  }

  .mobileNav{
    display: block;
  }

  .inuse_container{
    width: 50%;
    height: 35%;
    user-select: none;
  }

  #wrapper {
    display: none;
  }

  .inuse_container p{
font-size: 0.7rem;
 }

 .info{
   font-size: 1.2rem;
   position: absolute;

 }

}
