@font-face { font-family: "Baloo 2 ExtraBold"; src: url("Baloo2-ExtraBold.ttf"); } body { background-image: radial-gradient(circle, #78bbff, #336aa2); } :root { font-family: "Baloo 2 ExtraBold"; font-size: 32px; } #loading { transform: scale(0); color: hsl(210, 80%, 70%); text-shadow: 5px 5px hsl(210, 80%, 30%); position: fixed; bottom: 20px; right: 60px; animation: loading-toggle; animation-duration: 1s; animation-timing-function: cubic-bezier(0.2, 0.3, 0.4, 1.0); animation-delay: 1s; animation-fill-mode: forwards; } @keyframes loading-toggle { 0% {transform: scale(0);} 50% {transform: scale(1.1);} 100%{transform: scale(1.0);} } #loading:after { position: absolute; content: ""; animation: loading; animation-duration: 4s; animation-iteration-count: infinite; animation-delay: 2s; } @keyframes loading { 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } 100% { content: ""; } }