.task { display: flex; align-items: center; justify-content: space-between; gap: 16px; } .taskDate { opacity: 0.5; } .content { margin: 16px 0px 16px 0px; padding: 10px 20px 10px 20px; border-radius: 20px; border: none; background: transparent; box-shadow: inset 1.25px 1.25px 1px rgba(255, 255, 255, 1), inset -1.25px -1.25px 1px rgba(255, 255, 255, 1), inset -0.25px 0.25px 1px rgba(0, 0, 0, 0.2), inset 0.25px -0.25px 1px rgba(0, 0, 0, 0.2); opacity: 0; animation: fadeInUp 0.6s ease-out forwards; animation-delay: calc(var(--i) * 0.1s); } .modalContent { text-align: center; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @media screen and (max-width: 768px) { .task { flex-direction: column; } }