body { font-family: sans-serif; background: dodgerblue; color: white; } h1 { text-align: center; padding-bottom: 40px; font-weight: normal; font-size: 2.4em; text-shadow: 0 2px blue; } svg { position: fixed; margin: auto; top: 0; left: 0; right: 0; bottom: 0; width: 80%; max-width: 640px; } .path { stroke-dashoffset: 1000; stroke-dasharray: 1000; } .empty-space { width: 100%; height: 3000px; }