-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhero.css
More file actions
123 lines (109 loc) · 2.47 KB
/
hero.css
File metadata and controls
123 lines (109 loc) · 2.47 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.hero-section {
min-height: 100vh;
padding-top: 80px; /* space for fixed navbar */
}
.tag {
color: #f7b267;
font-size: 14px;
letter-spacing: 2px;
font-weight: 900;
}
.hero-title {
max-width: 820px;
font-size: clamp(2.9rem, 7.6vw, 6.7rem);
line-height: 0.92;
font-weight: 950;
letter-spacing: -0.085em;
margin-bottom: 24px;
background: linear-gradient(135deg, #ffffff 0%, #d8c8ff 45%, #78e7ff 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-desc {
color: #ccc;
margin-top: 15px;
line-height: 1.6;
font-size: larger;
}
.explore-btn {
background: linear-gradient(45deg, #ff7a7a, #ffb36b);
border: none;
border-radius: 30px;
padding: 10px 20px;
color: #000;
font-weight: 700;
}
.project-btn {
border: 1px solid #aaa;
border-radius: 25px;
padding: 10px 20px;
color: #fff;
background: transparent;
font-weight: 700;
}
.stat-box {
background: rgba(255, 255, 255, 0.08);
padding: 15px;
border-radius: 25px;
text-align: center;
}
.stat-box h3 {
margin: 0;
}
.hero-img {
width: 100%;
height: 400px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
border-radius: 30px;
background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055));
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
backdrop-filter: blur(18px);
transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
filter: brightness(1.05) contrast(1.1);
transform: scale(1.1);
animation: float 3s ease-in-out infinite;
}
.hero-img:hover {
animation-play-state: paused;
transform: scale(1.05);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.eyebrow
{
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--gold);
font-size: 0.82rem;
font-weight: 800;
letter-spacing: 0.2em;
text-transform: uppercase;
margin-bottom: 18px;
}
/* Responsive */
@media (max-width: 768px) {
.hero-title {
font-size: 2.2rem;
}
.hero-section {
text-align: center;
}
.container {
max-width: 1320px !important;
}
.mobile-view{
justify-content: center;
}
}
@keyframes float {
0%, 100% {
transform: translateY(0px) scale(1.1);
}
50% {
transform: translateY(-10px) scale(1.1);
}
}