@use "main-palette.scss" as mp;

$breakpoint: 768px;

* {
    margin: 0;
    box-sizing: border-box;
}

.main-page-wrapper {
    height: min-content;
    min-width: 0;
    max-width: 802px;
    margin: 8px auto;
    border: 1px solid mp.$border;

    /* DEATH TO ANTIALIASING */
    img, .header-banner, #nav-hover {
        image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
        image-rendering: -moz-crisp-edges;          /* Firefox                        */
        image-rendering: -o-crisp-edges;            /* Opera                          */
        image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
        image-rendering: pixelated;                 /* Universal support since 2021   */
        image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
        -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */
    }
}
