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

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Montserrat, Helvetica, sans-serif;
  background-image:  url(fondpage.png);
margin: 0;
}

nav {
  top:0px;
  width: 100%;
  height:150px;
  display: flex;
  align-items: center;
  padding: 15px 15px;
  box-shadow: inset 0px -1px 0px #c5c5c6;
  background:#F4F4F4;
  
}


.nav-icon {
  display: flex;
  align-items: left;
  text-decoration: none;
  margin-right: 10px;
}

.nav-icon span {
  font-family: Roboto Flex, sans-serif;
  font-size: 25px;
  margin-left: 10px;
  font-weight: 400;
  color: #333;
  font-style: italic;
}

.nav-icon img {
  width: 150px;
  
}

.hamburger {
  display: none;
}

.navlinks-container a {
position: relative;
width:100%;
left:30%;
top:100px;
   margin: 0 10px 30px ;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color:#FFFFFF;
  	}
	
  a:hover {
    color:#F9FB95;
  } 
  	
.navlinks-container a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -3px;
  height: 2px;
  transform: scale(0);
  transform-origin: left;
  background: #333;
  transition: transform 0.3s ease-out;
}
.navlinks-container a:hover::after {
  transform: scaleX(1);
  }

.nav-authentication {
  margin-left: auto;
}

.sign-btns button {
  font-family: Roboto Flex, sans-serif;
  font-size: 16px;
  min-width: 90px;
  padding: 10px 5px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}

.sign-btns button:nth-child(2) {
  border: none;
  background: rgba(146, 195, 238, 0.718);
}
.user-toggler {
  display: none;
}

.page{
position:relative;
top:250px;
z-index:2;
float:left;
width:100%;
height:1000px;
border:double #666666;
background-color:#FF0000;

}
.page h1{
font-size:17px;
margin: 15px 5px;
padding-left:10px;
}
.page h2{
margin: 15px 5px;
padding-left:10px;
font-size:14px;
line-height: 2.5em;
}


.imagesitedepannagepc {
position:relative;
width:100%;
height:500px;
background-color:#FFFFFF;
border:double #666666;
}
.imagesitedepannagepc h2{
font-size:14px;

}
.imagesitedepannagepc img{
float:right;
padding:5px;
width:150px;
height:150px;
}


.imagesite {
position:relative;
width:100%;
height:900px;
background-color:#F9FB95 ;
border:double #666666;
}
.imagesite h2{
padding:25px;
font-size:16px;

}

.imagesite img{
float:right;
padding:5px;
width:150px;
height:150px;
}


@media (max-width: 1280px) {

 nav{background-color: #EFEFEF
 ;
 }


.nav-icon {
position:absolute;
top:10px;
left:10px;}


.navlinks-container{
position:absolute;
left:300px;}
}
.nav h2
{
position:relative;
top:30px;
left:240px;
color:#333333;
}
.nav h3
{
position:relative;
top:10px;
left:250px;
color:#666666;
font-style:italic;
}
.page{
position:absolute;
top:200px;
z-index:2;
float:left;
width:100%;
height:auto;
background-color:#CCCCCC;
border:double #666666;
}

.imagesite {
position:relative;
width:100%;
height:300px;
background-color:#F9FB95 ;
border:double #666666;
}
.imagesite h2{
padding:25px;
font-size:16px;

}

.imagesite img{
float:right;
padding:5px;
}

@media (max-width: 1600px) {
  nav {
    padding: 15px 20px;
    position: relative;
	}

  /* nav */
  .nav-icon {
    order: 2;
    margin: 0 auto;
  }

  .nav-icon span {
    font-size: 22px;
  }
  .main-navlinks {
    order: 1;
    width: auto;
	
  }

  /* hamburger */
  .hamburger {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: none;
    display: flex;
    background: #fafafa;
    align-items: center;
    position: absolute;
	top:112px;
	left:10px;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s 0.15s ease-out;
  }
  .hamburger span:nth-child(1),
  .hamburger span:nth-child(3) {
    transition: transform 0.3s ease-out;
  }

  .hamburger span:nth-child(1) {
    transform: translateY(7px);
  }
  .hamburger span:nth-child(3) {
    transform: translateY(-7px);
  }

  .hamburger.open span:nth-child(1) {
    transform: translate(0) rotate(135deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transition: opacity 0s ease-out;
  }
  .hamburger.open span:nth-child(3) {
    transform: translate(0) rotate(-135deg);
  }

  .navlinks-container {
  top:100%;
  z-index:3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    background:#fafafa;
    left: 0;
    transform: translate(-100%);
    height: 40vh;
    padding: 1px  1px 15px 10px;
    border-right: 2px solid #c5c5c6;
  }
  .open {
    transform: translate(0%);
  }

  .navlinks-container a {
    font-size: 18px;
    margin: 5px 0px;
	top:0px;
	left:2px;
	color:#666666;
  }


  .nav-authentication {
    order: 3;
    margin-left: 0;
  }
  .sign-btns {
    display: none;
  }

  .user-toggler {
    display: block;
    cursor: pointer;
    border: none;
  }

  .user-toggler img {
    width: 20px;
  }
  
  .page{
z-index:2;
position:relative;
top:0px;
left:0px;
height: auto;
background-color:#CCCCCC;
}
.page h2{
margin: 5px 5px;
font-size:14px;
line-height: 2.5em;
}

.imagesite {
float:left;
width:100%;
background-color:#F9FB95;
border:double #666666;
}

}

@media (max-width: 640px) {
	* {
		box-sizing: border-box;
	}
	
	/* passer body (et tous les éléments de largeur fixe) en largeur automatique */

	body {
		width: auto;
		margin: 0;
		padding: 0;
	}
	
	/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

	img,
	table,
	td,
	blockquote,
	code,
	pre,
	textarea,
	input,
	iframe,
	object,
	embed,
	video {
		max-width: 100%;
	}
	
	/* conserver le ratio des images */

	img {
		height: auto;
	}
	
	/* gestion des mots longs */

	textarea,
	table,
	td,
	th,
	code,
	pre,
	samp {
		-webkit-hyphens: auto; /* césure propre */
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word; /* passage à la ligne forcé */
	}
	
	code,
	pre,
	samp {
		white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
	}
	
	/* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

	.element1,
	.element2 {
		float: none;
		width: auto;
	}
	
	/* masquer/afficher les éléments  */

	.u-mobile {          display: block;          display: revert !important; /* affichage des éléments */        }        .u-no-mobile {          display: none !important; /* masquage des éléments */        }
	
	/* Un message personnalisé */

	
	body:before {
		content: "Version mobile du site";
		display: block;
		text-align: center;
		font-style: italic;
		color: #777;
		}
		
 /* hamburger */
  .hamburger {
    position: absolute;
	top:120px;
	left:15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: none;
    display: flex;
    background: #fafafa;
    align-items: center;
  
	
  }
  
  .page h2{
margin: 5px 5px;
font-size:12px;
line-height: 2em;
}

.nav h2
{
position:relative;
top:30px;
left:150px;
color:#333333;
font-size:16px;

}
.nav h3
{
position:relative;
top:12px;
left:150px;
color:#666666;
font-style:italic;
font-size:12px;
}

.page img{
height: 150px;
}
}

