html{
  font-size: 14px;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  width: 100%;
  height: 100%;
}
h1,h2,h3 {
  margin: 0;
}
body {
  margin: 0; overflow: hidden;
  font-family: helvetica, sans-serif;
  font-size: 1rem;
}
canvas { width: 100%; height: 100%}
#cursor{
  background-image: none;
  background-size: contain;
  width: 30px;
  height: 30px;
  position: absolute;
  top: calc(50% - 30px);
  left: calc(50% - 0px);
}
#gui{
  display: none;
  width: 100%;
  height: 10vh;
  position: absolute;
  top: 0;
}
input{
  padding: 0;
  border:none;
  display: block;
  height: 20px;
  font-size: 1rem;
}
textarea, input, button { outline: none; }

input[type=range]
{
    width: calc(100% - 10px);
    height: 15px;
    -webkit-appearance: none;
    appearance: none;
    border: 5px solid black;
    background: #ccc;
    margin: 5px 0 0 0;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: black;
  height: 15px;
  width: 5px;
}
input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  background: black;
  height: 15px;
  width: 5px;
}
.gui {
  background: white;
  border: 5px solid black;
  margin: 5px 0 0 5px;
  padding: 5px;
  min-width: 50px;
  /* max-width: 200px; */
  max-height: 50px;
  min-height: 50px;

  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.colors {
  max-width: 121px;
  text-align: center;
  font-size: 1rem;
}
.info {
  position: absolute;
  max-height: none;
  display: block;
  top: 0px;
  right: 5px;
  width: 25%;
}
.info ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: left;
}
ul li {
  margin-bottom: 10px;

}
a {
  color: red;
}
.inventory{
  width: 100%;
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.item {
  width: 30px;
  height: 30px;
  border: 5px solid black;
  background: white;
  margin: 0 5px 5px 0;
}
.item.selected {
  outline: 5px solid white;
}
.picker {
  display: block;
  width: 50px;
}
.picker img {
  height: 100%;
}

.loader {
  width: 100%;
  height: 100%;
  background: aqua;
  position: absolute;
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  text-align: center;
}

.spinner {
  animation: spin 1s infinite linear;
  -webkit-animation: spin 1s infinite linear;
  -moz-animation: spin 1s infinite linear;
  -ms-animation: spin 1s infinite linear;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

.mobile_info-wrapper {
  width: 100%;
  position: absolute;
  bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.mobile_info {
  min-width: 50%;
  min-height: 30px;
}