* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100%; 
  user-select: none;
}

body {
  overflow: hidden;
}

#root {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.control {
  position: absolute;
  z-index: 100;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background-color: #00000020;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 20px;
  background-color: #ffffff;
  font-size: 0;
  border-radius: 50%;
  color: #202020;
  user-select: none;
  cursor: pointer;
}
.button.disabled {
  color: #c0c0c0;
  cursor: default;
  pointer-events: none;
}

#previewArea {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  background-color: #404040;
}
#previewArea.show {
  opacity: 1;
}

#preview {
  height: 100%;
  background-color: #808080;
}
