html, body, div, span, h1, h2, h3, h4, h5, h6, h7, p, a, img, strong, b, form, label {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

ul,li {
  list-style: none;
}

body {
  line-height: 1;
}

* {
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

html, *, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

* :focus {outline: none;}

*, * :active {
  -webkit-tap-highlight-color: rgba(20,77,221,0.05);
}

body {
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  line-height: 1.2em;
  color: #fff;
  background-color: #000;
  text-rendering: optimizeLegibility;
  font-variant-ligatures: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

@media (max-width: 600px) and (min-width: 300px) {
  body {
    font-size: 14px;
  }
}

@media (max-width: 300px) and (min-width: 100px) {
  body {
    font-size: 12px;
  }
}

@media (max-width: 100px) {
  body {
    font-size: 10px;
  }
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#info {
  position: absolute;
  width: 100%;
  top: 50%;
  text-align: center;
  color: #ffffff;
}

#menu {
  position: fixed;
  display: none;
  top: 0;
  right: 0;
  width: 60px;
  padding: 20px;
  border: 0;
  background-color: rgb(0,0,0,0);
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased !important;
  transition: all .2s;
  border-radius: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  cursor: pointer;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  touch-action: manipulation;
  z-index: 9999;
}

.patty:nth-child(1) {
  float: left;
  width: 100%;
  height: 2px;
  background-color: #bbb;
}

.patty:nth-child(2) {
  float: left;
  width: 100%;
  height: 2px;
  margin: 4px 0 4px 0;
  background-color: #ccc;
}

.patty:nth-child(3) {
  float: left;
  width: 100%;
  height: 2px;
  background-color: #ccc;
}

#menu:hover .patty {
  background-color: #fff;
}

#container {
  display: block;
}

#details {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 1em;
  color: #fff;
}

#blockInfo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #fff;
}

#revealInfo {
  position: absolute;
  right: 10px;
  bottom: 30px;
  color: #fff;
}

#savebuttons {
  position: fixed;
  top: 10px;
  right: 10px;
}

#savebuttons button, #planetToolTip button {
  float: left;
  padding: 8px 12px 8px 12px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 400;
  font-size: .8em;
  line-height: 1.2em;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  background-color: #000;
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased !important;
  transition: all .2s;
  border-radius: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  cursor: pointer;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  touch-action: manipulation;
}

#savebuttons button {
  margin: 2px;
}

#savebuttons button:hover {
  color: #000;
  background-color: #fff;
}

#savebuttons .itemActive {
  color: #000;
  background-color: #fff;
}

#planetToolTip {
  position: absolute;
  padding: 6px 8px;
  font-size: 14px;
  font-size: .9em;
  color: #fff;
  background-color: #000;
  display: none;
  max-width: 300px;
  overflow-wrap: break-word;
  white-space: normal;
  /*pointer-events: none*/;
}

.view {
  float: left;
}

.quality {
  float: left;
}

.nav {
  float: left;
}

@media (max-width: 600px) and (min-width: 200px){
  #menu {
    display: block;
  }
  
  #container {
    position: absolute;
    display: none;
    top: 40px;
    right: 0;
    left: 0;
    padding: 0 5px 5px 5px;
    z-index: 998;
  }
  
  #container.show {
    display: block;
  }
  
  #details {
    left: 5px;
    top: 5px;
  }
  
  #blockInfo {
    right: 5px;
    bottom: 5px;
  }

  #revealInfo {
    right: 5px;
    bottom: 20px;
  }
  
  #savebuttons {
    position: relative;
    float: left;
    top: auto;
    right: auto;
    width: 100%;
  }
  
  .view {
    float: left;
    width: 100%;
  }
  
  .view button {
    width: calc(33.33% - 4px);
    padding: 8px 0 8px 0;
    text-align: center;
  }
  
  .quality {
    float: left;
    width: 100%;
  }
  
  .quality button {
    width: calc(33.33% - 4px);
    padding: 8px 0 8px 0;
    text-align: center;
  }
  
  .nav {
    float: left;
    width: 100%;
  }
  
  .nav button {
    width: calc(50% - 4px);
    padding: 8px 0 8px 0;
    text-align: center;
  }
}

@media (max-width: 200px) {
  #menu,
  #container {
    display: none; 
  }
}

.hidden {
	display: none !important;
}