body {
    background-color: rgb(43, 235, 25);
    font-family: sans-serif;
    color: white;
    margin: 0px;
    padding: 1px;
}

.box {
    background-color: rgb(24, 22, 22);
    width: 700px;
    height: 510px;
    padding: 10px 35px;
    margin: 15px auto;
    border: 2px solid black;
    border-radius: 5px;
}

h1 {
    font-weight: bold;
    text-align: center;
    font-size: 35px;
}

.container {
    width: 560px;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid white;
    padding: 0px 5px;
}

#passwordPrinter {
    width: 500px;
    height: 25px;
    padding: 10px 2px;
    margin-right: 10px;
    font-size: 27px;
    border-radius: 5px;
}

#generator {
    background-color: rgb(24, 22, 22);
    color: white;
    height: 47px;
    width: 47px;
    text-align: center;
    font-size: 40px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

p {
    padding-left: 64px;
}

/* Customization Settings */
.settings {
    width: 550px;
    display: flex;
    flex-direction: row;
    border: 2px solid white;
    padding: 10px;
    margin: 20px auto;
    margin-bottom: 0px;
}

/*Characters Customization Buttons */
.btn {
    width: 220px;
}

li {
    height: 20px;
    margin: 20px 10px;
    font-size: 20px;
    list-style: none;
}

.custButton {
    margin-right: 25px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    accent-color: rgb(43, 235, 25);
}

/* Password Length */
.len {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Password Length Viewer*/
.plen {
    padding: 20px;
    font-size: 22px;
}

/* Password Length Range*/
#pLength {
    font-size: 23px;
    padding: 10px 0px;
    margin: 0px;
    text-align: center;
    height: 30px;
    border-radius: 5px;
}

#passwordLength {
    width: 215px;
    accent-color: rgb(43, 235, 25);
}

footer {
    padding: 10px;
    text-align: center;
}

@media (max-width:580px) {
    .box {
        width: 400px;
        height: auto;
        padding: 10px;
    }
    h1 {
        font-size: 25px;
    }
    .container {
        width: 360px;
    }
    #passwordPrinter {
        font-size: 19px;
        margin-right: 0px;
    }
    #generator {
        height: 40px;
        width: 30px;
        font-size: 30px;
    }
    p {
        padding-left: 12px;
    }
    .settings {
        width: 350px;
        height: auto;
        flex-direction: column;
    }
    .plen {
        padding:10px 0px;
        font-size: 22px;
    }
    #pLength {
        font-size: 23px;
        padding:0px;
        height: auto;
    }
    #passwordLength {
        width: 250px;
    }
}

@media (max-width:430px) {
    .box {
        width: 350px;
        height: auto;
        padding: 10px;
        margin: 10px auto;
    }
    h1 {
        font-size: 22px;
    }
    .container {
        width: 325px;
    }
    #passwordPrinter
    {
        font-size: 18px;
        margin-right: 0px;
    }
    #generator {
        height: 40px;
        width: 30px;
        font-size: 30px;
    }
    p {
        padding-left: 9px;
    }
    .settings {
        width: 300px;
        height: auto;
        flex-direction: column;
    }
    .plen {
        padding:10px 0px;
        font-size: 22px;
    }
    #pLength {
        font-size: 23px;
        padding:0px;
        height: auto;
    }
    #passwordLength {
        width: 200px;
    }
}
@media (max-width:380px) {
    .box {
        width: 300px;
        height: auto;
        padding: 10px;
        margin: 10px auto;
    }
    h1 {
        font-size: 19px;
    }
    .container {
        width: 280px;
    }
        #passwordPrinter 
    {
        font-size: 15px;
        margin-right: 0px;
    }
    #generator {
        height: 40px;
        width: 30px;
        font-size: 30px;
    }
    p {
        padding-left: 8px;
    }
    .settings {
        width: 260px;
        height: auto;
        flex-direction: column;
    }

    .plen {
        padding:10px 0px;
        font-size: 22px;
    }
    #pLength {
        font-size: 23px;
        padding:0px;
        height: auto;
    }
    #passwordLength {
        width: 160px;
    }
    footer
    {
        font-size: 15px;
    }
}