body {
    background-color: rgb(151, 149, 149);
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    padding: 2rem;
}
/* responsividade da main */
main {
    max-width: 780px;
    margin: 0 auto;   
}
.nave-bar {
    text-align: center;    /*alinhando ao centro*/
    padding-bottom: 3rem;  /*espaçameto a baixo*/
}
.nave-bar .title {
    font-size: 2rem;
    font-weight: bold;
    padding-bottom: 1.5rem; /*espaçameto a baixo*/
}
.box {
    background: #fff;
    box-shadow: 0 1px 2px rgba(64, 66, 68, 0.3);
    border-radius: 8px;
    margin-bottom: 3rem;
}
.password {
    display: flex; /* Alinhado os btn na mesma linha.*/
    align-items: center;
    padding: 1rem 1.5rem;
}
.password .text {
    flex: 1; /* Alinhado os btn a direira.*/
}
.password .text input {
    font-family: "Inconsolata", serif;
    font-size: 3rem;
    border: none; /* Removendo borda do btn. */
    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 .actions button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.security-indicator {
    height: 10px;
    background-color: #ddd;
    border-bottom-left-radius: 8px; /* Borda aredondada.*/
    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 { /* Cores da barra.*/
    border-top-right-radius: 0;
}
.security-indicator .bar.critical {
    background-color: #eb5757;
}
.security-indicator .bar.warning {
    background-color: #f2c94c;
}
.security-indicator .bar.safe {
    background-color: #27ae60;
}

.customize {
    padding: 1rem 1.5rem;
}
.customize .title {
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
}
.customize .actions {
    display: flex;
    gap: 3rem;
    color: #828282;
}
.customize .password-legth {
    flex: 1;
}

.customize .password-length .slider { /* customização do checkbox.*/
    appearance: none;
    -webkit-appearance: none;
    height: 10px;
    background: #ddd;
    outline: none;
    border-radius: 8px;
    width: 100%;
    opacity: 0.8;
    transition: opacity 0.2s;
    margin-top: 1rem;
}
.customize .password-length .slider:hover {
    opacity: 1;
}
.customize .password-length .slider::-webkit-slider-thumb { /* customização p/ navegador chrome.*/
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    background-color: #ff0303;
    cursor: pointer;
}
.customize .password-length .slider::-moz-range-thumb { /* customizasão p/ navegador mozila.*/
    width: 25px;
    height: 25px;
    border-radius: 25px;
    background-color: #ff0303;
    cursor: pointer;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 25rem;
}
.checkbox-container input { /*Removendo o chekbox.*/
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
    cursor: pointer;
}
.checkbox-container .checkmark { /*Criando o chekbox-container.*/
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #dddddd;
    transition: all 0.2s;
}
.checkbox-container:hover input ~ .checkmark{ /*Hover do checkbox-container.*/
    background-color: #cccccc;
}
.checkbox-container input:checked ~ .checkmark{ /*Cor do checkbox-container.*/
    background-color: #9b51e0;
}
.checkbox-container .checkmark:after {/*Adicionando o checkmark branco no centro do chekbor-container.*/
    content: "";
    display: none;
    position: absolute;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.submit { /*Botão */
    text-align: center;

}
.submit input {
    background-color: #ffffff;
    font-size: 1.375rem;
    color: #000000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 1rem 2rem;
    transition: all 0.2s;
}
.submit input:hover {
    background-color: #27ae60;
    color: #ffffff;
}

@media only screen and  (max-width: 540px) { /* Responsividade p/ mobail*/
    .password {
        padding: 1rem;
    }
    .password .text input {
        font-size: 1.5rem;
    }
    .password .text input.font-sm {
        font-size: 1.2rem;
    }
    .password .actions img {
        width: 24px ;
    }
    
    
}
@media only screen and  (max-width: 415px) {
    
    .checkbox-container {
        right: 23rem;
    }
    .password {
        padding: 1rem;
    }
    .password .text input {
        font-size: 1.5rem;
    }
    .password .text input.font-sm {
        font-size: 1.2rem;
    }
    .password .actions img {
        width: 24px ;
    }
}
