/*
 *  Template Name: Timothy Mesnard - Front End
 *  Version: 1.0
 *  Author: Timothy Mesnard
 *  Website: www.timothymesnard.com
 *
 *
 *  TABLE OF CONTENTS
 *  -----------------
 *      01. GENERAL STYLES -------------  43
 *              COLORS -----------------  95
 *              ALIGNMENTS ------------- 113
 *              BACKGROUNDS ------------ 119
 *              BORDERS ---------------- 180
 *              SPACERS ---------------- 221
 *      02. NAVIGATION ----------------- 232
 *              TOP LEFT LOGO ---------- 286
                NAVIGATION ARROWS ------ 313
 *      03. LANDING PAGE --------------- 369
 *      04. PAGES ---------------------- 387
                TITLES ----------------- 424
                ABOUT ------------------ 445
                SKILLS ----------------- 460
                PROJECTS --------------- 508
 *      05. CONTACT -------------------- 519
 *      06. ANIMATIONS ----------------- 702
 *      07. MEDIA QUERIES -------------- 907
 *
 *
 *
 *  COLOR PALETTE
 *  -----------------
 *      01. BLUE ----------- #303841
 *      02. ORANGE --------- #F9A828
 *      03. BLACK ---------- #0D0D0D
 *      04. WHITE ---------- #FFFFFF
 *      05. LIGHT BLUE ----- #00ADB5
 *      06. MEDIUM BLUE ---- #07617D
 *
*/

/******************************************************************/
/*  01. GENERAL STYLES                                            */
/******************************************************************/

* { margin:0;
    padding:0;
    border:0 none;
    position: relative; 
    outline: none;
}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

html {
    overflow: scroll;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 0px;  /* remove scrollbar space */
    background: transparent;  /* optional: just make scrollbar invisible */
}

body{
    background-color: white;
    font-family: 'Encode Sans', sans-serif;
    font-weight: 400;
}

body, p {
    color: white;
}

a {
    color: #FFFFFF;
    text-decoration: none;
    background-color: transparent;
    font-weight: 900;
}

img {
    vertical-align: middle;
    border: 0;
}

.fullpage {
    position:fixed;
    z-index:1200;
}

/*********** COLORS **********/ 

.blue {
    color: #303841;
}

.orange {
    color: #F9A828;
}

.white {
    color: white;
}

.black {
    color: #0d0d0d;
}

/*********** ALIGNMENTS **********/ 

.center {
    text-align:center;
}

/*********** BACKGROUNDS **********/ 

.bg-g {
    background-color: #303841;
}

.one {
    width: 100%;
    height: 100%;
}

.one::after {
    content: "";
    background: url('img/waves.jpg') center repeat;
    background-color: #EEEEEE;
    opacity: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    filter: sepia(20%);
}

.two { 
    background: url('img/portrait.jpg') center no-repeat; 
    background-size: 100% 100%;
    filter: sepia(60%);
}

.three { 
    background: url('img/desk.JPG') left no-repeat;
    background-size: 100% 100%;
    background-color: #0d0d0d;
    opacity: .9;
    filter: sepia(80%);
}

.four { 
    background: url('img/windows.png') center;
    background-size: 100% 100%;
    opacity: .9;
    filter: sepia(80%) blur(2px);
}

.five {
    background: url('img/beach.jpg') left no-repeat;
    background-size: 100% 100%;
    background-color: #0d0d0d;
    opacity: .9;
    filter: sepia(80%);
}

/*.six {
    background: url('img/test6.jpg') right no-repeat;
    background-size: 60% 100%;
    background-color: #0d0d0d;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 
    filter: grayscale(100%);
}*/

/*********** BORDERS **********/

.elements-navigation {
    position:fixed;
    z-index:3200;
}

.elements-navigation .border-bottom {
    position:fixed;
    z-index:3000;
    bottom:0px;
    width:100%;
    background-color: #0D0D0D;
}

.elements-navigation .border-top{
    position:fixed;
    z-index:3000;
    top:0;
    width:100%;
    left:0;
    right:0;
    background-color: #0D0D0D;
}

.elements-navigation .border-left{
    position:fixed;
    z-index:3000;
    left:0;
    height:100vh;
    background-color: #0D0D0D;
}

.elements-navigation .border-right{
    position:fixed;
    z-index:3000;
    right:0;
    height:100vh;
    background-color: #0D0D0D;
}

/*********** SPACER **********/
  
hr {
    max-width:50px;
    height: 5px;
    background-color: #F9A828;
    width:100%;
    margin: 15px 0px;
}

/******************************************************************/
/*  02. NAVIGATION                                           */
/******************************************************************/

.baseline {
    position: fixed;
    z-index: 3000;
    bottom: 0;
    left: 40px;
    font-weight: 900;
    width: 100%;
    background-color: white;
    display:block;
    cursor: default;
}

.menu {
    position: absolute;
    left: 5px;
    bottom: 35px;
    margin: 0;
    margin-top:-60px;
    color: #587A7A;
    font-size: 12px;
    display:none;
    line-height: 75px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu a {
    margin-right: 15px;
}

.menu a:nth-child(3) {
    margin-right: 0;
}

.email-link {
    position: absolute;
    right: 85px;
    bottom: 35px;
    margin: 0;
    margin-top:-60px;
    color:#587A7A;
    font-size: 12px;
    display:none;
    line-height: 75px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu a:hover, .email-link a:hover {
    text-decoration: underline #F9A828 4px;
}

/*********** TOP LEFT LOGO **********/

.element-logo {
    position:fixed;
    top:60px;
    left:60px;
    z-index:6500;
}

.element-logo .logo-top {
    display: none;
}

.logo-top {
    position:fixed;
    top:50px;
    left:50px;
    display:block;
    width:80px;
}

.logo-svg {
    fill-rule:evenodd;
    clip-rule:evenodd;
    fill: #FFFFFF;
}

/*********** NAVIGATION ARROWS **********/ 

.arrow {
    position:fixed;
    bottom:-50px;
    width:100%;
}

.indicator{
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: -5px;
    z-index: 600;
    width:10px;
    height:10px;
    transform:rotate(45deg);
}

.indicator span{
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    box-sizing:border-box;
    border:none;
    border-bottom:2px solid #fff;
    border-right:2px solid #fff;
    animation:animate 2s linear infinite;
}

.indicator span:nth-child(1){
    top:-6px;
    left:-6px;
    animation-delay:0s;
}

@keyframes animate{
    0%{
        border-color:#fff;
        transform:translate(0,0);
    }
        20%{
        border-color:#fff;
        transform:translate(5px,5px);
    }
        20.1%,100%{
        /*border-color:#F9A828;*/
    }
}

/******************************************************************/
/*  03. LANDING PAGE                                              */
/******************************************************************/

.logo-site {
    margin-top: -42vh;
    width:240px;
    display:none;
}

.hp-container {
    width: 100%;
    height:100vh !important;
    margin:auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/******************************************************************/
/*  04. PAGES                                                     */
/******************************************************************/

.container {
    height: 100vh;
    width: 100vw;
    margin:auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.normal-font {
    font-size: 16px;
    letter-spacing: 2px;
    margin-top: 15px;
    line-height: 25px;
    font-weight: 400;
}

p a {
    box-shadow:inset 0 -8px 0 0 rgba(249,168,40,.5);
    color: white;
    font-weight:900;
    text-decoration:none;
    transition:box-shadow .2s cubic-bezier(0,0,0,.85);
}

p a:hover{ 
    box-shadow:inset 0 -24px 0 0 rgba(249,168,40,.5)
}

h1 {
    font-weight: 900;
    font-size: 2.75vw;
}

/*********** Titles **********/ 

.fade {
    display: block;
    width: 85%;
    margin: auto;
    opacity:0;
}

.fade p {
    font-weight: 900;
    font-size: 2.75vw;
    line-height: 3.25vw;
}

h4 {
    font-size: 1vw;
    font-weight: 500;
    margin-bottom: 10px;
}

/*********** About **********/ 

.about {
    margin-left: 46%;
    width: 44%;
}

.large-font {
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 28px;
    margin-top: 15px;
    font-weight: 500;
}

/*********** Skills **********/ 

.skills {
    justify-content: center;
}

h2 {
    font-weight: 900;
    font-size: 1.8vw;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.5vw;
    font-weight: 700;
    margin-bottom: 5px;
}

.flex-wrap {
    display: flex;
    flex-flow: row wrap;
    width: 75%;
}

.flex {
    padding: 20px;
}

.flex:first-child {
    flex: 1 0 30%;
    margin-right: 5%;
}

.flex:last-child {
    flex: 1 0 50%;
}

.flex p {
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 400;
}

.flex img {
    height: 85%;
    width: 85%;
}

/*********** Projects **********/ 

.projects p {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 0;
    line-height: 20px;
}

/******************************************************************/
/*  05. CONTACT                                                   */
/******************************************************************/

.form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.form-subwrapper {
    width: 40%;
}

#contactForm {
    position: relative;
	padding-bottom: 50px;
	
}

#contactForm p.error {
    position: absolute;
    top: 30px;
    color: white;
    background: #F9A828;
    padding: 6px 6px 6px 6px;
    text-transform: uppercase;
    display: none;
    opacity: 1;
}

#contactForm.error p.error {
	display: block;
}

#contactForm #inputContainer {
	display: block;
	width: 100%;
	height: 80px;
  background: #303841;
	overflow: hidden;
	position: relative;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
	transition: 0.3s;
  -webkit-animation-delay: 1.2s;
  -moz-animation-delay: 1.2s;
	animation-delay: 1.2s;
}

#contactForm .progressBar {
	display: block;
	width: 100%;
  height: 5px;
  background: #FFFFFF;
	position: relative;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
	transition: 0.3s;
	margin: 0;
	padding: 0;
  -webkit-animation: opacity 0.4s linear 1.6s;
  -moz-animation: opacity 0.4s linear 1.6s;
	animation: opacity 0.4s linear 1.6s;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}

#contactForm .progressBar span {
	display: block;
	width: 0;
	height: 100%;
	background: #F9A828;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
	transition: 0.5s;
}

#contactForm #inputContainer input {
	margin: 20px;
	height: 50px;
	display: block;
  width: 640px;
	color: #ececeb;
	padding: 0;
	font-size: 20px;
	line-height: 20px;
	border: 0;
	background: none;
	outline: none;
	float: left;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
	transition: 0.3s;
}

#contactForm .success {
	margin: 20px;
	height: 50px;
	display: block;
	width: 640px;
	color: #ececeb;
	padding: 0;
	font-size: 20px;
	line-height: 50px;
	border: 0;
	background: none;
	outline: none;
  font-weight: 400;
	float: left;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
	transition: 0.3s;
	text-transform: uppercase;
}

#contactForm #inputContainer textarea {
	margin: 20px;
	height: 100px;
	display: block;
	width: 610px;
	color: #ececeb;
	padding: 15px;
	font-size: 20px;
	line-height: 20px;
	border: 0;
	background: none;
	outline: none;
	font-weight: 400;
	float: left;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
	transition: 0.3s;
}

#contactForm #inputContainer .steps {
	font-size: 20px;
	line-height: 50px;
	padding: 0 10px;
	top: 20px;
	right: 80px;
	position: absolute;
	display: block;
	overflow: hidden;
  font-weight: 900;
}

#contactForm #inputContainer .steps strong {
	color: #F9A828;
	font-weight: 900;
}

#contactForm #inputContainer #nextStep {
	width: 50px;
	height: 50px;
	background: url("img/submit.png") no-repeat center center;
	background-size: cover;
	cursor: pointer;
	position: absolute;
	right: 20px;
	top: 20px;
}

#contactForm #inputContainer #submitContact {
	display: none;
}

#contactForm #comment {
	display: none;
}

.small-font {
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 5px;
}

.x-small-font {
    letter-spacing: 2px;
    font-size: 10px;
    text-transform: uppercase;
    margin-top: 10px;
}

.form-wrapper p:nth-child(3) {
    margin-top: 20px;
}

/******************************************************************/
/*  06. ANIMATIONS                                                */
/******************************************************************/

.animated {
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  .fadeIn {
    -webkit-animation-name: fadeIn;
    -moz-animation-name: fadeIn;
    animation-name: fadeIn;
  }
  
  @-webkit-keyframes fadeInDown {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, -100%, 0);
      transform: translate3d(0, -100%, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
    }
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, -100%, 0);
      transform: translate3d(0, -100%, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
    }
  }
  
  .fadeInDown {
    -webkit-animation-name: fadeInDown;
    -moz-animaiton-name: fadeInDown;
    animation-name: fadeInDown;
  }

  @-webkit-keyframes fadeOut {
    from {
      opacity: 1;
    }
  
    to {
      opacity: 0;
    }
  }
  
  @keyframes fadeOut {
    from {
      opacity: 1;
    }
  
    to {
      opacity: 0;
    }
  }
  
  .fadeOut {
    -webkit-animation-name: fadeOut;
    -moz-animation-name: fadeOut;
    animation-name: fadeOut;
  }
  
  @-webkit-keyframes fadeOutDown {
    from {
      opacity: 1;
    }
  
    to {
      opacity: 0;
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
  }
  
  @keyframes fadeOutDown {
    from {
      opacity: 1;
    }
  
    to {
      opacity: 0;
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
  }
  
  .fadeOutDown {
    -webkit-animation-name: fadeOutDown;
    -moz-animation-name: fadeOutDown;
    animation-name: fadeOutDown;
  }

  @-webkit-keyframes fadeInUp {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
    }
  }
  
  .fadeInUp {
    -webkit-animation-name: fadeInUp;
    -moz-aniamtion-name: fadeInUp;
    animation-name: fadeInUp;
  }

.animate-bg {
  z-index: 0;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height:100vh;
  width:100vw;
  -moz-animation: bg-anim 10s forwards;
  -webkit-animation: bg-anim 10s forwards;
  animation: bg-anim 10s forwards;
}

@-moz-keyframes bg-anim {
  0% {
    -moz-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -moz-transform: scale(1.1);
    transform: scale(1.1);
  }
}

@-webkit-keyframes bg-anim {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

@keyframes bg-anim {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

/******************************************************************/
/*  07. MEDIA QUERIES                                             */
/******************************************************************/

@media (max-width: 1300px) {
    .one {background-size: cover !important; background-position: center center !important; background-repeat: no-repeat; height:100vh !important;}
    .two {background-size: cover !important; background-position: right center !important; background-repeat: no-repeat; height:100vh !important;}
    .three {background-size: cover !important; background-position: center center !important; background-repeat: no-repeat; height:100vh !important;}
    .four {background-size: cover !important; background-position: center center !important; background-repeat: no-repeat; height:100vh !important;}
    .five {background-size: cover !important; background-position: center center !important; background-repeat: no-repeat; height:100vh !important;}
    .about {margin-left: 46%; width: 44%;}
    .flex p {margin-bottom: 2vw;}
    .large-font {font-size: 1.52vw; line-height: 2.2vw; margin-top: 1vw;}
    .normal-font {font-size: 1.2vw; margin-top: 1vw;}
    .small-font {font-size: 1vw; margin-bottom: .375vw;}
    .x-small-font {font-size: .76vw; margin-top: .76vw;}
    .form-subwrapper {width: 50%;}
    #contactForm {padding-bottom: 50px;}
}

@media (max-width: 1150px) {
    .fade p {font-size: 32px; line-height: 37px;}
    h1 {font-size: 32px;}
    h2 {font-size: 21px;}
    h3 {font-size: 17px;}
    h4 {font-size: 12px;}
    .large-font {font-size: 17px; line-height: 25px; margin-top: 11px;}
    .normal-font {font-size: 14px; margin-top: 11px;}
    .small-font {font-size: 12px; margin-bottom: 5px;}
    .x-small-font {font-size: 9px; margin-top: 9px;}
    .flex p {margin-bottom: 10px;}
    .flex-wrap {width: 85%;}
    .flex:first-child {margin-right: 3%;}
    .projects p {font-size: 16px;}
    .form-subwrapper {width: 60%;}
    #contactForm {padding-bottom: 40px;}
}

@media (max-width: 950px) {
    .about {margin: auto; width: 85%;}
    .fade {width: 85%;}
    .flex h2 {margin-bottom: 15px;}
    .flex {padding: 15px;}
    .flex p {margin-bottom: 10px; font-size: 14px;}
    .flex ul {margin-bottom: 10px; font-size: 14px;}
    .hide-medium {display: none;}
    .form-subwrapper {width: 70%;}
    #contactForm {padding-bottom: 35px;}
    #contactForm #inputContainer #nextStep {width: 20px; height: 20px; top:35px;}
    #contactForm #inputContainer .steps {font-size: 12px; line-height: 50px; padding: 0 10px; top:inherit; bottom: -15px; right: -2px; position: absolute; display: block; overflow: hidden; font-weight: 900;}
    .animate-bg {-webkit-animation: none; -moz-animation: none; animation: none;}
  }

@media (max-width: 850px) {
  .flex:first-child {display: none;}
  .flex-wrap {text-align: center;}
  .flex img {max-height: 70vh; max-width: 95vw;}
  .flex hr {display: none;}
}

@media (max-width: 750px) {
    .elements-navigation .border-bottom {display: none;}
    .elements-navigation .border-top {display: none;}
    .elements-navigation .border-left {display: none;}
    .elements-navigation .border-right {display: none;}
    .element-logo {top:40px; left:40px;}
    .logo-top {top:20px; left:20px; width: 65px;}
    .arrow {display: none;}
    .arrow img {display: none;}
    .arrow a {display: none;}
    .menu, .email-link {font-size: 10px;}
    .hide-small {display: none;}
    .baseline {left: 20px;}
    .email-link {right: 45px; line-height: 40px; margin-top:-40px;}
    .menu {margin-top:-40px; line-height: 40px;}
    .form-wrapper p:nth-child(4) {margin-top: 20px;}
}

@media (max-width: 650px) {
    .logo-top {top:10px; left:10px; width: 50px;}
    .fade p {font-size: 28px; line-height: 33px;}
    h1 {font-size: 28px;}
    h4 {display: none;}
    .large-font {font-size: 15px; line-height: 23px;}
    .form-subwrapper {width: 85%;}
    .hide-xsmall {display: none;}
    .small-font {margin-top: 15px;}
    .email-link {display: none;}
    .menu a {margin-right: 25px;}
    .menu a:nth-child(3) {margin-right: 0;}
    .baseline .email-link a {display: none;}
    .blue {color: #FFFFFF;}
    .projects p {font-size: 14px;}
    .baseline {left: 0;}
    .menu {position: relative; text-align: center; line-height: 15px; margin-top: -20px;}
    @-webkit-keyframes fadeIn { from {opacity: 1;} to {opacity: 1;} }
    @keyframes fadeIn {from { opacity: 1; } to {opacity: 1;} }
    .fadeOut {-webkit-animation-name: none; -moz-animation-name: none; animation-name: none;}
    .fadeInDown {-webkit-animation-name: none; -moz-animation-name: none; animation-name: none;}
    .fadeOutDown {-webkit-animation-name: none; -moz-animation-name: none; animation-name: none;}
    .fadeInUp {-webkit-animation-name: none; -moz-animation-name: none; animation-name: none;}
}