/**********************

	Reset

***********************/
/* --------------------------------------------- Settings --------------------------------------------- */

/**
* Indiquer au navigateur d'utiliser
* UTF-8 comme jeu de caractères */
@charset "utf-8";

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

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

/**********************

	Fonts

***********************/
@font-face {
  font-family: "MidoriBook";
  src: url("fonts/midori/Midori-Book.woff2") format("woff2"),
    url("fonts/midori/Midori-Book.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/*************************************/
@font-face {
  font-family: "Midori";
  src: url("fonts/midori/Midori-Regular.woff2") format("woff2"),
    url("fonts/midori/Midori-Regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Midori";
  src: url("fonts/midori/Midori-Medium.woff2") format("woff2"),
    url("fonts/midori/Midori-Medium.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Midori";
  src: url("fonts/midori/Midori-ExtraBold.woff2") format("woff2"),
    url("fonts/midori/Midori-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Midori";
  src: url("fonts/midori/Midori-Heavy.woff2") format("woff2"),
    url("fonts/midori/Midori-Heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/**********************

	Global vars

***********************/
:root {
  --base0: rgb(10, 10, 10);
  --base100: rgb(255, 255, 255);
  --yellow: rgb(254, 237, 85);
  --blue: rgb(0, 175, 236);
  --red: rgb(248, 88, 88);
  --green: rgb(69, 173, 78);
  --orange: rgb(255, 160, 78);

  --background: rgb(255, 240, 229);
  --contrast: var(--orange);
  --textcolor: var(--base0);

  --tiny-margin: calc(var(--small-margin) / 2);
  --small-margin: 18px;
  --med-margin: 48px;
  --big-margin: 72px;
  --text-padding: 0.3em 0.5em 0.4em;
  --radius: 1em;

  --content-left-margin: var(--small-margin);

  font-size: 14px;
  --huge-font-size: calc(1rem + 13vw);
  --title: calc(1rem + 3vw);
  --subtitle: calc(1rem + 2.5vw);
  --base-font-size: calc(1rem + 0.865vw);
  --small-font-size: 1.35rem;
  --tiny-font-size: 1rem;
}

/**********************

	GLOBAL RULES

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

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

html {
  font-size: 100%;
}

body {
  background-color: rgb(255, 240, 229);
  color: var(--textcolor);
  font-family: "Midori";
  font-weight: 500;
  font-feature-settings: "ss01";
  text-rendering: geometricPrecision;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-weight: 900;
}

h2,
h3 {
  font-weight: 800;
}

p {
  font-size: var(--small-font-size);
  line-height: 1.5;
}

strong,
b,
p.exerg,
p span.exerg {
  font-family: "Midori";
  font-weight: 600;
}

p + p {
  margin-top: 1em;
}

a {
  display: inline-block;
  color: currentColor;
  text-decoration: none;
  border-bottom: 0.1em solid currentColor;
  transition: padding 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    letter-spacing 0.5s ease;
}

p > a {
  display: inline;
}

p > a:hover {
  letter-spacing: 0.1em;
  border-color: var(--red);
}

q::before {
  content: "«\0000A0";
}

q::after {
  content: "\0000A0»";
}

mark {
  background-color: var(--contrast);
  padding-left: 0.15em;
  padding-right: 0.15em;
}

button {
  background-color: #fff;
  padding: 0;
  border-width: 0;
}

button.button {
  display: flex;
  margin-top: 24px;
}

button.button > a {
  font-size: var(--small-font-size);
  padding: 0.5em;
  border: 1px solid currentColor;
  border-radius: 1em;
}

ul,
li {
  list-style: none;
  padding: 0;
}

figure {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: rgb(242, 242, 235);
  border: 12px solid var(--red);
}

figure > img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

figure > figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--base0);
  font-size: 0.85rem;
  font-weight: 600;
  padding: var(--tiny-margin);
}

.gradient-bg {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--base100),
    var(--base100) 110px,
    var(--red) 10px,
    var(--red) 220px
  );
}

.bg-red {
  background-color: var(--red);
}

.wide-block {
  min-height: 100vh;
}

/**********************

	  LAYOUTS

***********************/

/**********************

  HEADER /
	MENU - NAVIGATION

***********************/
nav.main-navigation {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--small-margin);
  background-color: var(--background);
  padding: 12px 32px;
  z-index: 1001;
}

.menuButton {
  flex-shrink: 0;
  background-color: var(--background);
  font-size: var(--small-font-size);
  padding: 0.5em 0 0.65em;
  cursor: pointer;
  /* width: var(--med-margin);
  height: var(--med-margin);
  background: repeating-linear-gradient(
    45deg,
    var(--base0),
    var(--base0) 1px,
    rgba(255, 255, 255, 0) 1px,
    rgba(255, 255, 255, 0) 5px
  );
  border-radius: 50%;
  cursor: pointer;
  transition: background-width 0.2s ease, transform 0.2s ease; */
}

.menuButton span {
  float: left;
  margin-right: 6px;
  width: 6px;
  height: 24px;
  background-color: var(--base0);
  border-radius: 2em;
  transition: margin 0.5s ease;
}

.menuButton:hover span {
  margin-right: 10px;
}

.navTitle {
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5em 0 0.65em;
}

nav.main-navigation ul {
  width: 100%;
  height: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--small-margin);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

nav.main-navigation.showed {
  flex-wrap: wrap;
}

nav.main-navigation.showed ul {
  height: auto;
  opacity: 1;
  padding-bottom: var(--small-margin);
}

nav.main-navigation ul > li > a {
  background-color: var(--base100);
  font-family: "MidoriBook";
  font-size: var(--small-font-size);
  padding: 0.5em 1em 0.65em;
  border-radius: 2em;
  border-bottom-width: 0;
}

/**********************

	FOOTER

***********************/
.footer .left {
  flex-grow: 1;
  background-color: var(--red);
  padding: var(--med-margin) var(--small-margin);
}

.footer .left h1 {
  font-size: var(--subtitle);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--small-margin);
}

.footer .left p {
  font-size: var(--tiny-font-size);
  font-weight: 600;
  text-transform: uppercase;
}

.footer .left p > a,
.footer .left #subscribe {
  display: inline-block;
  background-color: var(--base100);
  font-size: var(--base-font-size);
  font-weight: 800;
  text-transform: none;
  padding: 0.5em 1em 0.65em;
  margin-top: calc(var(--med-margin) - 1em);
  border-width: 0;
  border-radius: 2em;
}

.footer .left #subscribe:hover {
  letter-spacing: 0.1em;
}

.footer .right {
  flex-basis: 480px;
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-items: stretch;
}

.footer .right div {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  padding: var(--med-margin);
}

.footer .right div h2 {
  font-size: 1.65rem;
}

.footer .right div p {
  font-size: var(--tiny-font-size);
  letter-spacing: 0.05em;
}

.footer .right div p > a {
  font-weight: 600;
}

.footer .right div p > a:not(:last-of-type):after {
  content: ",";
}

.footer .right #pages {
  flex-grow: 1;
  background-color: var(--yellow);
}

.footer .right #pages img {
  max-width: 180px;
  height: auto;
  margin-bottom: var(--med-margin);
}

.footer .right #contact {
  flex-grow: 1;
  justify-content: center;
  background-color: var(--blue);
  line-height: 1.5;
}

.footer .right #contact p {
  margin: var(--small-margin) 0;
}

.footer .right #contact p + h2 {
  margin-top: var(--med-margin);
}

#notice {
  font-family: "MidoriBook";
  font-size: var(--small-font-size);
  padding: 42px var(--med-margin) var(--med-margin);
}

/**********************

	  CONTENT

***********************/

.main section {
  position: relative;
  /* max-width: 1600px; */
  padding: 0 var(--content-left-margin);
}

.main
  section:last-of-type:not(
    .gallery-container,
    .podcasts-container,
    .archives,
    .contentDef
  ) {
  margin-bottom: 148px;
}

.main
  section
  + section:not(.gallery-container, .podcasts-container, .archives) {
  margin-top: 148px;
}

.sectionTitle {
  padding: var(--big-margin) var(--small-margin) var(--med-margin)
    var(--content-left-margin);
  margin: auto;
}

.sectionTitle hr {
  display: none;
  width: 100%;
  height: 1px;
  background-color: var(--base0);
  border: 0;
}

.sectionTitle h1,
.main section h1 {
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sectionTitle h1 {
  font-size: var(--subtitle);
}

.main section h1 {
  font-size: var(--base-font-size);
  margin-bottom: var(--med-margin);
}

.main section h2 {
  font-size: var(--base-font-size);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: var(--small-margin);
}

.main section p + h2 {
  margin-top: var(--med-margin);
}

.main section p,
.main section span {
  font-family: "MidoriBook";
  font-size: var(--tiny-font-size);
}

.main .text ul,
.main .text li {
  list-style: disc;
}

.main .text ul {
  padding-left: 3.5em;
  margin: 1em 0 var(--med-margin);
}

.main section > figure {
  position: relative;
  margin: var(--big-margin) 0;
}

.main section > figure > img {
  mix-blend-mode: multiply;
}

/* 404 */
section.error {
  padding: var(--big-margin) 32px 0;
}

/**********************

	RESPONSIVE

***********************/
@media screen and (min-width: 375px) {
}

@media screen and (min-width: 580px) {
  .header h2 {
    max-width: 70%;
  }

  .main section p {
    font-size: var(--base-font-size);
  }
}

@media screen and (min-width: 768px) {
  :root {
    --small-margin: 18px;
    --content-left-margin: var(--med-margin);
  }

  .navTitle {
    display: none;
  }

  nav.main-navigation {
    gap: var(--med-margin);
  }

  nav.main-navigation ul {
    width: auto;
    height: auto;
    gap: var(--med-margin);
    padding-bottom: 0;
    opacity: 1;
    overflow: auto;
  }

  nav.main-navigation.showed ul {
    padding-bottom: 0;
  }

  nav.main-navigation ul > li > a {
    background-color: transparent;
  }

  nav.main-navigation ul > li > a:hover {
    background-color: var(--base100);
    letter-spacing: 0.1em;
  }

  .footer .left {
    padding: var(--med-margin);
  }
}

@media screen and (min-width: 1024px) {
  :root {
    --content-left-margin: 13vw;
  }

  .footer {
    /* min-height: 100vh; */
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  .footer .left h1 {
    margin-top: var(--big-margin);
  }

  .header h2 {
    max-width: 50%;
  }
}

@media screen and (min-width: 1366px) {
  :root {
    --content-left-margin: 16vw;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 0 var(--med-margin);
  }

  .grid-2 h1 {
    grid-column: span 2;
  }

  .grid-2 h2 {
    grid-column: 1;
  }

  .grid-2 p,
  .grid-2 ul {
    grid-column: 2;
  }

  .grid-2 h2 + p:not(:first-of-type) {
    margin-top: var(--med-margin);
  }

  .footer .left p {
    font-size: var(--small-font-size);
  }
}

@media screen and (min-width: 1920px) {
  .footer .right {
    flex-basis: 30%;
  }

  .footer .right #pages img {
    max-width: 50%;
  }
}
