* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  color: white;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
  display: flex;
  flex-direction: column-reverse;
  position: fixed;
  background-color: #000;
  font-size: 38px;
}

#canvas-container {
  width: 100%;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#openFormBtn {
  font-size: 40px;
  padding: 24px;
  width: 100%;
  background-color: black;
  border: 1px solid #333;
  margin: 0;
  cursor: pointer;
  z-index: 10;
}

#formOverlay {
  background: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.info {
  padding: 24px;
  margin: 0;
  font-size: 38px;
  padding-top: 80px;
}

#translationForm {
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

#closeFormBtn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 48px;
  cursor: pointer;
  z-index: 1001;
}

label {
  font-size: 40px;
  margin: 24px 0 12px;
}

select,
input {
  font-size: 40px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #444;
  margin-bottom: 24px;
  background-color: #111;
}

button[type="submit"] {
  font-size: 40px;
  padding: 24px;
  width: 100%;
  background-color: #222;
  border: 1px solid #444;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 48px;
}
