body {
  background-color: #02011d;
  font-family: "Inter", sans-serif;
  color: #FFF;
  padding: 2rem;
}

main {
  max-width: 780px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding-bottom: 3rem;
}

.hero .title {
  font-size: 4rem;
  font-weight: bold;
  padding-bottom: 1.5rem;
  margin-top: 25px;
}

.hero .subtitle {
  font-size: 1.125rem;
  color: #B3B3B3;
}

.box {
  background: #1b1a34;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  margin-bottom: 3rem;
}

.password {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
}
.password .text {
  flex: 1;
}

.password .text input {
  font-family: "Inconsolata", serif;
  font-size: 3rem;
  color: #FFF;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: default;
  height: 52px;
  width: 100%;
  transition: all 0.2s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.password .text input.font-sm{
  font-size: 2rem;
}

.password .text input.font-xs{
  font-size: 1.5rem;
}

.password .text input.font-xxs{
  font-size: 1rem;
}

.password .action button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s;
}

.password .action button:hover {
  opacity: 1;
}

.password .action button:active {
  transform: scale(0.90);
}

.security-indicator {
  height: 10px;
  background-color: #ddd;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.security-indicator .bar {
  height: 10px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  transition: all 0.2s;
}

.security-indicator .bar.completed {
  border-top-right-radius: 0;
}

.security-indicator .bar.critical {
  background-color: #CF6679;
}

.security-indicator .bar.warning {
  background-color: #F2C94C;
}

.security-indicator .bar.safe {
  background-color: #1DB954;
}

.customize {
  padding: 1rem 1.5rem;
}

.customize .title {
  color: #00c6bc;
  border-bottom: 1px solid #FFF;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
}

.customize .action {
  display: flex;
  gap: 3rem;
  color: #00c6bc;
}

.customize .password-length {
  flex: 1;
}

.customize .password-length .slider {
  appearance: none;
  -webkit-appearance: none;
  height: 10px;
  background: #676777;
  outline: none;
  border-radius: 8px;
  width: 100%;
  opacity: 0.7;
  transition: opacity 0.2s;
  margin-top: 1rem;
}

.customize .password-length .slider:hover {
  opacity: 1;
}

.customize .password-length .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 25px;
  background: #00c6bc;
  cursor: pointer;
}

.customize .password-length .slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 25px;
  background: #00c6bc;
  cursor: pointer;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  height: 0;
  width: 0;
  opacity: 0;
  cursor: pointer;
}

.checkbox-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #dddddd;
  transition: all 0.2s;
  border-radius: 8px;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ccf4f2;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #00c6bc;
}

.checkbox-container .checkmark:after {
  content: "";
  display: none;
  position: absolute;
  left: 9px;
  top: 5px;
  width: 5px;
  height: 13px;
  border: solid #FFF;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.submit{
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.submit button{
  background-color: #00c6bc;
  font-size: 1.375rem;
  color:#FFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 1rem 2rem;
  transition: all 0.2s;
}

.submit button:hover{
  background-color:#009e96;
}

.submit button:active {
  transform: scale(0.90);
}

@media only screen and (max-width: 480px) {
  .password {
    padding: 1rem;
  }
  .password .text input {
    font-size: 1.5rem;
  }
  .password .text input.font-sm {
    font-size: 1.2rem;
  }
  .password .text input.font-xs {
    font-size: 1rem;
  }
  .password .text input.font-xxs {
    font-size: 1rem;
  }
  .password .actions img {
    width: 24px;
  }
}

footer {
  display: flex;
  justify-content: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-icons a {
  margin:  10px;
  margin-top: 25px;
}
