.generator {
    display: inline-flex;
    width: 100%;
    margin-bottom: 64px;

    input {
        background-color: #E0DFDF;
        color: #272727;
        width: 100%;
        border: none;
        border-radius: 6px 0 0 6px;
        outline: none;
        line-height: 20px;
        padding-left: 8px;
        font-size: 16px;
    }

    input::placeholder {
        line-height: 20px;
    }

    button {
        background-color: #5e88a6;
        color: white;
        border: none;
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
        border-radius: 0 6px 6px 0;
        cursor: pointer;
    }
}

.codepreview {
    margin: auto;
}

img {
    display: flex;
    margin: auto;
}

#download-image {
    background-color: #5e88a6;
    margin: 8px auto;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
}

.faq {
    width: 600px;
    margin: 2rem auto;
    font-family: 'Jost', sans-serif;
}

.faq details {
    background: #eee;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
    transition: background 0.2s ease;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.faq details[open] {
    background: #f5f5f5;
}

.faq summary {
    font-weight: bold;
    outline: none;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq p {
    margin-top: 10px;
    line-height: 1.4;
    color: #333;
}
@media (max-width: 768px) {

    .codepreview {
        margin: auto;
    }

    .faq {
        width: 100%;
    }
