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

	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: "HKGrotesk";
  src: url("fonts/hk-grotesk/HKGrotesk-Medium.woff2") format("woff2"),
    url("fonts/hk-grotesk/HKGrotesk-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HKGrotesk";
  src: url("fonts/hk-grotesk/HKGrotesk-SemiBold.woff2") format("woff2"),
    url("fonts/hk-grotesk/HKGrotesk-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HKGrotesk";
  src: url("fonts/hk-grotesk/HKGrotesk-Black.woff2") format("woff2"),
    url("fonts/hk-grotesk/HKGrotesk-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

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

	Global vars

***********************/
:root {
  --base0: rgb(10, 10, 10);
  --base100: rgb(245, 245, 245);

  --custom1: rgb(224, 194, 240);
  --custom2: rgb(204, 179, 255);
  --custom3: rgb(151, 125, 255);
  --custom4: rgb(102, 0, 255);
  --pink: lightgoldenrodyellow;
  --pinkviolet: pink;
  --lightpink: rgb(255, 206, 215);

  /* --orange: #FFA726; */

  --padding: 1em;
  --padding-box: 0.1em 0.3em;
  --small-margin: 25px;

  --font-work: "HKGrotesk";
  --font-family: var(--font-work);
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  --font-size: 1.15em;
  --small-font-size: calc(14px + 1.65vw);
  --med-font-size: 1.45em;
  --big-font-size: calc(var(--med-font-size) + 1em);
  --huge-font-size: calc(14px + 4.862vw);

  --fixed-menu-height: 4.125em;
  --border: 0.15em;
}

* {
  box-sizing: border-box;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.19, 0.2, 0.14, 1);
}

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

html {
  font-size: 100%;
}

body {
  --background: var(--custom3);
  --text: var(--base0);
  text-rendering: geometricPrecision;
  background-color: var(--background);
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  quotes: "«\0000A0""\0000A0»""‹" "›";
}

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

		 RÈGLES
		GÉNÉRALES

***********************/
h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: var(--huge-font-size);
  font-weight: 900;
  margin-bottom: 0.3em;
}

h1.page-title {
  font-family: "Euripides";
  font-weight: 600;
}

h2 {
  font-size: var(--small-font-size);
  font-weight: 600;
  margin-bottom: 0.3em;
}

a {
  text-decoration: none;
  color: inherit;
}

a > abbr[title] {
  text-decoration: none;
}

b,
strong {
  font-weight: 600;
}

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

figure {
  max-width: 100%;
  max-height: 100%;
}

figure > img {
  max-width: 100%;
  max-height: 100%;
}

.content-container,
.content-block,
.content-wrapper {
  display: inline-block;
  width: 100%;
}

.content-container {
  position: relative;
  left: 73px;
  width: calc(100% - 73px);
}

.content-block {
  padding: 0 1em;
}

.content {
  max-width: 80%;
  padding: 63px 4.765em 3em;
}

.content p {
  font-size: var(--med-font-size);
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 1em;
}

.content p > a {
  border-bottom: 1px solid;
}

.content p > a:hover {
  background-color: var(--custom1);
}

.content section > h1 {
  font-weight: 600;
  margin-top: 1.5em;
}

.content section > h1.page-title {
  margin-top: 0;
}

.content section > h2 {
  display: inline-block;
  font-size: var(--small-font-size);
  font-weight: 500;
  padding-bottom: 0.3em;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  border-bottom: 4px solid var(--base100);
}

/* .back-to-parent {
  display: inline-block;
  font-size: var(--med-font-size);
  font-weight: 500;
  color: var(--base0);
  margin-bottom: 1em;
}

.back-to-parent:hover {
  border-color: var(--base100);
} */

/*------------------Menu------------------*/
#menu-mask {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - 397px);
  height: 100%;
  background-color: var(--base100);
  transform: translateX(100%);
  transition: opacity 0.15s cubic-bezier(0.19, 0.2, 0.14, 1),
    transform 0.5s cubic-bezier(0.19, 0.2, 0.14, 1);
  padding: var(--small-margin);
}

#menu-mask > a {
  display: flex;
  height: 100%;
}

#menu-mask > a > figure {
  width: 50%;
  margin: auto;
}

.navigation {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 72px;
  height: 100%;
  padding-top: 0.5em;
  overflow-y: auto;
  z-index: 999;
}

.navigation > div.menu-mobile-back {
  display: none;
}

.menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 398px;
  min-height: 100%;
  background-color: var(--base100);
  padding-top: 4em;
  border-right: 1px solid var(--base0);
  transform: translateX(-200%);
  opacity: 0;
  transition: opacity 1.3s cubic-bezier(0.19, 0.2, 0.14, 1.1),
    transform 0.5s cubic-bezier(0.19, 0.2, 0.14, 1);
  overflow-y: auto;
  z-index: 888;
}

.menu > a {
  display: block;
  padding: var(--padding);
}

.menu > hr {
  margin: var(--small-margin) 0;
  border-style: dotted;
  border-width: 4px;
  border-bottom-width: 0;
  border-color: var(--custom2);
}

.menu figure {
  margin-bottom: var(--padding);
}

.menu li {
  --text: var(--base0);
  color: var(--text);
  display: block;
}

.menu li:hover {
  background-color: var(--custom2);
}

.menu li > a,
.menu li > p.special {
  display: block;
  position: relative;
  font-size: var(--med-font-size);
  font-weight: 600;
  padding: 1rem;
}

/* .menu li > a[title="La Halte"] {
  border-top: 1px solid;
} */

.menu li > a[title="Mail de Quartier Libre"] {
  font-size: var(--font-size);
  border-bottom: 1px solid;
}

.menu li > p.special {
  position: relative;
  background-color: var(--base100);
  cursor: pointer;
}

.menu li > p.special::after {
  content: "✕";
  position: absolute;
  right: var(--padding);
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  font-size: 0.7em;
  transition-duration: 0.3s;
}

.menu li.multiple {
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.menu li.multiple > a {
  display: none;
  background-color: var(--base100);
  padding-left: var(--small-margin);
}

.menu li.multiple > a > span {
  /* color: var(--lightpink); */
}

.menu li.multiple > a:hover {
  background-color: var(--custom2);
}

.menu li.multiple.show > a {
  display: block;
}

.menu li.multiple.show > p.special::after {
  transform: translateY(-50%) rotate(0);
}

.menu #contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
  background-color: var(--base100);
  color: var(--base0);
  padding: var(--padding);
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.menu #contact > a {
  padding: 0;
}

.menu #contact a[title="facebook"] > svg {
  height: 25px;
  width: 25px;
}

.menu #contact a[title="twitter"] > svg,
.menu #contact a[title="tiktok"] > svg {
  height: 30px;
  width: 30px;
}

#burger {
  display: flex;
  width: 100%;
  height: 50px;
  min-height: 50px;
  padding: 0;
  cursor: pointer;
  z-index: 999;
}

#burger span {
  width: 100%;
  display: flex;
  flex-flow: column wrap;
  justify-content: space-around;
  padding: 0.5em 1em;
}

#burger span::after,
#burger span::before {
  content: "";
  display: inline-block;
  width: 100%;
  border-bottom: 8px dotted var(--base0);
  transition: all 0.2s linear;
}

#toggle-menu:checked ~ #menu-mask {
  transform: translateX(0);
}

#toggle-menu:checked ~ .menu {
  transform: translateX(0);
  opacity: 1;
}

#toggle-menu:checked + label > span::after {
  transform: translateY(-6px) rotate(-180deg);
}

#toggle-menu:checked + label > span::before {
  transform: translateY(9px) rotate(180deg);
}

/*------------------footer------------------*/
footer.footer {
  display: flex;
  background-color: var(--lightpink);
  margin-top: 63px;
}

footer.footer > nav {
  position: relative;
  left: 73px;
  width: calc(100% - 73px);
  padding: 0 var(--small-margin) var(--small-margin);
  margin: 63px 0;
}

footer.footer > nav > h1 {
  font-family: "Euripides";
  font-size: var(--small-font-size);
}

footer.footer > nav > ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: var(--small-margin);
}

footer.footer > nav > ul > li {
  display: flex;
  margin-right: var(--small-margin);
  margin-bottom: var(--small-margin);
}

footer.footer > nav > ul > li > a {
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--base100);
  padding: var(--padding);
  border-radius: 50%;
}

footer.footer > nav > ul > li > a:hover {
  background-color: var(--custom2);
}

footer.footer > nav > ul > li > a[title="facebook"] > svg {
  height: 25px;
  width: 25px;
}

footer.footer > nav > ul > li > a[title="twitter"] > svg,
footer.footer > nav > ul > li > a[title="tiktok"] > svg {
  height: 30px;
  width: 30px;
}

/*------------------Emissions / Émission------------------*/
body.emissions,
body.emission {
  --background: var(--lightpink);
  background-attachment: fixed;
}

body.emissions #ql-emissions-description,
body.emission #ql-emissions-description {
  margin-bottom: calc(var(--small-margin) * 2);
}

body.emissions #ql-emissions-description > h1,
body.emission #ql-emissions-description > h1 {
  max-width: 16ch;
  font-size: var(--huge-font-size);
  line-height: 1.1;
  margin-bottom: 0.3em;
}

body.emissions .audio-wrapper,
body.emission .audio-wrapper {
  box-shadow: rgba(26, 26, 26, 0.08) 0px -1px 4px 0px,
    rgba(26, 26, 26, 0.12) 0px 4px 8px 0px;
}

body.emissions .audio-wrapper > .audio-poster > .audio-play-icon > span,
body.emission .audio-wrapper > .audio-poster > .audio-play-icon > span {
  box-shadow: rgba(26, 26, 26, 0.08) 0px -1px 4px 0px,
    rgba(26, 26, 26, 0.12) 0px 4px 8px 0px;
}

body.emissions .audio-container,
body.emission .audio-container {
  background-color: var(--base100);
}
/* 
body.emissions .audio-time-flow,
body.emission .audio-time-flow {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 0;
  border-top: 1px solid var(--base0);
  transition: transform 0.2s linear;
  transform: translateY(160%);
  z-index: 1001;
} */

/* body.emissions .audio-time-flow.currentFlow,
body.emission .audio-time-flow.currentFlow {
  transform: translateY(0);
  box-shadow: rgba(26, 26, 26, 0.08) 0px -4px 4px 0px,
    rgba(26, 26, 26, 0.12) 0px 4px 8px 0px;
} */

body.emissions .podcasts-nav > a,
body.emissions .podcasts-nav > p,
body.emission .podcasts-nav > a,
body.emission .podcasts-nav > p {
  font-size: var(--small-font-size);
}

body.emissions .podcasts-nav > a:hover,
body.emission .podcasts-nav > a:hover {
  color: var(--base100);
}

body.emissions .podcasts-nav > p,
body.emission .podcasts-nav > p {
  display: inline-block;
}

body.emissions .podcasts-nav > p.disabled,
body.emission .podcasts-nav > p.disabled {
  opacity: 0.35;
}

body.emissions .podcasts-nav > p + a,
body.emissions .podcasts-nav > a + p,
body.emissions .podcasts-nav > a + a,
body.emission .podcasts-nav > p + a,
body.emission .podcasts-nav > a + p,
body.emission .podcasts-nav > a + a {
  margin-left: 1em;
}

/*------------------Responsive------------------*/
@media screen and (min-width: 1920px) {
  :root {
    --med-font-size: 1.65em;
  }

  .content {
    max-width: 65%;
  }
}

@media screen and (max-width: 1230px) {
  .content {
    max-width: 100%;
    padding-left: 2em;
    padding-right: 2em;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --med-font-size: calc(14px + 0.652vw);
    --huge-font-size: var(--big-font-size);
  }

  .content-container {
    left: 0;
    width: 100%;
  }

  .content {
    padding-left: 0;
    padding-right: 0;
  }

  .content > section > h1.page-title {
    margin-top: 0.5em;
  }

  /*------------------Menu------------------*/
  .navigation {
    width: 100%;
    height: 50px;
    padding-top: 0;
  }

  .navigation > div.menu-mobile-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    display: block;
    background-color: var(--background);
    border-bottom: 1px solid var(--base0);
  }

  #burger {
    margin-right: 0;
    width: 72px;
  }

  .menu #contact {
    position: static;
    padding-left: var(--padding);
  }

  #menu-mask {
    display: none;
  }

  .menu {
    position: fixed;
    height: 100vh;
    width: 100vw;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 3em var(--padding) 0;
    border-right: 0;
  }

  .menu figure {
    height: 200px;
    max-width: 100%;
    text-align: center;
  }

  .menu figure > svg {
    margin: 0 auto;
  }

  .menu li {
    width: 100%;
  }

  .menu li > a,
  .menu li > a[title="Mail de Quartier Libre"],
  .menu li > p.special {
    font-size: var(--small-font-size);
  }

  #burger {
    margin-right: 0;
  }

  footer.footer > nav {
    left: 0;
    width: 100%;
    padding-left: var(--padding);
    padding-right: var(--padding);
  }
}

@media screen and (max-width: 580px) {
  /*------------------Menu------------------*/
  .menu > a {
    padding-bottom: 0;
  }
}
