.qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  width: 100%;
  padding: 10px 0 10px 0;
}

.main-qr-code {
  background-color: #f5f5f7;
  width: 75%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 3px 3px 10px 1px #0000003d;
  padding: 15px;
}

video {
  border-radius: 10px;
  min-height: 400px;
  padding: 5px;
  max-width: 100%;
  max-height: 100%;
  background-color: black;
}

video#preview.active {
  border-radius: 10px;
  background-color: #505050;
}

.main-text-qr-code {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.0;
  margin: 15px;
  color: black;
  max-width: 100%;
  text-align: center;
}

.qrcode-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  word-wrap: anywhere;
  text-align: center;
}

.btn-copy {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.btn-copy button {
  padding: 5px 10px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  color: white;
}

.button-copy {
  align-items: center;
  background-clip: padding-box;
  background-color: #0058a0;
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 3rem;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

.button-copy:hover,
.button-copy:focus {
  background-color: #00ade1;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

.button-copy:hover {
  transform: translateY(-1px);
}

.button-copy:active {
  background-color: #0058a0;
  box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
  transform: translateY(0);
}
