/* Merriweather Black Font Styles */
.merriweather-black {
    font-family: "Merriweather", system-ui;
    font-weight: 900;
    font-style: normal;
}

.merriweather-black-italic {
    font-family: "Merriweather", system-ui;
    font-weight: 900;
    font-style: italic;
}

/* General Body Styling */
body {
    font-family: 'Merriweather', serif;
    margin: 20px;
}

h1, h2 {
    font-family: "Merriweather", system-ui; /* Apply Merriweather font */
    font-weight: 900;
}

h1 {
    font-size: 35px;
    color: #0d7dd4;
    margin-bottom: 20px;
}

h2 {
    font-size: 25px;
    color: #0d7dd4;
    margin-bottom: 20px;
}

input, button {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    max-width: 300px;
    padding: 10px;
    font-size: 16px;
}

input {
    border: 1px solid #0d7dd4;
    border-radius: 10px;
}

button {
    cursor: pointer;
    background-color: #0d7dd4;
    color: white;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
}

button:hover {
    background-color: #0b6fbb;
}

#results {
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    background-color: #f0fdf9;
    border: 2px solid #0d7dd4;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#results.show {
    opacity: 1;
    transform: scale(1);
}

.input-group {
    margin-bottom: 20px;
}

/* Flexbox to align checkboxes with their labels */
.input-group {
    display: flex;
    align-items: center;
}

.input-group input[type="checkbox"] {
    margin-right: 10px;
    transform: translateY(1px); /* Slight adjustment to vertically align with text */
}

/* Button Group Styling for proper spacing between buttons */
.button-group {
    display: flex;
    gap: 20px; /* Adds space between the buttons */
}

input[type="number"] {
    max-width: 100px; /* Ensure the number input has a smaller width */
}

/* Result Section Styling with letter and number spacing */
#results p {
    letter-spacing: 2px;  /* Adjust letter spacing */
    word-spacing: 4px;    /* Adjust word/number spacing */
    font-size: 18px;      /* Optional font size increase */
    color: #333;          /* Optional text color adjustment */
}

/* Password strength styling */
#passwordStrength {
    font-size: 18px;
    margin-top: 10px;
    color: #333;
}

/* Example color changes based on strength */
#passwordStrength.weak {
    color: red;
}
#passwordStrength.medium {
    color: orange;
}
#passwordStrength.strong {
    color: green;
}
