/*
Theme Name: Mosaïque
Author: Raf
Author URI: https://raf.pm
Description: Thème sur mesure pour l'association mosaïque
Version: 2025
*/

/* RESET CSS */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  overflow-x: hidden;
  font-size: 2rem;
  color: var(--black);
  background-color: var(--white);
}

ol,
ul {
  line-height: 3rem;
  margin-bottom: 1rem;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

sub {
  bottom: -0.25em;
}

b,
strong {
  font-weight: 700;
}

.upper {
  text-transform: uppercase;
}

/* END RESET CSS */

html {
  font-size: 62.5%;
  --black: #000;
  --white: #fff;
  --grey: #AAA;
  font-family: "Roboto Slab", serif;
  font-weight: 300;
}

img {
  max-width: 100%;
  height: auto;
}

/* TYPOS */


h1,
.h1-like {
  font-family: 'Roboto', sans-serif;
  font-size: 8rem;
  line-height: 8.8rem;
}

.single-post h1 {
  font-size: 4.4rem;
  line-height: 5rem;
  margin: 2rem 0;
}

h2,
.h2-like {
  font-family: 'Roboto', sans-serif;
  font-size: 6.5rem;
  line-height: 7.2rem;
  font-weight: 900;
}

h2.wp-block-heading {
  font-size: 3rem;
  line-height: 3.6rem;
  margin: 2rem 0;
}

h3,
.h3-like {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 4rem;
}

h4,
.h4-like {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 2.2rem;
}

h5,
.h5-like {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 2rem;
}

h6,
.h6-like {
  font-family: "Roboto", serif;
  font-weight: 700;
  font-size: 2rem;
}

h1+p,
h2+p,
h3+p,
h4+p,
h5+p,
h6+p {
  margin-top: 1.2rem;
}

h3+p,
h4+p,
h5+p,
h6+p {
  margin-top: .6rem;
}

p {
  font-size: 2rem;
  line-height: 3rem;
  margin-bottom: 1.2rem;
}

p:last-of-type {
  margin-bottom: 0;
}

.page-template-default p {
  margin-bottom: 1.2rem;
}

p em,
p i {
  font-style: italic;
}

.cite {
  font-size: 2.4rem;
  line-height: 4rem;
}

.white {
  color: var(--white);
}

.black {
  color: var(--black);
}

a {
  text-decoration: none;
  color: var(--black);
}

p a {
  transition: .15s;
  text-decoration: underline;
}

p a:hover {
  color: var(--grey);
}

p.h4-like a {
  text-transform: none;
}

img+h3 {
  margin-top: .6rem;
}


/* Pictos */

.socials {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 2% 0 0;
}

.socials a {
  display: flex;
  flex-flow: column;
  justify-content: start;
}

.socials .picto {
  fill: var(--white);
  width: 2.6rem;
  height: 2.2rem;
  transition: .15s;
}

.socials a:hover .picto {
  fill: var(--grey);
}

.picto {
  width: 5.8rem;
  height: 4.8rem;
  fill: var(--grey);
}



/* LOADER */
#loader {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999999;
  transform-origin: 50% 50%;
  background: var(--white);
  background-size: 400% 400%;
  animation: gradient 8s ease infinite;
  transition: .1s;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.loader {
  height: 5px;
  width: 5px;
  color: var(--black);
  box-shadow: -10px -10px 0 5px,
    -10px -10px 0 5px,
    -10px -10px 0 5px,
    -10px -10px 0 5px;
  animation: loader-38 6s infinite;
}

@keyframes loader-38 {
  0% {
    box-shadow: -10px -10px 0 5px,
      -10px -10px 0 5px,
      -10px -10px 0 5px,
      -10px -10px 0 5px;
  }

  8.33% {
    box-shadow: -10px -10px 0 5px,
      10px -10px 0 5px,
      10px -10px 0 5px,
      10px -10px 0 5px;
  }

  16.66% {
    box-shadow: -10px -10px 0 5px,
      10px -10px 0 5px,
      10px 10px 0 5px,
      10px 10px 0 5px;
  }

  24.99% {
    box-shadow: -10px -10px 0 5px,
      10px -10px 0 5px,
      10px 10px 0 5px,
      -10px 10px 0 5px;
  }

  33.32% {
    box-shadow: -10px -10px 0 5px,
      10px -10px 0 5px,
      10px 10px 0 5px,
      -10px -10px 0 5px;
  }

  41.65% {
    box-shadow: 10px -10px 0 5px,
      10px -10px 0 5px,
      10px 10px 0 5px,
      10px -10px 0 5px;
  }

  49.98% {
    box-shadow: 10px 10px 0 5px,
      10px 10px 0 5px,
      10px 10px 0 5px,
      10px 10px 0 5px;
  }

  58.31% {
    box-shadow: -10px 10px 0 5px,
      -10px 10px 0 5px,
      10px 10px 0 5px,
      -10px 10px 0 5px;
  }

  66.64% {
    box-shadow: -10px -10px 0 5px,
      -10px -10px 0 5px,
      10px 10px 0 5px,
      -10px 10px 0 5px;
  }

  74.97% {
    box-shadow: -10px -10px 0 5px,
      10px -10px 0 5px,
      10px 10px 0 5px,
      -10px 10px 0 5px;
  }

  83.3% {
    box-shadow: -10px -10px 0 5px,
      10px 10px 0 5px,
      10px 10px 0 5px,
      -10px 10px 0 5px;
  }

  91.63% {
    box-shadow: -10px -10px 0 5px,
      -10px 10px 0 5px,
      -10px 10px 0 5px,
      -10px 10px 0 5px;
  }

  100% {
    box-shadow: -10px -10px 0 5px,
      -10px -10px 0 5px,
      -10px -10px 0 5px,
      -10px -10px 0 5px;
  }
}



@keyframes paddles {
  0% {
    box-shadow: -25px -10px, 25px 10px
  }

  50% {
    box-shadow: -25px 8px, 25px -10px
  }

  100% {
    box-shadow: -25px -10px, 25px 10px
  }
}

@keyframes ballbounce {
  0% {
    transform: translateX(-20px) scale(1, 1.2)
  }

  25% {
    transform: scale(1.2, 1)
  }

  50% {
    transform: translateX(15px) scale(1, 1.2)
  }

  75% {
    transform: scale(1.2, 1)
  }

  100% {
    transform: translateX(-20px)
  }
}


/* HEADER */

.page-template-front-page header {
  width: 100%;
  top: 0;
  display: flex;
  justify-content: center;

}

.hackHeaderNav {
  height: 8rem;
}

.menu-menu-container,
.menu-menu-1-container {
  width: 100%;
}

#navigation {
  height: 4rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  color: var(--white);
  z-index: 9999;
  justify-content: center;
  position: relative;
  transition: .15s;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  background: var(--black);
}

.page-template-front-page #navigation {
  background-color: transparent;
}

#navigation.fixed {
  height: 4rem;
  background-color: var(--black);
}


#navigation ul {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3.5%;

}

#navigation ul li {
  display: inline-flex;
  list-style-type: none;
  font-family: "Roboto", serif;
  font-weight: 500;
  font-size: 1.8rem;
  flex: 0 0 auto;
  transition: .3s;
}

#navigation ul li a {
  color: var(--white);
  text-decoration: none;
  position: relative;

}

#navigation ul li a:hover {
  color: var(--grey);
}

.lienSupNav {
  position: absolute;
  right: 2%;
  top: 3rem;
  z-index: 9999;
}

.lienSupNav a {
  color: #eee !important;
}

.lienSupNav a:hover {
  color: var(--white) !important;
}

.hamburger {
  display: none !important;
}


@media (max-width: 880px) {
  header {
    height: 14rem;
    position: fixed;
    z-index: 999;
  }

  /* Nav */
  .hamburger {
    display: inline-block !important;
    position: fixed;
    right: 2%;
    padding: 0;
  }

  .hamburger .hamburger-box {
    width: 24px;
    height: 24px;
    display: inline-block;
  }

  .hamburger .hamburger-inner,
  .hamburger .hamburger-inner::before,
  .hamburger .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--white);
  }

  .hamburger .hamburger-inner::before {
    top: -9px;
  }

  .hamburger .hamburger-inner::after {
    bottom: -9px;
  }

  #navigation {
    justify-content: right;
    max-width: 100%;
  }

  #navigation {
    position: fixed;
    top: 0;
    height: 4rem;
  }

  #navigation ul {
    margin: 0 auto;
    width: 100%;
    position: fixed;
    top: 4rem;
    left: -200vw;
    transition: .15s;
    display: block;
    padding: 0;
    background: var(--black);
    opacity: 0;
  }

  #navigation.fixed ul {
    top: 4rem;
  }

  #navigation ul li {
    text-align: center;
    display: block;
    margin: 0 !important;
    padding: 2rem 0;
  }

  #navigation ul li a {
    color: var(--white);
    text-decoration: none;
  }

  #navigation.active {
    background: var(--black);
  }

  #navigation.active ul {
    opacity: 1;
    transition: .15s;
  }

  #navigation ul.active {
    left: 0;
    z-index: 999;
  }

  .lienSupNav {
    right: 7rem;
    z-index: 9999;
  }

  header .socials {
    position: absolute;
    left: 15%;
  }

  #logohead {
    width: 3.6rem;
  }

}


/* SUBNAVIGATION */

.subnav {
  height: 4rem;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.subnav ul li {
  display: inline-block;
  list-style-type: none;
  padding: 0 2rem;
  font-size: 1.8rem;
  line-height: 4rem;
  font-family: "Inter", serif;
  font-weight: 300;
  margin-bottom: -1.4rem;
}

.subnav ul li a {
  text-decoration: none;
  color: var(--white);
  font-family: "Inter", sans-serif;
}

.subnav ul li:not(:last-of-type)::after {
  content: "";
  display: inline-block;
  height: 16px;
  width: 1px;
  margin-left: 2rem;
  position: absolute;
  top: 1.3rem;
}

.nav-pagination {
  display: flex;
  width: 100%;
  justify-content: center;
}

.nav-pagination .page-numbers {
  margin: 0 1.6rem;
}

/* MISE EN PAGE */

section {
  margin: 0 auto;
}

.center {
  text-align: center !important;
}

.right {
  text-align: right !important;
}

.nomarge,
.nomargeIn>p {
  margin: 0 !important;
}

.margetopS {
  margin-top: 3rem !important;
}

.margetop {
  margin-top: 6.4rem !important;
}

.margetopL {
  margin-top: 12.8rem !important;
}

.margebotS {
  margin-bottom: 3rem !important;
}

.margebot {
  margin-bottom: 6.4rem !important;
}

.padtop {
  padding-top: 6.4rem !important;
}

.padbot {
  padding-bottom: 6.4rem !important;
}

.padtopS {
  padding-top: 3.2rem !important;
}

.padbotS {
  padding-bottom: 3.2rem !important;
}

.lightgrey {
  background-color: var(--gris);
}

.container {
  position: relative;
  width: 179.6rem;
  max-width: 94%;
  margin: 0 auto;
  z-index: 3;
}

.container.slim {
  width: 136.4rem;
}

.container.Xslim {
  width: 80.2rem;
}

.ref {
  position: relative;
}

.row {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  gap: 4%;
}

.row.baseline {
  align-items: baseline;
}

.row.stretch {
  align-items: stretch;
}

.row.top {
  align-items: flex-start;
}

.row.start {
  justify-content: flex-start;
}

.row.around {
  justify-content: space-around;
}

.row.infini {
  flex-flow: row wrap;
  justify-content: strat;
}

.row.cent {
  justify-content: center !important;
}

.row.end {
  justify-content: flex-end !important;
}

.row.infini {
  gap: 4%;
}

.row.full {
  gap: 2%;
}

.row.title {
  display: inline-flex;
  justify-content: flex-start;
  gap: 1rem;
  border-bottom: solid 2px var(--grey);
  padding-bottom: 1.2rem;
}

.col6 {
  flex: 0 0 48%;
}

.col1 {
  flex: 0 0 6%;
}

.col3 {
  flex: 0 0 22%;
}

.col3-like {
  max-width: 42rem;
}

.col4 {
  flex: 0 0 30.666%;
}

.col4-like {
  max-width: 57rem;
}

.col5 {
  flex: 0 0 39%;
}

.row.full .col6.fullImg {
  flex: 0 0 50%;
}

.col7 {
  flex: 0 0 57%;
}

.col8 {
  flex: 0 0 65.333%;
}


.col1 img,
.col3 img,
.col4 img,
.col5 img,
.col6 img,
.col8 img {
  position: relative;
  max-width: 100%;
  width: 100%;
  z-index: 2;
}

img.auto,
.col3 img.auto {
  width: auto !important;
}

.ordre {
  order: 2;
}

/* Theme */

.hero {
  width: 100vw;
  min-height: 72rem;
  box-sizing: border-box;
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF !important;
  overflow-y: hidden;
  z-index: 20;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.hero .backG {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .intro {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.hero .intro img {
  width: 100%;
  max-width: 88rem;
}

.hero .intro .container {
  padding-right: 4.2rem;
}

.hero .intro .row {
  gap: 10%;
}

.hero video {
  width: 100%;
  box-shadow: #000;
}

.hero div,
.hero a {
  z-index: 2;
}

.aere {
  max-width: 56rem;
  margin: 0 auto;
}

.aire {
  max-width: 57rem;
  margin: 0 auto;
}

.bold {
  font-weight: 700;
}


.demiEcran {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: none !important;
}

.logo {
  height: 6.8rem;
  width: 6.8rem;
}

.line {
  width: 2px;
  margin: 0 5vw;
  background-color: var(--white);
  box-sizing: border-box;
  flex: 0 0 2px;
}

.enAvant {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

a.enAvant {
  text-decoration: none !important;
}

.light {
  font-weight: 300;
}

.introActivite {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.introActivite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.age,
.prix {
  position: absolute;
  z-index: 3;
  bottom: 0.2rem;
  padding: 2rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--black);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.age {
  left: 0;
}



.activiteEnfant .age {
  width: 100%;
  bottom: 0rem;
  padding: 1.4rem 0;
}

.activiteEnfant img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.prix {
  right: 0;
}

.benevole {
  margin-top: .8rem;
}

.benevole p {
  font-size: 1.6rem !important;
}

svg.helloasso .cls-1 {
  fill: #ae539a;
}

svg.helloasso .cls-2 {
  fill: #bb7836;
}

svg.helloasso .cls-3 {
  fill: #5eb98a;
}

svg.helloasso .cls-4 {
  fill: #2e2f5e;
}

svg.helloasso.entier {
  max-width: 20rem;
  display: block;
}

.cadre {
  border: solid 1px var(--black);
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-flow: column;
  justify-content: space-evenly;
  align-items: center;
  min-height: 100%;
}


.mail svg {
  height: 1.6rem;
  transform: translateY(.3rem);
  fill: none;
  stroke-width: .05rem;
  stroke: var(--grey);
  stroke-linecap: round;
  stroke-linejoin: round;
}




/* Medias */

.video {
  width: 100%;
  padding-bottom: 56.25%;
}

.video iframe,
.video video {
  width: 100%;
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.f1-1 {
  position: relative;
  aspect-ratio: 1/1;
}

.fvignette {
  aspect-ratio: 0.691;
}

.f4-3 {
  aspect-ratio: 4/3;
}

.f3-4 {
  aspect-ratio: 3/4;
}

.f16-9 {
  aspect-ratio: 16/9;
}

.f1-6 {
  aspect-ratio: 1.6;
}

.wp-block-image {
  margin: 2.4rem 0;
}

figcaption {
  z-index: 2 !important;
  background: none !important;
}

p.credits {
  position: absolute;
  bottom: 0;
  right: 0;
  color: var(-- white) !important;
  padding: 0.4rem .8rem;
  box-sizing: border-box;
  z-index: 5;
  opacity: 0;
  transition: .3s;
  font-size: 1.4rem !important;
  line-height: 1.8rem !important;
}

div:hover>.credits,
section:hover>.credits {
  opacity: .5;
}

#blog a.col4,
#merch a.col3 {
  display: block;
  margin-bottom: 2.4rem;
}


.wp-block-separator {
  border-top: none;
  margin-top: 4rem;
}

/* PAGINATION ARCHIVE */

.navigation {
  text-align: center;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
  display: inline-flex;
  text-decoration: none;
}

.navigation li {
  display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
  cursor: pointer;
  padding: 12px;
  padding: 0.75rem;
}

.navigation li a:hover {
  color: #bbb;
}

.navigation li.active a {
  font-family: 'Stratos', sans-serif;
  font-weight: 500;
}

/* Logos */

a.logos {
  display: block;
  min-height: 10rem;
  margin-bottom: 1.6rem;
}

a img {
  transition: .3s;
}

a:hover img {
  filter: grayscale(1);
}


/* COMMENTAIRE */

#comments-list ul li {
  list-style-type: none;
}

/* FORMS  */

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  appearance: none;
  -webkit-appearance: none;
  font-family: "Cormorant Garamond", serif;
  height: 38px;
  padding: 6px 10px;
  color: var(--black);
  border: 1px solid var(--black);
  box-shadow: none;
  box-sizing: border-box;
  width: 100%;
  font-size: 1.6rem;
}

select option {
  background-color: var(--grey);
}

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  margin-top: 0.9rem;
  width: 100%;
  font-size: 1.6rem;
  font-family: "Cormorant Garamond", serif;
  min-height: 120px;
  padding-top: 6px;
  padding-bottom: 6px;
  width: 100%;
}

form .row {
  gap: 1.2rem;
  margin-bottom: 1.2rem
}

form .row p {
  margin-bottom: 0;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--white);
}

.wpcf7-submit {
  font-size: 2rem;
  font-family: "Cormorant Garamond", serif;
}

.wpcf7-list-item {
  margin: 0 !important;
  font-size: 1.4rem !important;
  line-height: 1.8rem !important;
  display: flex;
}

.wpcf7-list-item input {
  margin: 0 1rem 0 0 !important
}

@media (max-width: 848px) {
  form {
    width: 95%;
    margin-left: 1.5%;
  }
}

@media (max-width: 720px) {
  form .row p:nth-of-type(even) {
    margin-left: 0;
  }
}


input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid var(--orange);
  outline: 0;
}

label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-size: 1.6rem;
  line-height: 2rem;
}

fieldset {
  padding: 0;
  border-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline;
}

label>.label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal;
  background-color: var(--black);
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10.38 6.6'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %23fff; %7D %3C/style%3E%3C/defs%3E%3Cpolygon class='cls-1' points='5.19 6.6 0 1.41 1.41 0 5.19 3.78 8.97 0 10.38 1.41 5.19 6.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: 99% 50%;
}

.grecaptcha-badge {
  visibility: hidden !important;
}


/* BREVO */

#sib-container {
  background-color: inherit !important;
}

.sib-form .entry__field {
  align-items: center;
  background: transparent !important;
  border: 1px solid #fff !important;
  border-radius: 0 !important;
  display: -webkit-inline-flex;
  display: inline-flex;
  padding: 1rem;
}

.entry__choice label p {
  font-size: 1.4rem;
}

/* LAZY LOADIMG */

.lazy {
  opacity: 0;
}

.lazy:not(.initial) {
  transition: 1s;
}

.lazy.initial,
.lazy.loaded,
.lazy.error,
.lazy.entered {
  opacity: 1;
}

.lazy.loaded {
  transition: .15s;
}

.copyr {
  position: absolute;
  bottom: 0;
  left: 1.4rem;
  color: var(--white);
  font-size: 1.4rem;
  z-index: 3;
}

@keyframes wave {
  0% {
    background-color: rgba(187, 187, 187, 0.8);
  }

  100% {
    background-color: rgba(187, 187, 187, 0.3);
  }
}

/* BUTTONS */

.button,
button.button,
input[type="reset"],
input[type="button"] {
  display: inline-flex;
  position: relative;
  max-width: 98%;
  height: 4.4rem;
  padding: 0 .6rem 0 2.8rem;
  border-radius: 0;
  margin-right: 2.1rem;
  background: var(--black);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  z-index: 2;
  border: none;
  transition: .3s;
}

.button::before,
button.button::before,
input[type="reset"]::before,
input[type="button"]::before {
  content: "";
  z-index: -1;
  display: block;
  position: absolute;
  right: -2.2rem;
  top: 0;
  transform-origin: center center;
  width: 2.2rem;
  height: 2.2rem;
  background-color: var(--black);
  transition: .3s;
}

.button::after,
button.button::after,
input[type="reset"]::after,
input[type="button"]::after {
  content: "";
  z-index: -1;
  display: block;
  position: absolute;
  right: -2.2rem;
  bottom: 0;
  transform-origin: center center;
  width: 2.2rem;
  height: 2.2rem;
  background-color: var(--black);
  transition: .3s;
}


.button span {
  display: block;
  font-weight: 300;
  font-size: 2rem;
}

.hero .button {
  min-width: 20rem;
  height: 8.4rem;
  padding: 0 .6rem 0 4.8rem;
  font-size: 3.4rem;
}

.hero .button::before {
  right: -4.2rem;
  width: 4.2rem;
  height: 4.2rem;
}

.hero .button::after {
  right: -4.2rem;
  width: 4.2rem;
  height: 4.2rem;
}


.button:hover::before,
button.button:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  right: -2.5rem;
  top: -.3rem;
}

.hero .button:hover::before {
  right: -4.8rem;
  top: -.6rem;
}

input[type="submit"] {
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

input::placeholder {
  color: #BBB;
}

.button.black,
.button.black::after,
.button.black::before,
button.black,
button.black::after,
button.black::before {
  background: var(--black) !important;
}


.button.inscription {
  background: var(--white);
  border: solid 1px var(--black);
  color: var(--black);
  padding: 0 2.8rem;
  flex-flow: row;
  margin: 0;
}

.button.inscription svg {
  width: 2.8rem;
  height: 2.8rem;
  margin-right: 1rem;
}

.button.inscription::before,
.button.inscription::after {
  display: none;
}

.button.inscription:hover {
  border: solid 1px var(--grey);
  color: var(--grey);
}

.wp-element-button {
  padding: 1rem;
  border-radius: 0;
  background: var(--black);
}

/* BREVO */

.sib-form,
#sib-container,
.sib-form-block {
  padding: 0 !important;
  margin: 0 !important;
}

#sib-container form {
  width: 100%;
  margin: 0 !important;
}

.sib-optin {
  margin: 1.2rem 0 !important;
}

a.linkW {
  color: var(--white) !important;
  text-decoration: underline !important;
}

.sib-form .entry__error {
  color: var(--black) !important;
}


/* FOOTER */

footer {
  position: relative;
  padding: 3.6rem 0 6.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  line-height: 3.4rem;
}

footer p {
  font-size: 1.4rem;
  line-height: 2.4rem;
}

footer ul {
  list-style: none;
}

footer a {
  text-decoration: none;
  line-height: 3.4rem;
  font-size: 1.4rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

footer li a {
  display: inline-flex;
  justify-content: start;
  align-items: center;
  flex-flow: row;
  gap: 0.6rem;
}

footer .prim {
  font-weight: 700;
}

footer .row.start ul:first-of-type {
  margin-right: 10%;
}

footer .row {
  justify-content: space-evenly;
}

footer a:hover {
  color: var(--grey);
}

footer .picto {
  width: 2rem;
  height: 2rem;
  fill: var(--white);
}

footer a:hover .picto {
  fill: var(--grey);
}

/* RESPONSIVE */


@media (max-width: 2200px) {
  .modal-content {
    width: 80%;
    height: unset;
  }
}

@media (max-width: 1920px) {

  .hero h1 {
    font-size: 10.7vw;
    text-align: center;
    line-height: 10vw;
  }

  .hero p {
    font-size: 2.3vw !important;
    margin: 0;
    transform: translateX(3.4vw);
  }

  .twitchNope {
    font-size: 1.8vw !important;
  }

  .twitchDay {
    font-size: 2.6vw;
    line-height: 4vw;
  }

  .twitchTime {
    font-size: 2.3vw;
    line-height: 2.2vw;
  }

  .twitchTime::after,
  .twitchTime::before {
    height: 1.3vw;
    width: 3.4vw;
  }



}

@media (max-width: 1400px) {

  .aere {
    max-width: 40%;
  }

}

@media (max-width: 1160px) {


  p,
  ul,
  li {
    font-size: 1.6rem !important;
  }


  .button,
  button,
  input[type="submit"],
  input[type="reset"],
  input[type="button"] {
    font-size: 2rem !important;
  }

  .hero .button {
    min-width: 0;
    display: flex;
  }

  .hero .intro img {
    max-width: 75%;
  }

}

@media (max-width: 800px) {

  .row {
    display: block;
  }

  .hero .button {
    width: 60%;
    margin: 0 auto;
    transform: translateX(-1.8rem);
  }

  .row.nochange {
    display: flex;
  }

  .margetopL {
    margin-top: 6.4rem !important;
  }

  .col3,
  .col4,
  .col5,
  .col6,
  .col8 {
    margin-bottom: 2.4rem;
  }

  .aere {
    max-width: 80%;
    margin: 12.4rem auto;
  }

  .demiEcran {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
  }

  #supporters .col4 {
    transform: none !important;
    font-size: 2.2rem !important;
  }

  #supporters p {
    font-size: 2.2rem !important;
  }

  form .row {
    margin-bottom: 0;
  }

  footer {
    text-align: center;
  }

  footer .col {
    max-width: 100%;
  }

}

@media (max-width: 600px) {

  .single-post h1 {
    font-size: 3.4rem;
    line-height: 4rem;
  }

  h2,
  .h2-like {
    font-size: 3.4rem;
    line-height: 4rem;
  }

  h3,
  .h3-like {
    font-size: 2.4rem;
  }

  .picto,
  .logo {
    width: 2.8rem;
    height: 2.8rem;
  }

  footer {
    padding: 0;
  }

}

@media (max-width: 408px) {
  .row.infini .col3 {
    flex: 0 0 100%;
  }

  h2 {
    font-size: 2.4rem;
    line-height: 3rem;
  }
}

#cmplz-cookiebanner-container {
  position: relative;
  z-index: 10;
}

#cmplz-header-1-optin {
  font-family: 'Inter', sans-serif;
}

.cmplz-always-active {
  color: var(--white) !important;
}

.cmplz-body p {
  font-size: 1.4rem;
  line-height: 2rem;
}

button.cmplz-manage-consent {
  background-color: var(--grey) !important;
  bottom: -50px !important;
  right: 0;
}