/* AVEROLA responsive foundation */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
}

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

input,
select,
textarea,
button {
    max-width: 100%;
}

main,
header,
section,
article {
    min-width: 0;
}

table {
    max-width: 100%;
}

pre {
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px;
    }

    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    button,
    input[type="submit"] {
        min-height: 40px;
    }
}
