/*
=====================================
ORDRE DES LAYERS
=====================================
*/
@layer reset, base, components, utilities;


/*
=====================================
RESET
=====================================
*/
@layer reset {
:where(*, *::after, *::before) {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:where(button, input, textarea, select) {
font: inherit;
}
:where(img) {
display: block;
max-width: 100%;
}
/* Prevent font size inflation */
html {
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
list-style: none;
}

body img {
max-width: 100%;
height: auto;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration-skip-ink: auto;
color: currentColor;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
font-family: inherit;
font-size: inherit;
}


/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
min-height: 10em
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
scroll-margin-block: 5ex;
}
}


/*
=====================================
BASE
=====================================
*/
@layer base {

html{
scroll-behavior: smooth;
}

body {
min-height: 100vh;
font-family:Georgia, 'Times New Roman', Times, serif;
background-color: #fbfbf2ff;
color: #000033;
line-height: 1.5;
}


.lien__ancre,
.lien__ext {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: #000033;
}

.lien__ancre {
  background-color: #e9e2b5;
}

.lien__ext {
  background-color: #b7cbd9;
}

.lien__ancre:hover,
.lien__ext:hover {
  background-color: rgb(238, 240, 202);
}

.lien__stabylo{
  background-color: rgb(86, 156, 236);
  display: inline-block;
  margin-bottom: var(--space-3);
}

.lien__stabylo:hover{
  background-color: rgb(238, 240, 202);
  display: inline-block;
}

.center{
  text-align: center;
}

/*SURLIGNEMENT INTERNE DE CHAPEAU DE TEXTE*/
.bgc-txt{
  background-color: rgb(183, 232, 183);
  padding: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-1rem25);
}

/*SURLIGNEMENT LISTE INTERNE DE TEXTE */
.bgc-txt ul{
  font-size: var(--font-size-1rem);
  margin-top: var(--space-3);
  margin-left: var(--space-3);
}

/*TITRE INTERNE DE TEXTE*/
.titre__interne{
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  font-size: var(--font-size-1rem25);
  font-weight: 600;
  background-color:var(--color-floral-white);
}

}

/*
=====================================
COMPONENTS COMMUNS
=====================================
*/
@layer components {

  /** HEADER */
  .header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000033;
    padding: var(--space-9);
    margin-bottom: var(--space-4);
  }

  .header__title {
    color: #ffd700;
    font-size: var(--font-size-4rem);
    font-family: "Angkor", serif;
    font-weight: 400;
    font-style: normal;
    padding-bottom: var(--space-4);
  }

  .header__subtitle {
    color: #fbfbf2ff;
    font-size: var(--font-size-2rema);
    font-family: "Angkor", serif;
    font-weight: 400;
    font-style: normal;
  }
  
/* NAVIGATION DE RETOUR */
.nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-8);
}

.nav__lien {
  background-color: brown;
  border: solid 1px #000033;
  padding: 0.5rem;
  border-radius: 5px;
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
  color: #ffffff;
  width: auto;
  height: auto;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 0.6rem 0.3rem -0.3rem #3d3a3a;
  display: block;
  text-decoration: none;
}

.nav__lien:hover {
  background-color: #ffd700;
  color: #000033;
}

/* FOOTER */
.footer {
  background-color: #000033;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-8);
}

.footer__copyright {
  color: #fbfbf2ff;
  font-size: var(--font-size-1rem5a);
  text-align: center;
  margin-bottom: var(--space-4);
}

.footer__copyright a {
  color: inherit;
  text-decoration: none;
}

.footer__copyright a:hover {
  color: #ffd700;
  text-decoration: underline;
}

.footer__controle ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}



  

}

:root {

/*PALETTE 1*/
--color-floral-white: #fbfbf2ff;
--color-alabaster-grey: #e5e6e4ff;
--color-dust-grey: #cfd2cdff;
--color-silver: #a6a2a2ff;
--color-rosy-granite: #847577ff;

/*--------TAILLES TITRES ET TEXTES CHAT GPT-----------*/
--font-size-4rem: clamp(1.25rem, calc(0.5rem + 4vw), 4rem);
--font-size-3rema: clamp(1.25rem, calc(0.7727rem + 2.5455vw), 3rem);
--font-size-3remb: clamp(1rem, calc(0.4545rem + 2.9091vw), 3rem);
--font-size-2rem5: clamp(1rem, calc(0.5909rem + 2.1818vw), 2.5rem);
--font-size-2rema: clamp(1rem, calc(0.7273rem + 1.4545vw), 2rem);
--font-size-2remb: clamp(0.8rem, calc(0.4727rem + 1.7455vw), 2rem);
--font-size-1rem5a: clamp(1rem, calc(0.8636rem + 0.7273vw), 1.5rem);
--font-size-1rem5b: clamp(0.75rem, calc(0.5455rem + 1.0909vw), 1.5rem);
--font-size-1rem25: clamp(0.75rem, calc(0.6136rem + 0.7273vw), 1.25rem);
--font-size-1rem: clamp(0.75rem, calc(0.6818rem + 0.3636vw), 1rem);


  /*--------MARGES DIVERSES-----------*/
--space-1:  clamp(0.3125rem, calc(0.2486rem + 0.2727vw), 0.5rem);       /* 8px */
--space-2:  clamp(0.3125rem, calc(0.2060rem + 0.4545vw), 0.625rem);     /* 10px */
--space-3:  clamp(0.3125rem, calc(0.0994rem + 0.9091vw), 0.9375rem);    /* 15px */
--space-4:  clamp(0.3125rem, calc(0.0355rem + 1.1818vw), 1.125rem);     /* 18px */
--space-5:  clamp(0.3125rem, calc(-0.0071rem + 1.3636vw), 1.25rem);     /* 20px */
--space-6:  clamp(0.3125rem, calc(-0.0923rem + 1.7273vw), 1.5rem);      /* 24px */
--space-7:  clamp(0.3125rem, calc(-0.1776rem + 2.0909vw), 1.75rem);     /* 28px */
--space-8:  clamp(0.3125rem, calc(-0.2628rem + 2.4545vw), 2rem);        /* 32px */
--space-9:  clamp(0.3125rem, calc(-0.3480rem + 2.8182vw), 2.25rem);     /* 36px */
--space-10: clamp(0.3125rem, calc(-0.4332rem + 3.1818vw), 2.5rem);      /* 40px */
--space-11: clamp(0.3125rem, calc(-0.5398rem + 3.6364vw), 2.8125rem);   /* 45px */
--space-12: clamp(0.3125rem, calc(-0.6463rem + 4.0909vw), 3.125rem);    /* 50px */
--space-13: clamp(0.3125rem, calc(-0.7528rem + 4.5455vw), 3.4375rem);   /* 55px */
--space-14: clamp(0.3125rem, calc(-0.8594rem + 5vw), 3.75rem);          /* 60px */
--space-15: clamp(0.3125rem, calc(-1.0724rem + 5.9091vw), 4.375rem);    /* 70px */
--space-16: clamp(0.3125rem, calc(-1.2855rem + 6.8182vw), 5rem);        /* 80px */
--space-17: clamp(0.3125rem, calc(-1.7116rem + 8.6364vw), 6.25rem);     /* 100px */

--line-height-all: 1.3;

  }

  /*
=====================================
COMPONENTS
=====================================
*/
@layer components {




  
}