font-family * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  background-color: #286578;
  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  border: 0;
  outline: 0;
}

.container {
  margin: 10px 0;
  width: 400px;
  padding: 10px 25px;
  background: #0E2A42;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.45), 0 4px 8px rgba(0, 0, 0, 0.35), 0 8px 12px rgba(0, 0, 0, 0.15);
  font-family: "Montserrat";
}

.container h2.title {
  font-size: calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320)));
  margin: 8px -5px;
  margin-bottom: 15px;
  color: #fff;
  text-align: center;
}

.result {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
}

.result__info {
  position: absolute;
  bottom: 32px;
  color: #fff;
  font-size: 0.8rem;
  transition: all 150ms ease-in-out;
  transform: translateY(200%);
  opacity: 0;
}

.result__info.left {
  left: 8px;
}

.result__viewbox {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  line-height: 30px;
  font-size: 16px;
  word-break: break-all;
}

.field-title,
.hacking-time {
  position: absolute;
  top: -10px;
  left: 8px;
  transform: translateY(-50%);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: 0.65rem;
  pointer-events: none;
  user-select: none;
}

.field-title_wighth {
  top: 19px;
  right: 22px;
  font-size: 0.9rem;
}

.hacking-time {
  font-family: 'Montserrat';

}

.options {
  width: 100%;
  height: auto;
  margin: 50px 0;
}

.range__slider {
  position: relative;
  width: 100%;
  height: calc(65px - 10px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin: 8px 0 25px;
}

.range__slider::before,
.range__slider::after {
  position: absolute;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
}

.range__slider::before {
  content: attr(data-min);
  left: 10px;
}

.range__slider .length__title::after {
  content: attr(data-length);
  position: absolute;
  right: -16px;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

#slider {
  -webkit-appearance: none;
  width: calc(100% - (70px));
  height: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.314);
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

#slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

#slider::-webkit-slider-thumb:hover {
  background: #d4d4d4;
  transform: scale(1.2);
}

#slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s ease-in-out;
}

#slider::-moz-range-thumb:hover {
  background: #d4d4d4;
}

.settings {
  position: relative;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.settings .setting {
  position: relative;
  height: calc(50px - 10px);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 5px 25px;
  color: #fff;
  margin-bottom: 8px;
}

.settings .setting input {
  opacity: 0;
  position: absolute;
}

.settings .setting input+label {
  user-select: none;
}

.settings .setting input+label::before,
.settings .setting input+label::after {
  content: "";
  position: absolute;
  transition: 150ms cubic-bezier(0.24, 0, 0.5, 1);
  transform: translateY(-50%);
  top: 50%;
  right: 10px;
  cursor: pointer;
}

.settings .setting input+label::before {
  height: 30px;
  width: 50px;
  border-radius: 30px;
  background: #0E2A42;
  padding-left: 7px;

}

.settings .setting input+label::after {
  height: 24px;
  width: 24px;
  border-radius: 60px;
  right: 39px;
  background: #fff;
}

#uppercase:checked+label:before,
#lowercase:checked+label:before,
#number:checked+label:before,
#symbol:checked+label:before,
#split:checked+label:before {
  background: #286578;
  transition: all 150ms cubic-bezier(0, 0, 0, 0.1);
  content: "a";
  font-size: 24px;
  padding-left: 7px;
}

#lowercase:checked+label:before {
  text-transform: lowercase;
  content: "a";
  font-size: 22px;
}

#number:checked+label:before {
  content: "7";
}

#symbol:checked+label:before {
  content: "$";
}
#split:checked+label:before {
    content: "-";
  }

.settings .setting input:checked+label:after {
  right: 14px;
}

.settings .setting input:focus+label:before {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.settings .setting input:disabled+label:before,
.settings .setting input:disabled+label:after {
  cursor: not-allowed;
}

.settings .setting input:disabled+label:before {
  background: #4f4f6a;
}

.settings .setting input:disabled+label:after {
  background: #909090;
}

.btn.generate {
  user-select: none;
  position: relative;
  width: 100%;
  height: 50px;
  margin: 8px 0 0;
  border-radius: 8px;
  color: #fff;
  border: none;
  background-color: #286577;
  letter-spacing: 1px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 150ms ease;
}

.btn.generate:active {
  transform: translateY(-3%);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.08);
}

.support {
  position: fixed;
  right: 10px;
  bottom: 10px;
  padding: 10px;
  display: flex;
}


.input-text {
  width: 98%;
  height: 50px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  line-height: 65px;
  font-family: inherit;
  font-size: inherit;
}

.pass-checker_info__reason {
  display: none;
}


.pass-checker_info__time {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  height: 50px;
  width: calc(100% - 30px);
  line-height: 30px;
  text-transform: uppercase;
  font-size: 0.9em;
  font-family: Arial;
  font-weight: bold;
  padding: 2px 15px;

}

@media (max-width: 768px) {
  body {
    background-color: #0E2A42;
    margin: 0;
  }

  .container {
    margin: 0;
    width: 100vw;
    border-radius: 0;
    box-shadow: none;
  }
}