@font-face {
  font-family: 'Waterst';
  src: url('../images/waterst.ttf');
}

.loader {
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  background-color: #02c4fc;
  z-index: 100;
}

.loaderImg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
}

/* Sky */

#sky {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.sky-parallax {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgb(30,87,153); /* Old browsers */
  background: -moz-linear-gradient(150deg, rgba(30,87,153,1) 0%, rgba(32,124,202,1) 0%, rgba(41,137,216,1) 39%, rgba(125,185,232,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(150deg, rgba(30,87,153,1) 0%,rgba(32,124,202,1) 0%,rgba(41,137,216,1) 39%,rgba(125,185,232,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(150deg, rgba(30,87,153,1) 0%,rgba(32,124,202,1) 0%,rgba(41,137,216,1) 39%,rgba(125,185,232,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

#cloud_carrier {
    position: absolute;
    width: 100%;
    top: 6em;
}

.cloud {
    background-repeat: no-repeat;
    background-size: 594px 300px;
    width: 594px;
    height: 300px;
    position: absolute;
}

#cloud1 {
	background-image: url(../images/cloud2.png);
	left: 0;
}

#cloud2 {
	background-image: url(../images/cloud2.png);
	left: 50%;
  top: 60px;
}

#cloud3 {
	background-image: url(../images/cloud3.png);
	left: 15%;
}

#cloud4 {
  background-image: url(../images/cloud3.png);
  left: 110%;
  top: 80px;
}

#sky_name {
   position: absolute;
   left: 0;
   right: 0;
   margin: auto;
   width: 30em;
   top: 5em;
   user-select: none;
}

#sky_name span {
  color: #fff;
  font-family: 'Arizonia', Helvetica, sans-serif;
  font-size: 80pt;
  text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

#sky_name span:hover {
  color: #000;
  text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

/* Water */

#water {
  position: absolute;
  top: 80%;
  left: 0;
  height: 400px;
  width: 100%;
  z-index: 1;
  overflow: hidden;
}

#water canvas {
  position: absolute;
  top: 0;
}

#waves-camera {
  display: none;
  position: absolute;
  overflow: none;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

/* Resume container */
#resume_container {
  top: 5em;
  left: 0;
  right: 0;
  width: 7em;
  height: 7em;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  margin: auto;
  text-align: center;
  box-shadow: inset -6px -6px 25px, 1px 1px 5px;
  z-index: 1;
  transition: 1s;
  background-color: rgba(86, 162, 224, 0.8);
}

.bubble span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  margin: auto;
  text-decoration: none;
  color: #fff;
  font-family: 'Waterst';
  cursor: default;
}

.bubble:hover {
  /*box-shadow: inset -6px -6px 25px rgb(21, 50, 78), 5px 5px 5px; */
  background-color: rgba(9, 27, 49, 0.8);
}

.bubble a {
  text-decoration: none;
  color: #fff;
  font-family: 'Berkshire Swash', Helvetica, sans-serif;
}

.bubble {
    animation-name: float3;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    -webkit-animation-name: float3;
    -webkit-animation-duration: 10s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-name: float3;
    -moz-animation-duration: 10s;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
}

#resume_center {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 28pt;
  height: 1em;
}

/* Underwater */
#underwater {
  position: absolute;
  top: calc(80% + 180px);
  left: 0;
  width: 100%;
  height: 30em;
  /*background: radial-gradient(circle at center -100%, rgb(30, 83, 117), rgb(9, 23, 31) 70%);*/
  background: url('../images/underwater-ocean.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.sunkenMonitor {
  top: 200px;
  opacity: 0.6;
}

#tank-canvas {
  position: absolute;
  margin-top: -2em;
  box-shadow: inset 0px 10px 25px rgba(0, 0, 0, 0.5), inset 0px -10px 20px rgba(0, 0, 0, 0.5);
}

/* Qualifications */
.qualificationContainer {
  margin-top: 20em;
  width: 98%;
  height: 30em;
  position: absolute;
  z-index: 2;
  /*background-color: #30586f;*/
}

.bubbleContainer {
  width: 100%;
  height: 100%;
  display: flex;
}

.bubbleCol {
  width: 100%;
  position: relative;
}

/* Projects */
.projectContainer {
  position: relative;
  background-color: #000;
  border: 1em solid black;
}

.projectCarousel {
  height: calc(100% - 6em);
  width: calc(100% - 10em);
  padding: 3em 5em;
}

.projectInfo {
  color: #fff;

}

.projectContent {
  overflow-y: auto;
  overflow-x: hidden;
  height: inherit;
}

.projectCarouselControl {
  position: absolute;
  top: 1em;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}

.bubbleFont_large {
  font-size: 20pt;
}

.bubbleFont_medium {
  font-size: 16pt;
}

#q_bubble_resume {
  top: 7em;
  left: 0;
  right: 0;
  width: 10em;
  height: 10em;
}

#q_bubble2 {
  top: -6em;
  left: -9em;
  right: 0;
  width: 7em;
  height: 7em;
}

#q_bubble3 {
  top: -4em;
  right: -5em;
  width: 7em;
  height: 7em;
}

#q_bubble4 {
    top: 6em;
    right: 9em;
    width: 7em;
    height: 7em;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 25pt;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(255,255,255,0.8);
}

.dot {
  cursor:pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.projectLogo {
    width: 10em;
    float: right;
}

.demoDiv {
}

/**/

.projectInfo h1 {
  font-family: 'Oleo Script', Helvetica, sans-serif;
}

.projectInfo h2 {
  font-family: 'Oleo Script', Helvetica, sans-serif;
}

.projectInfo h3 {
    font-family: 'Berkshire Swash', Helvetica, sans-serif;
}

.projectInfo h4 {
}


footer {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  clear: both;
  text-align: center;
  color: #333;
  background: #000;
  background: -moz-linear-gradient(top, rgb(3, 11, 21), #000);
  background: -webkit-linear-gradient(top, rgb(3, 11, 21), #000);
  background: linear-gradient(top, rgb(3, 11, 21), #000);
}

footer a {
  color: white;
}