@charset "UTF-8";
@import url(fonts.css);
:root {
  --navbar-color: #212121;
  --navbar-text: white;
  --primary-color: #FF9800; /* Für Buttons und Hervorhebungen */
}

html, body {
  background-image: url("../img/5_background/desert-small-transformed.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Anpassungen für MUI CSS */
body {
  padding-top: 60px;
  background-color: #f5f5f5;
  width: 100vw;
  height: 100vh;
  font-family: Lato, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.mui-appbar {
  font-family: Lato, sans-serif;
}

button {
  padding: 1rem 1.2rem 0.9rem 1.2rem;
  margin: auto;
  border: none;
  border-radius: 10px;
  color: floralwhite;
  font-weight: bold;
  cursor: pointer;
  font-family: Lato, sans-serif;
  transition: background-color 0.3s;
}
button h1, button h2, button h3, button h4, button h5, button h6 {
  font-family: "Merriweather Regular", serif;
  font-weight: 700;
}
button.mui {
  position: relative;
  background-color: rgb(255, 152, 0);
  overflow: hidden;
  font-size: larger;
}
button.mui div {
  position: absolute;
  aspect-ratio: 1/1;
  width: 0;
  translate: -50% -50%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: expand 0.7s ease;
  pointer-events: none;
}
@keyframes expand {
  50% {
    opacity: 1;
  }
  70% {
    width: 250%;
  }
  100% {
    width: 250%;
    opacity: 0;
  }
}

button:hover.mui {
  background-color: rgb(245, 124, 0);
}

.mui-appbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #212121; /* Dunklere Farbe für die Navbar */
  color: white;
}

.sound-button {
  color: white;
  border: 1px solid white;
  padding: 5px 10px;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

.game-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 60px);
  margin: 15px;
}

table {
  width: 100%;
}

#start-screen, #game-over-screen, #you-win-screen {
  text-align: center;
}

#start-button, #restart-button, #restart-button-win {
  width: 25%;
}

#game-over-screen, #you-win-screen {
  display: none;
  position: absolute;
  top: 8%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9990;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 3px solid rgba(189, 178, 72, 0.81);
  border-radius: 10px;
}

.win-title, .game-over-title {
  color: gold;
  font-size: 64px;
  margin-bottom: 20px;
  font-family: Lato, sans-serif;
}

.win-message, .game-over-message {
  color: white;
  font-size: 24px;
  margin-bottom: 30px;
}

.screen-container {
  width: 100%;
  height: 90%;
  justify-content: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(189, 178, 72, 0.81);
  border-radius: 10px;
  margin-top: 10px;
}

#canvas {
  display: none;
  border: 2px solid #333;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#start-screen {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url(../img/9_intro_outro_screens/start/startscreen_1.png) center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border: 3px solid rgba(189, 178, 72, 0.81);
  border-radius: 10px;
}

#start-screen-highscore {
  font-size: 20px;
  color: gold;
  text-shadow: rgba(0, 0, 0, 0.7) 2px 2px 4px;
  font-family: "Merriweather Regular", sans-serif;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px;
  border-radius: 5px;
  width: 20%;
  display: flex;
  flex-direction: column;
  margin-bottom: 1%;
}

.game {
  width: 1200px;
  height: 500px;
  margin: 0 auto;
  position: relative;
}

.mui-tabs__bar.mui--bg-dark > li.mui--is-active {
  border-bottom: 2px solid #FF9800; /* Markiert den aktiven Tab mit einer orangefarbenen Linie */
}

.mui-tabs__bar.mui--bg-dark > li > a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.game-ui-element {
  font-family: Lato, "Merriweather Regular", sans-serif;
  position: absolute;
  z-index: 1000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#game-timer {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: white;
}

#game-highscore {
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  color: gold;
}

.screenButton {
  width: 100%;
  height: 90%;
}

/* Responsive Anpassungen */
@media (max-width: 1250px) {
  body {
    height: 90vh;
  }
  #start-screen-highscore {
    left: 8% !important;
  }
  .no-highscore {
    left: 22% !important;
  }
  .mui-appbar {
    min-height: 70px;
  }
}
@media (max-width: 768px) {
  #start-screen, .game, canvas {
    height: 400px;
  }
  .mui-appbar {
    min-height: 60px;
  }
  .win-title {
    font-size: 42px;
  }
  .win-message {
    font-size: 18px;
  }
}
@media (max-width: 576px) {
  #start-screen, .game, canvas {
    height: 350px;
  }
  .mui-appbar {
    min-height: 30px;
  }
}

/*# sourceMappingURL=style.css.map */
