html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

@media (max-width: 640px) {
    a.inline-flex.whitespace-nowrap,
    button.inline-flex.whitespace-nowrap:not([aria-label]) {
        max-width: 100% !important;
        min-width: 0 !important;
        width: auto;
        height: auto !important;
        min-height: 3rem;
        white-space: normal !important;
        text-align: center;
        line-height: 1.25;
        flex-wrap: wrap;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    a.inline-flex.whitespace-nowrap svg,
    button.inline-flex.whitespace-nowrap:not([aria-label]) svg {
        flex: 0 0 auto;
    }

    .card {
        max-width: 100%;
    }
}
