html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
}

section {
  display: flex;
  flex-direction: column;
  background:
    url('/assets/background-hero.svg') repeat,
    #ee761c;
  flex-grow: 1;
}

section>h1,
section>h2,
section>p {
  text-align: center;
  color: #f0eae2;
}


/* Dropdown-Menue */
.header-nav {
  display: flex;
  align-items: center;
}


.dropdown.open .dropdown-content {
  display: block;
  /* Wird angezeigt, wenn das Dropdown geöffnet ist */
}

/* Bei kleinen Bildschirmen */
.header-nav.open a {
  display: block;
}

/* Standardmäßige Positionierung des Burger-Menüs */
.burger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 3rem;
  color: #4f491d;
  cursor: pointer;
  /* position: absolute;
    top: 20px;
    right: 0;*/
  z-index: 1010;
  width: 50px;
}

@media (max-width: 854px) {
  .burger-menu {
    display: block;
    margin-left: 20px;
  }

  .header-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #f0eae2;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .header-nav a {
    margin: 10px 0;
  }

  .header-nav.open {
    display: flex;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0eae2;
  /* z-index: 1; */
}

.hero-content video {
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin: 20px 0;
  width: 900px;
}

@media (max-width: 854px) {
  .hero-content video {
    width: 100%;
  }
}

section button {
  padding: 15px 30px;
  font-size: 1rem;
  color: #f0eae2;
  background-color: #d1510b;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-transform: uppercase;
  margin: 20px auto;
}


/* Statusnachricht für Fehler */
.status-message.error {
  background-color: #dc3545;
  /* Roter Hintergrund für Fehler */
  color: white;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Fade-in-Effekt */
.status-message.fade-in {
  animation: fadeIn 1s ease-in;
}

/* Fade-out-Effekt */
.status-message.fade-out {
  animation: fadeOut 1s ease-out;
}

/* Keyframes für Fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Keyframes für Fade-out */
@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  min-width: 800px;
}

@media (max-width: 854px) {
  .container {
    min-width: 75%;
    margin: 50px 20px;
  }
}

.container h1 {
  color: #4f491d;
  text-align: center;
}

p {
  line-height: 1.6;
  margin: 20px;
}

.team {
  padding: 50px 0;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: inherit;
  min-width: 250px;
  width: 100%;
}

.team h2 {
  margin-bottom: 40px;
  color: #333333;
}

.team-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.team-logos img {
  max-width: 200px;
}

@media (max-width: 854px) {
  .team-logos img {
    width: 90%;
  }
}

.counters {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}

.counter {
  text-align: center;
  flex: 1;
}

.counter h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  display: inline-block;
  color: #ff872b;
}

.counter .plus {
  font-size: 2rem;
  display: inline-block;
  margin-left: 5px;
  color: #ff872b;
}

.counter p {
  font-size: 1.2rem;
  margin: 0;
  color: #333333;
}

section a {
  color: #ff872b;
  text-decoration: none;
}

/* 404-Seite */

.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4f491d;
}

.not-found h1 {
  font-size: 5rem;
  margin-bottom: 0px;
}

.not-found h2 {
  font-size: 2rem;
  margin-bottom: 0px;
}

.not-found p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.not-found button {
  padding: 15px 30px;
  font-size: 1rem;
  color: #f0eae2;
  background-color: #ff872b;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-transform: uppercase;
}

.not-found button:hover {
  background-color: #e5661e;
}

.email-image {
  height: 1em;
  top: 3px;
  position: relative;
}

input[name='honeypot'] {
  display: none !important;
  visibility: hidden;
}

.lang {
  position: absolute;
  right: 10px;
  top: 10px;
}

.lang>a {
  text-decoration: none;
}


.video-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.slider-track {
  display: flex;
  transition: transform 1s ease-in-out;
}


.slider-item {
  min-width: 100%;
}

.video-title {
  text-align: center;
}

.video-title a {
  text-decoration: none;
  color: #f0eae2;
}

.slider-button {
  position: absolute;
  top: 41%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 10;
}

.left-button {
  left: 10px;
}

.right-button {
  right: 10px;
}

.slider-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* customization for lbook */
iframe {
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  border: none;
}

#iframe-container {
  position: relative;
  width: 1200px;
  height: 100%;
  min-height: 700px;
  border-radius: 10px;
  margin-bottom: 30px;
}

iframe.loading {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

iframe {
  opacity: 1;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border: none;
  transition: opacity 0.3s ease-in-out;
}

@media (max-width: 810px) {
  #iframe-container {
    min-width: 80%;
    width: 425px;
    height: 100%;
  }
}

/* animation chatbot */
.cgptcb-chat-bubble {
  animation: hop 2s ease-in-out infinite !important;
}

@keyframes hop {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.cgptcb-chat-bubble.no-hop {
  animation: none !important;
}

/* iframespinner */

@keyframes rotate-shadow {
  0% {
    box-shadow: 0 0 30px rgba(238, 118, 28, 0.5);
    transform: rotate(0deg);
  }

  50% {
    box-shadow: 0 0 40px rgb(238, 118, 28);
  }

  100% {
    box-shadow: 0 0 30px rgba(238, 118, 28, 0.5);
    transform: rotate(360deg);
  }
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f0eae2;
  border-top: 5px solid #ee761c;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 575px;
  transform: translate(-50%, -50%);
  animation: rotate-shadow 1s linear infinite;
}

.iframe-spinner-container {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 700px;
  background-color: #f0eae2;
  border-radius: 10px;
  position: absolute;
}