body {
  background: #001100;
  color: #0f0;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  margin: 0;
}

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

section {
  border-bottom: 1px dashed #0f0;
  flex: 0 0 50%;
  max-width: 500px;
  padding: 2rem;
  text-align: center;
  width: 50%;
}

section:last-child {
  border-bottom: none;
}

h2,
h3 {
  text-transform: uppercase;
  margin-top: 0;
}

.input-container {
  position: relative;
  margin-bottom: 1rem;
}

.input-container input[type='file'] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.input-container label {
  background-color: #0f0;
  border-radius: 0.25rem;
  border: none;
  color: #111111;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: bolder;
  padding: 0.5rem 1rem;
  text-align: center;
  text-transform: uppercase;
  width: calc(100% - 2rem);
}

.input-container label.disabled {
  background-color: #003300;
  color: #111111;
  cursor: not-allowed;
}

button {
  background-color: #0f0;
  border-radius: 0.25rem;
  border: none;
  box-sizing: border-box;
  color: #111111;
  cursor: pointer;
  font-size: inherit;
  font-weight: bolder;
  height: 2rem;
  padding: 0.5rem 2rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s;
  transition: color 0.2s;
  width: 100%;
}

section button:not(:last-child) {
  margin-bottom: 1rem;
}

button:disabled {
  background-color: #003300;
  color: #111111;
  cursor: not-allowed;
}

button:not(:disabled):hover,
.input-container label:not(.disabled):hover {
  background-color: #00cc00;
}

#user-files-progress-container,
#boot-files-progress-container {
  background: #003300;
  border: 1px solid #0f0;
  border-radius: 0.25rem;
  display: none;
  height: 20px;
  margin: 1rem 0;
  visibility: hidden;
  width: 100%;
}

#user-files-progress,
#boot-files-progress {
  background: #0f0;
  height: 100%;
  transition: width 0.2s ease;
  width: 0%;
}
