* {
  font-family: Roboto, sans-serif;
}

body {
  background: #81bb40;
  margin: 0;
  padding: 0;
}

.logo {
  width: 250px;
  height: auto;
}

.container {
  padding: 12px 0;
  text-align: center;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin: 0 auto;
  width: 100%;
  max-width: 680px;
  min-height: 200px;
}

.card>p {
  font-size: 14px;
}

#image-preview {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0;
  display: none;
}

#image {
  width: 100%;
  margin: 0 auto;
  height: auto;
  border-radius: 0;
}

#video-preview {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
  display: none;
}

#video {
  width: 100%;
  margin: 0 auto;
  height: auto;
  border-radius: 0;
  display: none;
}

#canvas {
  width: 100%;
  margin: 0 auto;
  height: auto;
  border-radius: 8px;
  display: none;
}

#select-camera {
  display: none;
}

#tap-to-capture {
  display: none;
  color: #fff;
  background: #333;
  font-size: 14px;
  margin: 0;
}

.actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
}

.actions>input {
  display: none;
}

.actions .step>div {
  margin-bottom: 18px;
}

.actions div>span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: #000;
}

.actions button {
  background: #000;
  border: 1px solid #000;
  color: #fff;
  padding: 10px;
  width: 70%;
}

.actions button:hover {
  background: #fff;
  border: 1px solid #000;
  color: #000;
}

.actions button:disabled,
.actions button[disabled] {
  background: #fff;
  border: 1px solid #000;
  color: #000;
}

.actions .spinner-border {
  color: #000;
  width: 1.4rem;
  height: 1.4rem;
  border-width: 0.12em;
}

#step-2 {
  display: none;
}

@media (max-width: 600px) {
  .container {
    padding: 8px;
    max-width: 100%;
  }

  .card {
    width: 100%;
    padding: 15px;
    margin: 0 auto;
  }
}