* {
  margin: 0;
  padding: 0;
}

:root {
  --page-background-day: #fff;
  --page-background-night: #202227;

  --box-background-day:#f2f9fd;
  --box-background-night: #272c34;

  --glow-color: #acc7a3;

  --text-day: #294f63;
  --text-night: var(--glow-color);

  --link-color: #2580c3;
  --coloo: #2D2E82;
  --link-night: #4acf81;

  --star-color: #fcfcfc;
  --moon-outer: #dee1c5;
  --moon-inner: #fffdf2;
  --sun-inner: #f5eb42;
  --sun-outer: #e4c74d;
  --cloud-inner: var(--page-background-day);
  --cloud-outer: #d4d4d2;
  --sky-inner: #c0e6f6;
  --sky-outer: var(--link-color);

  --modal-background-day: #ccc;
  --modal-background-night: #202020;

  --modal-text-day: #202020;
  --modal-text-night: #fff;
}

body {
  text-align: center;
  font-family: 'Monroe', sans-serif;
  text-rendering: optimizeLegibility;
  font-size: 1.1rem;
  line-height: 1.6rem;
}

body,
.header,
.main,
.shops {
  background: var(--page-background-day);
  color: var(--text-day);
}

.night,
.night .header,
.night .main,
.night .shops {
  background: var(--page-background-night);
  color: var(--glow-color);
}

.inner {
  width: 100%;
  max-width: 45rem;
  max-width: 60ch;
  padding: 0 1rem;
  margin:0 auto;
  display:flex;
  flex-wrap: wrap;
  position:relative;
  box-sizing: border-box;
}

.inner-fullwidth {
  background: #e9ebea;
}
.night .inner-fullwidth {
  background: #0f1414;
}

.header .inner {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .inner,
.shops .inner {
  max-width: 1200px;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'MonroeHeadline', sans-serif;
}

h1,h2,
b,strong {
  font-variant-ligatures: common-ligatures no-common-ligatures discretionary-ligatures no-discretionary-ligatures historical-ligatures no-historical-ligatures contextual no-contextual slashed-zero;
  font-variant-alternates: swash(fancy);
}

.note {
  text-align: center;
  font-size: .8em;
}

.shop .note {
  hyphens: none;
}

a:link,
a:visited {
  color: var(--link-color);
  text-decoration: none;
  /*box-shadow: inset 0px -4px 0px 0px rgba(37,128,195,.2);
  transition: box-shadow .2s, color .2s;*/
}

a:hover,
a:active {
  color: var(--link-color);
  /*box-shadow: inset 0px -100px 0px 0px rgba(37,128,195,.7);
  transition: box-shadow .4s, color .4s;*/
}

/*a.menu-icon,
a.btn,
a.insta-link,
.nav a {
  box-shadow: none;
  transition: none;
}*/

.nav a:hover,
.nav a:active {
  color: var(--link-color);
}

.night a:link,
.night a:visited,
.night a:hover,
.night a:active {
  color: var(--link-night);
}

img {
  max-width: 100%;
}

.inner h2 {
  width: 100%;
  text-align: center;
}

.main,
.shops {
  position: relative;
  z-index: 2000;
}

.shops,
.header {
  position: relative;
  box-shadow: 0px 0px 10px rgba(0,0,0,.5);
  border-bottom:1px solid rgba(255,255,255,.4);
}

.header {
  position: sticky;
  z-index: 3000;
  top:0;
}

.nav ul {
  list-style-type: none;
}

.menu-big {
  display: none;
}

.menu-icon {
  position: relative;
  padding-left: 1.25em;
  text-indent: -8000px;
  overflow: hidden;
}

.menu-icon:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1em;
  height: 0.15em;
  background: var(--text-day);
  box-shadow: 
    0 0.25em 0 0 var(--text-day),
    0 0.5em 0 0 var(--text-day);
}

.night .menu-icon:before {
  background: var(--glow-color);
    box-shadow: 
    0 0.25em 0 0 var(--glow-color),
    0 0.5em 0 0 var(--glow-color);
}

h1 {
  font-size: 1.4rem;
  line-height: 1.6rem;
  text-align: left;
  width: 85%;
  max-width: 375px;
}

h2 {
  font-size: 1.7rem;
  line-height: 2rem;
  margin: 1rem;
  padding: 2rem 0;
}

.img-holder {
  background: #384044;
  min-height: 100vw;
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
}

.slide-day {
  background-image: url('/mondphasenkalender_tag.jpg');
}

.slide-night {
  background-image: url('/mondphasenkalender_nacht.jpg');
}

.slide-night,
.night .slide-day {
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-day,
.night .slide-night {
  opacity: 1;
  transition: opacity .5s ease-in-out;
}

.pic-night,
.night .pic-day {
  opacity: 0;
  height: 0;
  transition: opacity 2s, height 0s; 
}

.pic-day,
.night .pic-night {
  opacity: 1;
  height: 100%;
  transition: opacity 2s; 
}

.desc {
  padding: 2rem 1rem;
}

.desc p {
  margin-bottom: 1.6rem;
}

dl {
  margin: 1rem;
  max-width: 33rem;
  padding: 1rem;
  background:var(--box-background-day);
  font-size: 80%;
}

.night dl {
  background:var(--box-background-night);
}

dt {
  text-align: left;
  font-weight: bold;
  float: left;
  margin-right: 1rem; 
}

dd {
  text-align: right;
  margin-bottom: 1rem;
}

.footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
  font-size: 0.9rem;
  margin-top: -1px; /* hack */
  text-align: center;
}

.shops h2:after,
.visible-modal h3:after {
  content: ":";
}

.faq-modal h3:after {
  display: none;
}

.faq-modal ul {
  list-style-type: circle;
}

.faq-modal li {
  margin-bottom: 3rem;
}

.faq-modal h3 {
  margin-bottom:1rem;
}

.shop {
  margin: 0 1rem 3rem;
  text-align: left;
}

.shop.limo,
.shop.baby {
  border-bottom: 1px solid var(--cloud-outer);
  padding-bottom: 2.8rem;
}

.night .shop.limo,
.night .shop.baby {
  border-color: var(--glow-color);
} 

.shop h3 {
  margin-bottom: 1.6rem;
}

.shop p {
  hyphens: auto;
}

.webshop p {
  hyphens: none;
}

.shop .btn {
  display: block;
  border: 1px solid var(--link-color);
  width: 100%;
  text-align: center;
  margin: 1rem 0;
  height: 40px;
  border-radius: 20px;
  line-height: 40px;
}

.night a.btn {
  border-color: var(--glow-color);
  color: var(--glow-color);
}

.shop .btn-primary {
  background: var(--link-color);
  color: var(--page-background-day);
}

.night .shop .btn-primary {
  color: var(--page-background-night);
  background: var(--link-night);
  border: var(--link-night);
}

.footer .inner {
  padding: 3rem 1rem;
}

.footer div,
.footer .nav {
  width: 100%;
  margin: 0 0 2rem;
}

.footer div:last-child {
  padding-bottom: 70px;
}

.insta-link {
  width: 44px;
  height: 44px;
  text-indent: -8000px;
  overflow: hidden;
  display: inline-block;
  background: url('/instagram-icon.svg') no-repeat;
  background-size:contain;
}

.night .insta-link {
  background-image: url('/instagram-night.svg');
}

.hidden-modal {
  display: none;
}

.visible-modal {
  display:block;
  position:fixed;
  box-sizing: content-box;
  background: var(--modal-background-day);
  color: var(--modal-text-day);
  z-index:11111;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0vh;
  overflow:scroll;
  font-size: 1rem;
  line-height: 1.4rem;
  text-align: left;
}

.night .visible-modal {
  background: var(--modal-background-night);
  color: var(--modal-text-night);
}

.visible-modal p {
  margin: .8rem 0;
}

.visible-modal.shop-modal p {
  margin-left: 2rem;
}


.visible-modal .closer {
  font-size: 1.1rem;
  line-height: 1.4rem;
  position: fixed;
  right: 2rem;
  top: 2.2rem;
  width: 3rem;
  height: 3rem;
  background: var(--modal-text-day);
  border-radius: 50%;
  text-indent: -8000px;
}

.night .visible-modal .closer {
  background: var(--modal-text-night);
}

.visible-modal h2 {
  margin-left: 0;
  margin-right: 4rem;
}

.menu-modal li {
  font-size: 2.4rem;
  line-height: 3rem;
  margin-bottom: 1.2rem;
}


.closer::after {
  content: "×";
  position: absolute;
  top: .55rem;
  right: .1rem;
  font-size: 6rem;
  color: var(--modal-background-day);
  text-indent: 0;
}

.night .closer::after {
  color: var(--modal-background-night);
}

.scroller {
  margin: 0 2rem;
}

.fab {
  position: fixed;
  bottom: -5rem;
  margin-left:50%;
  z-index:9000;
  transition: bottom .5s ease-out;
}

.scrolled .fab {
  bottom: 2rem;
  transition: bottom .25s ease-out;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 100px;
  margin-left: -60px;
  padding: 4px;
  border-radius: 40px;
  border: 6px #fff solid;
  box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.6);
  transform: scale(0.75);
}

.toggle:before,
.toggle:after {
  content: "";
  display: table;
}

.toggle:after {
  clear: both;
}

.toggle-bg {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 100%;
  height: 100%;
  background-color: var(--sky-inner);
  border-radius: 40px;
  border: 4px solid var(--sky-outer);
  transition: all 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toggle-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid red;
  border-radius: 40px;
  z-index: 2;
  opacity: 0;
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 40px;
  margin-left: 50px;
  background-color: var(--sun-inner);
  border: 4px solid var(--sun-outer);
  border-radius: 50%;
  transition: all 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toggle-switch-figure {
  position: absolute;
  bottom: -14px;
  left: -50px;
  display: block;
  width: 80px;
  height: 30px;
  border: 8px solid var(--cloud-outer);
  border-radius: 20px;
  background-color: #fff;
  transform: scale(0.4);
  transition: all 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.toggle-switch-figure:after {
  content: "";
  display: block;
  position: relative;
  top: -65px;
  right: -42px;
  width: 15px;
  height: 15px;
  border: 8px solid var(--cloud-outer);
  border-radius: 100%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotateZ(70deg);
  background-color: #fff;
}
.toggle-switch-figure:before {
  content: "";
  display: block;
  position: relative;
  top: -25px;
  right: -10px;
  width: 30px;
  height: 30px;
  border: 8px solid var(--cloud-outer);
  border-radius: 100%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotateZ(30deg);
  background-color: #fff;
}

.toggle-switch-figureAlt {
  content: "";
  position: absolute;
  top: 5px;
  left: 2px;
  width: 2px;
  height: 2px;
  background-color: #EFEEDA;
  border-radius: 100%;
  border: 4px solid var(--moon-outer);
  box-shadow: 42px -7px 0 -3px var(--star-color), 75px -10px 0 -3px var(--star-color), 54px 4px 0 -4px var(--star-color), 83px 7px 0 -2px #FCFCFC, 63px 18px 0 -4px var(--star-color), 44px 28px 0 -2px var(--star-color), 78px 23px 0 -3px var(--star-color);
  transition: all 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0);
}

.toggle-switch-figureAlt:before {
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 7px;
  height: 7px;
  background-color: #EFEEDA;
  border-radius: 100%;
  border: 4px solid var(--moon-outer);
}

.toggle-switch-figureAlt:after {
  content: "";
  position: absolute;
  top: 19px;
  left: 15px;
  width: 2px;
  height: 2px;
  background-color: #EFEEDA;
  border-radius: 100%;
  border: 4px solid var(--moon-outer);
}

.toggle-input:checked ~ .toggle-switch {
  margin-left: 0;
  border-color: var(--moon-outer);
  background-color: var(--moon-inner);
}

.toggle-input:checked ~ .toggle-bg {
  background-color: var(--page-background-night);
  border-color: #202020;
}

.toggle-input:checked ~ .toggle-switch .toggle-switch-figure {
  margin-left: 40px;
  opacity: 0;
  transform: scale(0.1);
}

.toggle-input:checked ~ .toggle-switch .toggle-switch-figureAlt {
  transform: scale(1);
}

@media (min-width: 450px) {

  .m-only {
    display: none;
  }

  body {
    text-align: left;
  }

  .img-holder {
    aspect-ratio: 5/3;
    min-height: unset;
    max-height: 85vh;
    margin: auto;
  }

  .shop-holder {
    width: 100%;
  }

  .shop {
    margin: 0 auto 3rem;
    max-width: 400px;
    max-width: 30ch;
  }
}

@media (min-width: 600px) {
  h1 br {
    display: none;
  }

  h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  dl {
    margin: 1rem auto;
  }

  .fab {
    margin-left: 88%;
  }

}

@media (min-width: 768px) {
  .menu-icon {
    display: none;
  }

  .menu-big {
    display: block;
  }

  .menu-big li {
    display: inline-block;
    margin-right: 1rem;
  }

  .footer .inner {
    margin: 0 auto;
  }
}

@media (min-width: 900px) {
  .shop-holder {
    display: flex;
  }
  .shop.limo,
  .shop.baby {
    border: none;
  }
}

/* Shopify */

.shopify-buy-frame {
  margin: 0 auto 1rem;
}