.icons { width: 50%; height: max-content; display: flex; gap: 10px; align-items: center; justify-content: space-around; flex-wrap: wrap; margin-left: auto; margin-right: auto; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); border-radius: 10px; padding: 10px 0 10px 0; } .icon { width: 70px; height: 70px; overflow: hidden; border-radius: 100%; transition: 0.3s; } .icon > a { width: 100%; height: 100%; } .icon > a > img { width: 100%; height: 100%; } @media screen and (max-width: 500px) { .icons { width: 90%; } } @media (hover: hover) { .icon:hover { border-radius: 10px; transform: translateY(-10px); box-shadow: white 0 0 30px; } }