@charset "UTF-8";
/* CSS Document */

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  text-decoration: none;
  list-style: none;
  background-color: #000000;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

a,
a:visited {
    color: inherit;
}


main {
    margin-bottom: 3px;
    padding: 0 0 6px 0;
    background-color: #000;
        }
/* titre */
h1 {
  color: #FFFFFF;
  text-transform: none;
  letter-spacing: 0.13em;
  font-size: 24px;
  font-weight: 100;
}

/* Nav Light blanche et rouge */
h2 {
    color: #FFFFFF;
    font-size: 24px;
    letter-spacing: 0.05em;
    font-weight: 100;
    text-transform: uppercase;
}
h10 {
    color: #B70003;
    font-size: 24px;
    letter-spacing: 0.05em;
    font-weight: 100;
    text-transform: uppercase;
}

/* Nav Bold blanche et rouge*/
h3 {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}
h8 {
    color: #B70003;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

/* Texte Footer*/
h5 {
  color: #FFF;
  text-transform: none;
  font-size: 8px;
  font-weight: 200;
  letter-spacing: 0.05em;
}

/* Texte générale présentation qui s'efface*/
h4{
	color:#000;
	font-size: 20px;
	font-weight: 600;
}


h6 {
    color: #B70003;
    text-transform: none;
    font-size: 24px;
    font-weight: 900;
}
h7 {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
}
h9 {
    color: #B70003;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}


/* texte de description de projets */
h11 {
    color: #7D7D7D;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

h12 {
    color: #B70003;
    text-transform: none;
    font-size: 22px;
    font-weight: 200;
}

h13 {
    color: #FFF;
    text-transform: none;
	font-size: 22px;
    letter-spacing: 0.05em;
    font-weight: 200;
}

.header {
  position: relative;
  z-index: 100;
  background-color: #000000; /* Fond noir */
  /* border-bottom: 1px solid #FFFFFF;  Bord blanc en bas du header */
}


/*-------------------- menu principale ---------------------*/


.menus{
	padding-left: 0px;
}



.column {
    background-color: #000;
    padding: 7px; /*marge box images */
    box-sizing: border-box;
    text-align: left;
	grid-column: span 5;
	border-bottom: 3px solid #FFF; /* Bordure blanche en bas */
}

/* ------------------ positionnement logo et titre ---------------*/
.logo-site img{
	width: 106px;
	margin-left: 10px;
}

.titre {
	margin :-17px 0 -15px 10px;
}



/*---------- position menu hamburger --------------*/

.header .menu-hamburger{
	display: none;
	position: absolute;
	top: 38px;
	right: 10px;
	width: 22px;
}

/*---------- Menus --------------*/

.nav-links{
border-top: 3px solid #FFF; /* Bordure blanche en haut */
border-bottom: 3px solid #FFF; /* Bordure blanche en bas */
}

.nav-links ul{
	margin: 5px;
}

.nav-links ul li {
    text-transform: uppercase;
    display: inline;
    word-spacing: 10px;  
    list-style: none;
}

.nav-links ul li a {
    text-decoration: none;
    outline: none;
    display: inline;
    text-align: left;
	
}

.nav-links ul li a h3{
    text-decoration: none;
    display: inline;
    text-align: left;
    padding: 0 0.7em 0 0;

}

.nav-links ul li a h3:hover {
    outline: none;
    color:#B70003;
    display: inline;

}

.nav-links ul li a h2 {
    display: inline;
    text-align: left;
    padding: 0 0.7em 0 0;
}

.nav-links ul li a h2:hover {
    outline: none;
    color:#B70003;
    display: inline;
}

.footer-logo img {
	display: inline-flex;
	width: 22px;
}
.footer-text{
	margin-top: -10px;
}



/*------------------- position du container1 ------------------*/
.container1 {
  display: flex;
  flex-wrap: wrap;
}

.container1 div {
  flex: 20%;
  padding: 4px;
  box-sizing: border-box;
	transition: background-color 0.3s ease;
}

.container1 div img {
  width: 100%;
  height: auto;
}


/* ------------------ survolle images container1-------------------*/


.container1 .image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.container1 .image-container img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease; /* Transition pour la transparence */
}

.container1 .image-container .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* Centre le texte horizontalement */
transform: rotate(-25deg); /* Penche le texte de 25 degrés */
}


/* ------------------ Survolle images-------------------*/

.image-container {
        position: relative;
        overflow: hidden;
    }

    .hover-image {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .image-container:hover .hover-image {
        opacity: 1;
    }

/*--------- Sous Nav ---------------*/
.sousnav {
    padding: 0.5em 0.9em 0.5em 0.5em;
}

.sousnav ul li {
    text-transform: uppercase;
    display: inline;
    list-style: none;
}

.sousnav ul li H5{
    text-decoration: none;
	color: #B70003;
	text-align: left;
	display: inline;
	padding: 3px;
}

.sousnav ul li a{
    text-decoration: none;
	color: #FFFFFF;
	text-align: left;
	display: inline;
	padding: 3px;
}

.sousnav ul li h6{
    text-decoration: none;
    display: inline;
    white-space:pre;
	padding: 3px;
}

.sousnav ul li h5 a{
    list-style: none;
	text-align: left;
	display: inline;
	padding: 3px;
}
.sousnav ul li a:hover {
    text-decoration: none;
	color: #B70003;
	text-align: left;
	display: inline;
	padding: 3px;
}



/* ------------------  CSS pour la fenêtre et le texte/sous-nav-------------------*/

.window {
  display: none; /* Par défaut, la fenêtre est cachée */
  position: absolute;
  top: 95px; /* Décalage vers le bas */
  left: 0;
  padding: 0 5px 0 5px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 50;
  cursor: pointer;
  overflow-y: auto; /* Ajoutez une barre de défilement si le contenu dépasse */
  box-sizing: border-box; /* Ajoutez cette propriété */
  transition: transform 0.5s, opacity 0.5s;
}

/* Classe pour cacher la fenêtre */
.hidden {
  display: none;
}

.window img {
  width: 150px; /* Ajustez la largeur selon vos besoins */
  height: auto; /* Laissez la hauteur ajuster automatiquement */
margin-top: 32px; /* Marge inférieure pour l'image */
margin-right:10px;
margin-left:-1px;
}

.window-content {
  text-align: left;
  margin-top: 20px;
}

.window-button {
  display: block;
  margin: 20px auto 0; /* Centrez le bouton horizontalement et ajoutez de l'espace autour */
  background-color: blue; /* Couleur d'arrière-plan bleue pour le bouton */
  border: none;
  padding: 10px 20px; /* Ajoutez de l'espace interne au bouton */
  color: white; /* Couleur du texte du bouton */
  cursor: pointer;
}
.content p {
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1.5;
  text-align: justify;
  margin: 0;
max-width: 100%; /* Ajoutez cette propriété */
}

.slide-up {
  transform: translateY(-100%);
  opacity: 0; /* Ajoutez également une opacité à 0 pour cacher l'élément progressivement */
}

.overlay p {
  display: block; /* Afficher le texte par défaut */
}

/* Classe pour masquer le texte et la fenêtre en le rendant transparent */
.hidden {
  display: none;
}







/*------------------------*/

.liens {
 text-decoration: none;
}

.texteintro {
    padding: 1em;
}

/*------------------------*/

.col{
    width: 100%;
	padding: 0 1em 1em 1em;
	}

.col2{
    width: 100%;
	padding: 0 1em 1em 1em;
	}

.col3{
    width: 100%;
	padding: 0 1em 1em 1em;
	}

.colPoster{
	float: left;
	padding: 0 1em 1em 1em;
}
.pictos{
	width: 70%;
}
.prese{
	float: left;
	width: 100%;
	padding: 1em;
}
/*------------------------*/



.lignes:before, .lignes:after {
    content: "";
    display: table;
}

.lignes:after{
    clear:both;
}


/* Media queries pour adapter le nombre de colonnes selon la taille de l'écran */

/* Pour les écrans de taille inférieure ou égale à 768px (par exemple, smartphones en mode portrait) */
@media screen and (max-width: 768px) {

.container1 div {
    flex: 50%;
  }
.window {
    display: flex;
    flex-direction: column; /* Inverse l'ordre des éléments pour l'image au-dessus */
    text-align: left;
	top:100px;
  }

  .window img {
    width: 150px; /* Ajustez la largeur selon vos besoins */
    height:auto;
	margin-top: 5px; /* Marge inférieure pour l'image */
align-self:flex-start;
	}

  .window p {
    max-width: 100%; /* Assurez-vous que le texte ne dépasse pas */
	margin-top: -26px;
  }
	

}


/* Pour les écrans de taille inférieure ou égale à 865px (par exemple, smartphones en mode portrait) */

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

  .header {
   width:100%;
  }
	
	
.window {
    display: flex;
    flex-direction: row wrap; /* Inverse l'ordre des éléments pour l'image au-dessus */
    text-align: left;
	top:62px;
  }
  .window img {
    width: 150px; /* Ajustez la largeur selon vos besoins */
    height: auto;
	margin-top: 32px; /* Marge inférieure pour l'image */
align-self:flex-start;
	}

  .window p {
    max-width: 100%; /* Assurez-vous que le texte ne dépasse pas */
	  	margin-top: -30px;
  }
	
	
	.logo-site,
	.logo-site h1 {
    position: relative;
  }


  .header .menu-hamburger {
    display: block;
  }
	
	
  .nav-links {
    left: 0;
    position: absolute;
    background-color: #000000;
    width: 100%;
    height: auto; /* Ajustez la hauteur en conséquence */
    margin-top: -200%;
    padding: 0px;
    transition: all 0.7s ease;
  }

  .nav-links.mobile-menu {
    margin-top: -3.1px;
    display: block; 
	/* Ajoutez ceci pour que le menu soit visible */
  }

  .nav-links .mobile-menu {
    margin-top: 0;
  }

  .nav-links ul {
    display: block; /* Utilisez block pour afficher les éléments en colonne */
  }

  .nav-links ul li {
    display: block; /* Afficher chaque élément sur une nouvelle ligne */
    list-style: none;
    margin: 2px 0 0 0;
  }
}







/* Pour les écrans de taille supérieure à 768px mais inférieure ou égale à 1024px (par exemple, tablettes en mode portrait) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container1 div {
    flex: 33.33%;
  }
}

/* Pour les écrans de taille supérieure à 1024px mais inférieure ou égale à 1200px (par exemple, tablettes en mode paysage) */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .container1 div {
    flex: 25%;
  }
}

/* Pour les écrans de taille supérieure à 1200px (par exemple, écrans d'ordinateur de bureau) */
@media screen and (min-width: 1201px) {
  .container1 div {
    flex: 20%;
  }
}
