@font-face { font-family: Debra; src: url("DebraRounded-Bold.otf") format("opentype"); } body { margin: 0; height: 100%; background: #080808; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; } .wrapper { display: flex; flex-direction: column; justify-content: center; padding: 20px; font-family: Debra, sans-serif; font-size: 45px; font-weight: 900; color: white; box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); border-radius: 50%; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); background: rgba(0, 0, 0, 0.2); width: 240px; height: 240px; text-align: center; vertical-align: center; animation: colorful 1000ms ease alternate infinite; animation-delay: 200ms; } img { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; z-index: -1; transform: translate(-50%, -50%); transition: transform 2000ms linear; filter: blur(5px) drop-shadow(0 1px 4px rgba(255, 255, 255, 0.25)); animation: colorful-blur 1000ms ease alternate infinite; transform-origin: 50% 50%; border-radius: 100%; background: black; background: rgba(0, 0, 0, 0.2); } #logo1{ animation-delay: 500ms; } #logo2{ animation-delay: 1000ms; } @keyframes colorful-blur { from { filter: blur(20px) drop-shadow(0 1px 50px rgba(0, 255, 255, 0.18)); } to { filter: blur(50px) drop-shadow(0 1px 50px rgba(255, 0, 255, 0.18)); } } @keyframes colorful { from { filter: drop-shadow(0 1px 50px rgba(0, 255, 255, 0.18)); } to { filter: drop-shadow(0 1px 50px rgba(255, 0, 255, 0.18)); } } @media only screen and (max-width: 600px) { img{ width: 100px; height: 100px; img { transition: transform 1000ms linear !important; } }