.list-container { padding: 40px 24px; margin: 0 auto; max-width: 800px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } .list-title { font-size: 1.75rem; font-weight: 600; margin-bottom: 1.5rem; color: #1a1a1a; } .list-content { max-width: 600px; margin: 0 auto; padding: 0; list-style: none; } /* Bullet List Style */ .list-bullet .list-content { padding-left: 1.5rem; } .list-bullet .list-content li { position: relative; padding: 0.75rem 0; font-size: 1.1rem; color: #444; line-height: 1.5; } .list-bullet .list-content li::before { content: "•"; position: absolute; left: -1.5rem; color: #2563eb; font-size: 1.5rem; line-height: 1; } /* Numbered List Style */ .list-numbered { background-color: #f8f9fa; } .list-numbered .list-content { counter-reset: item; padding-left: 2rem; } .list-numbered .list-content li { position: relative; padding: 1rem 0; font-size: 1.1rem; color: #444; line-height: 1.5; } .list-numbered .list-content li::before { counter-increment: item; content: counter(item); position: absolute; left: -2rem; width: 1.5rem; height: 1.5rem; background-color: #2563eb; color: white; border-radius: 50%; text-align: center; line-height: 1.5rem; font-size: 0.9rem; font-weight: 600; } /* Icon List Style */ .list-icon .list-content li { position: relative; padding: 1rem 0 1rem 3rem; font-size: 1.1rem; color: #444; line-height: 1.5; border-bottom: 1px solid #eee; } .list-icon .list-content li:last-child { border-bottom: none; } .list-icon .list-content li::before { content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; background-color: #2563eb; color: white; border-radius: 50%; text-align: center; line-height: 2rem; font-size: 1rem; font-weight: bold; } /* Hover Effects */ .list-bullet .list-content li:hover, .list-numbered .list-content li:hover, .list-icon .list-content li:hover { color: #2563eb; transform: translateX(5px); transition: all 0.3s ease; } /* Responsive Styles */ @media (max-width: 768px) { .list-container { padding: 30px 16px; } .list-title { font-size: 1.5rem; margin-bottom: 1.25rem; } .list-content li { font-size: 1rem; padding: 0.5rem 0; } .list-icon .list-content li { padding-left: 2.5rem; } .list-icon .list-content li::before { width: 1.75rem; height: 1.75rem; line-height: 1.75rem; font-size: 0.9rem; } } /* Animation for Icon List */ @keyframes checkmark { 0% { transform: translateY(-50%) scale(0); } 50% { transform: translateY(-50%) scale(1.2); } 100% { transform: translateY(-50%) scale(1); } } .list-icon .list-content li:hover::before { animation: checkmark 0.3s ease-in-out; }