html { box-sizing: border-box; } *, *::before, *::after { box-sizing: inherit; } body { line-height: 1.45; -webkit-font-smoothing: antialiased; } img, picture, video, canvas, svg { display: block; height: auto; max-width: 100%; } html, body, p, ol, ul, li, dl, dt, dd, blockquote, figure, fieldset, legend, textarea, pre, iframe, hr, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; } input, button, textarea, select { font: inherit; margin: 0; } iframe { border: 0; }

html {
  scroll-behavior: smooth;
}
:root {
  --mediumsize: 1.5em
}
@media (max-width:700px) {
  :root {
    --mediumsize: 1.25em
  }
}

@font-face {
  font-family: "Zigzag";
  src: url(zigzag-not-rounded.woff2) format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Bagnard";
  src: url(Bagnard.otf) format('opentype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: "Canada";
  src: url("RadioCanada-Italic-VariableFont_wdth\,wght.ttf") format('truetype');
  font-weight: normal;
  font-style: italic;
}


@font-face {
  font-family: "Canada";
  src: url("RadioCanada-VariableFont_wdth\,wght.ttf") format('opentype');
  font-weight: normal;
  font-style: normal;
}


:root {
  --padding: 40px;
  --flowersize: min(8vw, 120px);
  --white: rgba(255, 255, 255, .9);
  /* --white: #ce5c9d */
}
body {
  margin: 0;
  font-family: sans-serif;
  font-family: "Zigzag";
  font-family: "Bagnard";
  background: #13071e;
  /* background-image: linear-gradient(
      to bottom,
      hsl(274.55, 54.1%, 11.96%) 0%,
      hsl(274.53, 54.12%, 11.89%) 8.1%,
      hsl(274.49, 54.19%, 11.7%) 15.5%,
      hsl(274.42, 54.3%, 11.4%) 22.5%,
      hsl(274.32, 54.47%, 11%) 29%,
      hsl(274.18, 54.7%, 10.51%) 35.3%,
      hsl(274, 55.01%, 9.95%) 41.2%,
      hsl(273.75, 55.44%, 9.31%) 47.1%,
      hsl(273.42, 56.02%, 8.61%) 52.9%,
      hsl(272.98, 56.83%, 7.86%) 58.8%,
      hsl(272.39, 57.98%, 7.08%) 64.7%,
      hsl(271.61, 59.66%, 6.28%) 71%,
      hsl(270.6, 62.09%, 5.52%) 77.5%,
      hsl(269.44, 65.48%, 4.83%) 84.5%,
      hsl(268.42, 69.37%, 4.32%) 91.9%,
      hsl(268, 71.43%, 4.12%) 100%
    ); */
  color: var(--white);  
}
body > :last-child {
  padding-bottom: 2em;
}

.flowerpower::before,
.flowerpower::after,
body:before,
body::after {
  
  width: var(--flowersize);
  height: var(--flowersize);
  border-radius: 2vw;
  position: fixed;
  content: "";
  background: url(../img/flower.png) no-repeat;
  background-size: contain;
}

.flowerpower::before {bottom:2vw; left: 2vw; transform: scaleX(-1);}
.flowerpower::after { bottom: 2vw; right: 2vw; }
body:before {top: 2vw; left: 2vw; transform: scale(-1, -1);}
body::after  { top:2vw; right: 2vw; transform: scale(1, -1);}

svg g,
svg text {
  fill: var(--white);
}

#header {
  padding: var(--padding);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-transform: uppercase;
}
#header figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  margin: 0em 0 .5em;
}
#header img {
  max-height: 60vh;
  mix-blend-mode: lighten;
}
#nav ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .5em 1em;
  letter-spacing: .1em;
  font-family: "Canada";
  font-size: 1.15em;
  margin: 1em 0 0;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width:550px) {
  #nav ul{
    /* display: none; */
  }
  #header h2 {margin-top: 1em;}
  #header h2::before{ display: none;}
}
#nav ul a {
  text-decoration: none;
  color: #dc4a5d;
}

#dinde {
  width: 60%;
  transform: scaleX(-1) translate(15%, -20%);
}
a {
  color: currentColor;
}
h1 {
  font-size: 3em;
  position: relative;
  z-index: 1;
  margin-top: 0;
}
h1 img {
  width: 360px;
  max-width: 70%;
  display: block;
  margin: 0 auto;
}
h2 {
  font-size: 1.5em;
  letter-spacing: 0.05em;
}
h2::before,
h2::after{
  content: "";
  display: block;
  background: url("../img/intercalaire-long.png") 50% 100% no-repeat;
  background-size: contain;
  height: 1em;
  margin: 1em 0;
}
h2::after { margin-top: .5em;}

.img {
  display: flex;
  justify-content: center;
  margin: 1.5em 0 4em;  
}
.img img {
  display: block;
  transform: rotate(-2deg);
  max-width: 80vw;
  filter: contrast(1.2);
  box-shadow: 0 0 3em #0c0413;
}
/* scroll */

#apropos,
#contacts,
#audio,
#calendar,
#radio {
  scroll-margin-top: 1em;
}

/* à propos */

article {
  color: #dc4a5d;
  margin: 0 auto 3em;
  padding: 0 2em;
  max-width: 28em;
  font-size: var(--mediumsize);
  text-align: center;
  font-variation-settings: "wght" 320, "wdth" 100;
  font-family: "Canada";
}
article p + p {
  margin-top: 1em;
}

/*  hr */
section + section {
  padding-bottom: 2em;
}

section + section::before {
  content: "";
  display: block;
  background: url("../img/intercalaire-court.png") 50% 100% no-repeat;
  background-size: contain;
  height: 1em;
  margin: 1em 0 2.5em;
  border: none;
}

/* contacts */
#contacts a {
  display: block;
  font-variation-settings: "wght" 320, "wdth" 100;
  color: white;
  text-decoration-color: #dc4a5d;
  text-underline-offset: .25em;
} 

/* audio */
#audio  p {
  font-variation-settings: "wght" 400, "wdth" 100;
  letter-spacing: 0.05em;
  opacity: .7; 
  font-size: .85em;

}
.players {
  display: flex;
  gap: 0 1em;
  flex-wrap: wrap;
  justify-content: center;
}

.circle-audio-player {
  display: block;
  margin: .5em auto 0;
  cursor: pointer;
}


h3 {
  color: var(--white);
  font-family: "Bagnard";
  text-transform: uppercase;
  margin-bottom: 1em;
  letter-spacing: 0.05em;
}

h4 {
  color: var(--white);
  font-family: "Bagnard";
  margin: 1em 0 0em;
  letter-spacing: 0.05em;
}
h4::before, h4::after {
  content: " ✦ ";
  color: #4db7be;
  /* opacity: .3; */
  font-size: .8em;
}
.event + h3 {
  margin-top: 2em;
}
.event p {
  margin: 0;
}
.event p:last-child{
 opacity: .7; 
 letter-spacing: 0.1em;
 font-size: .85em;
}
.event p strong {
  font-variation-settings: "wght" 400, "wdth" 100;
}

/* archives des concerts */
.count {
  font-family: "Bagnard";
  color: var(--white);
  margin: 1em 0 0em;
  color: #4db7be;
}
.count::after {
  content: " ❦ ";
  /* opacity: .3; */
  display: block;
  font-size: 1.5em;
  position: relative;
  top:.1em
}
details {
  margin: 1em 0;
  scroll-margin-top: 1em;
}
::-webkit-details-marker {   display:none; }
summary {
  border: 1px solid;
  width: fit-content;
  margin: 0 auto;
  padding: .15em 1em;
  border-radius: .25em;
  cursor: pointer;
  list-style-type: none;
}
.archives {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 2em;
  padding: 0 2em;
  box-sizing: border-box;
}


.radio {
  margin: 0 auto;
  max-width: calc(100vw - (var(--flowersize) * 2  ));
  text-align: center;
}
.radio > .video-container {
  display: inline-block;
  max-width: 18vw;
  padding-bottom: 25% !important;
  border-radius: 2em;
  overflow: hidden;
  box-shadow: -.5em .25em 1em hsla(272, 65%, 0%, .9);
}
.radio > :nth-child(1) { transform: rotate(-12deg); }
.radio > :nth-child(2) { transform: rotate(8deg); }
.radio > :nth-child(3) { transform: rotate(-6deg); }
.radio > :nth-child(4) { transform: rotate(2deg); }
.radio > :nth-child(5) { transform: rotate(12deg); }
.radio > :nth-child(6) { transform: rotate(-8deg); }
.radio > :nth-child(7) { transform: rotate(2deg); }

.radio > :nth-child(8) { transform: rotate(8deg); }
.radio > :nth-child(9) { transform: rotate(-6deg); }
.radio > :nth-child(10) { transform: rotate(2deg); }
.radio > :nth-child(11) { transform: rotate(12deg); }
.radio > :nth-child(12) { transform: rotate(-8deg); }
.radio > :nth-child(13) { transform: rotate(2deg); }

/* responsive youtube / vimeo / iframe container */
.video-container {
  --monocolor:#dc4a5d;
  position: relative;
  padding: 0 0 56.25% !important; /* force un ratio de 16/9 */
  height: 0;
}
.video-container iframe, .video-container::after, .video-container::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* container size */
.video-container {
  width: 100%;
}

/* monochrome trick */
.video-container::before {
  pointer-events: none;
  content: "";
  background-color: #13071e;
  z-index: 1;
  mix-blend-mode: saturation;
}
.video-container::after {
  pointer-events: none;
  content: "";
  background-color: var(--monocolor);
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}
.video-container:focus-within::after {
  background-color: white;
  mix-blend-mode: normal;
}



@media (max-width:800px) {  
  :root {
    --flowersize:8vh;
  } 
  body {
    font-size: .8em;
  }
  section {
    line-height: 1.3;
  }
  #header img {
    max-height: 40vh;
  }
  .radio > .video-container {
    max-width: 30vw;
    max-height: 40vw;
    padding-bottom: 56% !important;
  }
}



@media (max-width:500px) {  
  
  .radio > .video-container {
    max-width: 90vw;
    max-height: none;
    padding-bottom: 56% !important;
  }
}