:root { --main-dark-color: #382f2d; --main-light-color: #faf4f2; } header.positive-header { background-color: var(--main-dark-color); color: var(--main-light-color); } .mdl-layout__header-row { padding: 1rem; } .positive-content { display: flex; flex-direction: column; } .positive-content mdl-grid { width: 100%; } .positive-animation-area { position: absolute; top: 0; left: 0; height: 100%; width: 100%; background-color: var(--main-light-color); overflow: hidden; } ul.plus-area { margin: 0; padding: 0; list-style: none; } ul.plus-area li { position: absolute; display: block; color: #ebe4e1; animation: animate 30s ease-in infinite; bottom: -150px; } ul.plus-area li:nth-child(1) { left: 0%; font-size: 15rem; animation-delay: 0s; } ul.plus-area li:nth-child(2) { left: 5%; font-size: 40rem; animation-delay: 5s; } ul.plus-area li:nth-child(3) { left: 20%; font-size: 20rem; animation-delay: 10s; } ul.plus-area li:nth-child(4) { left: 3%; font-size: 10rem; animation-delay: 15s; } ul.plus-area li:nth-child(5) { left: 30%; font-size: 15rem; animation-delay: 20s; } @keyframes animate { 0% { transform: translateY(0); } 100% { transform: translateY(-120vh); } }