:root {
  --couleur-primaire: #2a6442;
  --underline-max-width: 100%;
  --underline-hover-width: 0;
  --underline-idle-width: var(--underline-max-width);
  --underline-x: calc(var(--underline-max-width) * 0);
  --underline-img: linear-gradient(0deg, currentColor, currentColor);
  --external-link-content: "";
}

*,
::before,
::after {
  box-sizing: border-box;
}

@font-face {
  font-family: "Luciole";
  src: url("../fonts/Luciole-Regular.woff") format("woff"), url("../fonts/Luciole-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}
@font-face {
  font-family: "Luciole";
  src: url("../fonts/Luciole-Bold.woff") format("woff"), url("../fonts/Luciole-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  text-rendering: optimizeLegibility;
}
@font-face {
  font-family: "Luciole";
  src: url("../fonts/Luciole-Italic.woff") format("woff"), url("../fonts/Luciole-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}
@font-face {
  font-family: "Luciole";
  src: url("../fonts/Luciole-BoldItalic.woff") format("woff"), url("../fonts/Luciole-BoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  text-rendering: optimizeLegibility;
}
html {
  font-family: "Luciole", Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.4;
  color: black;
  background-color: white;
}

.skip-links {
  position: absolute;
  transform: translateY(-100%);
  color: white;
}

.skip-links:focus {
  transform: translateY(0%);
}

header {
  padding-block: 1.125rem;
  color: white;
  background-color: var(--couleur-primaire);
}
header .container {
  display: flex;
  justify-content: flex-end;
}
header a {
  color: inherit;
}
@media screen and (min-width: 62rem) {
  header a[href="#nav"] {
    display: none;
  }
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
header ul {
  display: none;
  align-items: center;
  list-style: none;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
@media screen and (min-width: 62rem) {
  header ul {
    display: flex;
  }
}
header li + li {
  margin-top: 0;
}

.site-title {
  font-size: 1.2em;
}

footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: var(--couleur-primaire);
}
footer .container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}
footer h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
}
footer ul {
  padding-left: 0;
  list-style-type: "";
}
footer li:not(:first-child) {
  margin-top: 1rem;
}
footer,
footer h2,
footer a {
  color: white;
}
@media screen and (min-width: 62rem) {
  footer .container {
    flex-direction: row;
  }
  footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  footer ul li:not(:first-child) {
    margin-top: 0;
  }
}

main {
  max-width: 70ch;
  min-height: 80vh;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
}

h1:not(:first-of-type),
h2:not(:first-child),
h3,
h4,
h5,
h6 {
  margin-top: 3rem;
}

h1,
h2,
h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
  margin-top: 0;
}

h1 {
  font-size: 3rem;
  color: var(--couleur-primaire);
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

a {
  color: var(--couleur-primaire);
  text-decoration: none;
}

a[href]:active,
a[href]:hover {
  --underline-hover-width: var(--underline-max-width);
}

[href]:not(.bouton) {
  background-image: var(--underline-img), var(--underline-img);
  background-position: var(--underline-x) 100%, var(--underline-x) calc(100% - 0.0625em);
  background-repeat: no-repeat, no-repeat;
  background-size: var(--underline-hover-width) 0.125em, var(--underline-idle-width) 0.0625em;
  transition: background-size 0s;
}

ul,
ol {
  margin: 0;
  padding-left: 1rem;
}

li + li,
li > ul,
li > ol {
  margin-top: 0.5rem;
}

blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 0.5rem 1rem;
  border-left: 4px solid var(--couleur-primaire);
}
blockquote p {
  margin: 0;
}
blockquote p + p {
  margin-top: 1rem;
}

code {
  padding: 0.2rem;
  background-color: #BBF4FA;
}

pre {
  padding: 1rem;
  color: white;
  background-color: black;
}
pre code {
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

iframe {
  max-width: 100%;
}

.blog-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.blog-item > a {
  align-self: flex-end;
}
.blog-item > a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.blog-item h2 {
  margin-bottom: 1rem;
  font-weight: normal;
  color: var(--couleur-primaire);
}
.blog-item h2 a {
  background: none;
}

.projects {
  display: flex;
  gap: 4rem 2.5rem;
  flex-wrap: wrap;
}

.project {
  flex-basis: calc(50% - 1.25rem);
  display: flex;
  flex-direction: column;
}
.project img {
  max-height: 25rem;
  margin: 0 auto;
}
.project h2 {
  margin: 1rem 0;
  font-weight: normal;
  font-size: 2rem;
}
.project h2 a {
  background: none;
}
.project > a {
  align-self: flex-end;
}

.encart {
  display: block;
  margin-block: 2rem;
  padding: 1.5rem;
  font-size: 1.5rem;
  color: white;
  background-color: var(--couleur-primaire);
}

.encart a {
  color: white;
}

.bouton {
  display: block;
  padding: 0.8rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--couleur-primaire);
  border-radius: 8px;
  max-width: 80%;
  margin-inline: auto;
}
.bouton:hover, .bouton:active {
  box-shadow: inset 0px -0.2em 0px currentColor;
}
.bouton + .bouton {
  margin-top: 1rem;
}
@media screen and (min-width: 45rem) {
  .bouton {
    max-width: 60%;
    margin: 2em auto;
  }
}

/*# sourceMappingURL=styles.css.map */