/* @font-face {
    font-family: 'font--text';
    src:
      url("https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap") format("woff"),
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
  }

  @font-face {
    font-family: 'font--titre';
    src:
      url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap") format("woff"),
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
  }https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap "Bodoni Moda", serif; .abril-fatface-regular
   {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap
}
  
https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet
https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet*/
/* @import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap'); */

@font-face {
  font-family: 'garamond';
  src: url('static/fonts/ITCGaramondStd-LightNarrow.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: 'century';
  src: url('static/fonts/CenturyExpandedLTStd.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* Variables globales */
:root {
    --color1: white;
    --hover-color: #2600ff;
    --color3: yellow;
    --bg-color: #f5f5f5; 
    --font--sans: 'helvetica', serif;
    --font--serif: 'century', serif;
    --font--serif2: 'garamondnarrow', serif;
    --margin: 1rem;
    --big-font:2em;
    --small-font:1em;
	/* --font--serif: "Playfair Display", serif;; */

} 


/* Styles généraux */
html, body {
	font-size: 1.2em;
	font-weight:400;
    margin: 0;
    padding: 0;
    font-family: var(--font--sans);
    color: var(--color1);
    background-color: var(--hover-color);
    box-sizing: border-box;

    height: 100vh;
    margin: 0; 
	overflow-x: hidden; 
  margin-top: 0 !important;
    }


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--color1);
	font-size:0.8em;
}
p{ 
  margin:0;
}
a {
  display: inline-block;
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color2);
  transition: transform 0.25s ease-out;
}

a:hover::after {
  transform: scaleX(1);
}

a::after {
  transform-origin: bottom right;
}

a:hover::after {
  transform-origin: bottom left;
}


h1 {
    font-size: 2em;
  font-family: var(--font--sans);
  margin-bottom: 0.5em;
  text-transform: uppercase;
  margin-top: 1em;

}

h2 {
    font-size: 1em;
	font-family: var(--font--sans);
		margin-bottom: 0.5em;


}
h3 {
	font-family: var(--font--sans);
	font-weight: normal;

}


footer {
	background-color: bisque;
}
a {
  color: var(--color1);
  text-decoration: underline;
  transition: color 0.4s ease-in-out, transform 0.3s ease;
    text-shadow: 0 0 2px white, 0 0 4px white;

  
}

a:hover {
  text-shadow: 0 0 5px white, 0 0 10px white;
}


a {
  position: relative;
   text-align: center;
  text-decoration: none;
  display: inline-block;
 
  transition: color 0.3s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

a:hover {
 
  filter: url(#distortion);
}
a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
