@import url('https://fonts.googleapis.com/css2?family=Song+Myung&display=swap');
@font-face {
  font-family: 'Chapaza';
  src: url('./fonts/Chapaza.ttf') format('truetype');
}


:root {
  /* Palette de couleurs */
  --clr-principale: #26301D;
  --clr-secondaire: #485133;
  --clr-sombre: #0D150E;
  --clr-claire: #f3f2e2;
  --clr-claire-secondaire: #e9e8d7;
  --clr-accent: #BBA490;
}

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
  padding: 0;
  margin: 0;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* Base */

body {
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

h1, h2, h3, h4, h5{
  font-family: 'Chapaza';
  font-weight: 300;
  font-style: normal;
  letter-spacing: 2px;
}

p{
  font-family: 'Chapaza', sans-serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 2px;
}

.container {
  display: block;
  margin: 0 auto;
}

.fluid {
  display: block;
  width: 100%;
  height: auto;
}

.v-aligne {
  display: flex;
  align-items: center;
}

/* Couleur de backgrounds */

.fond-principale {
  background-color: var(--clr-principale);
}

.fond-accent {
  background-color: var(--clr-accent);
}

.fond-claire {
  background-color: var(--clr-claire);
}

.fond-sombre {
  background-color: var(--clr-sombre);
}

/* Couleurs textes */

.texte-princicpal {
  color: var(--clr-principale);
}

.texte-accent {
  color: var(--clr-accent);
}

.texte-claire {
  color: var(--clr-claire);
}

.texte-sombre {
  color: var(--clr-sombre);
}

/* Grille */

.flex {
  display: flex;
  gap: 2em;
}

.une-col {
  flex-basis: 8%;
}

.deux-col {
  flex-basis: 16%;
}

.trois-col {
  flex-basis: 24%;
}

.quatre-col {
  flex-basis: 33%;
}

.cinq-col {
  flex-basis: 40%;
}

.six-col {
  flex-basis: 49%;
}

.huit-col {
  flex-basis: 65%;
}

.douze-col {
  flex-basis: 100%;
}

/* Responsive */

/* Tablette */

@media screen and (max-width: 1024px) {
  .flex {
    justify-content: space-between;
    gap: 0;
  }

  .huit-col {
    flex-basis: 48%;
  }

  .six-col {
    flex-basis: 100%;
  }

  .quatre-col {
    flex-basis: 48%;
  }

  .trois-col {
    flex-basis: 48%;
  }
}

/* Mobile */

@media screen and (max-width: 768px) {
  .flex {
    display: block;
  }

  .container {
    width: 95%;
  }
}
