body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  text-align: center;
  position: relative;
}

header {
  margin-bottom: 30px;
}

.logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
}

h1 {
  color: #f5f5f5;
  margin: 0;
}

.container {
  width: 80%;
  max-width: 500px;
}

.message {
  margin-top: 20px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Motorcycle Animation Styles */
.motorcycle-animation {
  position: relative;
  width: 200px;
  height: 100px;
  margin: 20px auto;
}

.motorcycle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  fill: #f5f5f5;
  animation: bounce 0.6s infinite alternate ease-in-out;
  width: 50px;
  height: 50px;
}

.smoke {
  position: absolute;
  top: 10px;
  left: calc(50% - 30px);
  fill: rgba(128, 128, 128, 0.5);
  width: 20px;
  height: 20px;
  animation: fade-away 1s infinite linear;
}

.road {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 200px;
  height: 10px;
  overflow: hidden;
  background-color: #35536B;
}

.road-stripes-container {
  position: relative;
  width: 100%;
  height: 100%;
  animation: move-left 1.5s infinite linear;
}

.road-stripe {
  position: absolute;
  width: 30px;
  height: 4px;
  background-color: #f5f5f5;
  top: 3px;
}

.road-stripe:nth-child(1) {
  left: 0px;
}

.road-stripe:nth-child(2) {
  left: 60px;
}

.road-stripe:nth-child(3) {
  left: 120px;
}

.road-stripe:nth-child(4) {
  left: 180px;
}

.road-stripe:nth-child(5) {
  left: 240px;
}

.road-stripe:nth-child(6) {
  left: 300px;
}

.road-stripe:nth-child(7) {
  left: 360px;
}

.road-stripe:nth-child(8) {
  left: 420px;
}

@keyframes bounce {
  0% {
      transform: translate(-50%, 0px);
  }

  100% {
      transform: translate(-50%, -10px);
  }
}

@keyframes fade-away {
  0% {
      opacity: 0.5;
      transform: translate(0, 0);
  }

  100% {
      opacity: 0;
      transform: translate(-20px, -20px);
  }
}

@keyframes move-left {
  0% {
      transform: translateX(0);
  }

  100% {
      transform: translateX(-60px);
  }
}

/* Sponsoren-Carousel Styles */
.sponsors-container {
  width: 100%;
  max-width: 500px;
  margin-top: 30px;
  overflow: hidden;
  position: relative;
}

.sponsors-title {
  font-size: 16px;
  color: #f5f5f5;
  margin-bottom: 10px;
}

.sponsors-carousel {
  display: flex;
  animation: scroll 20s linear infinite;
  width: max-content;
}

.sponsor-item {
  flex: 0 0 auto;
  margin: 0 15px;
}

.sponsor-item img {
  height: 50px;
  width: auto;
  /* filter: grayscale(0%); */
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.sponsor-item img:hover {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }

  100% {
      transform: translateX(-50%);
  }
}

/* Chat Design */
.loaded.container {
  width: 90%;
  max-width: 500px;
  gap: 15px;
}

.hide {
  display: none !important;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile > img {
  border-radius: 100px;
  width: 100px;
  height: 100px;
}

.profile .placeholderimage {
  border-radius: 100px;
  border: 1px solid #f5f5f5;
  background-color: #EDEDED;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.profile .placeholderimage img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(15%) saturate(1353%) hue-rotate(168deg) brightness(94%) contrast(89%);
}

.profile p {
  color: #f5f5f5;
  font-size: 1.1rem;
  max-width: 150px;
}

body.splashscreen {
  background-color: #35536B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.data {
  position: relative;
  background-color: #35536B;
  padding-top: 25px;
}

body.data .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gif {
  background-color: #35536B;
  min-height: 100vh;
  min-width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gif > img {
  border-radius: 30px;
  border: 5px solid #ffffff;
  margin: 10px;
  width: calc(100vw - 40px);
  max-width: 500px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Modify the body.data class */
body.data {
  position: relative;
  background-color: #35536B;
  padding-top: 150px; /* Increased padding to make room for header */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Change the container positioning in data mode */
body.data .container {
  position: relative; /* Change from absolute to relative */
  top: auto;
  left: auto;
  transform: none;
  /* margin: 0 auto; Center horizontally */
}

/* Ensure header stays at the top */
body.data header {
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  z-index: 10;
}

/* Modify the .loaded.container class for better layout */
.loaded.container {
  width: 90%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.chatmessage-wrapper {
  position: relative;
  position: relative;
  margin-left: 15px;
  overflow: visible;
}

/* Adjust chat message for longer content */
.chatmessage {
  /* margin-top: 20px; */
  position: relative;
  background-color: white;
  padding: 5px 15px;
  border-radius: 10px;
  /* margin-left: 15px; */
  width: 250px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 60vh;
  overflow-y: auto;
  text-align: left;
}

.chatmessage-wrapper::after {
  content: '';
  position: absolute;
  top: 15px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid white;
}