/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

@font-face {
font-family: "SuisseIntl-Regular";
src: url("fonts/SuisseIntl-Regular.otf") format("opentype");
}

@font-face {
font-family: "SuisseIntl-Light";
src: url("fonts/SuisseIntl-Light.otf") format("opentype");
}

@font-face {
font-family: "EBGaramond-Italic";
src: url("fonts/EBGaramond-Italic.ttf") format("truetype");
}


a{
	color: white;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}




body{
	font-family: sans-serif;
	background-color: #000000;
	display: flex;
	flex-direction: column;
	align-items: center;
}


#conteneur{
	border: 0px solid yellow;
	display: flex;
	flex-direction: column;

	font-family: "SuisseIntl-Regular";

	width: 97%;
	margin: auto;
	margin-top: 0%;
	height: 95vh;
}

header{
	position: relative;      /* permet de positionner le texte à l’intérieur */
  width: 100%;
  height: 100vh;          /* la vidéo prend 100% de la hauteur fenêtre */
  overflow: hidden;       /* coupe ce qui dépasse */
}

header video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 100%;
    height: 100%;
    object-fit: cover; /* remplace ton width:100% height:auto */
}



.header-title {
    position: absolute;
    bottom: 3%;          /* 1% du conteneur en bas */
    left: 50%;           /* centre horizontal */
    transform: translateX(-50%);  /* centre horizontal exact */
    width: 97%;          /* largeur du SVG */
    text-align: center;
    pointer-events: none;
}

.title-svg {
    width: 100%;
    height: auto
    fill: white;
    filter: invert(1);    /* inverse les couleurs par rapport à ce qui est dessous */
}





nav{
	border: 0px solid blue;
	display: flex;
	justify-content: space-between;
	color: white;
	font-family: "SuisseIntl-Light";
	align-items: center;

	position: fixed;      /* fixe la nav */
	width: 97%;      
	z-index: 1000;        /* passe au-dessus du contenu */
	margin-top: 1.5%;
	font-size: 1.1rem;
}






/************************* GALLERIE ****************************/

#gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 5%;
}

/* Chaque image prend 50% de la ligne */
.thumb {
  position: relative;
  flex: 1 1 calc(50% - 10px); /* 2 par ligne */
  overflow: hidden;
}

.thumb img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease; /* léger zoom au hover */
}

.thumb .overlay {
  position: absolute;
  bottom: 0;               /* bas de l'image */
  left: 0;                 /* à gauche */
  width: 100%;
  height: 100%;            
  /* Dégradé noir → transparent */
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: white;
  display: flex;
  flex-direction: column; /* h4 au-dessus de h3 */
  align-items: flex-start;         /* aligné à gauche */
  justify-content: flex-end;       /* coller le texte en bas */
  padding: 25px 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
  box-sizing: border-box;
  text-align: left;
}


/* Hover : overlay visible et image légèrement zoomée */
.thumb:hover .overlay {
  opacity: 1;
}

.thumb:hover img {
  transform: scale(1.0);
}

h1{
	font-family: "SuisseIntl-Regular";
}

h3{
	font-size: 1.6rem;
}

h4{
	font-size: 1rem;
	font-family: "SuisseIntl-Light";
	padding-top: 3px;
}


/************************* FIN GALLERIE ****************************/




footer{
	display: flex;
	flex-direction: column; /* empile verticalement */
	align-items: center;
	border: 0px solid white;
	color: white;
	width: 100%;

	padding-top: 10%;
	padding-bottom: 10%;
}

#mail{
	font-family: "SuisseIntl-Light";
	font-size: 1.6rem;
	border: 0px solid red;
	padding: 1%;
}

#social{
	width: 20%;
	font-size: 0.8rem;
	display: inline-flex;
	justify-content: space-between;
	border: 0px solid red;
	padding: 0.3%;

}

h6{
	color: #B3B3B3;
	font-size: 0.7rem;
	padding-bottom: 3%;
	margin: auto;
}









@media only screen and (max-width: 600px) {

  header {
    height: 100vh;
  }

  header video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
  }

  .header-title {
    bottom: 2vh;     /* espace responsive */
    width: 100vw;    /* plein écran */
  }

  .title-svg {
    width: 95%;
    height: auto;
  }


  #gallery {
    gap: 16px;
    padding-top: 10%;
  }

  .thumb {
    flex: 1 1 100%;
  }

  .thumb .overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  }

  .thumb .overlay h3 {
  font-size: 1.35rem;
}

.thumb .overlay h4 {
  font-size: 0.9rem;
}

  .thumb:hover img {
    transform: none;
  }

  #mail {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    text-align: center;
    padding: 5% 0;
  }

  #social {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 5%;
  }

  #psocial {
    font-size: 0.9rem;
  }


  nav{
  	padding-top: 3%;
		width: 90%;      
	}











}
