@media screen and (orientation: landscape) and (min-width: 1024px) {
  
    #button {
      width: auto;
      height: 50%;
    }
  }
  
  @media screen and (orientation: portrait), (orientation: landscape) and (max-width: 1023px) {
      
    #button {
      width: 52%;
      height: auto;
    }
  }
  