html {
    background-color: rgb(15, 15, 15);
    color: white;
}


#content {
  background-color: rgb(15, 15, 15);
}

 @font-face {
  font-family: 'BankGothic';
  src: url("/static/fonts/BankGothicMdBT.adfd298e4219.ttf") format('truetype');
  font-weight: 500;
  font-style: normal;
}


#serviceinfo {
  margin-top: 0.5%;
}


.staticsite_box {
  margin-top: 1%;
  border-radius: 5%;
  border: 1px solid grey;
}

.event-box-container {
  border: 1px solid #333; /* Dunkles Grau */
  border-radius: 5px;
  margin-top: 1%;
  margin-bottom: 1%;
}

p {
  max-width: 100%; 
  max-height: 100%; 
}

.eventcard {
  border: 0.1rem solid #333; /* Dunkles Grau */
  border-radius: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

.infocard {
  border: 0.1rem solid #333; /* Dunkles Grau */
  border-radius: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

.steinhof-button {
  background-color: black;
  color: white;
  border: 2px solid red;
  border-radius: 10px;
  max-width: 90%; 
  max-height: 90%; 
  white-space: normal;
  transition: transform 0.2s; /* Smooth transition */
}

.steinhof-red {
  color: red;
}

.steinhof-button:hover {
  transform: scale(1.05); /* Slightly increase size on hover */
}

.hover-effect {
  transition: transform 0.2s; /* Smooth transition */
}

.hover-effect:hover {
  transform: scale(1.1); 
  color: red; 
}

/* FadeIn-Animation */
@keyframes fadein1 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fadein-effect {
  animation: fadein1 0.4s;
}

.fast-fadein-effect {
  animation: fadein1 0.4s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.navbar {
  background-color: rgb(15, 15, 15);
    border-radius: 0; /* Entfernt den BorderRadius */
    color: white;
    margin-bottom:0;
    /* font-family: 'BankGothic', sans-serif; */
  }

.navbar-dropdown {
    background-color: rgb(15, 15, 15);
    border-radius: 0; /* Entfernt den BorderRadius */
    color: white;
  }

.navbar-dropdown a {
    color: white; /* Setzt die Textfarbe der Links im Dropdown auf weiß */
  }

.navbar-item {
  position: relative;
  color: white; /* Standardfarbe der Schrift */
  text-decoration: none;
}

.navbar-item:hover, .has-dropdown a:hover {
  color: red !important; /* Schriftfarbe beim Hover */
}
  
.custom-dd-item {
  color: white; /* Schriftfarbe des Dropdowns */
}

.navbar-item:hover::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: red;
  transition-property: width;
  transition-duration: 1s;
  position: absolute;
  bottom: 0;
  left: 0;
}

.navbar-item:hover {
  position: relative;
}

.navbar-item:hover::after {
  width: 100%;
}

.navbar-dropdown {
  color: white; /* Schriftfarbe des Dropdowns */
}


@media (max-width: 768px) {
  #content {
      margin-left: 0;
      margin-right: 0;
  }
}

@media (min-width: 769px) {
  #content {
      margin-left: 1rem;
      margin-right: 1rem;
  }
}

.infoheader-text {
  font-size: 1.0rem !important;
}

@media (max-width: 1668px) {
  .infoheader-text {
      font-size: 1rem !important;
  }
}


@media (max-width: 1250px) and (min-width:1024px){
  .navbar {
      font-size: 0.9rem !important;
  }
} 

@media (max-width: 1395px) {
  .infoheader-text {
      font-size:  0.9rem !important;
  }
}

@media (max-width: 1285px) {
  .infoheader-text{
      font-size:  0.8rem !important;
  }
}

@media (max-width: 1180px) {
  .infoheader-text {
      font-size:  0.7rem !important;
  }
}

@media (max-width: 1077px) {

  .infoheader-text {
      font-size: 0.7rem !important;
  }
}

@media (max-width: 1023px) {
  .infoheader-text {
      font-size: 0.7rem !important;
  }
}

@media (max-width: 800px) {
  .responsive-logo {
      max-width: 80% !important;
  }
  .infoheader-text {
      font-size: 0.8rem !important;
  }
}


@media (max-width:  950px) {
  .responsive-logo {
      max-width: 80% !important;
      margin-top: 15% !important;
  }
}

@media (max-width: 550px) {
  .responsive-logo {
      max-width: 85% !important;
      margin-top: 15% !important;
  }
  .infoheader-text {
      font-size: 0.7rem !important;
  }
}

@media (min-width: 1404px) and (max-width: 1550px){
  .event_icons {
    font-size: 1em !important;
  }
}

@media (min-width: 1800px) {
  .event-teaser-text-vorschau {
    font-size: 1.3em !important;
  }
  

  .programm_v_titel {
    font-size: 2.5em !important;
  }

  .event_icons {
    font-size: 1.5em !important;
  }

  #eventinfo_infobuttons {
    font-size: 1.0em !important;
  }
}

@media (min-width: 768px) {
  .navbar-item::after {
    display: none;
  }
}

.htmx-indicator{
  opacity:0;
  display: none;
  width: 0;
  height: 0;
  transition: opacity 500ms ease-in;
  }

.htmx-request .htmx-indicator{
  opacity:1;
  display: inline;
  width: 10%;
  height: 10%;
  }

/* Landingpage-Eventkarten: Mindesthöhen nur ab Tablet-Breite */
@media (min-width: 769px) {
  .landing-titel {
    margin-top: 0.75rem;
    min-height: 15vh;
  }

  .landing-teaser {
    min-height: 25vh;
  }
}
