
:root {
	--accent-font-color: #AF5767;
	--font-title: 
}


body {
	/*font-family: Georgia, serif;*/
	font-family: Verdana;
	margin: 0;
}


header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
  background-color: /*#D699B6*//*#D9BaC9*/ /*#D588AC*/;
}

header h1 {
	flex-grow: 2;
	font-size: 2.5rem;
	color: var(--accent-font-color);
}

.akaya-kanadaka-regular {
  font-family: "Akaya Kanadaka", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
}

nav {
	flex-grow: 3;
	align-content: center;
}
	
nav ul {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	list-style: none;
	text-decoration: none;
	line-height: 170%;
}
nav a {
	text-decoration: none;
	margin: 1.3rem;
	font-weight: 600;
	color: var(--accent-font-color);
}
nav a:visited {
	color: var(--accent-font-color);
}


main {
	
	/*background-color: #dff;	*/
}


#mainblock {
	/*background-color: #edf;   */
	margin: 3rem 18vw 0 18vw;
	/*
	margin-top: 3rem;
	margin-bottom: 0;
	 width: clamp(16rem, 90vw, 70rem);
	margin-left: 18vw;
	margin-right: 18vw;*/
}

#mainblock section {
	/*background-color: #ffd;   */
	margin-bottom: 2.5rem;
}
#mainblock section h2 {
	color: var(--accent-font-color);
}

/*
#description {
	list-style-type: "\1F44D";
}*/

section ul {
	line-height: 175%;
}
section li {
	padding-left: 0.5rem;
}

.emphase {
	color: var(--accent-font-color);
	font-weight: 600;
	font-style: normal;
}

/* ******************************************************* */
/* The hero image */
/* Copié sur https://www.w3schools.com/howto/howto_css_hero_image.asp */
/* ******************************************************* */

.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image. This will make the text easier to read */
	/*background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url("signal2024-10-26.jpeg");*/
	background-image: url("signal2024-10-26.jpeg");

  /* Set a specific height */
	height: 75vh;

  /* Position and center the image to scale nicely on all screens */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

/* Place text in the middle of the image */
/*
.hero-text {
	font-family: 'Brush Script MT', cursive;
	font-size: 4rem;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
}*/

/* ******************************************************* */
/* Piqué sur https://smolcss.dev/#smol-aspect-ratio-gallery */
/* ******************************************************* */

.smol-aspect-ratio-gallery {
  --min: 10ch;
  --gap: 1rem;

  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  list-style-type: none;
}

.smol-aspect-ratio-gallery > * {
  flex: 1 1 var(--min);
}


.smol-aspect-ratio-gallery {
  --min: 15rem;
  --aspect-ratio: 4/3;
  --gap: 0;
}

.smol-aspect-ratio-gallery li {
  height: max(25vh, 15rem);
}

@supports (aspect-ratio: 1) {
  .smol-aspect-ratio-gallery li {
    aspect-ratio: var(--aspect-ratio);
    height: auto;
  }
}

.smol-aspect-ratio-gallery img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* ******************************************************* */
/* Piqué exemple galerie https://moderncss.dev/responsive-image-gallery-with-animated-captions/ */
/* ******************************************************* */

#photosroul{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20ch, 1fr));
  gap: 1rem;
}

#photosroul img {
  display: block;
  width: 100%;
}

#photosroul figure {
  --gallery-height: 15rem;

  /* reset figure default margin */
  margin: 0;
  height: var(--gallery-height);
  background-color: hsl(200, 85%, 2%);
}

#photosroul img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: var(--gallery-height);
}

/* Add aspect-ratio custom property */
#photosroul figure {
  --gallery-aspect-ratio: 4/3;
}

@supports (aspect-ratio: 1) {
  #photosroul figure,
  #photosroul img {
    aspect-ratio: var(--gallery-aspect-ratio);
    /* Remove height to prevent distorting aspect-ratio */
    height: auto;
  }
}

#photosroul figure {
  /* ...existing styles */

  display: grid;
  grid-template-areas: "card";
  place-items: end;
  border-radius: 0.5rem;
  overflow: hidden;
}

#photosroul figure > * {
  grid-area: card;
}

#photosroul figcaption {
  transform: translateY(100%);
}

#photosroul figcaption {
  transform: translateY(100%);
  transition: transform 800ms ease-in;

  /* Visual styles for the caption */
  padding: 0.25em 0.5em;
  border-radius: 4px 0 0 0;
  background-color: hsl(0 0% 100% / 87%);
}

#photosroul figure:hover figcaption {
  transform: translateY(0);
}



#zone-region1, #zone-region2 {
	display: flex;

}
.test {
	max-width: 50%;
}
/*
#region img{
	padding: 1rem;
}*/

