/*
FONTS:
"AmaticaBold"
"AmaticaRegular"
"CaviarDreams"
"CaviarDreamsBold"
*/
/*
COULEURS:
gris:         #f9f9f9;
gris-foncé:   #4F5F5D;
rouge:        #C5645B;
jaune:        #FFCC66;
bleu-clair:   #9BB5BB;
bleu-fonce:   #415C71;
*/
/*************MENU*******************/
@import url("fonts.css");

#boxscroll2 {
	padding: 40px;
	height: 120px;
	width: 730px;
	border: 2px solid #F00;
	overflow: auto;
}
#ascrail2000{
  z-index: 999;
}

.menu{
  width: auto;
  height: auto;
  float: right;
  padding-right: 25px;
  padding-top: 3px;
}
.menu_content{
  position:relative;
  width:auto;
  height: auto;
  margin: 0 auto;
}
.menu nav{
  width:auto;
  height:auto;
}
.menu li{
  position:relative;
  width:auto;
  height:auto;
  display: inline-block;
  font-family: "CaviarDreams";
}
.menu a{
  position: relative;
  font-size: 1.2em;
  font-family: "CaviarDreams";
  color: #f9f9f9;
  text-decoration: none;
  margin: 0px 10px;
  transition-duration: .5s;
}
.menu a:hover{
  color: #414141;
}
.menu .actif{
	color: #414141;
	border-bottom: 1px solid #414141;
}
.link-1 {
  transition: 0.3s ease;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  border-top: 0px ;
  border-bottom: 0px ;
  padding: 20px 0;
  margin: 0 20px;
}
.link-1:hover {
  border-top: 1px solid #414141;
  border-bottom: 1px solid #414141;
  padding: 4px 0;
}
/************* HEADER*LOGO ******************/
.header{
  width:100%;
  height: auto;
  background-color: #C5645B;
}
.header_content{
  width:100%;
  height: 70px;
  margin: 0 auto;
}
.logo_plus_text{
  z-index: 9999;
  position: fixed;
  width: 200px;
  height: 180px;
}
.logo_img{
  position: absolute;
  width:150px;
  height: 150px;
  top: 25px;
}

#cact{
  position: relative;
  height: 150px;
  width: 150px;
  margin-top: 0px;
}
.logo_img_text h1{
  position: absolute;
  width: 50px;
  height: auto;
  font-family: "AmaticaBold";
  line-height: 1em;
  font-weight: 300;
  margin-left: 110px;
  padding-top: 50px;
  color: #415C71;
  font-size: 2rem;
}
.berger{
  display: none;
}
@media only screen and (max-width: 800px) {
  /****************************/
  /****************************/
  /******* BURGER MENU ********/
  /****************************/
  /****************************/
  .content h1{
    font-size: 2rem;
  }
  .header{
    /*  background-color: coral; */
  }
  .menu{

  }
  #nav-1{
    display: none;
  }
  .berger{
    display: block;
    position: fixed;
    top: -5px;
    float: right;
    right: 25px;
    z-index: 999999;
    width: 60px;
    height: 80px;
    /*  background-color: khaki; */
  }
  #menu-burger {
    width: 50px;
    height: 50px;
    background: #F9F9F9;
    border-radius: 50%;
    position: absolute;
    top: 16px;
    right: 5%;
    cursor: pointer;
    z-index: 200;
  }

  #menu-burger .menu-icon {
    display: block;
    height: 2px;
    width: 18px;
    background: #C5645B;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -1px;
  }

  #menu-burger .menu-icon:after {
    content: '';
    display: block;
    height: 2px;
    width: 18px;
    background: #C5645B;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -5px;
    transition: 0.35s;
  }

  #menu-burger .menu-icon:before {
    content: ' ';
    display: block;
    height: 2px;
    width: 18px;
    background: #C5645B;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: 4px;
    transition: 0.35s;
  }

  #menu-burger .menu-icon.open:before{
    transform: rotate(45deg);
    margin-top: -1px;
    background: #C5645B;
  }

  #menu-burger .menu-icon.open:after{
    transform: rotate(-45deg);
    margin-top: -1px;
    background: #C5645B;
  }

  #menu-burger.open {
    background: #fff;
  }

  #menu-burger .menu-icon.open {
    background: #fff;
  }

  #overlay-menu {
    position: fixed;
    background: #C5645B;
    height: 100%;
    width: 80%;
    top: 0;
    opacity: 0.85;
    z-index: 100;
    right: -100%;
    transition: 0.35s;
  }

  #overlay-menu.open {
    right: 0%;
    box-shadow: 0 0 10px #414141;
  }

  #overlay-menu nav {
    height: 60%;
    position: relative;
    top: 40%;
    left: 0;
    transform: translateY(-50%);
    font-size: 32px;
    text-align: center;
  }

  #overlay-menu nav ul {
    display: inline-block;
    margin: auto;
    height: 100%;
    width: 220px;
  }

  #overlay-menu nav ul li {
    position: relative;
    color: #fff;
    height: 100px;
  }

  #overlay-menu nav ul li a {
    color: #fff;
    font-size: 1em;
    display: flex;
    flex-flow: column;
  }

  #overlay-menu nav ul li a:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    height: 3px;
    width: 0%;
    background: #fff;
    transition: 0.25s;
  }

  #overlay-menu nav ul li a:hover:after {
    width: 100%;
  }
  *::selection {
    background: #fff;
  }
}
/**************************
***************************
**************************/
/*******SMARTPHONE*********/
@media only screen and (max-width: 475px){
  .content h1{
    position: relative;
    float: right;
    top: -50px;
    right: 10px;
    width: 200px;
    font-size: 1.5em;
    text-align: center;
    /*  background-color: coral; */
  }
  .cd-wrapper ul{
    position: relative;
    top: 80px;
  }
  .cd-3d-portfolio .projects h2{
    font-size: 2em;
    width: 100%
  }
  .cd-3d-portfolio .projects h4{
    font-size: 1.5em;
  }

}

/*********************
CIRCLE progress
**********************/


.progress-wrap {
  position: fixed;
  right: 50px;
  bottom: 50px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset  0 0 0 2px #415C71;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.progress-wrap::after {
  position: absolute;
  /*	font-family: 'unicons';
  content: '\e84b'; */
  content: ' ';
  background-image: url("../img/up_red.png");
  text-align: center;
  line-height: 45px;
  font-size: 24px;
  color: #415C71;
  left: 0px;
  top: 0;
  margin: 0 0 0 -2px;
  height: 45px;
  width: 45px;
  cursor: pointer;
  display: block;
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap:hover::after {
  opacity: 0;
}
.progress-wrap::before {
  position: absolute;
  /*	font-family: 'unicons'; */
  /*  content: '\e84b'; */
  content: ' ';
  background-image: url("../img/up.png");
  text-align: center;
  line-height: 45px;
  font-size: 24px;
  opacity: 0;
  background-image: linear-/*gradient(298deg, #c4655b, #415C71);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;*/
  left: 0;
  top: 0;
  margin: -2px 0 0 -2px;
  height: 45px;
  width: 45px;
  cursor: pointer;
  display: block;
  z-index: 2;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap:hover::before {
  opacity: 1;
}
.progress-wrap svg path {
  fill: none;
}
.progress-wrap svg.progress-circle path {
  stroke: #c5645b;
  stroke-width: 4;
  box-sizing:border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap {
  box-shadow: inset  0 0 0 2px rgba(65, 92, 113, 0.2);
}
.progress-wrap::after {
  color: #c4655b;
}
.progress-wrap svg.progress-circle path {
  stroke: #c4655b;
}

/*********************
/CIRCLE progress
**********************/
