* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

body {
    background-color: #1b263b;
    font-family: "Red Hat Display", sans-serif;
}

.card {
    width: 22rem;
    height: auto;
    padding: 1rem;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0.5rem;
    box-shadow: 0 5px 20px 0 hsla(0, 0%, 0%, 0.1);
    text-align: center;
}

input {
    margin: 1rem 0 1rem 0;
    border-radius: 0.5rem;
    border: 1px solid black;
    padding: 0.4rem;
}

button {
    margin: 1rem 0 1rem 0;
    padding: 0.5rem 1rem;
    border-width: 1px 4px 5px 1px;
    border-color: #0077b6;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
}

button:hover {
    background-color: #0077b6;
    color: #FFFFFF;
}

.outputList {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-top: .625rem;
    gap: 0.7rem;
}

.outputList li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

#length {
    color: red;
}

#digit {
    color: red;
}

#uppercase {
    color: red;
}

#lowercase {
    color: red;
}

#special {
    color: red;
}

#repeat {
    color: green;
}

#space {
    color: green;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.strength-bar {
    width: 80%;
    height: 10px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

#strength-fill {
    width: 0%;
    height: 100%;
    background-color: red;
    transition: 0.3s;
}