.sub-header.no-top-promo { top: 0rem; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .image-container:hover { animation: bounce 0.5s infinite ease-in-out; } .sub-header .icon-row.hide-icons img, .sub-header a.active img:not(.icon-active), .sub-header a:not(.active) img.icon-active { display: none } .icon-link img { height: 2.5rem } .icon-link:hover img:not(.icon-active){ transform: scale(1.1) rotate(-10deg); transition: transform 0.5s ease-in-out; animation: bounce .3s ease-in-out; }