Spaces:
Running
Running
| /* Custom styles that extend Tailwind */ | |
| .hero { | |
| background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('http://static.photos/food/1200x630/4'); | |
| background-size: cover; | |
| background-position: center; | |
| min-height: 60vh; | |
| display: flex; | |
| align-items: center; | |
| } | |
| /* Animation for coffee cards */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .coffee-card { | |
| animation: fadeIn 0.5s ease-out forwards; | |
| opacity: 0; | |
| } | |
| .coffee-card:nth-child(1) { animation-delay: 0.1s; } | |
| .coffee-card:nth-child(2) { animation-delay: 0.3s; } | |
| .coffee-card:nth-child(3) { animation-delay: 0.5s; } | |
| /* Hover effect for buttons */ | |
| .btn-hover { | |
| transition: all 0.3s ease; | |
| } | |
| .btn-hover:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } |