Spaces:
Running
Running
| /* Custom styles that extend Tailwind */ | |
| .hero { | |
| background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('http://static.photos/workspace/1200x630/1'); | |
| background-size: cover; | |
| background-position: center; | |
| } | |
| /* Animation for menu items */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .menu-item { | |
| animation: fadeIn 0.5s ease-out forwards; | |
| opacity: 0; | |
| } | |
| .menu-item:nth-child(1) { animation-delay: 0.1s; } | |
| .menu-item:nth-child(2) { animation-delay: 0.2s; } | |
| .menu-item:nth-child(3) { animation-delay: 0.3s; } | |
| .menu-item:nth-child(4) { animation-delay: 0.4s; } | |
| .menu-item:nth-child(5) { animation-delay: 0.5s; } | |
| .menu-item:nth-child(6) { animation-delay: 0.6s; } | |
| /* Responsive tweaks */ | |
| @media (max-width: 768px) { | |
| .hero { | |
| padding: 4rem 1rem; | |
| } | |
| } |