/* Responsive adjustments */
@media (max-width: 980px) {
    .password-generator .button-group button, .character-options, .slider-container, .footer {
        font-size: 0.9em;
    }
    .password-input {
        font-size: 0.9em !important;
    }
    .strength-meter{
        font-size: 0.9em !important;
        width: fit-content;
    }
    .left-section.btn, .widget-lg.btn, .widget-lg .social-count {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .password-generator h1 {
        margin-top: 80px;
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .password-input.error {
        font-size: 0.9em !important;
    }

    .button-group button {
        font-size: 14px;
    }
    .character-options {
        flex-direction: column;
    }
    input.password-input {
        font-size: 0.8em;
    }
    .strength-meter{
        font-size: 0.8em !important;
        width: fit-content;
    }
    .language-selector {
        font-size: 0.8em !important;
    }
}

@media (max-width: 500px) {
    .password-generator h1 {
        font-size: 1.6em;
    }
    .password-generator .button-group button, .character-options, .slider-container, .footer {
        font-size: 0.7em;
    }
    .password-input {
        font-size: 0.65em !important;
    }
    .password-input.error {
        font-size: 0.65em !important;
    }
    .password-generator h1 {
        margin-top: 120px;
        font-size: 1.5em;
    }
    .slider-container .length-slider {
        width: 150px;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .navbar .left-section {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        margin-right: 10px;
    }
    .navbar .right-section {
        width: 100%;
        justify-content: space-around;
    }

    a {
      width: 20% !important;
      font-size: 0.65em !important; 
    }
    .strength-meter{
        font-size: 0.65em !important;
        width: fit-content;
    }
    .language-selector {
        font-size: 0.65em !important;
    }
}

@media (max-width: 380px) {
    .password-generator h1 {
        font-size: 1.4em;
    }
    .strength-meter{
        font-size: 0.55em !important;
        width: fit-content;
    }
}

