html,
body {
  font-family: "Bangers";
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: url("img_pollo_locco/img/5_background/desert-5112222_1920.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
}

.fullcontent {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 100vh;
}

.canvas-screen {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.sound-toggle {
  position: absolute !important;
  align-items: center !important;
  margin-bottom: 460px !important;
}

.sound-toggle img {
  cursor: pointer;
  width: 60px;
  height: 60px;
}

h2 {
  color: rgb(255, 249, 249);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}

.main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

#canvas {
  width: 720px;
  height: 480px;
  max-width: 100%;
}

#start-screen img {
  width: 720px;
  max-width: 100%;
  height: 480px;
  padding: 0;
}

canvas {
  background-color: black;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: rgba(58, 56, 56, 0.8);
  color: white;
  z-index: 10000 !important;
  flex-shrink: 0;
}

footer a {
  display: inline-block;
  margin: 0 10px;
  text-decoration: none;
  color: white;
  z-index: 10;
}

footer a:hover {
  text-decoration: underline;
  color: rgb(255, 160, 43);
}

#generator_results {
  padding-left: 24px;
  padding-right: 24px;
  color: rgb(255, 253, 253);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
  overflow-y: scroll !important;
}

#generator_results_content a {
  text-decoration: none;
  color: rgb(255, 160, 43);
}

#generator_results_content a:hover {
  text-decoration: underline;
  color: white;
}

.impressum-content {
  color: white;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

.impressum-content a {
  text-decoration: none;
  color: rgb(255, 160, 43);
}

.impressum-content a:hover {
  text-decoration: underline;
  color: white;
}

.display-none {
  display: none;
}

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

.game-over-img {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  max-width: 100%;
  z-index: 10;
}

#orientation-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  z-index: 9999;
}

#orientation-message img {
  width: 300px;
}

.game-win-img {
  width: 720px;
  height: 480px;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  z-index: 20;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 0px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding-left: 12px;
  padding-right: 12px;
  max-width: 100%;
}

.controls span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.controls img {
  width: 40px;
  height: 40px;
}

.controls-mobile img {
  cursor: pointer;
}

.home-button {
  text-decoration: none;
}

.home-button:hover {
  color: rgb(255, 160, 43);
}

.go-home:hover {
  color: rgb(255, 150, 22);
}

.btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 130px;
  background-color: rgb(255 220 0);
  width: 160px;
  z-index: 1000;
  height: 40px;
  border-radius: 10px;
  font-size: 28px;
  font-family: "Bangers";
  color: white;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: rgb(255, 160, 43);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 36px;
  color: rgb(255, 249, 249);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}

@media (max-width: 600px) {
  canvas {
    width: 100%;
    height: 330px !important;
    margin-bottom: 12px;
  }

  .sound-toggle img {
    width: 40px;
    height: 40px;
  }

  #orientation-message img {
    width: 200px;
  }

  #orientation-message {
    font-size: 1em;
  }

  #start-screen {
    height: 330px !important;
    width: 300px !important;
    margin-bottom: 12px;
  }

  .controls {
    max-width: 100% !important;
    width: 310px;
    gap: 12px;
  }

  .controls img {
    width: 20px;
    height: 20px;
  }

  .controls span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
  }
}
