html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
}


main.scanner-main-container {
  flex: 1 1 auto;           
  display: flex;           
  justify-content: center;
  align-items: center;
}

body.success-feedback {
  animation: flashGreen 1s infinite;
}
body.error-feedback {
  animation: flashRed 1s infinite;
}

@keyframes flashGreen {
  0% { background-color: #d4edda; }
  100% { background-color: #fff; }
}

@keyframes flashRed {
  0% { background-color: #f8d7da; }
  100% { background-color: #fff; }
}

.scanner-card {
  width: 90%;
  max-width: 600px;
}

.scan-header {
  position: relative;
}

.verlauf-link {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.pagination .active > .page-link,
.page-link.active {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

.pagination .page-link {
  color: #333;
}

.pagination .page-link:hover {
  color: #000;
}

@media (max-width: 431px) {
  .verlauf-link {
    position: unset;
    margin-top: 50px;
  }
  #scannerContainer {
    padding: 25px !important;
  }
}