.server-item { background-color: white; padding: 10px; border-radius: 10px; border: none; appearance: none; font-size: 1rem; box-shadow: 0px 8px 28px -6px rgba(24, 39, 75, 0.12), 0px 18px 88px -4px rgba(24, 39, 75, 0.14); transition: all ease-in 0.1s; cursor: pointer; opacity: 0.9; color: black; width: 120px; height: 120px; text-align: center; } .server-item:hover { transform: scale(1.05); opacity: 1; } .server-item > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }