:root {
  --blanc: #fff;
  --noir: #000;
  --clair: #eee;
  --sombre: #222;
  --text-color: #222;
  --secondaire: #62b3ff;
  --accent: #053664;
  --secondaire: #b4d5cf;
  --sombre: #41705a;
  --accent: #675544;
  --text-color: #0a344c;
}
@font-face {
  font-family: "atkinson";
  src: url("../fonts/Atkinson-Hyperlegible-Regular-102a.woff2");
  font-weight: normal;
}
@font-face {
  font-family: "atkinson";
  src: url("../fonts/Atkinson-Hyperlegible-Italic-102a.woff2");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "atkinson";
  src: url("../fonts/Atkinson-Hyperlegible-Bold-102a.woff2");
  font-weight: bold;
}
@font-face {
  font-family: "atkinson";
  src: url("../fonts/Atkinson-Hyperlegible-BoldItalic-102a.woff2");
  font-weight: bold;
  font-style: italic;
}
html {
  font-family: "atkinson";
  font-size: 120%;
  line-height: 1.4;
}
body {
  background-color: var(--clair);
  color: var(--text-color);
  margin: 0;
  min-width: 320px;
}
header {
  background-position: 50% 50%;
  background-color: #62b3ff;
  background-size: cover;
  background-image: url("../photos/motif.svg"), radial-gradient(circle at 50% 100%, var(--secondaire) 20%, var(--sombre));
  padding: 0;
  height: 20rem;
  display: flex;
  align-items: self-end;
  justify-content: center;
  color: var(--text-color);
}
header h1 {
  font-size: 3rem;
  margin: 1em 0.5em;
  line-height: 0.8em;
}
header h1 small {
  font-size: 0.5em;
}
header h1 img {
  width: 3em;
  float: left;
  margin-right: 0.2em;
}
nav {
  position: sticky;
  top: 0;
  background-color: var(--blanc);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.2em 0.2em rgba(0, 0, 0, 0.1);
  container-type: inline-size;
  z-index: 1;
}
nav ul {
  padding: 0.5em 0.5em 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 50rem;
}
nav ul li {
  display: block;
  margin: 0 0.5em 0.5em 0;
}
nav ul li a {
  padding: 0.5em 1em;
  display: block;
  text-decoration: none;
  background-color: var(--clair);
  color: var(--text-color);
  transition: all 0.2s;
}
nav ul li a:hover {
  color: var(--blanc);
  background-color: var(--text-color);
}
@media (max-width: 30rem) {
  nav {
    font-size: 0.8em;
  }
}
h2 {
  font-size: 2rem;
}
h2::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: var(--accent);
  background-color: var(--secondaire);
  vertical-align: middle;
  margin-right: 0.5em;
}
section {
  max-width: 50rem;
  margin: 3rem auto;
  padding: 3rem 1em;
}
a {
  color: var(--accent);
}
a[target="_blank"]::after {
  content: "↗";
}
a:hover {
  background-color: var(--accent);
  color: var(--blanc);
  text-decoration: none;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0.5em 0 1.5em 1em;
}
figure {
  background-color: var(--blanc);
  padding: 1em;
  text-align: center;
  margin: 0.5rem 0;
  box-shadow: -0.1em 0.3em 0.5em rgba(0, 0, 0, 0.1);
  transform: rotate(-1deg);
  transition: all 0.2s;
  display: inline-block;
  max-width: 70%;
}
figure:hover {
  transform: rotate(0);
}
figure img {
  max-width: 100%;
  max-height: 30rem;
  vertical-align: bottom;
}
figure figcaption {
  font-size: 0.8em;
  font-style: italic;
  margin: 1em 0 0 0;
}
blockquote {
  background-color: var(--blanc);
  padding: 0.1em 0.5em 0.1em 2.5em;
  border-radius: 1em;
  margin: 0 0 0 1em;
  position: relative;
}
blockquote p::before {
  content: "❝";
  font-size: 2em;
  position: absolute;
  top: 0;
  left: 0.5rem;
  color: var(--secondaire);
}
footer {
  background-color: var(--secondaire);
  display: flex;
}
footer div {
  margin: 5em auto;
  width: 100%;
  max-width: 50rem;
  padding: 0 1em;
}
footer div a {
  font-weight: bold;
  color: var(--accent);
}
#carte {
  width: 75%;
  max-height: 50vh;
  height: 20rem;
  border: thin solid var(--text-color);
}
.top {
  background-color: var(--text-color);
  color: var(--blanc);
  padding: 1rem;
  position: fixed;
  right: 0.5em;
  bottom: 0.5em;
  font-size: 0.8em;
  text-align: center;
  line-height: 0.5;
  text-decoration: none;
  border-radius: 0.5em;
  z-index: 1;
}
