* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Fraunces_Bold";
  src: url("../fonts/Fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght-55c9dbb4b4adc5d1f1d5bd1ca0f459cb.ttf") format("opentype");
}
/* src: url("../fonts/Fraunces/Fraunces_144pt-Bold-256b1075f829a90f3e611fe4068960c2.ttf") format("opentype"); */

@font-face {
  font-family: "Actor-Regular.ttf";
  src: url("../fonts/Actor-Regular-db4f24e9d90f9bb5a189e4d7f877bf45.ttf") format("opentype");
}

@font-face {
  font-family: "MonteCarlo-Regular.ttf";
  src: url("../fonts/MonteCarlo-Regular-d2cdad10d06d6192789ca0d858b1e017.ttf") format("opentype");
}

:root {
  --primary-color: #ad7560;
  --secondary-color: #ca6843;
  --background-color: #857067;
  --text-color: #fdf0d5;
  --link-color: #212227;

  --font-h1: "Actor-Regular.ttf";
  --font-h: "MonteCarlo-Regular.ttf";
  --font-p: "Fraunces_Bold";
}

::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-p);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  scrollbar-width: none;
}

h1, h2 {
  font-family: var(--font-h1);
  color: var(--text-color);
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
}

h3, h4, h5, h6 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

p {
  font-size: 1em;
  font-family: var(--font-p);
  margin-bottom: 1.5em;
  letter-spacing: .03em;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  /* margin-left: 1em; */
}

a {
  color: var(--link-color);
  text-decoration: none;
  font-family: var(--font-h1);

  &:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
  }
}

button {
  font-size: 1rem;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: var(--font-h1);
}

label {
  font-family: "Poppins-medium";
  border: none;
  font-size: 14px;
}

/* Formulaires */
input,
textarea,
select {
  font-size: 1rem;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 2px solid var(--secondary-color);
  border-radius: 0.25rem;
}

ul {
  margin-left: 1em;
  
  li {
    font-size: 1em;
    font-family: var(--font-p);
    list-style-position: outside;
    letter-spacing: .03em;

    &::before {
      content: ' ';
      display: inline-block;
      width: 1em;
      height: 1em;
      background-image: url("../images/bullet-081dcc125d1d52f7c5a5b04b8a3ecbf7.png");
      background-size: contain;
      background-repeat: no-repeat;
      margin-right: 8px;
    }
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 4rem;
  }

  h3 {
    font-size: 2rem;
  }

   main {
    margin: 50px 0 0 0;
  }
}
