@font-face {
    font-family: 'NationalPark';
    src: url('../fonts/NationalPark-Regular.otf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'NationalPark';
    src: url('../fonts/NationalPark-Heavy.otf');
    font-weight: bold;
    font-style: normal;
}

:root {
  --bg-color: #ffffff;
  --bg-secondary-color: #f3f3f6;
  --color-primary: rgb(238, 184, 165);
  --color-lightGrey: #ddd;
  --color-grey: #747681;
  --color-darkGrey: #333;
  --color-error: #ff6161;
  --color-success: #45ca66;
  --grid-maxWidth: 130rem;
  --grid-gutter: 3.6rem;
  --font-size: 2rem;
  --font-color: #000000;
  --font-family-sans: "NationalPark", sans-serif;
  --font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
}

a {
  text-decoration: underline;
  text-underline-offset: 0.4rem;
}

a:hover, a:active {
    opacity: 1 !important;
}

h1, h2, h3, h4, h5, h6 {
  margin: 3rem 0 3rem;
}

h3 {
  font-size: inherit;
}

strong, b {
  font-weight: normal;
  color: var(--color-primary);
}

del {
  text-decoration: none;
  font-size: 0.8em;
  display: block;
}

ul, ol {
  padding-left: .8em;
}

li {
  list-style-type: none;
  text-indent: -0.8em;
}

li::before {
  content: '– ';
}

figure {
  margin: 0 0 1em;
}

.text-small {
  font-size: 1.7rem;
}

.button, [type="button"], [type="reset"], [type="submit"], button,
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]), select, textarea, textarea[type="text"] {
  border-radius: 0;
}

.text-white {
  color: #fff;
}

.nav {
  padding: 1rem;
}

.nav img {
  max-height: 4rem;
}

.nav-right img {
  max-height: 2.5rem;
}

.bg-tint img {
    visibility: hidden;
    display: block;
}

.section {
  margin: 12rem auto;
}

.section-message,
.section-cover,
.section-edito {
  margin: 6rem auto;
}

details {
  border-bottom: 2px solid var(--color-primary);
  padding: .5rem 1.5rem;
}

details:first-of-type {
    border-top: 2px solid var(--color-primary);
}

details details {
  margin-left: 3rem;
}

details summary {
  text-transform: uppercase;
  position: relative;
  cursor: pointer;
}

details summary .row > * {
  margin-bottom: 0;
}

details[open] > summary {
  margin-bottom: 1.5rem;
}

details > summary > span {
  margin-right: 1rem;
}

details > summary::marker {
    display: none;
    content: "";
}

details > summary::after {
  content: '';
  background-color: var(--color-primary);
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-image: url(../images/arrow.png);
  -webkit-mask-image: url(../images/arrow.png);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 3rem;
}

details[open] > summary::after {
  transform: rotate(180deg);
}

details.disable summary {
  cursor: default;
  pointer-events: none;
}

details.disable summary::after {
  display: none;
}

.section-cover {
  max-width: 100%;
}

.picto {
  height: 20rem;
  width: 20rem;
  margin: auto;
}

.bg-tint {
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
}

.pages {
  margin: 6rem 0;
}

.tag {
  border: none;
  border-radius: 1px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem !important;
  vertical-align: text-top;
  margin-top: 0.4rem;
  line-height: 0.7;
}

footer {
  padding: 3rem 0;
}
