/******************** 
Header PROJET
*********************/
html, body { margin: 0; padding:0; box-sizing: border-box;background: #eeeeee;}

#canvas {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  margin: auto;
  background: #fffdf8; 
} 

/** Menu **/
#canvas nav {
    position:relative; 
    width:100%;
    font-family: 'lobsterregular';
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #b313e8 0%, #3faaa5 100%) no-repeat bottom #eeeeee;
    background-size: auto;
    background-size: 100% 5px;
    padding: 0 0 5px 0;
}
.d-none-mobile.active #canvas nav {
    background: #eeeeee;
    border-bottom: solid 1px #3FAAA5 !important;
    z-index: 500;
}
#canvas nav #brand {
    padding: 0 50px;
}
#canvas nav #brand .logo {
    width: 190px;
    height: auto;
    filter: drop-shadow(1px 1px 1px rgba(21, 25, 27, 0.3));
}

#canvas nav #brand .logo .st0{fill:#ffa500;}
#canvas nav #brand .logo .st1{font-family:'robotoregular';}
#canvas nav #brand .logo .st2{font-size:10px;}
#canvas nav #brand .logo .st3{font-family:'lobsterregular';}
#canvas nav #brand .logo .st4{font-size:50px;}
#canvas nav #brand .logo .st5{fill:#3FAAA5;}
#canvas nav #brand .logo .st6{font-family:'gobold_cutsregular';}
#canvas nav #brand .logo .st7{font-size:34px;}
#canvas nav #brand .logo .st8{letter-spacing:1.5;}
#canvas nav #brand .logo .st9{fill:#FFA500;}
#canvas nav #brand .logo .st10{opacity:0.6;fill:#3FAAA5;}

#canvas nav #menu {
    position: relative;
    display: flex;
    height: 100%;
    padding: 0 50px;
    align-items: center;
}
#canvas nav #menu li {
    padding: 0px 30px;
    cursor: pointer;
    line-height: 70px;
    transition: all 0.5s ease-out;
}
#canvas nav #menu li a {
    color: #15191b;
    font-size: 20px;
    text-decoration: none;
    padding-bottom: 5px;
    text-shadow: 1px 1px 1px rgba(21, 25, 27, 0.3);
    transition: all 0.3s ease-out; 
}
#canvas nav #menu li a:hover {
    color: #ffa500;
    border-bottom: solid 1px #ffa500;
}
#canvas nav #menu li a.current {
    color: #ffa500;
    border-bottom: solid 1px #ffa500;
}

@media (max-width: 800px) {
    #canvas {
        position: fixed;
        z-index: 50;
    }
    .d-none-mobile.active #canvas {
        position: inherit;
    }
    #canvas nav {
        height: 65px;
        background-size: 100% 1px;
        padding: 0 0 1px 0;
    }
    #canvas nav #brand /*svg*/ {
        display: block;
        position: absolute;
        z-index: 900;
        top: 5%;
        padding-right: 40px;
        width: 150px;
        height: auto;
        padding: 0 15px;
    }
    #canvas nav #brand .logo {
        width: 165px;
        height: auto;
    }

    #canvas nav #menu{
        display: none; 
    }
} 

#hamburger {
    position: absolute;
    right: 10px;
    top: 15px;
    z-index: 999;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    visibility: hidden;
    opacity: 0;
    padding: 0 10px;
    filter: drop-shadow(1px 1px 1px rgba(21, 25, 27, 0.3));
}  
#hamburger .line {
    height: 7px;
    background: #3faaa5;
    margin: 5px auto;
    backface-visibility: hidden;
    filter: drop-shadow(1px 1px 1px rgba(21, 25, 27, 0.2));
}
#hamburger:active .line {
    background: #ffa500;
}
#hamburger.active #one {
    transform: rotate(45deg) translateX(6px) translateY(6px);
}
#hamburger.active #two {
    opacity: 0;
}
#hamburger.active #three {
    transform: rotate(-45deg) translateX(10px) translateY(-12px);
}
 
@media (max-width: 800px) {
    #hamburger {
        visibility: visible;
        opacity: 1; 
    }
}

#canvas .mobile-menu {
  z-index: 1;
  position: absolute;
  top: 0px;
  background: #eeeeee;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#canvas .mobile-menu .mobile-menu__items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
}
#canvas .mobile-menu .mobile-menu__items li {
  display: block;
  text-align: center;
  padding: 8px 0;
  font-size: 25px;
  cursor: pointer;
  transition: all 0.3s ease-out;
  /*border: solid 1px rgba(255, 255, 255, 0.2)*/
  width: 200px;
  margin: 10px auto;
  border-radius: 35px;
  background: #eeeeee;
  box-shadow:  -3px -3px 3px rgba(255, 255, 255, 0.8), 
                3px 3px 3px rgba(176, 176, 176, 0.8);
}
#canvas .mobile-menu .mobile-menu__items li:active {
  transition: all 0.3s ease-out;
  box-shadow: inset -3px -3px 3px rgba(255, 255, 255, 0.8), 
              inset 3px 3px 3px rgba(176, 176, 176, 0.8);
}
#canvas .mobile-menu .mobile-menu__items li:active a {
  color: #ffa500;
}

#canvas .mobile-menu .mobile-menu__items li a {
  font-family: 'lobsterregular';
  color: #3faaa5;
  text-decoration: none;
}
#canvas .mobile-menu.active {
  visibility: visible;
  opacity: 0.99;
}

#canvas .mobile-menu .social {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    border-top: solid 2px #ffa500;
    border-bottom: solid 2px #ffa500;
    }
#canvas .mobile-menu .social svg {
        width: 45px;
        height: auto;
        margin: 10px 15px;
        filter: drop-shadow(1px 1px 1px rgba(21, 25, 27, 0.3));
    }
#canvas .mobile-menu .social svg .st0 {fill:#FFFDF8; transition: fill 0.5s ease-out;}
#canvas .mobile-menu .social svg .st1 {fill-opacity:0;stroke:#FFFDF8;stroke-width:1.5732;stroke-miterlimit:10; transition: stroke 0.5s ease-out;}

#canvas .mobile-menu .social svg:active .st0 {fill:#ffa500;}
#canvas .mobile-menu .social svg:active .st1 {stroke:#ffa500;}

#canvas .mobile-menu .copyright {
    font-family: 'robotocondensed';
    position: fixed;bottom: 1rem;
    font-size: 15px;
    text-align: center;
}
#canvas .mobile-menu .copyright a {
    color: #ffa500;
    text-decoration: none;
    transition: all 0.3s ease-out;
}
#canvas .mobile-menu .copyright a:hover {
    color: #ffa500;
    text-decoration: underline;
}

@media (min-width: 801px) {
  #canvas .mobile-menu {
    visibility: hidden !important;
  }
} 
/** Menu fin **/

#canvas .container {
    width: 90%;
    margin: 80px;
    text-align: left;
    color: #fffdf8;
    height: 85px;
    padding: 15px 50px 0 50px;
    background-image: url("images/BG-titre.png");
    background-size: contain;
    background-repeat: no-repeat;
}
#canvas .container h1 { 
    font-size: 4vh;
    line-height: 5.5vh;
    font-family: 'gobold_boldregular';
    text-transform: uppercase;
    text-shadow: 2px 2px 2px rgba(21, 25, 27, 0.5);
}
#canvas .container p {
    font-size: 2.5vh;
    line-height: 2.8vh;
    font-family: 'robotocondensed';
    text-shadow: 2px 2px 2px rgba(21, 25, 27, 0.5);
}

@media (max-width: 800px) {
    #canvas .container {
        margin: 10px 0;
        text-align: center;
        height: 45px;
        padding: 15px 0 0 25px;
        background-image: url("images/BG-titre.png");
        background-position: 45%;
    }
    #canvas .container h1 { 
        font-size: 3vh;
        line-height: 4vh;
    }
    #canvas .container p {
        display: none;
    }
    /** remove page title au scroll **/
    .d--none {
        display: none;
    }
}

/******************** 
    TO TOP BOUTON
*********************/
#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
	color: #15191b;
    font-family: 'robotocondensed';
    text-transform: uppercase;
    font-size: 1vw;
    cursor: pointer;
    outline: none;
    border: none;
    background: none;
	padding-top:2.8em;
	text-decoration:none;
	transition:all .5s ease-out;
    border-radius: 5px;
    filter: drop-shadow(0px 0px 1px rgba(21, 25, 27, 0.8));
}
#back-to-top-btn:before {
	content:'▲';
	font-size: 3vw;
    line-height: 3vw;
	position:absolute;
	top:0;
	left:50%;
	margin-left:-.5em;
	border-color:inherit;
	transition:transform .5s ease-in;
}
#back-to-top-btn:hover {
	color: #ffa500;
}
#back-to-top-btn:hover:before {
	transform: rotate(360deg);
    color: #ffa500;
}

/* Animations */
.btnEntrance {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: btnEntrance;
}

/* fadeInUp */
@keyframes btnEntrance {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.btnExit {
  animation-duration: 0.25s;
  animation-fill-mode: both;  
  animation-name: btnExit;
}

/* fadeOutDown */
@keyframes btnExit {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
}

@media (max-width: 800px) {
    @keyframes btnEntrance {
      from {
        opacity: 0;
      }
      to {
        opacity: 0;
      }
    }
}


/****************** 
Section PROJET
*******************/
#projet {
    /*width: 90%;*/
    margin: auto;
}

#projet .intro {
    padding: 50px;
    text-align: center;
    font-size: 2vh;
    font-family: 'robotocondensed';
    color: #15191b;
}
#projet .intro a {
    position: fixed;
    left: 50px;
    color: #15191b;
    transition: all .3s ease-in;
    text-decoration: none;
}
#projet .intro a:hover {
    color: #ffa500;
    text-decoration: underline;
}
#projet .intro a:nth-child(3) {
    position: relative;
    left: 0;
    text-decoration: underline;
}
#projet .intro h1 {
    font-size: 4vh;
    line-height: 4.5vh;
    font-family: 'robotobold_condensed';
}
#projet .intro p {
    max-width: 50%;
    margin: auto;
}

#projet .container { 
	font-family: 'robotocondensed';
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; 
	width: 960px; 
	margin: auto;
}

#projet .container h2 {
    font-size: 2.5vh;
    line-height: 2.5vh;
    font-family: 'robotobold_condensed';
    color: #15191b;
    padding: 20px 0;
}
#projet .container h3 {
    margin: 15px auto;
    font-family: 'robotobold_condensed';
}
#projet .container p {
    font-size: 2vh;
    line-height: 3vh;
    font-family: 'robotocondensed';
    color: #15191b;
}
#projet .container a {
    color: #15191b;
    transition: all .3s ease-in;
    text-decoration: underline;
}
#projet .container a:hover {
    color: #ffa500;
    text-decoration: underline;
}

#projet .space-nobtn {
    margin-bottom: 80px;
}

/* #Tablet (Portrait) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	#projet .container {
		width: 768px; 
	}
}

/*  #Mobile (Portrait) - Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
	#projet .container { 
		width: 95%; 
	}
}

/* #Mobile (Landscape) - Note: Design for a width of 480px */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	#projet .container {
		width: 95%;
	}
	
	#ads {
		display:none;
	}
	
}

@media (max-width: 800px) {
    #projet {
        position: relative;
        top: 100px;
        /*width: 95%;*/
        height: auto;
        min-height: 100vh; /** a check **/
    }
    #projet .container {
        margin: 0px auto;
        padding: 0;
        border-radius: 0;
        box-shadow: 0px 0px 0px rgba(255, 255, 255, 0.8), 0px 0px 0px rgba(176, 176, 176, 0.8);
    }
    
    #projet .intro {
        padding: 0 0 25 0;
        font-size: 2.5vh;
        line-height: 2.8vh;
    }
    #projet .intro p {
        max-width: 95%;
    }
    #projet .intro a {
        display: none;
    }
}


/*********************************** 
Sections D NONE mobile - Menu ouvert
***********************************/
.d-none-mobile.active #projet {
    display: none;
}

