:root {
  font-family: 'Source Sans Pro', sans-serif;
  --primary-text: white;
  --primary-color: #1938c4;
  --lighter-primary-color: #3146bf;
  --darker-primary-color: rgb(13, 11, 155);
  --secondary-text: black;
  --secondary-color: #c6c5c5;
  --darker-secondary-color: rgb(164, 164, 164);
  --lighter-secondary-color: rgb(237, 237, 237);
  --border-radius: 5px;
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat:no-repeat;
  /* background: #2c3e50; */
  /* background: linear-gradient(318deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%) fixed;  */
}

body {
  margin: 0;
}

.button {
  border: none;
  outline: none;
  background-color: var(--lighter-secondary-color);
  padding: 10px;
  transition-duration: 0.2s;
  transition-property: background-color;
  border-radius: var(--border-radius);
  text-decoration: none;
}

.button.disabled {
  pointer-events: none;
  opacity: 0.2;
}

.button.primary {
  color: var(--primary-text);
  background: var(--primary-color);
}

.button.primary:hover {
  background: var(--lighter-primary-color)
}

.button.primary:active {
  background: var(--darker-primary-color);
}

.button.secondary {
  color: var(--secondary-text);
  background: var(--secondary-color);
}

.button.secondary:hover {
  background: var(--lighter-secondary-color)
}

.button.secondary:active {
  background: var(--darker-secondary-color);
}

.container {
  font-size: 20px;
  width: 400px;
  min-height: 500px;
  margin: 2.5% auto;
  border-radius: var(--border-radius);
  background-color: white;
  padding: 5%;
}
h1 {
  margin-top: 0;
}

.wrapper {
  width: 100%;
}

.wrapper input {
  width: 100%;
  height: 2em;
  font-size: 1em;
  border: none;
  border-bottom: 1px solid black;
}

.wrapper label {
  /* font-weight: bold; */
}

#form-box, #qrcode-box {
  display: none;
}

#qrcode img {
  width: 100%;
  padding: 1em 0;
}

@media screen and (max-width: 600px) {
  .container {
    width: 80vw;
  }
}