.container { height: 100%; border-radius: 16px; background-color: var(--lightDark); cursor: pointer; overflow: hidden; transform: translateY(0); transition: transform 0.3s ease-out; } .container:hover { transform: translateY(-2%); } .cover { height: 256px; width: 100%; } .avatarHolder { margin: -36px 0 0 2rem; } .cardInfo { padding: 0.5rem 2rem 2rem 2rem; } .title { font-size: 1.25em; color: white; } .description { width: auto; max-width: 320px; margin: 1rem 0; } @media screen and (max-width: 1440px) { .container { margin: 2rem 0; } }