/* bootstrap overrides */
.container {
  max-width: 720px;
  min-width: 360px;
}
input.form-control {
  border-color: #00bc8c88;
}
input.form-control:focus {
  border-color: #00bc8c;
  box-shadow: none !important;
}
.btn-primary {
  background-color: #00bc8c;
  border-color: #00bc8c;
}
.btn-primary:hover {
  background-color: #00b484;
  border-color: #00b282;
}
.btn-primary:focus {
  background-color: #00bc8c;
  border-color: #00bc8c;
  box-shadow: 0 0 0 0.1rem #00bc8c88 !important;
}
.btn-primary:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-secondary:focus {
  box-shadow: 0 0 0 0.1rem rgb(130 138 145 / 50%) !important;
}
.btn-danger:focus {
  box-shadow: none !important;
}
.form-check-input {
  height: 1.5rem;
  width: 1.5rem;
  margin-top: 0;
  margin-right: 0.75rem;
}
.form-check-input:focus {
  border-color: #00bc8c88;
  outline: 0;
  box-shadow: 0 0 0 0.1rem #00bc8c88 !important;
}
.form-check,
.form-check-input,
.form-check-label {
  cursor: pointer;
}
.form-check-input:checked {
  background-color: #00bc8c;
  border-color: #00bc8c;
}

/* general rules */
body {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* error box */
.error {
  z-index: -1;
  background: #e34b4b;
  color: #fff;
}
.icon.close {
  height: 1.6rem;
}

/* header section */
header h1 {
  font-weight: 500 !important;
}
header .icon {
  height: 3.5rem;
}

/* main section */
input.form-control.password {
  padding-right: 6.5rem;
  font-size: 1.5rem;
  line-height: 2.5rem;
}
.btn.copy {
  font-size: 1rem;
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
}
.icon.copy {
  height: 1.2rem;
}
.loader {
  display: none;
  color: #666;
  transform: translate(-50%, -50%);
}
.icon.cog {
  height: 1.3rem;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.form-check {
  font-size: 1.2rem;
  line-height: 1.5rem;
}
.form-check-label {
  letter-spacing: 1px;
  font-family: 'Courier New', Courier, monospace;
}
.form-range {
  height: 2rem;
}
.form-range::-webkit-slider-thumb {
  width: 2rem;
  height: 2rem;
  margin-top: -0.5rem;
  background-color: #00bc8c;
}
.form-range::-moz-range-thumb {
  width: 2rem;
  height: 2rem;
  margin-top: -0.5rem;
  background-color: #00bc8c;
}
.form-range::-webkit-slider-thumb:active {
  background-color: #00b282;
}
.form-range::-moz-range-thumb:active {
  background-color: #00b282;
}
.form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px #fff, 0 0 0 0.35rem #00bc8c88;
}
.form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px #fff, 0 0 0 0.35rem #00bc8c88;
}
.form-range::-webkit-slider-runnable-track {
  height: 1rem;
  background-color: #00bc8c55;
}
.form-range::-moz-range-track {
  height: 1rem;
  background-color: #00bc8c55;
}
.btn.generate .icon.bolt {
  height: 1.5rem;
}

/* footer section */
footer {
  margin-top: auto;
  font-size: 0.85rem;
  background: #262626;
  color: #adadad;
}
footer a {
  color: rgba(255, 255, 255, 0.85);
}
footer a:hover,
footer a:focus {
  color: rgba(255, 255, 255, 0.95);
}
footer .list-inline-item {
  font-size: 1.2rem;
}
