body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: var(--bs-light);
  color: var(--bs-dark);
  font-size: 32px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-display: swap;
}

:root {
  --bs-white: #faf2e1;
  --bs-primary: #852c09;
  /* New primary color */
  --bs-secondary: #422b41;
  --bs-success: #579318;
  /* New success color */
  --bs-info: #63819e;
  /* New info color */
  --bs-warning: #feb958;
  /* New warning color */
  --bs-danger: #e80e64;
  /* New danger color */
  --bs-light: #FAD586;
  /* New light color */
  --bs-dark: #040303;
  /* New dark color */
}

p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* Equivalent to 40px if base is 16px */
  font-family: 'Bubblegum Sans', sans-serif;
}

.flex-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  /* Align horizontally */
  height: 500px;
  /* Adjust based on your original logo size */
  transition: height 0.3s;
}

#header-kontostand {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
}

#header.small {
  height: 250px;
  /* Adjust based on your desired smaller logo size */
  background-color: var(--bs-light);

}

#header.small #logo {
  height: 200px;
  /* Adjust based on your desired smaller logo size */
}

#logo {
  height: 450px;
  /* Original logo size */
  transition: height 0.3s;
}

#main-content {
  /* Adjust based on header and footer size */
  padding: 15px;
  padding-top: 0;
  /* Start with no padding */
  transition: padding-top 0.3s;
  flex: 1;
}

#footer {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Transparent background */
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.rotate {
  animation: rotate 1s linear;
}

@keyframes bounce {

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

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

.bounce {
  animation: bounce 1s ease 2;
}

@keyframes flip {
  from {
    transform: rotateY(0);
  }

  to {
    transform: rotateY(360deg);
  }
}

.flip {
  animation: flip 1s linear;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 1s 2;
}

@keyframes shake {

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

  25%,
  75% {
    transform: translateX(-10px);
  }

  50% {
    transform: translateX(10px);
  }
}

.shake {
  animation: shake 1s ease;
}

.container {
  max-width: 95%;
  /* or any other percentage or fixed width that fits your design */
}

.sticky-top-under-header {
  position: sticky;
  top: 200px;
  /* Adjust this value based on your header's height */
  z-index: 10;
  background-color: var(--bs-light);
  /* Or any other background color */
}

.container {
  height: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.2s ease-out;
}

.custom-rounded-start {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.custom-rounded-end {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.custom-dropdown .dropdown-item:active {
  background-color: var(--bs-dark);
  /* Your dark color */
  color: white;
  /* Adjust text color if needed */
}

.d-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  font-weight: 700;
  /* Three columns with the middle one auto-sized */
}

.grid-item-middle {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  /* Ensuring the 'bis' text is in the middle of its column */
}

.player-image {
  width: 150px;
  height: auto;
  /* Ensuring the image is responsive */
}

.flame {
  display: none;
  /* Hide by default */
}

.flame.small {
  font-size: 2rem;
  /* Size for streaks 2-3 */
}

.flame.medium {
  font-size: 4rem;
  /* Size for streaks 4-5 */
}

.flame.large {
  font-size: 6rem;
  /* Size for streaks 6-7 */
}

.flame.xlarge {
  font-size: 8rem;
  /* Size for streaks 8-9 */
}

.flame.xxlarge {
  font-size: 10rem;
  /* Size for streaks 10+ */
}

.streak-container {
  position: relative;
  display: inline-block;
  /* Or flex, depending on your layout needs */
}

.flame {
  position: absolute;
  top: 50%;
  /* Adjust to vertically center the flame */
  left: 50%;
  /* Center flame horizontally */
  transform: translate(-50%, -50%);
  /* Adjust position */
  z-index: -1;
  /* Place it behind the text */
  display: none;
  /* Hide by default */
  /* ... other styles ... */
}

#streakChristina,
#streakJohannes {
  position: relative;
  z-index: 1;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--bs-dark);
}

.input-group {
  max-width: 400px;
  /* or any other suitable width */
  margin: 0 auto;
  /* This centers the input group */
}

#atmospheric-image {
  max-height: 512px;
  width: auto;
  height: auto;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

#prompt-text {
  font-style: italic;
  color: #555;
}

.modal-custom-size {
  max-width: 95%;
  /* or any other value that fits your needs */
}

.modal-content {
  height: auto;
  /* Ensure the modal content is only as tall as needed */
  min-height: 80%;
  /* You can adjust this value */
}

#atmospheric-image-large {
  min-width: 100%;
  /* This will make the image larger, adjust as needed */
}

.btn.active {
  background-color: #dca500;

}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  /* Higher than the header's z-index */
}

.loader {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
