/* Muriel Rose — static rebuild of the 2021 WordPress/Elementor site.
   Breakpoints follow Elementor: tablet ≤1024px, mobile ≤767px. */

@font-face {
  font-family: "Quicksand";
  src: url("/fonts/quicksand-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: auto;
}

@font-face {
  font-family: "eicons";
  src: url("/fonts/eicons-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: auto;
}

:root {
  --green: #d2e3dc;
  --grey: #54595f;
  --text: #28303d;
  --body: #3a3a3a;
  --mauve: #a2708a;
  --pink: #cc93a0;
  --quicksand: "Quicksand", sans-serif;
  --roboto: "Roboto", sans-serif;
  --system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

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

/* Elementor icons (subset of the eicons font) */
.eicon {
  display: inline-block;
  font-family: eicons;
  font-size: inherit;
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.eicon-menu-bar::before { content: "\e816"; }
.eicon-chevron-right::before { content: "\e87d"; }
.eicon-chevron-left::before { content: "\e87e"; }
.eicon-close::before { content: "\e87f"; }
.eicon-zoom-in-bold::before { content: "\e92e"; }
.eicon-zoom-out-bold::before { content: "\e943"; }
.eicon-frame-expand::before { content: "\e95c"; }
.eicon-frame-minimize::before { content: "\e95d"; }
.eicon-share-arrow::before { content: "\e96c"; }

html { font-size: 93.75%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--green);
  color: var(--body);
  font-family: var(--system);
  font-size: 15px;
  font-size: 1rem;
  line-height: 1.85714285714286;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--pink); text-decoration: none; transition: color .2s linear, background-color .2s linear; }
a:hover, a:focus { color: var(--body); }

h1, h2, p, ul { margin: 0; padding: 0; }
p { margin-bottom: 1.75em; }
img { display: block; max-width: 100%; height: auto; border: 0; }

.skip-link {
  position: absolute; top: -10000em; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
}
.skip-link:focus {
  top: 5px; left: 5px; z-index: 100000; width: auto; height: auto; margin: 0; clip: auto;
  padding: 15px 23px 14px; background: #f1f1f1; color: #21759b; font-size: 14px; line-height: normal;
}

/* Boxed section: 1200px container with Elementor's 10px column padding */
.wrap { max-width: 1200px; margin: 0 auto; padding: 10px; }

.site-content { padding: 0 20px; }
/* About and Contact used Astra's page-builder template, without side padding */
.page-about .site-content, .page-contact .site-content { padding: 0; }

/* ---------- Header ---------- */

.site-title {
  margin: 20px 0 15px;
  color: var(--text);
  font-family: var(--quicksand);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
.site-title a { color: inherit; }

.site-tagline {
  margin: 0 0 20px;
  color: var(--text);
  font-family: var(--quicksand);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.divider { display: flex; margin: -20px 0 20px; padding: 15px 0; }
.divider span { display: block; width: 100%; border-top: 1px solid #000; }

/* ---------- Menus ---------- */

.menu { display: flex; flex-direction: column; margin-top: -30px; }
.menu ul { list-style: none; }

.menu-main { display: flex; flex-wrap: wrap; justify-content: center; }
.menu-main a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  color: var(--text);
  font-family: var(--quicksand);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
  transition: color .4s, background-color .4s;
}
.menu-main a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--pink);
  transition: .3s cubic-bezier(.58, .3, .005, 1);
}
.menu-main a:not(:hover):not(:focus):not(.is-active)::after { opacity: 0; }
.menu-main a:hover, .menu-main a:focus, .menu-main a.is-active { color: var(--pink); }

.menu--footer { margin-bottom: 20px; }
.menu--footer .menu-main { flex-direction: column; }
.menu--footer .menu-main a { white-space: normal; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: .25em;
  border: 0 solid;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, .05);
  color: var(--pink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.menu-toggle .eicon { display: block; }
.menu-toggle .eicon-close { display: none; }
.menu-toggle[aria-expanded="true"] .eicon-menu-bar { display: none; }
.menu-toggle[aria-expanded="true"] .eicon-close { display: block; }

.menu-dropdown {
  display: none;
  margin-top: 10px;
  overflow: auto;
  background-color: var(--green);
  font-size: 13px;
  transform-origin: top;
  transition: max-height .3s, transform .3s;
}
.menu-dropdown a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: #494c4f;
  font-family: var(--quicksand);
  font-weight: 400;
  line-height: 20px;
}
.menu-dropdown a:hover, .menu-dropdown a:focus { background-color: var(--pink); color: #fff; }
.menu-dropdown a.is-active { background-color: var(--pink); color: var(--text); }

.site-header .menu-toggle[aria-expanded="false"] + .menu-dropdown { max-height: 0; transform: scaleY(0); }
.site-header .menu-toggle[aria-expanded="true"] + .menu-dropdown { max-height: 100vh; transform: scaleY(1); }

/* ---------- Common page parts ---------- */

.page-title {
  margin-bottom: 25px;
  color: var(--text);
  font-family: var(--quicksand);
  font-size: 30px;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.fade-in { transition: opacity .4s; }
.js .fade-in:not(.is-loaded) { opacity: 0; }

/* ---------- Home ---------- */

.home-hero { margin-top: 25px; text-align: center; }
.home-hero img { width: 100%; }

.home-links { margin: 56px 0; }
.home-links .wrap { display: flex; padding: 0; }
.home-box {
  flex: 1 1 50%;
  margin: 10px;
  padding: 50px;
  border: 1px solid var(--body);
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s;
}
.home-box:hover { background-color: #cc93a075; }
.home-box a { color: inherit; }
.home-box h2 {
  color: var(--text);
  font-family: var(--quicksand);
  font-size: 30px;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

/* ---------- Galleries ---------- */

.gallery-section { margin: 40px 0; }
.gallery-section--animaux, .page-animaux .gallery-section { margin: 30px 0; }

.gallery { position: relative; min-height: 1px; }
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  transition-property: all;
}
.gallery-image {
  display: block;
  width: 100%;
  background-position: center center;
  background-size: cover;
  transform-origin: center top;
  transition-property: filter, transform;
  transition-duration: var(--image-transition, 800ms);
}
/* Paysages had Elementor's (identity) image filter set, which changes how the fade-in animates */
.gallery--filtered .gallery-image { filter: brightness(100%) contrast(100%) saturate(100%) blur(0px) hue-rotate(0deg); }
.gallery-image:not(.is-loaded) { filter: opacity(0); transform: scale(.5); }
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: background-color 800ms;
}
.gallery-item:hover .gallery-overlay { background-color: rgba(0, 0, 0, .5); }

.gallery--grid {
  display: grid;
  grid-gap: var(--vgap) var(--hgap);
  grid-template-columns: repeat(var(--columns), 1fr);
}
.gallery--grid .gallery-image { padding-bottom: var(--aspect-ratio); }

.gallery--masonry { height: 0; margin-bottom: calc(var(--highest-column-gap-count) * var(--vgap)); }
.gallery--masonry .gallery-item {
  position: absolute;
  left: calc((100% / var(--columns) - (var(--hgap) * (var(--columns) - 1) / var(--columns))) * var(--column) + (var(--hgap) * var(--column)));
  top: calc(var(--percent-height) + (var(--items-in-column) * var(--vgap)));
  width: calc(100% / var(--columns) - (var(--hgap) * (var(--columns) - 1) / var(--columns)));
}
.gallery--masonry .gallery-image { padding-bottom: var(--item-height); }

.gallery--justified { padding-bottom: calc(var(--container-aspect-ratio) * 100%); }
.gallery--justified .gallery-item {
  position: absolute;
  top: calc(var(--item-top) + (var(--row) * var(--vgap)));
  left: calc(var(--item-start) * (100% - var(--hgap) * var(--gap-count)) + var(--hgap) * var(--item-row-index));
  width: calc(var(--item-width) * (100% - var(--hgap) * var(--gap-count)));
  height: var(--item-height);
}
.gallery--justified .gallery-image { height: 100%; }

/* ---------- Lightbox ---------- */

.lightbox-open, .lightbox-open body { overflow: hidden; }

.lightbox {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #d2e3dcfc;
  color: var(--body);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  user-select: none;
}
.lightbox.is-open { display: block; }
.lightbox button {
  margin: 0;
  padding: .25em;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--pink);
  font-size: inherit;
  line-height: 1;
  cursor: pointer;
  transition: all .3s;
}
.lightbox button:hover { color: #fff; }
.lightbox button .eicon { display: block; }

/* Above the header bar and the share overlay, which would otherwise catch its clicks */
.lightbox .lightbox-close { position: absolute; top: 0; right: .75em; z-index: 11; margin-top: 13px; font-size: 20px; }
.lightbox-message { height: 100%; animation: lightbox-zoom-in .3s; }
@keyframes lightbox-zoom-in {
  from { opacity: 0; transform: scale3d(.3, .3, .3); }
  50% { opacity: 1; }
}

.lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  width: 100%;
  padding: 15px 2.6em 15px 1em;
  color: var(--pink);
  font-size: 20px;
  transition: .3s;
}
.lightbox .lightbox-header button { margin: 0 .35em; padding: .25em; font-size: inherit; }
.lightbox-counter { width: max-content; margin-right: auto; color: currentColor; font-size: .75em; }

.lightbox-track { display: flex; gap: 100px; height: 100%; transition: transform .5s ease; }
.lightbox-slide {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: auto;
  padding: 70px;
}
.lightbox-zoom-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.lightbox.is-zoomed .lightbox-slide.is-active { overflow: hidden; }
.lightbox-zoom-container img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .3), 0 0 8px -5px rgba(0, 0, 0, .3);
  transition: transform .3s;
}
.lightbox.is-zoomed .lightbox-slide.is-active img { transform: scale(3); cursor: move; }
.lightbox.is-zoomed .lightbox-header, .lightbox.is-zoomed .lightbox-footer { background-color: rgba(0, 0, 0, .5); }

.lightbox .lightbox-prev, .lightbox .lightbox-next {
  position: absolute;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  height: 100%;
  padding: 0;
  font-size: 24px;
}
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

.lightbox-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  padding: 15px 20px;
  color: var(--grey);
  transition: .3s;
}
.lightbox-title { margin: 0; font-size: 16px; font-weight: 700; }
/* Titles are the image file names for now, so they stay hidden */
.lightbox-footer { display: none; }

.lightbox.is-ui-hidden .lightbox-header, .lightbox.is-ui-hidden .lightbox-footer { opacity: 0; pointer-events: none; }
.lightbox.is-ui-hidden .lightbox-prev, .lightbox.is-ui-hidden .lightbox-next { opacity: 0; }

.lightbox-share {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  width: 0;
  height: 0;
  overflow: hidden;
  background-color: transparent;
  transition: background-color .4s;
}
.lightbox-share-links {
  position: absolute;
  top: 3em;
  right: 2.8em;
  display: block;
  min-width: 200px;
  padding: 14px 20px;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
  opacity: 0;
  transform: scale(0);
  transform-origin: 90% 10%;
  transition: all .25s .1s;
}
.lightbox-share-links::before {
  content: "";
  position: absolute;
  top: 1px;
  right: .5em;
  display: block;
  border: .45em solid transparent;
  border-bottom-color: #fff;
  transform: translateY(-100%) scaleX(.7);
}
.lightbox-share-links a {
  display: block;
  color: #55595c;
  font-size: 12px;
  line-height: 2.5;
  text-align: left;
  opacity: 0;
  transition: opacity .5s .1s;
}
.lightbox-share-links a:hover { color: #000; }
.lightbox-share-links a .eicon { margin-right: .75em; font-size: 1.25em; }
.lightbox.is-sharing .lightbox-share { width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, .5); cursor: default; }
.lightbox.is-sharing .lightbox-share-links, .lightbox.is-sharing .lightbox-share-links a { opacity: 1; transform: scale(1); }
.lightbox-share { font-size: 20px; }

/* ---------- About ---------- */

.about { margin: 70px 0; }
.about .wrap { display: flex; padding: 0; }
.about-text, .about-image { flex: 0 0 50%; padding: 10px; }
.about .page-title { margin-bottom: 20px; }
.about-text p {
  color: var(--text);
  font-family: var(--roboto);
  font-weight: 400;
}

/* ---------- Contact ---------- */

.contact { margin: 45px 0 105px; }
.contact .wrap { max-width: 625px; }
.contact .page-title { margin-bottom: 40px; color: var(--grey); text-align: center; }
.contact-form { display: flex; flex-direction: column; gap: 10px; margin: 0 60px 20px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: .75em;
  border: 1px solid #818a91;
  border-radius: 2px;
  background-color: #fff;
  color: var(--text);
  font-family: var(--roboto);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  outline: 0;
  transition: all .2s linear;
}
.contact-form textarea { padding: 5px 14px; border-radius: 3px; }
.contact-form ::placeholder { color: inherit; font-family: inherit; opacity: .6; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--pink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.contact-form textarea { display: block; resize: vertical; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.contact-form button {
  min-height: 40px;
  padding: 0 24px;
  border: 0;
  border-radius: 3px;
  background-color: var(--pink);
  color: #fff;
  font-family: var(--roboto);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: all .3s;
}
.contact-form button:focus { outline: 0; }
.contact-form button:hover { background-color: var(--mauve); }
.form-status { margin: 0; color: var(--text); font-family: var(--quicksand); text-align: center; }

/* ---------- Footer ---------- */

.copyright {
  color: var(--text);
  font-family: var(--quicksand);
  font-weight: 400;
  text-align: center;
}

/* ---------- Not found ---------- */

.not-found { margin: 70px 0; text-align: center; }

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  .wrap { max-width: 1024px; }
  .divider { margin: 0 0 30px; }
  .menu-main { display: none; }
  .menu-toggle { display: flex; font-size: 40px; }
  .menu-dropdown { display: block; }
  .menu-dropdown a { font-size: 20px; }
}

/* Astra scales the root font below 922px */
@media (max-width: 921px) {
  html { font-size: 85.5%; }
  .site-title { font-size: 30px; }
  .page-title, .home-box h2 { font-size: 25px; }
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  .wrap { max-width: 767px; }
  .divider { margin: -15px 0 25px; }
  .divider span { width: 81%; margin: 0 auto; }
  .menu-toggle { font-size: 26px; border-width: 0; border-radius: 0; }
  .menu-dropdown a { font-size: 17px; }
  .home-links .wrap { flex-direction: column; }
  .gallery-section .page-title { text-align: center; }
  .about .wrap { flex-direction: column; }
  .menu--footer { margin-bottom: 32px; }
  .lightbox-slide { padding: 70px 0; }
  .lightbox .lightbox-prev, .lightbox .lightbox-next { width: 20%; }
  .lightbox .lightbox-prev { justify-content: flex-start; }
  .lightbox .lightbox-next { justify-content: flex-end; }
  .lightbox-prev .eicon, .lightbox-next .eicon { padding: 10px; background-color: rgba(0, 0, 0, .5); }
}
