/* For mobile */

@media screen and (max-width: 650px) {
  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

  }

  .win-tbar {
    display: none;
  }


  header {
    display: block;
    text-align: center;
    margin: 0;

  }

  #menubar-toggle {
    display: none;
  }

  .mbar-toggle {
    display: inline-block;
    content: '';
    margin: 2px 0px;
    cursor: pointer;
    padding: 10px;
  }

  #menubar-toggle:checked ~ #menubar {
    display: flex;
  }

  #menubar {
    display: none;
    width: 100%;
    position: absolute;
    flex-direction: column;
    align-items: center;
    z-index: 999;

  }

  #menubar a {
    width: 100% !important;
    padding: 20px 10px !important;
    background: none !important;
    margin: 10px !important;
  }


  #main-win {
    display: none;
    overflow: hidden;
    resize: none;
    z-index: 0;
    border: none;
    box-shadow: none;
  }

 .darkmode {
    margin-left: 0;
  }

  #footer-box {
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
  }

  #footer-box div {
    font-size: 1.2em;
    text-align: left;
  }


  footer {
    padding: 0;
  }

  #lower {
    flex-direction: column;
  }
}

