html, body {
    position: relative;
    overflow-x: hidden;
    float: left;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: rgba(0, 0, 0, .6);
    font-size: 20px;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
}

section {
    display: block;
    width: auto;
    top: 0;
    left: 0;
    padding: 50px;
    height: auto;
}

.intro-container {
    display: block;
    position: relative;
    margin: auto;
    padding: 0px;
    width: auto;
    max-width: 670px;
    width: calc(100% - 2.5em);
    height: auto;
    position: absolute;
    left: 50%;
    top: 40%;
    margin: 0.5em;
    transform: translate(-50%, -40%);
}
.intro-page {
    display: block;
    position: relative;
    margin: auto;
    padding: 0px;
    width: auto;
    max-width: 670px;
}
h1 {
    font-weight: 900;
    font-size: 1.25em;
    margin: 25px 0px 25px 0px;
    color: #5CA2B9;
}
p {
    font-weight: 400;
    font-size: 1em;
    line-height: 175%;
    margin: 25px 0px 25px 0px;
}
a {
    text-decoration: none;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    color: #5CA2B9;
}
.page-icon {
  width: 5em;
  height: 5em;
  background: red;
}


/* Header */
.codrops-header {
	padding: 1em 0;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex: none;
	flex: none;
	margin: 0 10px;
	z-index: 1000;
	position: relative;
}

/* Menu */
.menu {
	font-size: 1em;
	padding: 0.5em;
	width: 100%;
}

.menu__item {
	font-weight: bold;
	margin: 0 1em;
    color: lightgray;
}


.menu__item--current {
    color: #ef5350;
    
}
.menu__social{
	float: right;
	margin: 0;
}
.menu__social li {
	display: inline-block;
	margin-right: 15px;
	font-size: 1.3em;
}
.social-link{
	color: lightgray;
	cursor: pointer;
}
.social-link:hover{
	text-shadow: 0 2px 0 rgba(0,0,0,0.05);
}
#linkedin:hover{
	color: #7197e0;
}
#twitter:hover{
	color: #51dcff;
}
#mail:hover{
	color: #666;
}
/* Menu mobile*/
#mobile {
    display: none;
}
.menu-expanded {
  background-color: transparent;
  position: fixed;
  top: 0px;
  right: 0px;
  overflow: hidden !important;
  z-index: 5;
  transition: all 0.20s ease-out;
}

.menu-expanded-large{
  width: 100%;
  height:100%;
}

.menu-mobile {
  float: right;
  margin: 15px 15px 1px 0;
  height: 49px;
  width: 49px;
  border-radius: 50%;
  background-color: #ef5350;
  border: none;
  box-shadow: 0 1px 2px rgba(19,37,59,.5);
}

.main-menu {
  visibility: hidden;
  position: absolute;
  left: 25px;
  top: 50px;
  width: 100px;
  opacity: 0;
  transition: all 0.200s;
  transition-delay: 0s;
}

.main-menu ul {
  list-style-type: none;
}

.main-menu ul li {
  margin: 20px 0px;
}

.main-menu ul li a {
  float: left;
  text-decoration: none;
  color: white;
  margin-top: 20px;
}

.main-menu ul li a:hover {
    opacity: 0.7;
}
.main-menu ul li a.current{
    background: white;
    color: #ef5350;
}
.menu-mobile,
.linee {
  cursor: pointer;
}

.over {
  transform: scale(100);
  transition: all 0.350s ease-in;
  cursor: default;
}

.linea1 {
  background: #fff;
  height: 2px;
  width: 15px;
  position: absolute;
  right: 33px;
  top: 33px;
  transition: all 0.3s;
}

.linea2 {
  background: #fff;
  height: 2px;
  width: 15px;
  position: absolute;
  right: 33px;
  top: 38px;
  opacity: 1;
  transition: opacity 0.5s;
}

.linea3 {
  background: #fff;
  height: 2px;
  width: 15px;
  position: absolute;
  right: 33px;
  top: 43px;
}

.overL1 {
  animation: closetop 1s forwards;
  animation-direction: alternate;
  cursor: pointer;
}

.overL2 {
  opacity: 0;
  transition: opacity 0.5s;
  cursor: pointer;
}

.overL3 {
  animation: closebottom 1s forwards;
  animation-direction: alternate;
  cursor: pointer;
}
@keyframes closetop {
  0% {
    transform: translateY(5px) rotate(0deg);
  }
  25% {
    transform: translateY(5px) rotate(0deg);
  }
  75% {
    transform: translateY(5px) rotate(-45deg);
  }
  100% {
    transform: translateY(5px) rotate(-45deg);
  }
}

@keyframes closebottom {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-5px) rotate(0deg);
  }
  75% {
    transform: translateY(-5px) rotate(45deg);
  }
  100% {
    transform: translateY(-5px) rotate(45deg);
  }
}

.overmain {
  visibility: visible;
  opacity: 1;
  transition: all 0.100s;
  transition-delay: 0.100s;
}
/* Geeky*/
.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: white;
}
.se-pre-con img{
  position: absolute;
  height: 200px;
  width: 200px;
  top: calc(50% - 100px);
  left: calc(50% - 100px);
  right: 0;
  bottom: 0;
}
/* Geeky*/

#running{
   height: 2.2em;
   width: 2em;
   position: absolute;
  bottom: 1.5em;
  animation: run 5s linear infinite;
  z-index: 1;
  position: absolute;
}
#megaman{
	height: 2.2em;
	width: 2em;
	background: url(../img/megaman.gif) center no-repeat;
	background-size: cover;
  position: relative;
}
#geeky:hover #megaman{
    background: url(../img/jumping.gif) center no-repeat;
    background-size: cover;
    transition: all 200ms ease-in-out;
    height: 2.5em;
    width: 2.5em;
    animation: jump 1.5s ease-in infinite;
}

@keyframes run {
    0% {left: 0;}
    100% {left: 100%;}
}
#platform{
	width: 500%;
	height: 1.5em;
	background: url(../img/brick.png) left;
    background-size: contain;
	position: absolute;
	bottom: 0em;
  animation: moveLayer 4s  forwards;
  -webkit-animation-fill-mode: forwards;
  z-index: 1;
  -webkit-animation-iteration-count: 1;
  position: absolute;

}

@-webkit-keyframes moveLayer {
    0% { left: 0px; }
    100% { left: -100%; }
}
@-webkit-keyframes jump {
    0% { bottom: 0px; }
    50% { bottom: 150px;}
    100% { bottom: 0px; }
}
#background {
    height: 100vh;
    width: 100%;
    background: url(../img/bg-1.png) center repeat-x;
    position: absolute;
    bottom: 0em;
    animation: moveLayer 2s ;
    animation-delay: 800ms;
    z-index: -0;
    position: absolute;
    opacity: 1;
      -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/
   -moz-animation-fill-mode:forwards; /*FF 5+*/
   -o-animation-fill-mode:forwards; /*Not implemented yet*/
   -ms-animation-fill-mode:forwards; /*IE 10+*/
   animation-fill-mode:forwards; /*when the spec is finished*/
}
 /*==========  Media Quieries ==========*/
 
    /* Very Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {

    }
    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {

    }
 
    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
 
    }
 
    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
        #desktop {
            display: none;
        }
        #mobile {
            display: block;
        }
        .codrops-header{
            margin: 0; 
        }
        #running{
            animation: run 2s linear infinite;
        }
    }
 
    /* Extra Small Devices, Phones */
    @media only screen and (max-width : 480px) {
        .intro-container, .intro-page {
            font-size: 80%;
        }
        section {
        display: block;
        width: auto;
        top: 0;
        left: 0;
        padding: 25px;
}
    }
 
    /* Custom, iPhone Retina */
    @media only screen and (max-width : 320px) {
       
    }

    /* Vertical */
    @media screen and ( max-height: 600px ){
        #background{
        }
    }
