html { background: #1c1c1c; } html, body { margin: 0; padding: 0; } #triangles { background: url(triangles.png); z-index: -1; position: fixed; height: 100vh; width: 100vw; top: 0; left: 0; } #triangles canvas { height: 100%; width: 100%; } .header { padding: 1rem; color: white; min-height: 5rem; background: hsla(208, 56%, 46%, 1); display: flex; align-items: center; justify-content: center; text-align: center; } a, .block span { color: hsla(208, 61%, 53%, 1); } h1 { margin: 0; } .ideals { color: white; display: flex; flex-direction: column; } .block { display: inline-block; background: hsla(0, 0%, 0%, 0.5); max-width: 90%; padding: 2rem; border-radius: 0.2rem; font-size: 1.6rem; margin: 40px 20px; } .attribution { color: white; background: hsla(0, 0%, 0%, 0.5); padding: 0.5rem; border-radius: 0.5rem; font-size: 0.8rem; display: inline-block; margin-bottom: 10px; align-self: flex-end; } .content { background-color: #1f1f1f; color: white; min-height: 80vh; padding: 5vh 15vw; font-size: 120%; } .content h1 { text-align: center; padding: 1rem; } .directory { margin-top: 20px; } @media (min-width: 992px) { .block { align-self: flex-end; margin-right: 10vw; max-width: 30%; } }