body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
}

#container {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #3d444e, #0d1117);
  overflow: hidden;
}

/* Reload-Icon Styling */
#reload-icon {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 100; 
  cursor: pointer;
}

#reload-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

#reload-icon img:hover {
  transform: rotate(90deg);
}

#message {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0; /* Über dem Canvas */
  text-align: center;
  color: white;
  
}

h1 {
  font-size: 90px;
  margin-bottom: 10px;

  /* Farbverlauf als Hintergrund */
  background: linear-gradient(to right, #5a4599, #ffffff);
  
  /* Der Trick: Hintergrundclip auf Text anwenden */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Für manche Browser */
  background-clip: text;
  color: transparent;
}

@media (max-width: 600px) {
  h1 {
    font-size: 75px;
  }
}

.button-container {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3; /* Über dem Canvas */
}

#button-barrier {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; 
  z-index: 2; 
}

.startButton {
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  background-color: #fff;
  color: black;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  position: relative;
  pointer-events: auto;
  border-radius: 5px;
  z-index: 3; 
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media (max-width: 600px) {
  .startButton {
  padding: 15px 15px;
  font-size: 16px;
  width: 150px;
  font-weight: bold;
  background-color: #fff;
  color: black;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  position: relative;
  pointer-events: auto;
  border-radius: 5px;
  z-index: 3; 
  transition: background-color 0.3s ease, color 0.3s ease;
}
}

.startButton:hover {
  background-color: #5c489b;
  color: white;
}

#ballCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#introduction {
  padding: 20px;
  display: none;
  text-align: center;
}