:root {
  --color-primary: #12b9b8; /* brand color */
  --grid-maxWidth: 108rem; /* max container width 1080px */

  --bg-color: #353b43;
  --bg-color-opaque: rgba(53,59,67,.5);
  --bg-secondary-color: #242930;
  --font-color: #cbd7df;
  --secondary-font-folor: #4c5a65;
  --color-grey: #cbd7df;
  --color-lightGrey: #e5edf4;
  --color-darkGrey: #758b9c;

  --logo-size: 350px;
  --logo-size-mobile: 300px;

  --header-height: 500px;
  --header-height-mobile: 450px;

  --spaxing-xxs: 5px;
  --spacing-xs: 15px;
  --spacing-s: 25px;

  --size-xs: 15px;
  --size-s: 20px;
} 

body{ 
  min-height: 100vh; 
  margin: 0; 

  display: grid;
  grid-template-rows: auto 1fr auto;
}

header {
  background-image: url("/images/banner.webp");
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: black;
} 

.nav-center {
  flex-direction: column;
}

.tabs {
  padding-bottom: var(--spacing-s);
  justify-content: center;
}

.tabs > a {
  color: var(--font-color);
}

/* Big screens */
@media screen and (min-width: 600px) {
  header {
    height: var(--header-height);
  }

  .logo {
    height: var(--logo-size);
    max-height: var(--logo-size) !important;
  }

  .tabs {
    font-size: 1.2em;
  }

  .nav {
    width: 400px;
    margin: 0 auto;
  }

  .mobile {
    display: none;
  }
}

/* Small screens */ 
@media screen and (max-width: 600px) {
  header {
    height: var(--header-height-mobile);
  }

  .logo {
    height: var(--logo-size-mobile);
    max-height: var(--logo-size-mobile) !important;
  }

  .tabs {
    font-size: 1em;
  }

  .desktop {
    display: none;
  }
}

footer {
  min-height: 50px; 
  text-align: center;
  background-color: var(--bg-secondary-color);
  padding: var(--spacing-s) 0;
}

.separator {
  background-color: var(--bg-color);
  height: var(--spacing-s);
  width: calc(100% + (var(--spacing-s) * 2));
  margin-top: 25px;
  margin-bottom: var(--spacing-s);
  margin-left: calc(var(--spacing-s) * -1);
}


@media screen and (max-width: 600px) {
  .journey {
    height: auto;
    width: 100%;
  }
}

@media screen and (min-width: 600px) {
  .journey {
    height: 400px;
    width: auto;
  }
}

.content {
  text-align: center;
  padding: var(--spacing-s);
  margin-top: var(--spacing-s);
  margin-bottom: var(--spacing-s);
  background-color: var(--bg-secondary-color);
  border-radius: 25px;
}

h1,
h2,
h3 { 
  color: var(--color-primary);
}

/* small screens */ 
@media screen and (max-width: 600px) {
  .col, [class*=" col-"], [class^="col-"] {
    margin: 0 0 calc(var(--grid-gutter)/2);
  }
}

.socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* Big screens */
@media screen and (min-width: 600px) {
  .socials object {
    width: 40px;
    height: 40px;
  }

  .socials span {
    width: 40px;
    height: 40px;
  }

  .instagram-logo object {
    border-radius: 12px !important;
  }
}

/* Small screens */
@media screen and (max-width: 600px) {
  .socials object {
    width: 50px;
    height: 50px;
  }

  .socials span {
    width: 50px;
    height: 50px;
  }

  .instagram-logo object {
    border-radius: 15px !important;
  }
}


.socials object {
  pointer-events: none;
  /* https://codepen.io/sosuke/pen/Pjoqqp */
  filter: invert(95%) sepia(2%) saturate(2108%) hue-rotate(175deg) brightness(95%) contrast(83%);
}

header .socials object {
  /* https://codepen.io/sosuke/pen/Pjoqqp */
  filter: unset; 
  background: var(--font-color);
  -moz-border-radius: 50px; 
  -webkit-border-radius: 50px; 
  border-radius: 50px;
}

.team > img {
  border: 10px solid var(--bg-color);
}

.team > p {
  font-weight: bold;
}

a {
  color: var(--font-color);
}

ul {
  list-style-type: none;
}

.menu-links {
  font-size: 18px;
  line-height: 1.6;
}

.karte table {
  table-layout: auto;
}

.karte thead {
  display: none;
}

.karte td {
  padding: 0.5rem 0.2rem;
}

.karte td:nth-child(1) {
  width: auto;
}

.karte td:nth-child(2),
.karte td:nth-child(3),
.karte td:nth-child(4),
.karte td:nth-child(5) {
  width: 60px;
  text-align: right;
}

.karte td:nth-child(3),
.karte td:nth-child(5) {
  white-space: nowrap;
}

.karte .col-6 {
  margin: 0 auto;
}


/* karte-with-image */
.karte .karte-with-image td:nth-child(1),
.karte .karte-with-image td:nth-child(2) {
  width: auto;
  text-align: left;
}


.karte sup,
.karte i {
  color: var(--secondary-font-folor);
}

/* Big screens */
@media screen and (min-width: 600px) {
  .menu-selector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* Small screens */
@media screen and (max-width: 600px) {
  .hide-on-mobile {
    display: none;
  }

  .menu-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}



.karte .category {
  display: none;
}

.karte .selected-category {
  display: unset;
}

.karte .selected-button {
  text-decoration: underline;
}

.karte td {
  vertical-align: top;
}

.karte .price-info,
.karte .zusatzstoffe {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--secondary-font-folor);

  margin-top: 20px;
  font-size: 12px;
  line-height: 4px
}

.text-icon {
  pointer-events: none;
  /* https://codepen.io/sosuke/pen/Pjoqqp */
  filter: invert(95%) sepia(2%) saturate(2108%) hue-rotate(175deg) brightness(95%) contrast(83%);
  height: 15px;
  width: 15px;
}


.image-preview {
  height: 60px;
  width: 36px;
  min-height: 60px;
  min-width: 36px;
  cursor: pointer;
}

.image-dialog {
  border: unset;
  background: unset;
}

dialog {
  border: none !important;
}

dialog::backdrop {
  backdrop-filter: blur(3px);
}

.full-image {
  max-width: 80vw;
  max-height: 90vh;
}

*,*:focus,*:hover{
  outline:none;
}


h1 {
  font-size: 1.8em;
  margin-top: 0px;
}

h2 {
  font-size: 1.5em
}

h3 {
  font-size: 1.2em
}

.event img {
  object-fit: contain;
  width: 100%;
}

.event {
  align-items: start;
}

.event .info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.event .info p {
  margin-bottom: 0;
}

.short-info p {
  margin-top: 0;
  margin-bottom: 0;
}

.new-wrapper {
  position: relative;
}

.new-banner {
  width: 50px;
  position: absolute;
  left: -16px;
  top: -16px;
}

.price-row {
  background-color: var(--bg-color);
  margin-top: 25px;
  margin-bottom: var(--spacing-s);
  margin-left: calc(var(--spacing-s) * -1 + var(--grid-gutter) * -1/2);
  padding-top: var(--spacing-xs);
  padding-bottom: var(--spacing-xs);
}

/* Small screens */ 
@media screen and (max-width: 600px) {
  .price-row {
    width: calc(100% + (var(--spacing-s) * 2));
  }
}
/* Large screens */
@media screen and (min-width: 600px) {
  .price-row {
    width: calc(100% + (var(--spacing-s) * 2) + (var(--grid-gutter)));
  }
}

.price-row .col-4 {
  background-color: var(--bg-secondary-color);
  padding: var(--spacing-xs);
}

.price-row object {
  margin: var(--spacing-s);
  margin-bottom: 0;
  width: 75px;
}

.price-row li {
  text-align: left;
  display: flex
}


.price-row li::before {
  content: '';
  display: inline-block;
  min-height: 18px;
  height: 18px;
  width: 18px;
  min-width: 18px;
  background-image: url(/icons/checkcircle-colored.svg); 
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: -35px;
  margin-right: var(--spaxing-xxs);
  margin-top: 3px;
}



.price-row ul {
  list-style-position: outside;
} 

.events-list {
  display: flex;
  gap: var(--spacing-s);
  flex-wrap: wrap;
  justify-content: center;
}

.event {
  border-radius: 10px;
  background-color: var(--font-color);
  width: 120px;
  min-width: 120px;
  color: var(--bg-secondary-color);
  padding-bottom: 5px;
  cursor: pointer;
}

.no-details {
  cursor: unset !important;
}

.event .month {
  background-color: var(--color-primary);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: white;
  height: 30px;
  font-size: 1em;
}

.event .year {
  background-color: var(--color-primary);
  color: white;
  height: 18px;
  font-size: 1em;
  line-height: 0.5;
}

.event .day {
  font-size: 1.6em;
  font-weight: bold;
}

.event .name {
  font-weight: bold;
}

.event .week-day,
.event .time {
  font-size: 0.8em;
}

.event-dialog {
  background-color: var(--bg-secondary-color);
  color: var(--font-color);
  padding-top: 0px;
}

/* Big screens */
@media screen and (min-width: 600px) {
  .event-dialog {
    width: 80%;
    max-width: 700px;
  }
}

/* Small screens */ 
@media screen and (max-width: 600px) {
  .event-dialog {
    width: 100%;
  }
}

.event-dialog h3 {
  font-size: 1.8em;
}

.event-dialog img {
  max-width: 80%;
}

.event-dialog .close-button {
  position: absolute;
  right: var(--spacing-s);
  top: var(--spacing-s);
}

.event-dialog .dialog-header {
  position: sticky;
  top: 0;
  background-color: var(--bg-secondary-color);
  padding-top: var(--spacing-s);
}

.info {
  font-weight: bold;
}

.nowrap {
  white-space: nowrap;
}
