@charset "UTF-8";
/* stylelint-disable scss/no-global-function-names */
:root {
  --scale-2: 0.7rem; /* 0.7rem ÷ 1.5 */
  --scale-1: 1rem; /* 1rem ÷ 1.5   */
  --scale0: 1.125rem; /* body text  at 18px */
  --scale1: 1.3125rem; /* body text  at 21px */
  --scale2: 1.5rem; /* 1rem × 1.5   */
  --scale3: 2.25rem; /* 1.5rem × 1.5 */
}

body {
  font-family: Fraunces, serif;
  font-weight: 350;
  font-size: 1.125rem;
  color: var(--root-light);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

p,
li {
  font-weight: 350;
}

.p {
  font-weight: 350;
}

p {
  margin-top: 0;
}
p:not(:first-of-type) {
  padding-top: 0.5rem;
}

a {
  color: currentcolor;
}
a:not(.decorated) {
  text-decoration: none;
}

b,
strong {
  font-weight: 600;
}

h1,
.h1,
h2,
.h2 {
  font-family: Fraunces, serif;
  font-variation-settings: "wgth" 500;
  margin-bottom: 18px;
  margin-top: 0;
}

h1,
.h1 {
  font-size: calc(1.307rem + 0.684vw);
  line-height: 1.2;
  text-transform: uppercase;
}
@media (min-width: 1200px) {
  h1,
  .h1 {
    font-size: 1.82rem;
  }
}
h1.page,
.h1.page {
  letter-spacing: 0.01em; /*  TODO: Not optimal... */
}

h2,
.h2 {
  font-size: calc(1.25625rem + 0.075vw);
  line-height: 1.25;
  text-transform: uppercase;
}
@media (min-width: 1200px) {
  h2,
  .h2 {
    font-size: 1.3125rem;
  }
}

h3 {
  line-height: 1.25;
}

li:not(.menu-bar-item) {
  padding-left: 0;
  list-style-position: outside;
  list-style-type: disc;
}

.block-type-markdown h2 {
  padding: 2rem 0 1rem;
}
.block-type-markdown ul > * + * {
  padding-top: 1rem;
}

.button {
  padding: 0.2em 0.5em;
  border: 1px solid var(--root-light);
  border-radius: 8px;
  transition: all 0.4s ease;
}
.button:hover {
  color: var(--root-dark);
  background-color: var(--root-light);
}

body {
  overflow: hidden;
}
body #main {
  background: transparent;
}

.directed {
  margin-top: 5vh;
  display: grid;
  grid-template-columns: repeat(3, minmax(10px, 1fr));
  place-items: center;
  grid-template-areas: "home home home" "photos photos contes" "arbres publications publications";
  margin-inline: auto;
  min-height: min(70vh, 50vw);
}
.directed div.item,
.directed div.home {
  font-size: var(--directed-font-size);
  font-weight: 900;
  line-height: 1em;
  transition: all 1s ease;
  width: max-content;
  display: inline-block;
}
.directed .home {
  --directed-font-size: 4.9vw;
  --letter-spacing: 0.2em;
  grid-area: home;
  letter-spacing: var(--letter-spacing);
  padding-left: calc(var(--letter-spacing) / 2);
  text-shadow: 0 2px 3px hsl(var(--root-dark-hsl));
  border-bottom: 5px solid hsl(var(--root-light-hsl));
}
.directed .home :nth-child(1) {
  font-weight: 200;
}
.directed .home :nth-child(2) {
  font-weight: 500;
}
.directed .galeries {
  --directed-font-size: 4.2vw;
  --kb-direction: top left;
  grid-area: photos;
}
.directed .contes {
  --directed-font-size: 5.4vw;
  --kb-direction: top right;
  grid-area: contes;
}
.directed .arbres {
  --directed-font-size: 4.5vw;
  --kb-direction: bottom left;
  grid-area: arbres;
}
.directed .publications {
  --directed-font-size: 3.5vw;
  --kb-direction: bottom right;
  grid-area: publications;
}
.directed .home .menu-bg {
  position: absolute;
  background-size: cover;
  filter: blur(5px) saturate(110%);
  /* stylelint-disable-next-line property-no-vendor-prefix */
  -webkit-filter: blur(3px) saturate(110%);
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  overflow: hidden;
  opacity: 1;
  transition: all 1.2s ease;
  transform: scale3d(1, 1, 1);
  transform-origin: var(--kb-direction);
}
.directed div:not(.home) .item {
  margin-top: 2rem;
  background-color: hsl(var(--root-dark-hsl), 0.333);
  padding: 0.2em 0.5em;
  border-radius: 16px;
  border: 2px solid hsl(var(--root-light-hsl-darker));
  width: min-content;
  line-height: 1;
}
.directed div:not(.home) .title {
  -webkit-text-stroke: 0.02em hsl(var(--page-color));
  -webkit-text-fill-color: hsl(var(--page-color), 0.2);
  transition: all 0.8s ease;
}
.directed div:not(.home) .sub {
  opacity: 0;
  transform: translateX(-5rem);
  font-weight: 600;
  font-size: var(--scale0);
  line-height: 1.1;
  color: hsl(var(--root-light-hsl));
  transition: all 1s ease;
}
.directed div:not(.home) .menu-bg {
  position: absolute;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  overflow: hidden;
  opacity: 0;
  transition: all 1.2s ease;
  transform: scale3d(1, 1, 1);
  transform-origin: var(--kb-direction);
}
.directed div:not(.home):hover .menu-bg {
  opacity: 1;
  transform: scale3d(1.05, 1.05, 1.05);
}
.directed div:not(.home):hover .item {
  color: hsl(var(--page-color));
  background-color: hsl(var(--root-dark-h), calc(var(--root-dark-s) * 1%), calc(var(--root-dark-l) * 1%), 0.666);
  backdrop-filter: blur(5px);
}
.directed div:not(.home):hover .title {
  -webkit-text-stroke: 0.01em hsl(var(--page-color));
  -webkit-text-fill-color: hsl(var(--page-color));
  text-shadow: 0 2px 3px hsl(var(--root-dark-hsl));
}
.directed div:not(.home):hover .sub {
  opacity: 1;
  transform: translateX(0);
}
/*# sourceMappingURL=home.css.map */
