:root {
  --background-color: #fff4df;
  --main-text-color: #000000;
  --secondary-text-color: var(--background-color);
  --aside-background-color: #9f0e1f;
  --headers-color: #c4091e;
  --link-color: var(--headers-color);
}

@font-face {
  font-family: "Aptos";
  src: url("./Fonts/aptos.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Aptos";
  src: url("./Fonts/aptos-bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Aptos";
  src: url("./Fonts/aptos-italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Aptos";
  src: url("./Fonts/aptos-bold-italic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

body {
  background-color: var(--background-color);
  font-size: 105%;
  font-family: "Aptos", sans-serif;
}

.button-overlay {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

.logo {
  width: 30%;
}

button {
  background-color: var(--aside-background-color);
  color: var(--secondary-text-color);
  border-radius: 1.5em;
  border: none;
  padding: 10px;
  font-family: inherit;
  font-size: 1.5em;
  cursor: pointer;
}

.flex-box {
  display: flex;
  justify-content: space-evenly;
}

.two-by-two-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}

aside {
  background-color: var(--aside-background-color);
  color: var(--secondary-text-color);
  padding: 15px;
  width: 143%;
  border-radius: 1.5em;
}

aside h2 {
  color: var(--secondary-text-color);
}

h2,
h3 {
  color: var(--headers-color);
}

main {
  padding: 15px;
}

h1 {
  font-size: 5em;
  text-align: center;
  color: var(--headers-color);
}

li {
  padding-top: 10px;
}

div {
  padding: 3px;
}

.catchphrase {
  font-size: 1.7em;
  color: var(--headers-color);
  font-weight: bold;
}

.summary {
  font-size: 1.3em;
}

.inner {
  margin-left: 100px;
}

.container nav ul {
  display: flex;
  list-style-type: none;
  justify-content: space-evenly;
  margin: 0;
  padding: 0;
}

p.highlight-sentence span {
  color: var(--headers-color);
}

p.highlight-word span {
  color: var(--headers-color);
}

a {
  color: var(--link-color);
}

footer div p {
  text-align: center;
}

.mentions-legales {
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .flex-box {
    flex-wrap: wrap;
  }
  .inner {
    margin-left: 0;
  }
  h1 {
    font-size: 3em;
  }

  aside h2 {
    text-align: center;
  }

  .container {
    padding: 1px;
  }

  button {
    font-size: 1em;
    padding: 5px;
  }

  .logo {
    width: 75%;
  }

  .branding {
    align-content: center;
  }

  .summary {
    font-size: 1em;
  }

  .catchphrase {
    font-size: 1.4em;
  }
}

.partenaires a:link {
  text-decoration: none;
}

.partenaires a:visited {
  text-decoration: none;
}

.partenaires a:hover {
  text-decoration: none;
}

.partenaires a:active {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--aside-background-color);
  color: var(--secondary-text-color);
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: bold;
  z-index: 10000;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--headers-color);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus-visible {
  outline: 3px solid var(--headers-color);
  outline-offset: 3px;
  border-radius: 2px;
}
