/* *******************
2. mobile.css
  NUR Mobile-Regeln:
******************** */

@media (max-width: 900px) {

  html,
  body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  #container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
  }

  /* MENU */

  #menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
  }

  #menu button {
    flex: 1 1 140px;
    max-width: 220px;
    font-size: 12px;
    padding: 6px;
  }

  /* MAP */

  #map {
    width: 100%;
    height: 45vh;
    min-height: 320px;
    display: block;
  }

  /* IMAGE */

  #imageFrame {
    width: 100%;
    min-height: 40vh;
    padding: 10px;
    box-sizing: border-box;
  }

  #imageFrame img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  /* TOGGLE */

  #toggleBar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  #toggleBar button {
    flex: 1;
    max-width: 180px;
    font-size: 14px;
    padding: 8px;
  }
}

/* *************
für index.html
************* */

@media (max-width:900px){

  #topbar{
   padding:6px;
  }

  #title{
   font-size:16px;
  }

  .nav button{
   flex:1 1 120px;
  }

  #footer{
   font-size:8px;
  }
}
