-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
69 lines (58 loc) · 1.38 KB
/
index.css
File metadata and controls
69 lines (58 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--netflix-red: #E50914;
--netflix-black: #141414;
--netflix-dark-gray: #181818;
}
body {
margin: 0;
font-family: 'Martel Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: var(--netflix-black);
color: #fff;
}
/* Animation Classes */
.animate-fade-in {
animation: fadeIn 0.5s ease-in forwards;
}
.animate-slide-up {
animation: slideUp 0.5s ease-out forwards;
}
.animate-zoom-in {
animation: zoomIn 0.3s ease-out forwards;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@keyframes zoomIn {
from { transform: scale(0.9); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
/* Card Hover Effects */
.hover-scale {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-scale:hover {
transform: scale(1.05);
z-index: 10;
box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
/* Netflix Logo Animation */
.netflix-n-anim {
stroke-dasharray: 100;
stroke-dashoffset: 100;
animation: draw 2s ease forwards;
}
@keyframes draw {
to { stroke-dashoffset: 0; }
}