.qr-container {
    text-align: center;
    margin-top: 20px;
}

.qr-image-wrapper {
    width: 50%;
    margin: 0 auto;
}

.qr-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

#download-qr {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

#download-qr:hover {
    background: #005f8d;
}
#qr_downloadCertificate {
    background-color: #BC9F57;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    margin-top: 40px;
} 

@media (max-width: 768px) {

    .qr-container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        padding: 0 !important;
        margin-top: -40px;
    }

    .qr-image-wrapper {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
    }

    .qr-image-wrapper img {
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto;
        display: block;
        padding: 20px;
    }

    #qr_downloadCertificate {
        width: calc(100vw - 32px);
        margin: 20px auto 0;
        font-size: 0.95rem;
        padding: 10px 16px;
        display: block;
    }
}
