simran40 commited on
Commit
d891ba8
Β·
verified Β·
1 Parent(s): 556d62d

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +98 -13
style.css CHANGED
@@ -35,38 +35,123 @@ body{
35
  from{transform:translateY(0);}
36
  to{transform:translateY(-60px);}
37
  }
 
 
 
 
 
 
 
 
38
 
39
- /* HERO */
40
- .hero{
41
  min-height:100vh;
 
 
 
 
 
 
 
 
 
 
 
 
42
  display:flex;
43
- flex-direction:column;
44
  justify-content:center;
45
  align-items:center;
 
 
 
 
46
  text-align:center;
47
- padding:40px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }
49
 
50
- .hero h1{
51
- font-size:64px;
52
- background:linear-gradient(90deg,#6366f1,#ec4899,#06b6d4);
 
 
 
 
 
 
53
  -webkit-background-clip:text;
54
  -webkit-text-fill-color:transparent;
55
  }
56
 
57
- .hero h2{
58
- margin-top:10px;
 
59
  font-weight:500;
60
  color:#4338ca;
 
61
  }
62
 
63
- .hero p{
64
- max-width:650px;
65
- margin:28px auto;
66
- font-size:17px;
 
 
67
  color:#374151;
68
  }
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  /* GLASS 3D */
71
  .glass-3d{
72
  background:linear-gradient(
 
35
  from{transform:translateY(0);}
36
  to{transform:translateY(-60px);}
37
  }
38
+ /* ===== NEW PROFESSIONAL COLOR SYSTEM ===== */
39
+ :root{
40
+ --bg1:#fdf4ff; /* lavender white */
41
+ --bg2:#f0f9ff; /* ice blue */
42
+ --accent1:#6366f1; /* indigo */
43
+ --accent2:#ec4899; /* rose */
44
+ --accent3:#06b6d4; /* cyan */
45
+ }
46
 
47
+ /* ===== BACKGROUND (SOFT + CLEAN) ===== */
48
+ body{
49
  min-height:100vh;
50
+ background:
51
+ radial-gradient(circle at 20% 15%, #e9d5ff 0%, transparent 35%),
52
+ radial-gradient(circle at 80% 30%, #fbcfe8 0%, transparent 40%),
53
+ radial-gradient(circle at 50% 90%, #cffafe 0%, transparent 40%),
54
+ linear-gradient(180deg,var(--bg1),var(--bg2));
55
+ color:#1f2937;
56
+ overflow-x:hidden;
57
+ }
58
+
59
+ /* ===== HERO (SPACE FIX + GLASS ANIMATED) ===== */
60
+ .hero{
61
+ min-height:90vh; /* πŸ‘ˆ space kam */
62
  display:flex;
 
63
  justify-content:center;
64
  align-items:center;
65
+ padding:40px 20px;
66
+ }
67
+
68
+ .hero-inner{
69
  text-align:center;
70
+ padding:50px 60px;
71
+ border-radius:32px;
72
+
73
+ background:linear-gradient(
74
+ 120deg,
75
+ rgba(255,255,255,0.75),
76
+ rgba(255,255,255,0.55)
77
+ );
78
+
79
+ backdrop-filter: blur(32px) saturate(160%);
80
+ border:1px solid rgba(255,255,255,0.95);
81
+
82
+ box-shadow:
83
+ 0 40px 120px rgba(99,102,241,0.25),
84
+ inset 0 1px 0 rgba(255,255,255,0.9);
85
+
86
+ animation: glassFloat 6s ease-in-out infinite;
87
+ }
88
+
89
+ /* subtle glass movement */
90
+ @keyframes glassFloat{
91
+ 0%{ transform:translateY(0); }
92
+ 50%{ transform:translateY(-12px); }
93
+ 100%{ transform:translateY(0); }
94
  }
95
 
96
+ /* ===== NAME ===== */
97
+ .hero-name{
98
+ font-size:56px;
99
+ margin-bottom:12px; /* πŸ‘ˆ spacing tight */
100
+ background:linear-gradient(90deg,
101
+ var(--accent1),
102
+ var(--accent2),
103
+ var(--accent3)
104
+ );
105
  -webkit-background-clip:text;
106
  -webkit-text-fill-color:transparent;
107
  }
108
 
109
+ /* ===== SUBTITLE ===== */
110
+ .hero-sub{
111
+ font-size:16px;
112
  font-weight:500;
113
  color:#4338ca;
114
+ margin-bottom:22px;
115
  }
116
 
117
+ /* ===== TEXT ===== */
118
+ .hero-text{
119
+ max-width:620px;
120
+ margin:0 auto 30px;
121
+ font-size:16px;
122
+ line-height:1.9;
123
  color:#374151;
124
  }
125
 
126
+ /* ===== BUTTON GROUP ===== */
127
+ .hero-buttons{
128
+ display:flex;
129
+ justify-content:center;
130
+ gap:22px;
131
+ }
132
+
133
+ /* ===== GLASS BUTTON ===== */
134
+ .glass-btn{
135
+ padding:16px 42px;
136
+ border-radius:999px;
137
+ background:rgba(255,255,255,0.7);
138
+ backdrop-filter: blur(18px);
139
+ border:1px solid rgba(255,255,255,0.95);
140
+
141
+ color:var(--accent1);
142
+ font-weight:700;
143
+ letter-spacing:1px;
144
+ text-decoration:none;
145
+
146
+ transition:.35s ease;
147
+ }
148
+
149
+ .glass-btn:hover{
150
+ transform:scale(1.08);
151
+ box-shadow:0 20px 60px rgba(236,72,153,0.35);
152
+ }
153
+
154
+
155
  /* GLASS 3D */
156
  .glass-3d{
157
  background:linear-gradient(