@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Taviraj:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
:root,
:host {
  --pico-font-family-serif: "Nunito Sans", sans-serif;
  --pico-font-family: var(--pico-font-family-serif);
  --pico-font-weight: 200;
}
[data-theme=light],
:root:not([data-theme=dark]),
:host(:not([data-theme=dark])) {
  --pico-background-color: #f5f1ee;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  --pico-font-family: "Taviraj", serif;
  --pico-font-weight: 200;
  --pico-typography-spacing-vertical: 2rem;
  font-style: italic;
}
button.bloc {
  width: 100%;
}
.preloader {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--pico-background-color);
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.preloader .loader {
  display: block;
  width: 100px;
  height: 65px;
  background: url(../themes/joellemerlin/assets/img/camera.png) center center no-repeat;
  opacity: 0.1;
  animation: pulse 0.8s infinite;
}
@keyframes pulse {
  0% {
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.1;
  }
}
html,
body {
  min-height: 100vh;
}
/*body {
	&.page-accueil {
		background: url(../img/arbre.webp);
		background-repeat: no-repeat;
		background-position: top center;
		background-size: cover;
	}
}*/
/* Menu Mobile */
.sticky-burger {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 101;
}
#burger {
  display: none;
}
#burger + label {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  height: 30px;
  width: 30px;
  z-index: 5;
}
#burger + label span {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 50%;
  margin-top: -1px;
  left: 0;
  display: block;
  background: #020304;
  transition: 0.5s;
}
#burger + label span:first-child {
  top: 3px;
}
#burger + label span:last-child {
  top: 26px;
}
#burger + label:hover {
  cursor: pointer;
}
#burger:checked + label span {
  opacity: 0;
  top: 50%;
}
#burger:checked + label span:first-child {
  opacity: 1;
  transform: rotate(405deg);
}
#burger:checked + label span:last-child {
  opacity: 1;
  transform: rotate(-405deg);
}
#burger ~ nav {
  position: sticky;
  height: 100vh;
  transition: 0.5s;
  transform: translateY(-100vh);
  background-color: var(--pico-background-color);
  opacity: 0;
}
#burger ~ nav ul {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
}
#burger ~ nav > ul > li {
  opacity: 0;
  transition: 0.5s;
  transition-delay: 0s;
}
#burger ~ nav > ul > li > a {
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pico-contrast);
}
#burger:checked ~ nav {
  transform: translateY(0);
  transition-delay: 0s;
  opacity: 1;
}
#burger:checked ~ nav > ul > li {
  opacity: 1;
  transition-delay: 0.3s;
}
/* End Menu Mobile */
.nav-wrapper {
  background-color: rgba(255, 255, 255, 0.7);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrapper .menu {
  display: none;
}
nav .brand {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  padding: 0;
}
nav .brand small {
  display: block;
  float: right;
  font-family: var(--pico-font-family-serif);
  font-size: 0.65rem;
  margin-top: -0.7rem;
}
nav .brand::before {
  display: inline-block;
  width: 50px;
  height: 50px;
  content: "";
  background: url(../themes/joellemerlin/assets/img/organic.webp) 0 0 no-repeat;
  margin-bottom: -0.75rem;
  margin-right: -1rem;
}
nav li {
  font-style: italic;
}
nav li a:not(.brand)::after {
  display: block;
  height: 1px;
  width: 0;
  content: "";
  background-color: var(--pico-color);
  transition: all 0.3s ease-out;
}
nav li a:not(.brand):hover::after {
  width: 100%;
}
nav li a:hover {
  text-decoration: none;
}
nav li a .brand {
  color: var(--pico-primary-color);
}
main {
  margin-top: 1rem;
}
figure {
  position: relative;
  margin-bottom: 1rem;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
}
figure figcaption {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: rgba(205, 207, 210, 0.25);
  color: rgba(0, 0, 0, 0.25);
  text-align: center;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: #fff;
  text-shadow: 4px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease-out;
}
figure:hover figcaption {
  background-color: rgba(205, 207, 210, 0);
}
/* Flash message */
.flash-message {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--pico-ins-color);
  color: white;
  text-align: center;
  padding: 0.5rem;
  z-index: 101;
}
.flash-message button {
  background-color: transparent;
  border: none;
  float: right;
  margin-bottom: 0;
}
/* End Flash message */
@media (min-width: 768px) {
  .sticky-burger {
    display: none;
  }
  .nav-wrapper .menu {
    display: block;
  }
}
