*{
    margin: 0;
    padding: 0;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(5, 95, 5);
}
.head{
    padding-top: 1em;
    padding-bottom: 3em;
    color: rgb(85, 83, 83);
}
form{
    background-color: white;    
    padding: 2em;
    width: 300px;
    margin: auto;
    place-content: center;
    margin-top: 6em;
    border-radius: 15px;
}
.span{
    display: flex;
    justify-content: space-between;
    background-color: rgba(157, 238, 157, 0.521);
    padding: 0.6em;
    border-radius: 5px;
    color: rgb(58, 54, 54);
    font-size: 15px;
    font-weight: 800;

}
.span-range{
    display: flex;
    gap: 0.7em;
    background-color: rgba(157, 238, 157, 0.521);
    padding: 0.6em;
    border-radius: 5px;
}
#passwordInputRange{
    flex: 9;
}
.range{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background-color: #055f05;
    margin-top: 0.5em;
}
.range::-webkit-slider-thumb{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background-color: white;
    border: 1px solid rgb(5, 95, 5);
    border-radius: 4px;

}
.checkbox{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 3px;
    
}
.checkbox::before{
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 3px;
    margin-right: 0.2em;
    border: 1px solid #055f05;
}
.checkbox:checked::before{
    content: "\2713";
    font-size: 17px;
    text-align: center;
    line-height: 1;
    color: #055f05;
    margin-right: 0.2em;
    background-color: white;


}
#passwordInputRange::-webkit-slider-thumb{
    background-color: white;
}
#passwordRangeLength{
    display: grid;
    place-content: center;
    background-color:  rgb(5, 95, 5);
    width: 20px;
    height: 20px;
    font-size: 12px;
    color: white;
    font-weight: 600;
    border-radius: 3px;
}
#generateButton{
    background-color:  rgb(5, 95, 5);
    border: none;
    text-align: center;
    width: 100%;
    padding: 1em;
    color: white;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
}
#generateButton:hover{
    background-color: rgb(58, 54, 54);
    transition: 0.3s ease-in;
}
.result{
    display: flex;
    justify-content: space-between;
    gap: 2em;
    padding: 0.5em 0.6em 0.5em 0.6em;
    color: rgb(58, 54, 54);
    border: 2px solid rgba(27, 80, 27, 0.521);
    border-radius: 10px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 2em;
    font-size: 14px;
}
#passwordDisplay{
    margin-top: 0.3em;
}
#copy{
    cursor: pointer;
}
@media (max-width: 400px){
    form{
        width: 250px;
    }
}