@font-face {
  font-family: 'Instrument Serif';
  src: url('font/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* Reset basique */
* {
	margin: 0;
	padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  height: 100vh;
  overflow: hidden; /* Empêche le scroll global */
}

.acceuil {
	display:flex;
	z-index: 2;
	width:100vw;
	backdrop-filter: blur(5px);

}

.item {
	cursor: pointer;
	flex:1 1 10%;
	margin: 1vh;
}

.item1 {
	cursor: pointer;
	flex:1 1 -5%; 
	margin: 1vh;	
}

.item2 {
	cursor: pointer;
	flex:1 1 10%;
	margin: 1vh;
	margin-left: auto;
	text-align: right;
}

.vide { 
	flex:1 1 20%; 
	position:relative;
}

.container {
  display: flex;
  height: 100vh;
}

/* Sidebar gauche qui bouge po */
.sidebar {
  width: 25%;
  margin:100px 40px 40px 40px;
  overflow: hidden;
  position: sticky;
  top: 0;
  align-self: flex-start;
}

.retour {
	margin-bottom:30px;
}

.retour :hover {
    color: #FFC0CB;
    transition: color 0.2s ease;
}

a {
	text-decoration: none;
	color: black;
}

.sidebar h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: normal;
  font-family: 'Instrument Serif', serif;
}

.sidebar h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: normal;
  font-family: 'Instrument Serif', serif;

}

.sidebar p {
  font-size: 1rem;
  line-height: 1.5;
}



.gallery {
  width: 75%;
  height: 100vh;
  overflow-y: scroll;
  padding: 100px 40px 100px 5px; 
  display: flex;
  flex-direction: column;
  gap: 50px;
  box-sizing: border-box;
}
.single-image img {
  width: 100%;
  display: block;
  max-height: 90vh; /* évite les images trop grandes */
}

.double-image {
  display: flex;
  gap: 20px;
}

.double-image img {
  width: calc(50% - 10px);
}

.partipris {
	padding-left: 40%;
	font-size: 18px;
}


/* Text sections qui bouge */
.text-section {
  text-align: left;
}

.text-section h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.text-section p {
  font-size: 1rem;
  max-width: 100%;
}

.grid-gallery img {
  width: 100%;
  object-fit: cover;
}
