.container__mk {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 30px;
}

.password_length {
    display: flex;
    justify-content: space-evenly;
}

input#passwordLength {
    display: block;
    width: 50%;
}

output#passwordLengthValue {
    padding: 0 30px 0 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}



button.generator_mk {
    margin-top: 10px;
}

#generatedPassword {
    width: 100%;
    margin-top: 10px;
}

.copy-message {
    display: none;
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.password-weak {
    background-color: red;
}

.password-good {
    background-color: orange;
}

.password-strong {
    background-color: green;
}

.password-very-strong {
    background-color: #0070f6;
}




.generator-output {
    display: flex;
    box-sizing: content-box;
    border: 1px solid #d4d2e6;
    border-radius: 24px;
    background-color: #fff;
    margin-right: 16px;
    transition: border .3s;
}

input#generatedPassword {
    width: 100%;
    text-align: left;
    font-size: 16px;
    line-height: 2.5;
    letter-spacing: .1px;
    color: #261c6a;
    padding: 10px 0 10px 24px;
    margin: 0;
    border: none;
    border-radius: 24px;
    outline: none;
    background-color: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
    user-select: all;
    cursor: text;
}

p#passwordStrength {
    color: #fff;
    margin: auto 0;
    font-size: 15px;
    line-height: 10px;
    letter-spacing: 1.5px;
    padding: 0 0.75rem;
    height: 28px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

button#generatePassword {
    min-width: 24px;
    height: 24px;
    margin: auto 22px;
    cursor: pointer;
    border-style: none;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNjMyODEgNC43ODRMNi4xMzI4MSAxMC4wNzE1TTYuMTMyODEgMTAuMDcxNUwxMS41NzAzIDguNzIxNDhNNi4xMzI4MSAxMC4wNzE1QzYuOTA4NjUgNi43NzQxIDkuOTc5NTYgNC41MjE0OCAxMy4zMzI3IDQuNTIxNDhDMTcuNDQyIDQuNTIxNDggMjAuODMyNyA3LjkwODk5IDIwLjgzMjcgMTIuMDIxNUMyMC44MzI3IDE2LjEwNzYgMTcuNDE4OSAxOS41MjE0IDEzLjMzMjcgMTkuNTIxNEM5Ljk0NjggMTkuNTIxNCA2LjgxMjA4IDE3LjE1MzIgNi4wNTc3MyAxMy44MjE0IiBzdHJva2U9IiMwNzFEMkIiIHN0cm9rZS13aWR0aD0iMS4yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==) no-repeat 50%;
}

#copyPassword {
    color: #fff;
    margin: auto 0;
    font-size: 15px;
    line-height: 10px;
    letter-spacing: 1.5px;
    padding: 0 0.75rem;
    height: 28px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #0070f6;
    border-style: none;
    margin-top: 1rem;
}

button#decreaseLength {
    width: 24px;
    height: auto;
    border-radius: 50%;
    background: #fff;
}

button#increaseLength {
    width: 24px;
    height: auto;
    border-radius: 50%;
    background: #fff;
}

@media (max-width: 640px) {
    .container__mk {
        width: 100%;
    }

    #passwordLength {
        width: 30%;
    }
}

@media (max-width: 530px) {
    button#increaseLength, button#decreaseLength {
        width: 60px;
    }

}

@media (max-width: 450px) {
    p#passwordStrength {
        display: none;
    }
}