@media only screen and (max-width: 932px) {
  .title {
    display: none;
  }
}

@media only screen and (max-width: 700px) {
  .title {
    text-align: center;
  }
}

/* Smartphones Breite ------------- */
@media only screen and (max-width: 720px) {
  canvas {
    width: 100%;
  }
}

/* Smartphones Breite ------------- */
@media only screen and (max-height: 480px) {
  canvas {
    height: 100vh;
    width: 100%;
  }
}

/* Maximale Breite bis zu 500px */
@media only screen and (max-width: 500px) and (pointer: coarse) {
  #landscape {
    background-color: black;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 50px;
    padding: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    display: block !important;
  }

  #landscape span {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-wrap: balance;
  }

  #landscape img {
    max-width: 70%;
    z-index: 999;
  }

  #start {
    background-position: center;
  }

  #winningScreen {
    width: 100%;
    height: 100vh;
  }

  #endScreen {
    width: 100%;
    height: 100vh;
  }

  .btns {
    padding: 0 40px;
  }

  #BTNS {
    top: 5%;
  }
}

/* Maximale Breite kleiner 500px */
@media only screen and (width >=500px) {
  #landscape {
    display: none !important;
  }

  .gameTasten {
    display: none;
  }

  #start {
    background-position: center;
  }
}

@media (pointer: coarse) and (orientation: landscape) {
  .btnCTN {
    display: flex;
    justify-content: center;
    gap: 40px;
    top: 40%;
  }

  #mobileBTNS {
    display: flex !important;
    position: absolute;
    padding-bottom: 0;
    bottom: 10%;
  }

  .btnEndscreenCTN {
    justify-content: space-around;
    margin-bottom: 20%;
    margin-top: 0;
  }

  .winningBTNS {
    justify-content: space-around;
    margin-bottom: 20%;
    margin-top: 0;
  }

  #BTNS {
    top: 10%;
  }

  .btns {
    padding: 5px 40px;
  }

  #winningScreen {
    padding: unset;
  }

  #endScreen {
    padding: unset;
  }

  #Impressum {
    padding: 60px;
  }

  #rules {
    top: 7%;
  }

  #btnCTNInfo {
    top: 10%;
  }

  .closeGameRules {
    top: 7%;
  }

  .btns {
    padding: 0 10px;
    font-size: 15px;
    letter-spacing: 0;
  }

  .winBTN {
    height: 50px;
  }

  #startBTN {
    padding: 5px 40px;
  }

  h2 {
    font-size: 40px;
  }

  p {
    font-size: 25px;
  }

  #gameRules {
    gap: 20px;
  }

  #winningScreen {
    position: absolute;
    background-color: #fc6e22;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    top: 0%;
  }

  #winningScreen img {
    height: 50%;
    filter: drop-shadow(15px 15px);
    display: block;
    margin: 0;
    margin-top: 10%;
    align-items: center;
  }

  #endScreen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: absolute;
    background-color: #fc6e22;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    top: 0%;
  }

  #endScreen img {
    height: 50%;
    filter: drop-shadow(15px 15px);
    display: block;
    margin: 0;
    margin-top: 10%;
    align-items: center;
  }
}
