/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* -------------------------------------------------------
    fonts
   ------------------------------------------------------- */

@import "assets/css/fonts.css";

:root {
  --alx-color-primary: #c9ab81;
  --alx-color-secondary: #333333;
  --alx-color-body: #666666;
  --alx-color-link: #247ea2;

  --alx-fontfamily-body: "Noto Sans", Arial, Helvetica, sans-serif;
  --alx-fontfamily-headings:
    "Playfair Display", Georgia, "Times New Roman", serif;
  --alx-fontfamily-script:
    "Satisfy", "Playfair Display", Georgia, "Times New Roman", serif;
  --alx-fontfamily-symbols: "Fontawesome Solid", sans-serif;
  --alx-fontfamily-brands: "Fontawesome Brands", sans-serif;

  --alx-fontsize-body: 18px;
  --alx-fontweight-body: 500;
  --alx-fontweight-headings: 600;

  --alx-fontsize-small: calc(var(--alx-fontsize-body) - 30%);
  --alx-fontsize-h1-hero: calc(var(--alx-fontsize-body) + 340%);
  --alx-fontsize-h1: calc(var(--alx-fontsize-body) + 235%);
  --alx-fontsize-h2: calc(var(--alx-fontsize-body) + 140%);
  --alx-fontsize-h3: calc(var(--alx-fontsize-body) + 80%);
  --alx-fontsize-h4: calc(var(--alx-fontsize-body) + 40%);
  --alx-lineheight: 1.5em;

  /* --alx-fontsize-h1-hero: 96px;
  --alx-fontsize-h1: 75px;
  --alx-fontsize-h2: 56px;
  --alx-fontsize-h3: 40px;
  --alx-fontsize-h4: 30px; */
}

html {
  scroll-behavior: smooth;
}

body,
.nav li,
#et-secondary-menu li,
#top-menu li,
.leaflet-container,
.leaflet-popup-content-wrapper {
  font-family: var(--alx-fontfamily-body);
  color: var(--alx-color-body);
  line-height: 1.3em;
}

blockquote,
body,
center,
cite,
code,
dd,
del,
dfn,
div,
dl,
dt,
em,
fieldset,
font,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
object,
ol,
p,
pre,
q,
s,
samp,
small,
span,
strike,
strong,
sub,
sup,
tt,
u,
ul,
var,
.leaflet-container {
  font-size: var(--alx-fontsize-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1em;
}

h1,
h2,
h3,
h4 {
  font-family: var(--alx-fontfamily-headings);
}

h1 {
  font-size: var(--alx-fontsize-h1);
}

h2 {
  font-size: var(--alx-fontsize-h2);
}

h3 {
  font-size: var(--alx-fontsize-h3);
}

h4 {
  font-size: var(--alx-fontsize-h4);
}

a,
.leaflet-container a {
  color: var(--alx-color-link);
}

.primary-color {
  color: var(--alx-color-primary) !important;
}

/* -------------------------------------------------------
    layout-/spacer-classes
   ------------------------------------------------------- */

.mb-2 {
  margin-bottom: 10px;
}

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

.hero,
.hero .subheading {
  color: #fff;
  text-align: center;
}

.hero h1 {
  color: var(--alx-color-primary);
  font-size: var(--alx-fontsize-h1-hero);
}

@media (width < 768px) {
  .hero h1 {
    font-size: var(--alx-fontsize-h2);
  }
}

.hero h1 span {
  font-family: var(--alx-fontfamily-script);
  color: var(--alx-color-primary);
  font-size: 24px;
  display: block;
  line-height: normal;
}

/* #landing-header {
  animation: hueLoop 20s linear infinite;
}

@keyframes hueLoop {
  from {
    filter: hue-rotate(0deg) invert(0%) sepia(0%);
  }

  to {
    filter: hue-rotate(359deg) invert(0%) sepia(0%);
  }
} */

/* -------------------------------------------------------
    Countdown
   ------------------------------------------------------- */

#countdown h3 {
  font-size: 24px;
}

@media (width < 768px) {
  #countdown h2 {
    font-size: 30px;
  }
}

/* -------------------------------------------------------
cleverreach
------------------------------------------------------- */

#ofb-newsletter .cr-web-form {
  padding: 15px;
  border-radius: 0;
}

#ofb-newsletter .cr-web-form {
  padding: 0;
}

#ofb-newsletter .cr-text {
  font-family: var(--alx-fontfamily-body);
}

.cr-web-form input {
  width: 100%;
  padding: 15px !important;
  border-radius: 0 !important;
}

#ofb-newsletter .cr-web-form button {
  font-weight: var(--alx-fontweight-body);
  padding: 15px 25px;
  border-radius: 0;
  border: none;
  background-color: var(--alx-color-primary) !important;
  color: #fff !important;
}

.entry-content tr td {
  border: none;
}

/* -------------------------------------------------------
    location cards
   ------------------------------------------------------- */

/* animation */

#location-cards {
  /* grid-template-columns: 1fr 1fr 1fr; */
  transition: all 1s ease;
}

#location-cards:has(> div:nth-child(1):hover) {
  grid-template-columns: 2fr 1fr 1fr;
}

#location-cards:has(> div:nth-child(2):hover) {
  grid-template-columns: 1fr 2fr 1fr;
}

#location-cards:has(> div:nth-child(3):hover) {
  grid-template-columns: 1fr 1fr 2fr;
}

/* -------------------------------------------------------
    speisekarte
   ------------------------------------------------------- */
/* .speisekarte h2 {
  color: var(--alx-color-primary);
}

.speisekarte,
.speisekarte .speisekarte-produkt,
.speisekarte .speisekarte-preis {
  background-color: var(--alx-color-secondary);
}

.speisekarte {
  color: var(--alx-color-primary);
}

.speisekarte .speisekarte-divider::before {
  border-color: var(--alx-color-primary);
}

.speisekarte .speisekarte-beschreibung p {
  color: #fff;
  font-size: calc(var(--alx-fontsize-body) - 20%);
} */

#speisekarte h2 {
  color: var(--alx-color-primary);
}

#speisekarte {
  background-color: var(--alx-color-secondary);
}

#speisekarte {
  color: var(--alx-color-primary);
}

#speisekarte .et_pb_divider::before {
  border-color: var(--alx-color-primary);
}

#speisekarte p {
  color: #fff;
}

#speisekarte .dishndrink-amount p,
#speisekarte .dishndrink-price p {
  white-space: nowrap;
}

#speisekarte .dishndrink p,
#speisekarte .dishndrink-price p {
  color: var(--alx-color-primary);
}

#speisekarte .dishndrink-description p {
  font-size: calc(var(--alx-fontsize-body) - 20%);
}

#speisekarte .dishndrink-vegan {
  font-size: calc(var(--alx-fontsize-body) - 30%);
}

/* -------------------------------------------------------
    kontakt / CF7
   ------------------------------------------------------- */

/* fix divi bug */
#kontakt .et_pb_contact_form_7 {
  display: block;
}

.et_pb_contact_form_7
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.et_pb_contact_form_7 textarea,
.et_pb_contact_form_7 select {
  background-color: rgba(255, 255, 255, 0);
  color: var(--alx-color-body);
  font-family: var(--alx-fontfamily-body);
  font-size: var(--alx-fontsize-body);
  background-color: #fff !important;
}

.et_pb_button_module_wrapper a.et_pb_button.main-button,
#kontakt .wpcf7-submit {
  font-size: var(--alx-fontsize-h4);
  font-family: var(--alx-fontfamily-headings);
  color: var(--alx-color-primary);
  background-color: #fff;
  border-radius: 0;
}

.flex_wrapper {
  display: block;
}

.flex_item + .flex_item {
  margin-top: 15px;
}

@media (width > 767px) {
  .flex_wrapper {
    display: flex;
    gap: 15px;
  }
  .flex_item + .flex_item {
    margin-top: 0;
  }
}

/* -------------------------------------------------------
    map static
   ------------------------------------------------------- */

/* #map-static img {
  width: 100vw !important;
}

.marker {
  position: absolute;
}

.marker.oper {
  left: 50%;
  top: 50%;
}

.marker.kleineshaus {
  left: 55%;
  top: 80%;
}

.marker.schauspiel {
  left: 40%;
  top: 80%;
}

.marker .et_pb_code_inner::before {
  position: absolute;
  top: -42px;
  left: 20%;
  width: 48px;
  height: 48px;
  font-family: var(--alx-fontfamily-symbols);
  content: "\f3c5";
  font-size: 48px;
  color: var(--alx-color-primary);
  text-shadow: 2px 2px 0px #fff;
}

.marker .et_pb_code_inner span {
  font-weight: var(--alx-fontweight-headings);
  text-shadow: 2px 2px 0px #fff;
} */

/* -------------------------------------------------------
    map static v2
   ------------------------------------------------------- */

#map-static img {
  width: 100vw !important;
}

.marker {
  position: absolute;
}

.marker.oper {
  left: 50%;
  top: 50%;
}

.marker.kleineshaus {
  left: 55%;
  top: 80%;
}

.marker.schauspiel {
  left: 40%;
  top: 80%;
}

.marker .et_pb_code_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}

.marker .et_pb_code_inner::before {
  position: relative;
  top: -10px;
  display: contents;
  font-family: var(--alx-fontfamily-symbols);
  content: "\f3c5";
  font-size: 48px;
  color: var(--alx-color-primary);
  text-shadow: 2px 2px 0px #fff;
}

.marker .et_pb_code_inner:hover .marker-popover {
  display: block;
}

div.marker-popover {
  position: absolute;
  right: -15px;
  top: -40px;
  transform: translate(100%, -50%);
  display: none;

  padding: 1em 2em;
  border: 2px solid var(--alx-color-primary);
  border-radius: 5%;
  background: white;
}

/* -------------------------------------------------------
    Alle Cafes
   ------------------------------------------------------- */

#alle-cafes {
  background-color: var(--alx-color-secondary);
  color: #fff;
}

#alle-cafes h4 {
  color: var(--alx-color-primary);
}

/* Animation */
#alle-cafes .et_pb_image_wrap {
  overflow: hidden;
}

#alle-cafes .et_pb_image_wrap img {
  transition: all 1s ease;
}

#alle-cafes .et_pb_image_wrap img:hover {
  transform: scale(1.3);
  transition: all 1s ease;
}

/* -------------------------------------------------------
    footer
   ------------------------------------------------------- */

/* disable burger menu */
#main-footer .et_mobile_nav_menu {
  display: none;
}
#main-footer .et_pb_menu__menu {
  display: flex;
}

.et-l--footer .et_pb_social_media_follow_network_3_tb_footer a.icon,
.et-l--footer .et_pb_social_media_follow_network_2_tb_footer a.icon {
  background-color: #707070 !important;
}
