/*
font white-ish:         #FFEFD7
Orange color :      #F0B662
45% Dark Orange :   #d88815 #CF923B
*/

/* -------------------------------------  */
/* BASIC SETUP */
/* -------------------------------------  */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* -------------------------------------  */
/* REUSABLE COMPONENTS */
/* -------------------------------------  */

.row {
    max-width: 1140px;
    margin: 0px auto; /* centered */
}

section {
    padding: 80px 0;
}

.box {
    padding: 1%;
}

/* ----- HEADINGS ----- */

h1,
h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
    color: #42A17F;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 350%; /* % of html font-size */
    word-spacing: 4px;
    letter-spacing: 1px;
}

h2 {
    font-size: 190%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h3 {
    font-weight: 400;
    font-size: 110%;
    margin-bottom: 10px;
}

/* Underline beneath h2 */
h2:after {
    display: block;
    height: 3px;
    background-color: #F0B662;
    content: " ";
    width: 150px;
    margin: 0 auto;
    margin-top: 30px;
}

/* ----- PARAGRAPHS ----- */

.long-copy {
    line-height: 145%;
    width: 90%;
    margin-left: 5%;
    margin-bottom: 10px;
}

.box p {
    font-size: 90%;
    line-height: 145%;
}

/* ----- ICONS ----- */

.icon-big {
    font-size: 300%;
    display: block;
    color: #F0B662;
    margin-bottom: 10px;
}

.icon-small {
    display: inline-block;
    width: 30px;
    text-align: center;
    color: #F0B662;
    font-size: 120%;
    margin-right: 10px;
    
    /*secrets to align text and icons*/
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
}

/* ----- LINKS ----- */

a:link,
a:visited {
    color: #CF923B;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: none; /*1px solid #CF923B;*/
    transition: border-bottom 0.2s, color 0.2s;
}

a:hover,
a:active {
    color: #6B92B8;
    border-bottom: 1px solid #42A17F;
}

/* ----- BUTTONS ----- */
.btn:link,
.btn:visited,
input[type=submit] {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 3px;
    box-shadow: 0px 2px 2px #555;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.btn-full:link,
.btn-full:visited,
input[type=submit] {
    background-color: #CF923B;
    border: 1px solid #CF923B;
    color: #fff;
    margin-right: 15px;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active{
    background-color: #278B68;
    border: 1px solid #278B68;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid #278B68;
}

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

header {
    /*background-color: #6b92b9; */ 
    background: linear-gradient(#6B92B8, #fff);;
    background-size: cover;
    background-position: center;
    height: 100vh;
    background-attachment: fixed;
    position: relative;             /* used for mountains, ground and cloud positions */
    z-index: 0;                     /* used for mountains, ground and cloud layers */
}

.hero-text-box {
    text-align: center;
    text-shadow: 2px 2px #b4b4b4;
    position: absolute;
    width: 1140px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo {
    display: none;
    height: 50px;
    width: auto;
    float: left;
    margin: 10px 0;
    border-radius: 50%;
}

.main-nav {
    font-weight: 400;
    float: right;
    list-style: none;
    margin-top: 50px;
    margin-right: 30px;
}

.main-nav li {
    display: inline-block;
    margin-left: 20px;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: #fff; /*#FFEFD7;*/
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #F0B662;
}

/* Mobile navi */
.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    display: none;
}
 
.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}

/* Sticky nav */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #efefef;
    z-index: 9999; /* always at the top of other elements */
}

.sticky .main-nav { margin: 18px; }

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 16px 0;
    color: #555;
}

.sticky .logo { display: block; }

/* HEADER Landscape */
.sun {
    display: none;
    position: absolute;
    bottom: calc(130px + 25px);
    left: calc(50% - 25px);
    width: 80px;
	height: 80px;
	background: #ffff00;
	border-radius: 50%;
    box-shadow: 0px 0px 50px 10px #ffff00;
    z-index: -5;
}

.ground {
    position: absolute;
    background: linear-gradient(rgba(41, 84, 125, 0.3), #42A17F);
    background-color: #42A17F;
    width: 100%;
    height: 130px;
    bottom: 0;
    z-index: -2;
}
.mountain, .mountain-two, .mountain-three {
    position: absolute;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 230px solid #6DAAC7; /*#6488AA;*/
}

.mountain {
    left: 0;
    bottom: 120px;
    z-index: -1;
}
.mountain-two {
    left: 80px;
    bottom: 100px;
    opacity: .5;
    z-index: -3;
}
.mountain-three {
    left: -60px;
    bottom: 110px;
    opacity: .7;
    z-index: -3;
}
.mountain-top {
    position: absolute;
    right: -67px;
    border-left: 67px solid transparent;
    border-right: 67px solid transparent;
    border-bottom: 77px solid #e9f6fb; /*#ceeaf6;*/
    z-index: -1;
}
.mountain-cap-1, .mountain-cap-2, .mountain-cap-3 {
    position: absolute;
    top: 70px;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 25px solid #e9f6fb; /*#ceeaf6;*/
}
.mountain-cap-1 { left: -55px; }
.mountain-cap-2 { left: -25px; }
.mountain-cap-3 { left: 5px; }

.cloud, .cloud:before, .cloud:after {
    position: absolute;
    width: 70px;
    height: 30px;
    background: #fff;
    border-radius: 100px / 50px;
    z-index: -2;
}
.cloud {
    bottom: 290px;
    animation: cloud 50s infinite linear;
}

@-webkit-keyframes cloud {
    0%   { left: -100px; }
    100% { left:   100%; }
}
@-moz-keyframes cloud {
    0%   { left: -100px; }
    100% { left:   100%; }
}
@keyframes cloud {
    0%   { left: -100px; }
    100% { left:   100%; }
}

.cloud:before {
    content: '';
    left: 50px;
}
.cloud:after {
    content: '';
    left: 25px;
    top: -10px;
}

/* -------------------------------------  */
/* PROFILE SECTION */
/* -------------------------------------  */

.section-profile {
    background-color: #fff;
}

.profile {
    padding-bottom: 30px;
}

.profile-portrait img {
    display: inline-block;
    width: auto;
    height: 180px;
    border-radius: 50%;
}

.profile-host {
    width: 70%;
}

.profile-host p {
    color: #6B92B8;
    font-size: 90%;
    font-style: italic;
    text-align: center;
    width: 80%;
    margin-left: 10%;
}


/* -------------------------------------  */
/* SKILLS SECTION */
/* -------------------------------------  */

.section-skills {
    background-color: #efefef;
}

.section-skills h3:after{
    display: block;
    height: 1px;
    background-color: #F0B662;
    content: " ";
    width: 100px;
    margin: 10px auto 0px auto;
}

.section-skills li {
    list-style: none;
}

.section-skills .box {
    text-align: center;
}

/* -------------------------------------  */
/* PORTFOLIO SECTION */
/* -------------------------------------  */

.projects-section {
    background-color: #efefef;
}

.project-box {
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    width: 70%;
    margin-left: 15%;
    height: 450px;
    box-shadow: 0 2px 2px #c4c4c4;
    transition: transform 0.5s, opacity 0.5s;
}

.project-box img {
    padding-bottom: 10px;
    width: 100%;
    height: auto;
    border-bottom: 2px solid #e8e8e8;
    
}

.project-box:hover {
    transform: scale(0.95);
}

.project-box p {
    margin: 0 10px;
    
}

/* -------------------------------------  */
/*   CONTACT FORM SECTION   */
/* -------------------------------------  */

.contact-form {
    width: 60%;
    margin: 0 auto;
}

input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

textarea {
    height: 100px;
}

input[type=checkbox] {
    margin: 10px 5px 10px 0;
}

*:focus {outline: none;}

/* -------------------------------------  */
/* FOOTER SECTION */
/* -------------------------------------  */

footer {
    background-color: #42A17F; /*#333;*/
    padding: 50px;
    font-size: 90%;
    font-weight: 400;
}

.footer-nav {
    list-style: none;
    float: left;
    
}

.social-links {
    list-style: none;
    float: right;
}

.footer-nav li,
.social-links li {
    display: inline-block;
    margin-right: 20px;
}

.footer-nav li:last-child,
.social-links li:last-child {
    margin: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
    text-decoration: none;
    border: 0;
    color: #333;
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
    color: #333;
}

.social-links li a:link,
.social-links li a:visited {
    font-size: 160%;
}

.fa-facebook,
.fa-twitter,
.fa-tumblr,
.fa-linkedin {
    transition: color 0.2s;
}

.fa-facebook:hover {
    color: #3b5998;
}
.fa-twitter:hover {
    color: #00aced;
}
.fa-tumblr:hover {
    color: #35465c;
}
.fa-linkedin:hover {
    color: #0077b5;
}

footer p {
    color: #333;
    text-align: center;
    margin-top: 20px;
}

