/* Importing font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Oswald:wght@200..700&display=swap');
* {
	margin: 0;
	padding: 0;
  }
body
{
	background-color: #F0EEE9;
	font-family: "Oswald", sans-serif;
	/* 	Permet d'augmenter ou diminuer toutes les polices de caractère proportionnellement */
	word-wrap: break-word; 
	overflow-wrap: break-word;  
	/* Briser les lignes trop longues */
	-webkit-hyphens : auto;
	-moz-hyphens : auto;
	-ms-hyphens : auto;
	hyphens : auto; 
    /* Laisse le navigateur gérer les césures des mots */ 	
}


h1 {
	font-size: 4rem;
	color: rgb(247, 8, 8);
	text-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
	margin-top: 40px;
	margin-bottom: 20px;
	
  }
h3 {
	font-size: 4rem;
	color: rgb(254, 254, 254);
	text-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
	margin-top: 40px;
	margin-bottom: 20px;
	
  }
  h4 {
	font-size: 2rem;
	color: rgb(0, 0, 0);
	text-shadow: 0 10px 20px rgba(124, 90, 90, 0.8);
	margin-top:10px;
	margin-bottom: 20px;
  }
  figcaption{
	text-align: center;
	font-size: 20px;
	color: #fff;
}
  /*icones*/
  .fa-laptop {
    color: #828282; 
}

.fa-camera {
    color:  #828282; 
}

.fa-photo-film {
    color:  #828282; 
}



.fa-laptop,
.fa-camera,
.fa-photo-film {
    transition: transform 0.3s ease; /* Transition pour une animation douce */
}

.fa-laptop:hover {
    color: #ff0000; 
    transform: rotate(360deg); /* Rotation de 360 degrés au survol */
}

.fa-camera:hover {
    color:  #ff0000; 
    transform: rotate(360deg); /* Rotation de 360 degrés au survol */
}

.fa-photo-film:hover {
    color: #ff0000;
    transform: rotate(360deg); /* Rotation de 360 degrés au survol */
}

/* CSSmenu */
/* Header nav */
header nav {
	top: 0;
	position: fixed;
	width: 100%;
	background-color: rgb(136, 134, 134);
	height: auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0 20px;
  }
  
  header nav ul {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 0;
  }
  
  header nav ul li {
	font-size: 1.5rem;
	padding: 1%;
	margin: 0 10px;
  }
  
  

  header nav ul li a {
	display: block;
	color: white;
	text-align: center;
	padding: 14px 20px;
	text-decoration: none;
	white-space: nowrap;
}

header nav  ul li a:hover {
	background-color: #ffffff;
	color: #f00; /* Optional: change text color on hover */
	transform: translateY(-10px);
	transition: transform 0.3s ease-in-out;
}
/* main */

  main section#page1 {
	display: flex;
	text-align: center;
	background-image: url("../images/02.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: 100vh;
	align-items: center;
	justify-content: center;
	margin-bottom: 80px;
  }
  main section#page1 article {
    padding-top: 20%;
	width: 100%;
	height: 100%;
  }
 
  /* CSSbouton */
  .bouton1 a {
	background-color: rgb(226, 43, 43);
	color: rgb(12, 12, 12);
	padding: 1%;
	text-decoration: none;
	transition: transform 0.6s ease-in-out;
	display: inline-block;
	border-radius: 5px;
	border: 6px solid black;
  }
  
  .bouton1 a:hover {
	transform: translateY(-10px);
  }
  
 /* Gallerie */

  
  ul#gallerie li img {
	height: auto;
	width: 100%;
	margin-top:  20px;
	
  }
 

/* CSSfooter */

footer {
	background-color: rgb(174, 174, 174);
	text-align: center;
	color: white;
	padding: 20px 0;
	margin-top: 30px;
	max-width: 100%;
	font-size:20px;

  }
  
.social-logo {
	display: inline-block;
	padding: 5px;
  
  }
  
  .social-logo i {
	font-size: 20px;
	color:  rgb(249, 5, 5);;
  }

 /* Grid layout /container */
#Container2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes de largeur égale */
    gap: 20px; /* Espacement entre les colonnes (ajustable selon vos besoins) */
}

#content,
#Nosservices {
    width: 100%; /* Assure que les sections occupent toute la largeur de leur colonne */
}

#content {
    /* Optionnel: styles pour le contenu de la première colonne */
    padding: 20px;
    background-color: #f70303;
}

#Nosservices {
    /* Optionnel: styles pour le contenu de la deuxième colonne */
    padding: 20px;
    background-color: #961818;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espacement entre les articles des services */
}

.services-container article {
    /* Optionnel: styles pour chaque article des services */
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.services-container article i {
    /* Optionnel: styles pour les icônes (Font Awesome ou autre) */
    font-size: 24px;
    margin-bottom: 10px;
}

#Container2 {
	grid-template-columns: 1fr 1fr; /* Garder les colonnes égales */
}

#content {
	order: 2; /* Mettre le contenu à droite */
}

#Nosservices {
	order: 1; /* Mettre Nos services à gauche */
}

#Nosservices {
    display: flex;
    flex-direction: column;
}

.services-container {
    display: flex;
    flex: 1; /* Permet à .services-container de s'étendre pour remplir #Nosservices */
}

.service1, .service2, .service3 {
    flex: 1; /* Les articles s'étendront pour remplir .services-container */
    padding: 20px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
	display: flex; /* Utilisation de flexbox */
    flex-direction: column; /* Les enfants seront alignés en colonne */
    justify-content: center; /* Centre le contenu verticalement */
    text-align: center; /* Centre le texte horizontalement */
}





