/* ggf. super wide Bildschirme 2560px/ 3840px abdecken zusätzlich  */

@media (min-width: 1920px) {
    .header-content {
        width: 1920px;
    }
    .content-main {
        width: 1920px;
    }

    .footer-content{
        width: 1920px;
    }
}


@media (min-width: 1440px) and (max-width: 1919px) {
    .header-content {
        width: 1440px;
    }
    .content-main {
        width: 1440px;
    }
    .footer-content{
        width: 1440px;
    }    
}

@media (min-width: 900px) and (max-width: 1439px) {
    .header-content {
        width: 900px;
    }
    .content-main {
        width: 900px;
    }
    .footer-content{
        width: 900px;
    }  
}

@media only screen and (max-width: 1366px) {
    header,
    footer {
        display: none !important;
    }

    .game-container {
      width: 100vw;
      height: 100vh;
      position: absolute;
      margin: 0;
      padding: 0;
      /* Mit aspect-ratio wird das Seitenverhältnis 720:480 (3:2) beibehalten */
      aspect-ratio: 720 / 480;
    }

    #canvas {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Geändert von container zu contain */
        touch-action: none; /* Verhindert Standard-Touch-Aktionen des Browsers */
    }
  
  }

/* Spezifische Anpassungen für Tablets wie iPad Air */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #canvas {
        width: 100%;
        height: 100%;
        object-fit: contain;
        touch-action: none;
    }
    
    /* Stelle sicher, dass die Buttons im Startscreen gut sichtbar sind */
    .game-container {
        position: relative;
        width: 100vw;
        height: 100vh;
        margin: 0;
        padding: 0;
    }
}

/* @media only screen and (max-width: 720px) {
 
  } */
  
  /* @media only screen and (max-width: 480px) {
      
  } */
