/* General Styles */
body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}

h1,
h2 {
    color: #2E8B57;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    /* Apply typewriter font */
    margin: 20px 0;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Password Grid */
/* Password Grid */
.password-grid {
    display: flex;
    flex-wrap: wrap;
    /* Ensure items wrap if they don’t fit in a row */
    gap: 20px;
    /* Space between grid items */
    justify-content: center;
    /* Center the items */
}

.password-card {
    background-color: #e7f3ff;
    padding: 20px;
    border-radius: 15px;
    font-weight: bold;
    border: 1px solid #ddd;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Courier New', Courier, monospace;
}

.password-card p {
    font-size: 18px;
    color: #333;
    word-wrap: break-word;
    margin: 10px 0;
}

.copy-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: #45a049;
}

.copy-btn:nth-of-type(2) {
    background-color: #2196F3;
}

.copy-btn:nth-of-type(2):hover {
    background-color: #1976D2;
}

/* Passphrase Info Section */
.passphrase-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    font-family: 'Courier New', Courier, monospace;
    /* Apply typewriter font */
}

.passphrase-info h2 {
    color: #1E90FF;
    margin-bottom: 20px;
}

.passphrase-info p,
.passphrase-info ul {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.passphrase-info ul {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
}

.passphrase-info li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 20px 0;
    width: 100%;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-container p {
    margin: 0 15px;
    font-size: 14px;
    color: #333;
}

/* Media Queries */
@media (max-width: 800px) {
    .password-grid {
        flex-direction: column;
        align-items: center;
    }

    .password-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .container {
        width: 100%;
        padding: 10px;
    }

    .copy-btn {
        width: 100%;
    }

    .passphrase-info {
        padding: 20px;
    }

    .passphrase-info h2 {
        font-size: 20px;
    }

    .passphrase-info p,
    .passphrase-info ul {
        font-size: 14px;
    }

    .passphrase-info ul {
        margin-left: 20px;
    }

    .passphrase-info li {
        margin-bottom: 8px;
    }
}