@import url(../../assets/css/style.css); div.single-icon { display: inline-block; width: 120px; height: 80px; margin: 10px; text-align: center; } div.single-icon p { margin-top: 15px; font-size: 1rem; line-height: normal; } div.single-icon span.actual-icon { font-size: 2rem; color: inherit !important; } div.single-icon span.actual-icon::before { color: inherit !important; } span.copy-icon-popup { position: absolute; background-color: var(--success); color: white; font-size: 1.5rem; padding: 10px; transform: rotate(12deg); opacity: 0; } span.copy-icon-popup.success { animation: fade-in 2s forwards; } @keyframes fade-in { 0% { opacity: 0; scale: 0%; } 10% { opacity: 1; scale: 100%; } 50% { opacity: 1; } 100% { opacity: 0; } } span.actual-icon, p.icon-name { cursor: pointer; } /* center div.icon-grid on the screen div.icongrid { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; width: 100%; height: 100%;@ margin: 0; margin-top: 20px; padding: 0; }*/ div.icon-grid-item { display: inline-flex; border: 4px solid var(--white); padding-top: 10px; padding-bottom: 10px; margin: -2px; } div.spindemo span { display: inline-block; position: relative; animation: spin 1s linear infinite; color: var(--fail); font-size: 3rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } a.go-up { position: fixed; bottom: 20px; right: 20px; font-size: 2rem; padding: 10px; z-index: 100; } /*smooth scroll on the whole page on a click*/ html { scroll-behavior: smooth; transition: 5s; } h2 { padding-top: 20px; }