body {
    margin: 0;
    background: #1F2937;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: "Karla", sans-serif;
}

.container {
    width: 400px;
    margin: 0 2em;
}

.sub-cont {
    display: flex;
    justify-content: space-between;
}

span {
    color: #5DEF92;
}

.btn {
    background: #10B981;
    color: #ffffff;
    padding: 9px 18px;
    border: none;
    border-radius: 6px;
    transition: 0.3s;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    text-shadow: 0 0 3px black;
}

.btn:hover {
    box-shadow: 0 0 5px yellow;
}

.title {
    font-weight: 800;
    font-size: 40px;
}

.subtext {
    margin: 0 0 3em 0;
    font-size: 20px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

.line {
    display: block;
    border: 1px solid #2F3E53;
    margin: 2em 0;
}

.password-container {
    background: #273549;
    padding: 1.05em 0;
    width: 48%;
    height: 1em;
    border-radius: 5px;
    color: #55F991;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

#rangeValue {
  position: relative;
  display: block;
  text-align: center;
  font-size: 1em;
  color: #999;
  font-weight: 400;
  width: 40%;
  margin-bottom: 1em;
}
.range {
  width: 40%;
  height: 10px;
  -webkit-appearance: none;
  background: #111;
  outline: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 1);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #55F991;
  cursor: pointer;
  border: 4px solid #333;
  box-shadow: -407px 0 0 400px #00fd0a;
}

@media (max-width: 500px) {
        .container {
            width: 80%;
            min-width: unset;
            padding: 0 5px;
        }
        .sub-cont {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
        }
        .password-container {
            width: 100%;
            margin: 0;
            font-size: 0.9em;
        }
        .title {
            font-size: 1.5rem;
        }
        .subtext {
            font-size: 1rem;
        }
        .btn {
            width: 50%;
            padding: 8px 16px;
            font-size: 0.65rem;
        }
        .range {
            height: 7px;
        }
        .range::-webkit-slider-thumb {
            width: 12px;
            height: 12px;
        }
        #rangeValue {
            font-size: 0.8em;
        }
    }

    @media (max-width: 400px) {
        .btn {
            width: 40%;
            padding: 6px 12px;
            font-size: 0.5rem;
        }
        .range {
            width: 35%;
            height: 6px;
        }
        #rangeValue {
            font-size: 0.7em;
        }
    }