/* Diagonal background lines: thin -> thick -> thickest -> back, forever.
   The root element's background paints the whole canvas, so the lines go on
   in every direction no matter how far the page scrolls (or what's hidden by overflow).

   One tile is 2000px x 1678px (2000 = 8 lines x 250px apart, 1678 = 2000 * tan(40deg)).
   "to top right" makes the lines run exactly corner to corner, so the tiles join seamlessly.
   The tile holds 2 full cycles of 8 lines, hence a new line every 6.25%. */
html {
    background-image: linear-gradient(to top right,
        black 0 1px,                     transparent 0 6.25%,
        black 0 calc(6.25% + 1.5px),     transparent 0 12.5%,
        black 0 calc(12.5% + 2px),       transparent 0 18.75%,
        black 0 calc(18.75% + 2.5px),    transparent 0 25%,
        black 0 calc(25% + 3px),         transparent 0 31.25%,
        black 0 calc(31.25% + 2.5px),    transparent 0 37.5%,
        black 0 calc(37.5% + 2px),       transparent 0 43.75%,
        black 0 calc(43.75% + 1.5px),    transparent 0 50%,
        black 0 calc(50% + 1px),         transparent 0 56.25%,
        black 0 calc(56.25% + 1.5px),    transparent 0 62.5%,
        black 0 calc(62.5% + 2px),       transparent 0 68.75%,
        black 0 calc(68.75% + 2.5px),    transparent 0 75%,
        black 0 calc(75% + 3px),         transparent 0 81.25%,
        black 0 calc(81.25% + 2.5px),    transparent 0 87.5%,
        black 0 calc(87.5% + 2px),       transparent 0 93.75%,
        black 0 calc(93.75% + 1.5px),    transparent 0 100%);
    background-size: 2000px 1678px;
    /* puts a line roughly where the old first line sat (40% across, 248px down) */
    background-position: calc(40vw + 1008px) 248px;
}
