body { display: flex; justify-content: center; align-items: center; min-height: 120px; margin: 0; font-family: 'Oswald', sans-serif; } @keyframes combinedAnimation { 0% { transform: translateY(-100%); opacity: 0; } 5% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(0); opacity: 1; } 75% { transform: scale(1); opacity: 1; } 80% { transform: scale(0); opacity: 0; } 100% { transform: scale(0); opacity: 0; } } .container { display: flex; align-items: center; height: 40px; background-color: rgb(0, 0, 0); position: relative; border-radius: 0px 20px 20px 0px; width: auto; padding-left: 100px; padding-right: 50px; animation: combinedAnimation 21s infinite; } .container img { position: absolute; top: -37px; left: -23px; height: 100px; width: 100px; transform: translateX(-50%); z-index: 1; } .left-padding-container { position: absolute; top: 0; left: 0; height: 20px; width: 80px; background-color: #14D5FF; border-radius: 0px 0px 50px 0px; } .tron1, .tron2, .tron3 { position: absolute; top: 5px; height: 10px; width: 10px; border-radius: 20px; animation: colorWave 5s linear infinite; } .tron1 { left: 20px; } .tron2 { left: 35px; animation-delay: 0.66s; } .tron3 { left: 50px; animation-delay: 1.32s; } .tronphai { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); height: 15px; width: 15px; background-color: #14D5FF; border-radius: 50%; animation: blink 3s infinite; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } @keyframes colorWave { 0% { background-color: rgb(255, 255, 255); } 33% { background-color: #00eeff; } 66% { background-color: #ffffffde; } 100% { background-color: rgb(255, 255, 255); } } .text { color: rgb(255, 255, 255); font-family: 'Oswald', sans-serif; }