/**************************
GENERAL
***************************/ 

* {
  margin: 0 auto;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  color: #000;
  background: #fff;
  text-align: center;
}

body {
  margin: 0 auto;
  padding: 0;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

a, a:visited, a:hover, a:focus {
  text-decoration: none;
}

ul {
  list-style: none;
  list-style-position: outside;
}

ul li {
  display: inline-block;
}

h2 {
  font-weight: normal;
}



/**************************
NAV
***************************/ 

/* ------------------------
  RESPONSIVE NAV STYLES
------------------------- */

.nav-collapse ul {
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.disable-pointer-events {
  pointer-events: none !important;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}



/* ------------------------
  FIXED HEADER
------------------------- */

.overlay {
  background: #f4421a;
  position: fixed;
  z-index: 3;
  width: 100%;
  left: 0;
  top: 0;
}

.logo {
  padding: 23px 20px 0;
  float: left;
  font-size: 1.2em;
  font-weight: bold;
  color: #000;
}

.logo:hover {
  color: #999;
  -webkit-transition-duration: 0.6s;
  -moz-transition-duration: 0.6s;
  transition-duration: 0.6s;
}



/* ------------------------
  MASK
------------------------- */

.mask {
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  transition: opacity 0.6s;
  background: rgba(0,0,0, .5); /* opacity of the transparent overlay background */
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

.android .mask {
  -webkit-transition: none;
  transition: none;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}



/* ------------------------
  NAV STYLES
------------------------- */

.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-collapse,
.nav-collapse * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
}

.nav-collapse li {
  float: left;
  width: 100%;
}

.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  text-decoration: none;
  padding: 0.7em 1em;
  background: #fff; /* BACKGROUND OF DROPDOWN */
  color: #000;
  width: 100%;
  float: left;
  font-weight: bold;
  text-transform: uppercase;
}

.nav-collapse a:hover {
  color: #aaa;
  -webkit-transition-duration: 0.6s;
  -moz-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.nav-collapse a:active,
.nav-collapse .active a {
  color: #aaa;
}

.nav-collapse li ul {
  display: none;
  position: static;
  top: 100%;
  font-size: 0.9em;
  height: 0;
  opacity: 0;
}

.nav-collapse li:hover ul {
  display: block;
  top:100%;
  height: auto;
  opacity: 1;
}

.nav-collapse li ul a {
  background: #eee;
  color: #000;
  border: none;
}



/* ------------------------
  NAV TOGGLE STYLES
------------------------- */

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 65px;
  height: 75px;
  float: right;
}

.nav-toggle:before { /* THREE LINES */
  font-family: "Lato", sans-serif;
  color: #000; /* Edit this to change the icon color */
  font: normal 55px/45px "responsivenav"; /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: center;
  position: absolute;
  content: "\2261"; /* Hamburger icon */
  text-indent: 0;
  speak: none;
  width: 100%;
  left: 0;
  top: 0;
  padding-top: 10px;
}

.nav-toggle.active:before {
  font-family: "Lato", sans-serif;
  padding-top: 10px;
  font-size: 35px;
  font-weight: bold;
  content: "\78"; /* CLOSE ICON X */
}

/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
  display: block;
  transition-duration: 0.6s;
}

#no-hovr:hover {
  color: #aaa;
  transition-duration: 0.6s;
}



/* ------------------------
  CHANGING NAV BACKGROUND
------------------------- */

div.overlay {
  position: fixed;
  width: 100%;
  background: #fff;
  color: #000;
  z-index: 90;
}

div.cambio { /* FIXED SCROLL */
  height: 75px;
  background: #fff;
  z-index: 100;
  transition: all 0.5s;
  box-shadow: 0px 3px 10px #080808;
}

div.cambio nav li a {
  color: #000;
  background: #fff;
}



/********************
PARALLAX
********************/
.parallax-1, .parallax-2, .parallax-3, .parallax-4 {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-1 {
  background-image: url("../img/img2.gif");
  background-size: center;
  min-height: 60%;
  padding: 150px 20px;
  background-size: cover;
  color: #fff;
}


/***************************
SECTIONS
***************************/

#about, #purpose, #resume, #contact {
  padding: 50px 20px;
}

#about h1, #purpose h1, #resume h1, #contact h1 {
  font-size: 2em;
  font-weight: bold;
}

#about h2, #purpose h2, #resume h2, #contact h2 {
  font-size: 1.1em;
  padding: 10px 20px;
  max-width: 650px;
}



/***************************
ABOUT
***************************/

#about {
  position: relative;
  color: #fff;
  background-color: transparent;
  background-image: -webkit-linear-gradient(278deg, #000 70%, transparent 30%);
  height: 450px;
  padding-top: 150px;
  padding-bottom: 150px;
  margin-bottom: -300px;
  z-index: 1;
}



/***************************
PURPOSE
***************************/



/***************************
RESUME
***************************/

#resume {
  box-shadow: 12px 0 20px #000;
  position: relative;
  z-index: 1;
  padding: 100px 20px;
}

#resume img {
  width: 350px;
  box-shadow: 5px 5px 12px #999;
}



/***************************
CONTACT
***************************/

#contact {
  background: #000;
  color: #fff;
  padding-bottom: 200px;
}

#contact img {
  border-radius: 80px;
  border: solid #fff 5px;

}

#contact ul {
  text-align: left;
  max-width: 350px;
}

#contact ul li img {
  border-radius: none;
  border: none;
  width: 40px;
  height: 40px;
  padding: 10px;
}

#contact ul li a {
  color: #fff;
  font-weight: bold;
}

#contact ul li a:hover {
  color: #999;
  transition-duration: 0.7s;
}

#contact ul li {
  margin-bottom: 10px;
}

#contact .contact-icon {
  margin-bottom: -20px;
}



/********************
FOOTER
********************/

footer {
  position: relative;
  color: #000;
  background-color: transparent;
  background-image: -webkit-linear-gradient(95deg, #fff 60%, transparent 40%);
  height: 320px;
  margin-top: -220px;
  text-align: right;
}

.footer-float {
  padding: 150px 50px 0 0;
}

footer p {
  font-size: 0.8em;
  font-weight: bold;
}

footer ul {
  margin-left: -150px;
}

footer ul li {
  padding: 0 5px;
}

footer ul li img {
  width: 40px;
}

#cf {
  position: relative;
}

#cf img {
  position: absolute;
  box-shadow: none;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

#cf img.top:hover {
  opacity:0;
}






