@import url('https://fonts.googleapis.com/css?family=Nunito|Raleway:400');
@import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Inconsolata');

* { box-sizing: border-box !important; }

html {
  min-height: 100vh;
  overflow-x: hidden !important;
  position: relative;
}
a {
  text-decoration: none;
}
body {
  background-color: #b5e2c7;
  margin: 0 auto;
  padding: 0;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden !important;
}
header {
  background-image: url("images/sky_wrap.png");
  background-repeat: repeat-x;
  display:block;
  width: 300%;
  margin-left: -100%;
  min-height: 40vh;
  margin-top:0%;
  z-index:-3;
}
#clouds {
  background-image: url("images/clouds.png");
  background-repeat: repeat-x;
  width: 300%;
  margin-left: -100%;
  min-height: 40vh;
  margin-top:-15%;
  z-index:4;
  overflow-x: hidden !important;
}
#sea {
  background-image: url("images/sea.png");
  background-repeat: repeat-x;
  width: 300%;
  margin-left: -100%;
  min-height: 40vh;
  margin-top:12.5vh;
  z-index:5;
  overflow-x: hidden !important;
}
.main {
  height: 200vh;
  background-image: linear-gradient(to bottom, #71baaa, #509ea4, #428197, #436381, #434764);
  margin: -9.75vh auto 0 auto !important;
  display:flex;
  flex-direction:column;
}
.navbar {
  height: 70px;
  position: fixed;
  top: 0;
  transition: top 0.2s ease-in-out;
  width: 100%;
  font-size:14px;
  line-height:14px;
  text-transform:uppercase;
  font-weight:500;
  letter-spacing:3px;
  z-index:99;
  overflow-x: hidden !important;

}
.nav-bg {
  background-image: linear-gradient(to top, #a1f2ec, #96e8e2, #8addd7, #7fd3cd, #74c9c3);
  height: 10vh;
}
.icon {
  max-width:35%;
}
#top-menu, #social-media {
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
}
#top-menu li, #social-media li {
  float: left;
  list-style-type: none;
}
#top-menu a {
  display: block;
  font-family: 'Raleway', sans-serif;
  margin: 25px 14px 0px 14px;
  text-align: center;
  -webkit-transition: .5s all ease-out;
  -moz-transition: .5s all ease-out;
  transition: .5s all ease-out;
  color: #ffffff;
  text-decoration: none;
  padding:2px 3px 2px 5px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
 #social-media a {
  display: block;
  font-family: 'Raleway', sans-serif;
  margin: 25px 14px 0px 14px;
  text-align: center;
  -webkit-transition: .5s all ease-out;
  -moz-transition: .5s all ease-out;
  transition: .5s all ease-out;
  color: #ffffff;
  text-decoration: none;
  padding: 2px 3px 2px 5px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  width: 40px !important;
}
#top-menu a:hover {
  color: #71baaa;
  text-decoration:none;
  font-weight:500;
  background-color:#ffffff;
  padding:2px 3px 2px 5px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#top-menu li.active a {
  color: #71baaa;
  text-decoration:none;
  font-weight:500;
  background-color:#ffffff;
  padding:2px 3px 2px 5px;
  -moz-border-radius: 3px;
  border-radius: 3px;

}
#intro-text, .about-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  color: #fff;
  z-index: 5;
  padding: 1.5em 2.5em 0em 2em;
  margin-bottom: 0;
  line-height: 1.5em;

}
.skill {
  font-size: 0.8em;
  padding: 0px 4px 0px 4px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin-top: 2px;
  color: #ffffff;
  letter-spacing: 1px;
  border: 1px solid #ffffff;
  font-family: 'Raleway', sans-serif;
  margin-right: 8px;
  margin-top: 8px !important;
  display: inline-block;
}
.topSkill {
  margin-top: 2px;
  margin-top: 8px !important;
  font-size: 0.8em;
  padding: 1px 4px 1px 4px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #ffffff;
  color: #366982;
  letter-spacing: 1px;
  font-family: 'Raleway', sans-serif;
  margin-right: 8px;
  display: inline-block;
}
.accent-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #fff;
  padding: 0em 2.5em 2.5em 0em;
}
.code {
  font-family: 'Inconsolata', monospace;
  display: inline !important;
  color: #000 !important;
  padding:0 !important; margin:0 !important;
}
.code:hover {
  color: #7df94e !important;
}
.dynamo {
  font-size: 1.4em;
  z-index: 1 !important;
}
.scroll-icon {
  width: 25px;
  padding-top: 1vh;
  margin: 0 auto;
  cursor: pointer;
}
.textcontainer {
  padding: 4em 0 0 2em;
 }
.particletext {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  text-align: left;
  font-size: 1em;
  font-weight: 400;
  position: relative;
  text-transform:uppercase;
  letter-spacing: 1px;
}
.particletext.bubbles > .particle {
  opacity: 0;
  position: absolute;
  background-color: rgba(255, 255, 243, 0.5);
  animation: bubbles 3s ease-in infinite;
  border-radius: 100%;
}
@keyframes bubbles {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
    transform: translate(0, -20%);
  }
  100% {
    opacity: 0;
    transform: translate(0, -1000%);
  }
}

/* GALLERY */
#gallery {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}
.porthole {
 position: relative;
 display: inline-block;
 margin: 20px;
 max-width: 220px;
 width: 100%;
 color: #bbb;
 font-size: 16px;
 box-shadow: none !important;
 -webkit-transform: translateZ(0) !important;
 transform: translateZ(0);
}
.porthole *,
.porthole:before,
.porthole:after {
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
 -webkit-transition: all 0.3s linear;
 transition: all 0.3s linear;
 max-width: 220px !important;
}
.porthole:before,
.porthole:after {
 border-radius: 50%;
 content: '';
 position: absolute;
 top: 0px;
 bottom: 0px;
 left: 0px;
 right: 0px;
 z-index: -1;
 border: 2px solid #fff;
 border-color: transparent #fff;
}
.porthole img {
  max-width: 100%;
  vertical-align: top;
  border-radius: 50%;
  padding: 10px;
  opacity: 0.8;
  -webkit-box-shadow: 0px 0px 0px 1px  rgba(255, 255, 255, 0.0);
/* Transparent box-shadow address bugginess on hover in Safari */
}
.porthole figcaption {
 position: absolute;
 top: 5px;
 bottom: 5px;
 left: 5px;
 right: 5px;
 opacity: 0;
 background-color: rgba(0, 0, 0, 0.6);
 border-radius: 50%;
}
.porthole figcaption p {
 padding-top:70px;
 color: #fff;
 text-align: center;
 font-size: 1.25em;
 font-family: 'Raleway', sans-serif;
}
.porthole a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.porthole:hover figcaption,
.porthole.hover figcaption {
 opacity: 1;
 -webkit-transform: translateX(0);
 transform: translateX(0);
 -ms-transform: translateX(0);
 -moz-transform: translateX(0);
  -o-transform: translateX(0);
}
.porthole:hover:before,
.porthole.hover:before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
.porthole:hover:after,
.porthole.hover:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}

/* MODALS */
.cocanvas-modal-overlay, .origame-modal-overlay, .tictac-modal-overlay, .burning-modal-overlay, .ph-modal-overlay, .tech-modal-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5) !important;
  display: none;
  z-index: 20;
}
.cocanvas-close, .origame-close, .tictac-close, .burning-close, .ph-close, .tech-close {
  float: right;
  margin-top: -10px;
  margin-right: -16px;
  z-index: 30 !important;
  background-color: #b8b8b8;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  -webkit-transition: .2s all ease-out;
  -moz-transition: .2s all ease-out;
  transition: .2s all ease-out;
}
.cocanvas-close:hover, .origame-close:hover, .tictac-close:hover, .burning-close:hover, .ph-close:hover, .tech-close:hover {
  background-color: #666;
}
.cross {
  margin-left: 4px;
  margin-top: 4px;
  width: 20px;
  height: 20px;
  fill: #fff;
}
footer {
  position: absolute;
  bottom: 10px !important;
  top: auto;
  width: 100%;
}
#cocanvas-modal, #origame-modal, #tictac-modal, #burning-modal, #ph-modal, #tech-modal {
  background: #fff;
  max-width: 480px;
  width: 100%;
  height: 215px;
  position: absolute;
  top: 0;
  border-radius: 10px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  -webkit-box-shadow: 0 -2px 25px 0 rgba(0, 0, 0, 0.15), 0 13px 25px 0 rgba(0, 0, 0, 0.3);
  padding: 26px 30px 30px 30px;
}
#info-heading {
  font-weight: 800;
  font-size: 1em;
  color: #333;
  margin-bottom: 0;
}
h3 {
  font-weight: 600;
  font-size: 0.9em;
  color: #333;
  margin-bottom: 0;
}
.modal-text {
  line-height: 1.4em;
  color: #333;
}
#cocanvas-modal ul, #origame-modal ul, #tictac-modal ul, #burning-modal ul, #ph-modal ul, #tech-modal ul {
  padding-left: 30px;
  line-height: 1.5em;
  font-size: 0.80em;
  color: #333;
  margin-top: 5px;
}
#cocanvas-modal a, #origame-modal a, #tictac-modal a, #burning-modal a, #ph-modal a, #tech-modal a {
  font-weight: 500;
  color: #5a8d99;
  position:relative;
}
a:before, a:after  {
  content: '';
  position: absolute;
  transition: transform .5s ease;
}
.underline:before {
  left: 0;
  bottom: 0;
  top: 18px;
  width: 100%;
  height: 2px;
  background: #333;
  transform: scaleX(0);
}
.underline:hover:before {
  transform: scaleX(1);
}
#mockup {
  width: 426px;
  height: 215px;
  margin-left: -4px;
  margin-top: 8px;
}

/* SLIDER */

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.slick-list:focus {
  outline: none;
}
.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track, .slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
     -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
       -o-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before, .slick-track:after {
  display: table;
  content: '';
}
.slick-track:after {
  clear: both;
}
.slick-loading .slick-track {
  visibility: hidden;
}
.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
[dir='rtl'] .slick-slide {
  float: right;
}
.slick-slide img {
  -webkit-transform: translate3d(0, 0, 0);
  display: block;
}
.slick-slide.slick-loading img {
  display: none;
}
.slick-slide.dragging img {
  pointer-events: none;
}
.slick-initialized .slick-slide {
  display: block;
}
.slick-loading .slick-slide {
  visibility: hidden;
}
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
  display: none;
}
.slider {
  position: absolute;
  top: 272px;
  left: 71px;
  width: 70.5%;
}
 #slider {
  position: absolute;
  top: 272px;
  left: 71px;
  max-width: 239px !important;
  border: 1px solid #8591a2;
  height: 140px;
  overflow: hidden;
}
#slider-image {
  max-width: 100% !important;
}
.previous {
  position:absolute;
  margin-top: 50px;
  left: -47px;
}
.next {
  position:absolute;
  top: 50px !important;
  right: -48px;
 }

/* RESPONSIVENESS */
@media only screen and (min-width: 0px) {
  html,body {
    padding: 0 !important;
    margin: 0 !important;
  }
  #top-menu {
    padding: 0 !important;
    margin: 0 !important;
    display:flex;
    justify-content: space-around;
  }
  #top-menu li a {
   margin: 12px 10px 0px 10px;
   font-size: 0.75em;
   padding: 0 !important;
   padding-left: 2px !important;
  }
  .dynamo {
    height: 25px !important;
  }
  #clouds {
    min-height: 40vh;
    margin-top:-29vh;
  }
  #sea {
    margin-top:25.9vh;
  }
  .main {
    margin-top:-6vh;
    height: 3150px;
   }
  #social-media {
    margin-top: 0;
    padding: 0 10px 0 10px;
    display: flex;
    justify-content: space-around;
  }
  #social-media a {
    margin-top: 18px !important;
    padding-top: 0 !important;
    box-sizing: content-box !important;
  }
  #social-media a img {
    margin-top: 18px;
  }
  #linkedin img, #github img {
    margin-top: 16px !important;
    margin-left: -1px !important;
  }
  #mail img {
    margin-top: 16px !important;
    margin-left: -2px !important;
  }
  #twitter, #linkedin, #github, #mail {
    border: 2px solid rgba(255,255,255,0);
    border-radius: 100% !important;
    width: 45px;
    margin: 0;
    height: 45px;
  }
  #twitter:hover {
    background-color: #4ca1eb !important;
    border: 2px solid #fff;
  }
  #linkedin:hover {
    background-color: #3377b0 !important;
    border: 2px solid #fff;
  }
  #github:hover {
    background-color: #333 !important;
    border: 2px solid #fff;
  }
  #mail:hover {
    background-color: #eeb053 !important;
    border: 2px solid #fff;
  }
  #contact-heading-container {
    margin-top: -30px !important;
  }
  #cocanvas-modal, #origame-modal, #tictac-modal, #burning-modal, #ph-modal, #tech-modal {
    background: #fff;
    padding: 20px !important;
    max-width: 270px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #000;
    height: 410px;
    box-sizing: content-box !important;
  }
  .cocanvas-close, .origame-close, .tictac-close, .burning-close, .ph-close, .tech-close {
    left: -8px !important;
    top: 5px;
    padding: 0px !important;
  }
  #mockup {
    display:none;
  }
  .modal-text {
    font-size: 0.82em;
    box-sizing: content-box !important;
  }
  #slider {
    margin-left: -25px !important;
    margin-top: 0px !important;
    margin-right: 0px !important;
    border: none !important;
  }
  #intro-text, .about-text {
    font-weight: 300;
  }
  .accent-text {
    font-weight: 600;
  }
}
@media only screen and (min-width: 380px) {
  .slider {
    position: absolute;
    top: 269px !important;
    left: 96px !important;
    width: 70.5%;
  }
  #mockup {
    display:inline-block !important;
  }
  #slider-image {
    max-width: 100% !important;
  }
  #cocanvas-modal, #origame-modal, #tictac-modal, #burning-modal, #ph-modal, #tech-modal {
    background: #fff;
    max-width: 320px !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    padding: 30px !important;
    color: #000;
    height: 410px;
    box-sizing: content-box !important;
  }
}
@media only screen and (min-width: 500px) {
  #top-menu {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    justify-content: space-around;
  }
  #top-menu li a {
    margin: 20px !important;
    font-size: 0.96em;
    padding:2px 3px 2px 5px !important;
  }
  .main {
    padding: 20px 0px 20px 0px !important;
    height: 2850px;
  }
  #intro-text, .about-text {
    font-weight: 200 !important;
    width: 90vw;
    margin-left: 5vw !important;
  }
  footer {
    bottom: 30px !important;
    max-width: 100vw !important;
  }
  #social-media {
    margin-top: 15px;
    margin-left: -30px !important;
   }
}
@media only screen and (min-width: 600px) {
  * {
    box-sizing: border-box !important;
  }
  #top-menu {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
   }
  #top-menu li a {
    font-size: 0.96em;
  }
  .main {
    padding: 20px 35px 35px 35px;
    height: 2000px;
  }
  #gallery {
    flex-wrap: wrap !important;
    flex-direction: row;
    justify-content: center;
  }
  .porthole {
    flex: 0 50% !important;
  }
  #social-media {
    display:inline-block;
    margin-left: 5vw !important;
    margin-top: 20px;
  }
  #social-media a {
    width: 40px !important;
  }
  #slider {
    border: 1px solid #8591a2 !important;
  }
}
@media only screen and (min-width: 780px) {
  #gallery {
    width: 85vw;
  }
}
@media only screen and (min-width: 800px) {
  .main {
    padding: 20px 0px 35px 0px !important;
  }
  #social-media {
    display:inline-block;
    margin-top: 20px;
  }
  .accent-text {
    font-weight: 400 !important;
  }
  #intro-text, .about-text {
    font-size: 1.1em;
    padding-right: 35px !important;
  }
  .particletext {
    padding-left: 5px;
  }
  #about-heading-container, #projects-heading-container, #contact-heading-container {
    margin-left: 2.5vw;
  }
}
@media only screen and (min-width: 918px) {
  .main {
    padding: 1.5em 0em 3em 0em !important;
    height: 1675px !important;
  }
  #gallery {
    justify-content: space-around;
  }
}
@media only screen and (min-width: 1024px) {
  .main {
    padding: 1.5em 0em 4em 0em !important;
    height: 1800px !important;

  }
  #intro-text, .about-text {
    line-height: 1.8em !important;
    font-size: 1.15em;
  }
  .dynamo div {
    line-height: 1.05em;
  }
  #cocanvas-modal, #origame-modal, #tictac-modal, #burning-modal, #ph-modal, #tech-modal {
    background: #fff;
    max-width: 600px !important;
    padding: 40px !important;
  }
  #mockup {
    display: block;
    margin: 0 auto !important;
    margin-left: 140px !important;
    margin-top: 11px !important;
  }
  #slider {
    width: 240px !important;
    margin-left: 129px !important;
    height: 140px;
    margin-top: 24px !important;
    overflow: hidden !important;
  }
  #cocanvas-modal ul, #origame-modal ul, #tictac-modal ul, #burning-modal ul, #ph-modal ul, #tech-modal ul {
    padding-left: 50px;
    line-height: 1.5em;
    font-size: 0.95em;
    color: #333;
    margin-top: 10px;
  }
  #info-heading {
    font-size: 1.2em;
  }
  .modal-text {
    font-size: 1em;
  }
  h3 {
    font-size: 1.1em;
    padding-bottom: 10px;
  }
}
@media only screen and (min-width: 1224px) {
  .main {
    padding: 1.5em 0em 5em 0em !important;
  }
  #gallery {
    width: 75vw;
  }
}
@media only screen and (min-width: 1251px) {
 #about-heading-container, #projects-heading-container {
    margin-top: 25px;
  }

}
@media only screen and (min-width: 1387px) {
  .main {
    padding: 1.5em 0em 5.5em 0em;
  }
  #gallery {
    width: 70vw;
  }
}
@media only screen and (min-width: 1600px) {
  .main {
    padding: 1.5em 7em 7em 7em;
  }
  #gallery {
    width: 60vw;
  }
}
@media only screen and (min-width: 1920px) {
  .main {
    padding: 1.5em 9em 9em 9em;
    height: 1500px !important;
  }
  #gallery {
    width: 85vw;
  }
}
