html {
  background-color: white;
  font-size: 100%;
}

body {
  font-size: 16px;
}

/*
✅ wordpress elements
**************************************************************/
blockquote {
  font-family: "Cormorant Garamond";
  font-size: 2rem;
  max-inline-size: 55ch;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
  margin-bottom: 4rem;
  text-wrap: balance;
}

blockquote cite {
  text-transform: uppercase;
  font-style: normal;
  font-size: 0.6em;
  letter-spacing: 0.2em;
  color: var(--bs-hk-grey);
}

.wp-block-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/*
✅ layout stuff
**************************************************************/
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
}

.h3sub {
  color: var(--bs-hk-purple);
  text-decoration: underline;
  text-decoration-color: var(--bs-hk-rose);
  text-underline-offset: 3px;
  font-weight: 600;
  margin: auto 2em;
}
.content {
  max-width: 768px;
  margin: 0 auto; /* This will center the content if its width is less than the container's width */
}

.mark {
  display: inline;
  background: linear-gradient(180deg, transparent 65%, #fedc86 65%);
}

.content strong em {
  color: var(--bs-hk-purple);
  display: inline;
  background: linear-gradient(180deg, transparent 65%, var(--bs-hk-rose) 65%);
  font-style: normal;
  font-weight: 600;
}

/*
✅ showbuehne on front page
**************************************************************/
/* showbhne auf startseite*/
.showbhne {
  background-color: var(--bs-hk-rose);
  position: relative;
  width: 100vw;
  height: 100vh;
}

.img-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo {
  position: absolute;
  top: 40%;
  left: 50%;
  height: 10vh;
  width: auto;
  transform: translate(-50%, -40%);
  z-index: 100;
}

/*
✅ Navigation
**************************************************************/
nav .social {
  position: relative;
  top: -1px;
}

nav .social a:hover {
  color: var(--bs-hk-rose);
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--bs-hk-purple);
  text-decoration: none;
  background-color: var(--bs-hk-rose);
}

/*
main
**************************************************************/
main a {
  text-decoration: underline;
  /* text-decoration-color: var(--bs-hk-purple) !important; */
  text-decoration-color: var(--bs-hk-grey) !important;
  text-decoration-style: solid;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  color: var(--bs-hk-purple);
}

main a:hover {
  text-decoration-color: var(--bs-hk-rose) !important;
  text-decoration-style: solid;
}

/*
archive 
**************************************************************/
.archive .card a:not(.btn) {
  text-decoration: underline;
  /* text-decoration-color: var(--bs-hk-purple) !important; */
  text-decoration-color: var(--bs-hk-rose) !important;
  text-decoration-style: solid;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
  color: var(--bs-hk-purple);
}

.archive .card a:hover {
  text-decoration-color: var(--bs-hk-purple) !important;
  text-decoration-style: solid;
}
/*
✅ masonry
**************************************************************/
.masonry {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 10px;
}

.masonry-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery {
  grid-template-columns: none !important;
  row-gap: 2rem;
  column-gap: 2rem;
}

.gallery__item img {
}

/*
✅ preloading screen with spinner
👉 spinner https://stephanwagner.me/only-css-loading-spinner
**************************************************************/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader .logo {
  order: 1;
}

.spinner {
  order: 2;
}

.text {
  order: 3;
}

.text {
  color: red;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  height: 250px;
  background-color: yellow;
  width: 100%;
}

.spinner:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  margin-left: -15px;
  border-radius: 50%;
  border: 1px solid #ccc;
  border-top-color: red;
  animation: spinner 0.6s linear infinite;
}
/* menu */
.footer-menu-class ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-menu-class li {
  margin-bottom: 10px;
}

.row-full {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}

.top-banner {
  letter-spacing: 0.1em;
}

.mobile-menu-icon i {
  font-size: 2rem;
  color: #4e3844;
  position: relative;
  top: 1px;
}

.mobile-menu-icon.phone i {
  font-size: 1.5rem;
  position: relative;
  top: 1px;
}
.mobile-menu-icon.phone a {
  color: #4e3844;
}

.mobile-menu-icon.phone a:hover {
  color: #f9e2e7;
}

/*
✅ cf7
**************************************************************/
.wpcf7 {
  border: 1px solid var(--bs-hk-rose) !important;
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 2rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.wpcf7 h2 {
  text-wrap: balance;
}

.featured-logos img {
}

/*
✅ swiper slider
**************************************************************/
.swiper {
  width: 100vw;
  height: 100vh;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: var(--bs-hk-rose);
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#meta {
  z-index: 100;
  position: absolute;
  bottom: 3vh;
}

/*
✅ masonry
**************************************************************/

.grid {
  width: calc(100% - 20px); /* 20px is the margin between grid items */
  margin-left: 20px;
  overflow: hidden;
}

.grid-item {
  box-sizing: border-box;
}

/* clear fix */
.grid:after {
  content: "";
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: calc(100% / 3 - 20px);
}

/* Mobile */
.grid-sizer,
.grid-item {
  width: calc(100% - 20px);
}

/* Tablet */
@media (min-width: 768px) {
  .grid-sizer,
  .grid-item {
    width: calc(100% / 2 - 20px);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .grid-sizer,
  .grid-item {
    width: calc(100% / 3 - 20px);
  }
}

.grid-item {
  float: left;
  margin-bottom: 20px;
}

.grid-item:nth-child(3n) {
  margin-right: 0;
}

.grid-item img {
  display: block;
  max-width: 100%;
  width: 100%;
}

.credits-wrapper {
  position: absolute;
  width: 100%;
  z-index: 100;
  bottom: 2rem;
  text-align: center;
}
/*
✅ footer
**************************************************************/
footer .flower a {
  text-decoration: none;
}

footer .flower .btn:hover {
  color: var(--bs-hk-rose);
}

.footer a,
footer a {
  text-decoration-color: var(--bs-hk-rose) !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.footer a:hover,
footer a:hover {
  text-decoration-color: var(--bs-hk-purple) !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/*
✅ marquee
👉 logo texture divider abvove footer section
**************************************************************/
.marqueeContainer {
  /* This is the container for the marquee */
  margin-top: calc(var(--text-size-700) * 2);
  background-color: var(--color-brand-red);
  padding: calc(var(--text-size-700) / 2) 0;
  padding-bottom: calc(var(--text-size-700) / 2 * 1.2);
}

.marquee {
  opacity: 1;
  padding: 10px 0;
  color: white;
  position: relative;
  overflow: hidden;
  --offset: 20vw;
  --move-initial: calc(-25% + var(--offset));
  --move-final: calc(-50% + var(--offset));
  margin-bottom: 0;
}
.marquee:nth-of-type(2) {
  margin-top: 5px;
}
/* animations */
.marquee__inner {
  width: fit-content;
  display: flex;
  position: relative;
  transform: translate3d(var(--move-initial), 0, 0);
  animation: marquee 100s linear infinite;
  animation-play-state: paused;
}

.marquee__inner img {
  opacity: 0.1;
}

.marquee:nth-of-type(2) .marquee__inner {
  animation: marquee-reverse 200s linear infinite;
}

.marquee:nth-of-type(3) .marquee__inner {
  animation: marquee 35s linear infinite;
}

.marquee__inner {
  animation-play-state: running;
}

.marquee:not(:last-of-type) {
  padding: 5px 0;
}

.marquee:last-of-type {
  padding-bottom: 0;
}

@keyframes marquee-reverse {
  0% {
    transform: translate3d(var(--move-final), 0, 0);
  }

  100% {
    transform: translate3d(var(--move-initial), 0, 0);
  }
}

@keyframes marquee {
  0% {
    transform: translate3d(var(--move-initial), 0, 0);
  }

  100% {
    transform: translate3d(var(--move-final), 0, 0);
  }
}

/*
✅ feature marquee
**************************************************************/
.marquee2 {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  animation: marquee2 11s linear infinite;
}

.marquee2::before,
.marquee2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 100%;
}

.marquee2::after {
  right: 0;
  transform: rotateZ(180deg);
}

@keyframes marquee2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media (min-width: 992px) {
  .footer-menu-class ul {
    flex-direction: row;
    justify-content: center;
  }

  .footer-menu-class li {
    margin-right: 1rem;
    margin-bottom: 0;
  }
}

.current-menu-item {
  text-decoration: underline;
  text-decoration-color: var(--bs-hk-rose) !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 3px;
}

.wpcf7 form .wpcf7-response-output {
  /* margin: 2em 0.5em 1em; */
  /* padding: 0.2em 1em; */
  /* border: 2px solid #00a0d2; */
  margin: 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid black !important;
  display: inline-block;
  margin-bottom: 2rem;
}

.current-menu-item a {
  font-weight: 400;
}

.balance {
  text-wrap: balance;
}

#calendly-embed {
  min-width: 320px;
  height: auto;
  overflow: hidden; /* Prevent scrolling */
}

li {
  margin-bottom: 0.5em;
}

main p {
  line-height: 1.66em;
}

/*
🚨 remove box shadow on dropdown menu on mobile
🟡 include this via custom.scss
*/
@media screen and (max-width: 768px) {
  ul.dropdown-menu {
    box-shadow: none !important;
  }

  nav.container-md {
    box-shadow:
      0px 1px 2.2px -15px rgba(0, 0, 0, 0.011),
      0px 2.4px 5.3px -15px rgba(0, 0, 0, 0.016),
      0px 4.5px 10px -15px rgba(0, 0, 0, 0.02),
      0px 8px 17.9px -15px rgba(0, 0, 0, 0.024),
      0px 15px 33.4px -15px rgba(0, 0, 0, 0.029),
      0px 36px 80px -15px rgba(0, 0, 0, 0.04);
  }

  $accordion-button-active-bg: var(--bs-hk-rose);
  $accordion-button-active-color: var(--bs-hk-purple);
}
.grecaptcha-badge {
  visibility: hidden;
}

.wpcf7 a {
  text-decoration-thickness: 1px;
}

.page-id-3 h3,
.page-id-3 h4 {
  margin-top: 2.5rem;
  line-height: 1.35;
  text-wrap: balance;
}

/* social icons in credits */
.credits i,
.meta i {
  color: var(--bs-hk-purple);
  font-size: 1rem;
  position: relative;
  top: 1.5px;
}

/* define color for alt text */
.swiper-slide img {
  color: var(--bs-hk-rose);
}

/* img credits & image caption */
span.credits {
  display: block;
  color: var(--bs-hk-purple);
  margin: 0 0;
  background-color: #f8f9fa;
  padding: 1rem;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  line-height: 1.4;
  font-size: 12px;
}

span.credits::before {
  content: " ";
}

span.credits i:hover {
  color: var(--bs-hk-rose);
}

span.credits a {
  text-decoration-thickness: 1px;
}

span.credits figcaption {
  /* Example styles for figcaption if it's inside span.credits */
  font-style: italic;
  text-transform: none;
  line-height: 1.5;
  font-size: inherit;
  margin-top: 0;
}

.wp-block-image figcaption {
  font-family: "JetBrains Mono", monospace;
  line-height: 1.5;
  font-size: 12px;
  margin-bottom: 2rem;
  margin-top: 1rem;
  display: block;
  font-style: italic;
  color: var(--bs-hk-purple);
  padding: 0 1rem;
}

/* show image 100% parent width */
.wp-block-image img {
  width: 100%;
  height: auto;
  display: block; /* Ensures the image does not have extra space below it */
}

.single-wiki .termin-card {
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--bs-hk-rose) !important;
  color: var(--bs-hk-purple) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  z-index: 3;
  outline: 0;
  box-shadow: var(--bs-hk-rose) 0px 0px 0px 0.25rem !important;
}

a.nav-link.dropdown-toggle:hover {
  text-decoration: none !important;
}

.single-post h1 {
  text-wrap: balance;
}

section.faq {
  margin-top: 2rem;
}
