* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.settings {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.settings label {
    margin: 5px 0;
}

.length-settings {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.length-settings input[type="range"] {
    width: 70%;
}

.length-settings input[type="number"] {
    width: 25%;
    text-align: center;
}

.password-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#password-display {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    word-break: break-word;
    margin-bottom: 20px;
    padding: 10px;
    background-color: lightgray;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    font-size: 24px;
    padding: 10px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
        width: 90%;
    }

    h1 {
        font-size: 1.5em;
    }
}