-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
174 lines (151 loc) · 6.07 KB
/
Copy pathstyles.css
File metadata and controls
174 lines (151 loc) · 6.07 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
:root {
--bg: #050507;
--surface: #111114;
--surface-hover: #1a1a1e;
--text: #ffffff;
--text-dim: #94a3b8;
--accent: #ffcc00;
--accent-rgb: 255, 204, 0;
--border: rgba(255, 255, 255, 0.08);
--glass: rgba(18, 18, 20, 0.7);
--shadow: 0 20px 40px rgba(0,0,0,0.4);
--transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
[data-theme="light"] {
--bg: #f0f2f5;
--surface: #ffffff;
--surface-hover: #f8fafc;
--text: #0f172a;
--text-dim: #64748b;
--accent: #d97706;
--accent-rgb: 217, 119, 6;
--border: rgba(0, 0, 0, 0.08);
--glass: rgba(255, 255, 255, 0.8);
--shadow: 0 20px 40px rgba(0,0,0,0.1);
}
/* 2. CORE STYLES */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background-color: var(--bg);
color: var(--text);
font-family: 'Plus Jakarta Sans', sans-serif;
transition: background 0.5s ease;
overflow-x: hidden;
}
/* 3. NAVIGATION */
.navbar {
display: flex; justify-content: space-between; align-items: center;
padding: 0 5%; height: 80px; position: fixed; top: 0; width: 100%;
z-index: 1000; background: var(--glass); backdrop-filter: blur(15px);
border-bottom: 1px solid var(--border);
}
.logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: var(--text); letter-spacing: -1px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a {
text-decoration: none; color: var(--text); font-weight: 600;
font-size: 0.9rem; transition: var(--transition); opacity: 0.7;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
/* THEME TOGGLE UI */
.theme-switch {
cursor: pointer; width: 45px; height: 24px; background: var(--text-dim);
border-radius: 20px; position: relative; transition: 0.3s;
}
.theme-switch::before {
content: ''; position: absolute; width: 18px; height: 18px;
background: white; border-radius: 50%; top: 3px; left: 3px; transition: 0.3s;
}
[data-theme="light"] .theme-switch { background: var(--accent); }
[data-theme="light"] .theme-switch::before { transform: translateX(21px); }
/* 4. HERO SECTION */
.hero {
padding: 180px 5% 100px; text-align: center;
background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.1), transparent 70%);
}
.hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 800; line-height: 1; margin-bottom: 15px; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--text-dim); font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; margin-inline: auto; }
.video {
display: flex;
justify-content: center;
margin: 40px 0;
}
/* Instagram Box Styling */
.video blockquote {
width: 420px; /* Video Width */
max-width: 100%;
border-radius: 20px;
overflow: hidden;
padding: 10px;
/* Gradient Border */
background: linear-gradient(135deg, #ff0066, #ffcc00, #00ccff);
/* Shadow Effect */
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
transition: all 0.4s ease;
}
/* Inner white background */
.video blockquote::before {
content: "";
display: block;
background: white;
border-radius: 15px;
position: absolute;
}
/* Hover Effect */
.video blockquote:hover {
transform: scale(1.05);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
/* 6. CONTENT GRID */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; padding: 0 10% 100px; }
.card {
background: var(--surface); border: 1px solid var(--border);
padding: 40px 30px; border-radius: 24px; transition: var(--transition);
}
.card:hover {
transform: translateY(-10px); background: var(--surface-hover);
border-color: var(--accent); box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.1);
}
.card h3 { margin-bottom: 15px; color: var(--accent); }
.card p { color: var(--text-dim); line-height: 1.6; }
/* 7. BUTTONS */
.btn {
background: var(--accent); color: #000; padding: 14px 32px;
border-radius: 50px; border: none; font-weight: 800; cursor: pointer;
transition: var(--transition); font-size: 0.9rem;
}
.btn:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.3); }
/* 8. FOOTER */
footer { padding: 60px 10%; background: var(--surface); border-top: 1px solid var(--border); text-align: center; }
.socials { display: flex; justify-content: center; gap: 20px; margin: 20px 0; }
.socials a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.socials a:hover { color: var(--accent); }
/* 9. RESPONSIVE DESIGN */
@media (max-width: 768px) {
.nav-links { display: none; }
.slide { width: 85vw; height: 220px; }
.slide.prev { transform: translate3d(-100px, 0, 0) scale(0.6); }
.slide.next { transform: translate3d(100px, 0, 0) scale(0.6); }
.grid { padding: 0 5%; }
}
.footer { padding: 60px 5% 30px; background: var(--surface); border-top: 1px solid var(--border); text-align: center; width: 100%; }
.footer-content p { color: var(--text-dim); margin-bottom: 25px; }
.footer-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.social-icon {
font-size: 1.5rem; color: var(--text); width: 60px; height: 60px;
display: flex; align-items: center; justify-content: center;
background: rgba(255,255,255,0.05); border-radius: 50%; border: 1px solid var(--border); transition: 0.3s; text-decoration: none;
}
.social-icon:hover {
transform: translateY(-8px); color: var(--accent); border-color: var(--accent);
box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.2);
}
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; font-size: 0.8rem; color: var(--text-dim); }
/* RESPONSIVE */
@media (max-width: 768px) {
.nav-links { display: none; }
.slide { width: 85vw; height: 250px; }
.slide.prev { transform: translate3d(-100px, 0, 0) scale(0.6); }
.slide.next { transform: translate3d(100px, 0, 0) scale(0.6); }
}