/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

body{
  background: #0982a8;
}

@-webkit-keyframes gradient {
  0%{background-position:0% 33%}
  50%{background-position:100% 68%}
  100%{background-position:0% 33%}
}
@-moz-keyframes gradient {
  0%{background-position:0% 33%}
  50%{background-position:100% 68%}
  100%{background-position:0% 33%}
}
@keyframes gradient {
  0%{background-position:0% 33%}
  50%{background-position:100% 68%}
  100%{background-position:0% 33%}
}

.container{
  width: 100%;
  height: 100%;
  font-family: "proxima-nova", "helvetica", sans-serif;
  font-size: 14px;
  color: white;
}

.header{
  width: 100%;
  height: 60px;
  background: #066b93;
  text-align: center;
}

.header div{
  padding-top: 6px;
}

.title{
  font-size: 24px;
  font-weight: 700;
}

.scanner{
  width: 100%;
  height: 100%;
  max-height: 300px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

#video-container{
  width: 100%;
  height: 100%;
  max-height: 300px;
  margin-left: auto;
  margin-right: auto;
}

#qr-video{
  width: 100%;
  height: 100%;
  max-height: 300px;
  margin-left: auto;
  margin-right: auto;
  transition: all 1s;
}

#waiting{
  width: 100%;
  height: 100%;
  max-height: 300px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-top: 110px;
}

.result-box{
  width: 100%;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 15px;
  padding: 15px;
  border-radius: 15px;
  overflow: hidden;
  background: red;
}

.code-invalid{
  background: #d9534f;
}

.code-expired{
  background: #d9534f;
}

.code-valid{
  background: #008A2F;
}

.close-button{
  background-color: #c32f2a;
  border: none;
  color: white;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
}

.close-button-green{
  background-color: #006322;
}

.container {
  background: linear-gradient(220deg, #066b93, #0982a8, #a9dde5);
  background-size: 600% 600%;
  -webkit-animation: gradient 30s ease infinite;
  -moz-animation: gradient 30s ease infinite;
  animation: gradient 30s ease infinite;
}
