@charset "UTF-8";
/*!
Theme Name: B:B Thème de base Wordpress
Author: mica
Description: Thème de base 
Version: 0.0.1
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 8.0
License: The license of the theme.
License URI: The URL of the theme license.
Text Domain: bb-wp-base
*/
html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  text-rendering: optimizeSpeed;
  width: 100%;
}

*, :after, :before {
  box-sizing: border-box;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

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

:focus {
  outline: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

input, input:required {
  box-shadow: none;
}

input:-webkit-autofill, input:-webkit-autofill:active, input:-webkit-autofill:focus, input:-webkit-autofill:hover {
  -webkit-box-shadow: inset 0 0 0 30px #fff;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-results-button, input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type=search] {
  -webkit-appearance: none;
  -moz-appearance: none;
}

input:focus {
  outline: 0;
}

audio, canvas, video {
  display: inline-block;
  max-width: 100%;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

a:active, a:hover {
  outline: 0;
}

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

img, picture {
  display: inline-block;
}

button, input {
  line-height: normal;
}

button, html input[type=button], input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  background: 0 0;
  border: 0;
  cursor: pointer;
}

button[disabled], html input[disabled] {
  cursor: default;
}

[disabled] {
  pointer-events: none;
}

input[type=checkbox], input[type=radio] {
  padding: 0;
}

input[type=search] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

button {
  background: 0 0;
  border: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
  vertical-align: top;
}

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

hr {
  background: #000;
  border: 0;
  box-sizing: content-box;
  height: 1px;
  line-height: 0;
  margin: 0;
  overflow: visible;
  padding: 0;
  page-break-after: always;
  width: 100%;
}

pre {
  font-family: monospace, monospace;
  font-size: 100%;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: none;
}

code, kbd, pre, samp {
  font-family: monospace, monospace;
}

small, sub, sup {
  font-size: 75%;
}

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

sub {
  bottom: -5px;
}

sup {
  top: -5px;
}

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

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

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

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

legend {
  border: 0;
  color: inherit;
  display: block;
  max-width: 100%;
  white-space: normal;
  width: 100%;
}

fieldset {
  min-width: 0;
}

body:not(:-moz-handler-blocked) fieldset {
  display: block;
}

progress {
  vertical-align: baseline;
}

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

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

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

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

template {
  display: none;
}

small, .text_small {
  font-size: 0.75rem;
}

h1 {
  font-size: 4.209rem;
  margin-top: 0;
}

h2 {
  font-size: 3.157rem;
}

h3 {
  font-size: 2.369rem;
}

h4 {
  font-size: 1.777rem;
}

h5 {
  font-size: 1.333rem;
}

/*! ------ */
/* Variables à ajuster */
:root {
  --fz:max(18px, 1.5523vw);
  --lh:1.54;
  --lhtitle:1.1;
  --gap: 1.24em;
  --quartergap: calc(.25 * var(--gap));
  --halfgap: calc(.5 * var(--gap));
  --gap2x: calc(2 * var(--gap));
  --gap3x: calc(3 * var(--gap));
  --dur:.3s;
  --ease:cubic-bezier(.215, .61, .355, 1);
  --border: 0.22rem solid var(--wp--preset--color--red);
}

html, body {
  scroll-behavior: smooth;
}

body {
  font-size: var(--fz);
  line-height: var(--lh);
  height: 100%;
}

body.dossierurl .entry-content > .wp-block-columns,
body.av2 .entry-content > .wp-block-columns,
body.grz .entry-content > .wp-block-columns,
body.bostryche-2 .entry-content > .wp-block-columns {
  flex-direction: row-reverse !important;
}
body.dossierurl .block-numero,
body.av2 .block-numero,
body.grz .block-numero,
body.bostryche-2 .block-numero {
  text-align: right;
}
body.dossierurl .block-back2menu a,
body.av2 .block-back2menu a,
body.grz .block-back2menu a,
body.bostryche-2 .block-back2menu a {
  justify-content: end;
  flex-direction: row-reverse;
}
body.dossierurl .block-back2menu a svg,
body.av2 .block-back2menu a svg,
body.grz .block-back2menu a svg,
body.bostryche-2 .block-back2menu a svg {
  transform: scaleX(-1);
}

::-moz-selection {
  color: white;
  background-color: #111;
}

::selection {
  color: white;
  background-color: #111;
}

h1, h2, h3, h4 {
  line-height: var(--lhtitle);
}

h1, h2, h3, h4, h5 {
  margin: 3rem 0 1.38rem;
  font-weight: 800;
  line-height: var(--lhtitle);
}
h1 a, h2 a, h3 a, h4 a, h5 a {
  color: var(--wp--preset--color--red);
}

header.wp-block-template-part h1 {
  font-size: 8vw;
  line-height: 1.5;
}
header.wp-block-template-part h1 a {
  line-height: 0.8;
}

@media screen and (max-height: 800px) {
  header.wp-block-template-part h1 {
    font-size: 6.5vw;
    margin: 11vh auto !important;
    line-height: 1;
  }
  #intro {
    max-width: 60vw;
  }
}
body:not(.home) header.wp-block-template-part h1 {
  color: var(--wp--preset--color--black);
  background: var(--wp--preset--color--red);
  margin-bottom: 0.2em;
  margin-top: 0.2em;
  margin-left: 1em;
  margin-right: 1em;
}

body.home .block-back2menu {
  display: none;
}

.home .wp-block-query li {
  position: relative;
}
.home .wp-block-query li .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.home .wp-block-query li:nth-child(even) .block-numero {
  text-align: right;
}
.home .wp-block-query li:nth-child(even) .wp-block-columns {
  flex-direction: row-reverse;
}
.home .wp-block-query li:nth-child(even) .wp-block-columns .wp-block-column {
  text-align: right;
}

.block-back2menu {
  margin-bottom: 1rem;
  margin-bottom: 5rem;
}
.block-back2menu a {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 1.3rem;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--wp--preset--font-family--arialblack);
}

.flecheBas {
  transform: translateY(-1rem);
}
.flecheBas a {
  text-decoration: none;
}
.flecheBas .wp-block-outermost-icon-block {
  transform: translateY(-1rem);
}
.flecheBas .icon-container svg {
  display: inline-block;
  transform: translateY(-2rem);
  animation: moveArrow 1s ease infinite alternate-reverse;
}
@keyframes moveArrow {
  0% {
    transform: translateY(-2rem) scaleY(0.9) scaleX(1.1);
  }
  18% {
    transform: translateY(-1.8rem);
  }
  100% {
    transform: translateY(0rem);
  }
}

#intro figure {
  position: relative;
}
#intro figure::before {
  content: "";
  width: 100%;
  height: 100%;
  background: #CC1203;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  opacity: 0;
  mix-blend-mode: multiply;
  filter: saturate(0.8);
  transition: all 0.3s ease-out;
}
#intro figure img {
  transition: all 0.3s ease-out;
  filter: none;
}
@media (hover: hover) {
  #intro figure:hover:before {
    opacity: 1;
  }
  #intro figure:hover img {
    filter: grayscale(1) brightness(1.7) contrast(0.5);
  }
  #intro figure:hover figcaption {
    opacity: 1;
  }
}
#intro figure figcaption {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 31;
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  transition: all 0.3s ease-out 0.1s;
  text-align: left;
  line-height: 1;
  margin-right: 3rem;
}

.entry-content figure.wp-block-post-featured-image,
.entry-content figure.wp-block-image {
  border: var(--border);
}
.entry-content ul > li {
  list-style-type: none;
  margin-left: 0;
  margin-top: 10rem !important;
  margin-bottom: 10rem !important;
}
.entry-content ul > li .wp-block-columns {
  gap: 0 4vw;
}
.entry-content ul > li.category-video figure {
  position: relative;
}
.entry-content ul > li.category-video figure:before {
  content: "VIDÉO !";
  line-height: 1;
  position: absolute;
  top: -1rem;
  font-weight: bold;
  font-family: var(--wp--preset--font-family--arialblack);
  text-transform: uppercase;
  z-index: 1;
  padding: 0.5rem;
  right: -1rem;
  transform: rotate(12deg);
  background: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
  border-radius: 0.3rem;
  animation: heartbeat 2s ease-in-out infinite both;
  pointer-events: none;
}

@keyframes heartbeat {
  from {
    transform: rotate(12deg) scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }
  10% {
    transform: rotate(12deg) scale(0.91);
    animation-timing-function: ease-in;
  }
  17% {
    transform: rotate(12deg) scale(0.98);
    animation-timing-function: ease-out;
  }
  33% {
    transform: rotate(12deg) scale(0.87);
    animation-timing-function: ease-in;
  }
  45% {
    transform: rotate(12deg) scale(1);
    animation-timing-function: ease-out;
  }
}
.block-numero {
  font-family: var(--wp--preset--font-family--arialblack) !important;
  font-weight: bold;
  margin-bottom: 2rem;
}

.block-numero strong {
  transform: translateY(0.2em);
  display: inline-block;
  color: var(--wp--preset--color--white);
  font-size: 2rem;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 0.3rem;
}

footer a {
  text-decoration: none;
}

/* Pour les mobiles */
@media screen and (max-width: 600px) {
  :root {
    --border: 0.12rem solid var(--wp--preset--color--red);
  }
  .wp-block-navigation__responsive-container-close svg,
  .wp-block-navigation__responsive-container-open svg {
    transform: scale(1.3);
  }
  .wp-block-navigation__responsive-container-close {
    position: absolute;
    top: 1em;
    right: 0.8em;
  }
  div.wp-block-navigation__responsive-container.is-menu-open {
    height: 100vh;
    font-size: 1.2em;
    font-weight: bold;
    animation-duration: 0.453s;
  }
  div.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 0;
    height: 100vh;
    align-items: center;
  }
  div.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content ul {
    width: 100%;
    padding: 1em;
    justify-content: center !important;
  }
  div.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content ul li.wp-block-navigation-item {
    width: 100%;
    align-items: center;
  }
  div.wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation.wp-block-navigation__responsive__container {
    width: 100% !important;
    padding: 1em;
  }
}
@keyframes overlay-menu__fade-in-animation {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}/*# sourceMappingURL=main.css.map */