/*
TOPHEADER
*/

.firstblock {
  height: 34px;     /* "HITBOX" DU PREMIER HEADER */
}

.TOPHEADER {
  width: 100%;
  margin-left: 0;
  margin-right: 0;        /* STYLE DU PREMIER HEADER */
  height: 34px;
  line-height: 40px;
  background-color: #FFC312;
  position: fixed;
  z-index: 999;
}

.topheadermenu {
  float: left;
  margin-left: 360px;     /* MENU DU PREMIER HEADER */
  font-size: 12px;
  color: black;
  font-family: sans-serif;
}
.topheadermenu a {
  margin-right: 15px;       /* LIENS DU MENU */
  color: #2d3436;
}

.topheadermenu a:hover {
    color: #57606f;
    border-bottom: 1px solid #57606f;
    transition: all 0.3s ease-in-out;     /* STYLE DES LIENS */
    border-top: 1px solid #57606f;
}

#mail-2 {
  visibility: hidden;
}
#numero-2 {
  visibility: hidden;
}

/*
TOPHEADER
*/

/*
HEADER
*/

.secondblock {
  height: 82px;     /* "HITBOX" DE L'HEADER PRINCIPAL */
}

.header {
  width: 100%;
  margin-left: 0;
  margin-right: 0;        /* STYLE DE L'HEADER PRINCIPAL */
  height: 82px;
  background-color: #FFFFFF;
  position: fixed;
  z-index: 999;
  transition: 0.2s;
  border-bottom: 2px solid black;
}

.headerlogo {
  float: left;
  margin-left: 365px;     /* LOGO MANUFORCE */
  width: 80px;
}

.headermenu{
  float: right;
  margin-right: 350px;      /* MENU HEADER PRINCIPAL */
  font-size: 16px;
  font-family: sans-serif;
  margin-top: 35px;
  font-weight: bold;
  text-shadow: #000000 1.1px 1.1px, #000000 -1.1px 1.1px, #000000 -1.1px -1.1px, #000000 1.1px -1.1px, #000000 1.1px 1.1px, #000000 -1.1px 1.1px, #000000 -1.1px -1.1px, #000000 1.1px -1.1px;
}

.headermenu a {
  margin-right: 15px;
  color: #FFC312;                         /* lIENS DU MENU DE L'HEADER PRINCIPAL */
  border-bottom: 2px solid transparent;
}

.headermenu a:hover {
    color: #2d3436;
    border-bottom: 2px solid #FFC312;     /* STYLE DES LIENS DU MENU DE L'HEADER PRINCIPAL */
    transition: all 0.3s ease-in-out;
    font-family: sans-serif;
    text-shadow: #FFC312 1px 1px, #FFC312 -1px 1px, #FFC312 -1px -1px, #FFC312 1px -1px;
}


/*
hamburger
*/

.hamburger{
  visibility: hidden;
}

#menu{
	width: 35px;
	height: 30px;
	margin: 30px 20px 20px 0px;
	cursor: pointer;
}
.bar{
	height: 5px;
	width: 100%;
	background-color: #ffc312;
	display: block;
	border-radius: 5px;
	transition: 0.3s ease;
}
#bar1{
	transform: translateY(-4px);
}
#bar3{
	transform: translateY(4px);
}
.nav li a{
	color: #2d3436;
	font-weight: bold;
  text-decoration:  none
}
.nav li a:hover{
  text-decoration:line-through;
}
.nav li{
	list-style: none;
	padding: 16px 0;
  text-align: center;
}
.nav{
	padding: 0;
	margin: 20px 5px;
	transition: 0.3s ease;
	display: none;
}
.menu-bg, #menu-bar{
	top: 0;
	right: 20px;
	position: absolute;
}
.menu-bg{
	z-index: 1;
	width: 0;
	height: 0;
	margin: 30px 20px 20px 0px;
	background: radial-gradient(circle,#ffc312,#ffc312);
	border-radius: 50%;
	transition: 0.3s ease;
}
#menu-bar{
	z-index: 2;
}
.change-bg{
	width: 500px;
	height: 490px;
  border: 1px solid #2d3436;
	transform: translate(60%,-6%);
}
.change .bar{
	background-color: #2d3436;
  margin-left:  57px;
  transition: 0.5s ease;
}
.change #bar1{
	transform: translateY(4px) rotateZ(-45deg);
}
.change #bar3{
	transform: translateY(-6px) rotate(45deg);
}
.change #bar2{
	opacity: 0;
  transition: 0s ease;
}
.change{
	display: block;
}

/*
hamburger
*/
/*
HEADER
*/

/*
FOOTER
*/
footer {
  background-color: black;      /* STYLE FOOTER */
  height: 40px;
}

.footer-text {
  color: #grey;
  padding-left: 360px;      /* STYLE TEXTE FOOTER */
  padding-top: 8px;
}
/*
FOOTER
*/
.intro-titre {
  padding-top: 20px;
  text-align: center;
  font-size: 18px;
  font-family: sans-serif;
  font-variant: small-caps;
  font-weight: bold;
}
.intro-img {
  margin-top: 20px;
  width: 500px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 5px solid #2d3436;
}

.intro-para {
  padding-top: 20px;
  text-align: center;
  font-size: 16px;
  font-family: sans-serif;
  font-variant: small-caps;
  font-weight: bold;
}
.para {
  margin-right: auto;
  margin-left: auto;
  width: 725px;
  margin-top: 20px;
  text-align: center;$
  font-family: sans-serif;
}
.para-1 {
  font-family: sans-serif;
  font-variant: small-caps;
  font-weight: bold;
  text-align: center;
}

.liste {
  width: 630px;
  margin-left: auto;
  margin-right: auto;
  font-variant: small-caps;
  font-weight: bold;
  text-align: left;
}
.titre-3 {
  text-align: center;
  margin-top: 50px;
}
/*
slider
*/
.slider {
  width: 400px;
  height: 650px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 100px;
  margin-left: auto;
  margin-right: auto;
  border: 5px solid #2d3436;
}
.slides {
  width: calc(400px * 3);
  animation: glisse 10s infinite;
}
.slide {
  float:left;
}

@keyframes glisse  {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(-400px);
  }
  48% {
    transform: translateX(-400px);
  }

  66% {
    transform: translateX(-800px);
  }
  81% {
    transform: translateX(-800px);
  }

  100% {
    transform: translateX(0);
  }

}
/*
slider
*/
.contact-num {
  padding-top: 10px;
  width: 50%;
  height: 20%;
  border-top: 5px solid #FFC312;
  border-right: 5px solid #FFC312;      /*STYLE DE LA CELLULE NUMERO DE TEL*/
  border-left: 5px solid #FFC312;
  background-color: #2d3436;
  color: #FFC312;
  font-size: 30px;
  font-variant: small-caps;
  font-weight: bold;
}

#adresse {
  padding-top: 20px;    /* STYLE LOGO ADRESSE*/
  width: 30%;
  float: right;
}

#block-image {      /* STYLE CELLULE CONTENANT LE LOGO ADRESSE*/
  width: 20%;
}

#block-text-image {
  width: 100%;
  padding-top: 26px;
  font-weight: bold;
  font-variant: small-caps;   /* STYLE TEXTE ADRESSE*/
  font-size: 18px;
  padding-left: 15px;
}

#mail-logo-1 {
  padding-top: 5px;
  width: 30%;       /* STYLE LOGO MAIL*/
  float: right;
}

#block-text-image-2 {
  width: 100%;
  padding-top: 11px;
  font-weight: bold;
  font-variant: small-caps;   /* STYLE TEXTE MAIL*/
  font-size: 18px;
  padding-left: 15px;
}
.avant-footer {
    background-color: #FFFFFF;
    width: 100%;                          /* STYLE TABLEAU */
    height: 100px;
    border-top: 5px solid #ffc312;
    border-bottom: 5px solid #FFC312 ;
}
/*
TRANSITION
*/

.transition-block {
  background-color: #dfe6e9;
  width: 100%;                          /* RECTANGLE gris */
  height: 200px;
  border-top: 7px solid #FFC312;
  border-bottom: 7px solid #FFC312;
}

#titre-transition {
  font-size: 35px;
  font-variant: small-caps;
  font-family: sans-serif;          /* TITRE TRANSITION */
  font-weight: bold;
  text-align: center;
  padding-top: 40px;
}

.transition-block .button {
  display:block;
  font-family: sans-serif;
  color:  #2d3436;
  background: #dfe6e9;
  font-weight: bold;                      /* STYLE DU BOUTON */
  font-size: 28px;
  padding: 8px;
  font-variant: small-caps;
  margin-top: -15px;
  border-radius: 0 0 0 0;
  border: 4px solid #2d3436;
  margin-left: auto;
  margin-right: auto;
}

.transition-block .button:hover{
  font-family: sans-serif;
  color: #FFFFFF;                                     /* STYLE DU LIENS DU BOUTON */
  background: #2d3436;
  transition: all 0.5s ease-in-out;
  text-shadow: #2d3436 0.8px 0.8px, #2d3436 -0.8px 0.8px, #2d3436 -0.8px -0.8px, #2d3436 0.8px -0.8px;
  border: 4px solid #FFC312;
}

.bouton .button {
  background-color: #FFFFFF;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  font-size: 35px;
  border-radius: 15px;
}

.bouton .button:hover {
  color: #FFFFFF;                                     /* STYLE DU LIENS DU BOUTON */
  background: #2d3436;
  transition: all 0.5s ease-in-out;
  border: 4px solid #FFC312;
}

#button-devis {
  font-family: sans-serif;
  color: #FFFFFF;
  background: #2d3436;
  font-weight: bold;                      /* STYLE DU BOUTON */
  font-size: 30px;
  font-variant: small-caps;
  border-radius: 0 0 0 0;
  border: 4px solid #ffc312;
  border-radius: 10px;
}

#bouton-devis:hover {
  color: #FFFFFF;                                     /* STYLE DU LIENS DU BOUTON */
  background: #2d3436;
  transition: all 0.5s ease-in-out;
  border: 4px solid #FFC312;
}

/*
TRANSITION
*/
/*
Responsive
*/
.titre {
  background-color: #2d3436;
  width: 100%;
}

.logo-levage {
  width: 12%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/*
headers
*/

@media screen and (max-width:1500px) {
  .topheadermenu {
      margin-left: 75px;
  }
  .headermenu {
      margin-right: 75px;
  }
  .headerlogo {
      margin-left: 75px;
  }
}

@media screen and (max-width:980px) {
  .headermenu {
      display: none;
  }
  .hamburger{
    visibility: visible;
  }
}

@media screen and (max-width:440px) {
  .topheadermenu {
      margin-left: 10px;
  }
  .headerlogo {
      margin-left: 10px;
  }
}

@media screen and (max-width:1140px) {
  .footer-text {
    padding-left: 10px;
    text-align: center;
  }
}

@media only screen and (max-width: 375px) {
  #mail-1 {
    display: none;
  }
  #numero-1 {
    display: none;
  }
  #mail-2 {
    visibility: visible;
    font-size: 24px;
  }
  #numero-2 {
    visibility: visible;
    font-size: 24px;
  }
}

/*
headers
*/


@media only screen and (max-width: 760px) {
  .para {
    width: 500px;
  }
  .para-1 {
    text-align: left;
  }
}

@media only screen and (max-width: 635px) {
  .liste {
    width: 450px;
  }
  .liste-1 {
    width: 450px;
  }
  #titre-transition {
    font-size: 26px;
  }
}


@keyframes glissephone  {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(-400px);
  }
  48% {
    transform: translateX(-400px);
  }

  66% {
    transform: translateX(-800px);
  }
  81% {
    transform: translateX(-800px);
  }

  100% {
    transform: translateX(0);
  }

}


@media only screen and (max-width: 535px) {
  .para {
    width: 350px;
  }
  #button-devis {
    font-size: 24px;
  }
  .slider {

  }

  .liste {
    width: 315px;
    text-align: left;
  }
  .liste-1 {
    width: 315px;
  }
}

@media only screen and (max-width: 425px) {

  #button-devis {
    font-size: 20px;
  }

}
@media only screen and (max-width: 950px) {
  .logo-levage {
    width:17%;
  }
}

@media only screen and (max-width: 650px) {
  .logo-levage {
    width:27%;
  }
}
