simran40 commited on
Commit
df13bac
·
verified ·
1 Parent(s): f12c56f

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +98 -83
style.css CHANGED
@@ -2,145 +2,160 @@
2
  margin:0;
3
  padding:0;
4
  box-sizing:border-box;
5
- font-family:"Inter","Segoe UI",system-ui,sans-serif;
6
  }
7
 
8
- /* ===== OPEN FLOW BACKGROUND (NO BLACK) ===== */
9
  body{
10
  min-height:100vh;
11
  background:
12
- radial-gradient(1200px at 15% 20%, rgba(196,181,253,0.55), transparent 45%),
13
- radial-gradient(1000px at 85% 30%, rgba(253,164,175,0.45), transparent 45%),
 
14
  linear-gradient(180deg,#f8fafc,#eef2ff);
15
  color:#1f2937;
16
- padding:70px 20px 100px;
17
  }
18
 
19
- /* ===== TYPOGRAPHY ===== */
20
- h1{
21
- font-size:48px;
22
- font-weight:700;
23
- margin-bottom:12px;
24
- background:linear-gradient(90deg,#6366f1,#ec4899);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  -webkit-background-clip:text;
26
  -webkit-text-fill-color:transparent;
27
  }
28
 
29
- .subtitle{
30
- font-size:16px;
31
- color:#475569;
32
- margin-bottom:26px;
33
  }
34
 
35
- h2{
36
- font-size:26px;
37
- margin:80px 0 20px;
38
- color:#312e81;
 
 
 
 
 
 
 
 
 
 
 
 
39
  }
40
 
41
- p{
42
- font-size:16px;
43
- line-height:1.9;
44
- color:#334155;
45
- max-width:900px;
46
  }
47
 
48
- /* ===== GLASS BUTTON ===== */
49
  .glass-btn{
50
- display:inline-block;
51
- margin-top:22px;
52
  padding:16px 42px;
53
  border-radius:999px;
54
-
55
- background:rgba(255,255,255,0.65);
56
  backdrop-filter:blur(18px);
57
  border:1px solid rgba(255,255,255,0.9);
58
-
59
- color:#312e81;
60
  font-weight:700;
61
  letter-spacing:1px;
62
  text-decoration:none;
63
-
64
- transition:all .4s ease;
65
- position:relative;
66
  overflow:hidden;
 
67
  }
68
 
69
  .glass-btn::after{
70
  content:"";
71
  position:absolute;
72
  inset:0;
73
- background:radial-gradient(circle at center, rgba(255,255,255,0.6), transparent 60%);
74
- opacity:0;
75
- transition:.4s;
76
  }
77
 
78
- .glass-btn:hover{
79
- transform:translateY(-4px);
80
- box-shadow:0 20px 50px rgba(99,102,241,.25);
81
- }
82
-
83
- .glass-btn:active::after{
84
- opacity:1;
85
  }
86
 
87
- /* ===== LINKS ===== */
88
- .links a{
89
- margin-right:26px;
90
- text-decoration:none;
91
- font-weight:600;
92
- color:#4f46e5;
93
- border-bottom:2px solid transparent;
94
- transition:.3s;
95
  }
96
 
97
- .links a:hover{
98
- border-bottom-color:#ec4899;
99
- }
100
 
101
- /* ===== SKILLS (GLASS CHIPS) ===== */
102
- .skills{
103
- display:flex;
104
- flex-wrap:wrap;
105
- gap:16px;
106
  }
107
 
108
- .skills span{
109
- padding:12px 28px;
110
- border-radius:999px;
111
- background:rgba(255,255,255,0.7);
112
- backdrop-filter:blur(14px);
113
- border:1px solid rgba(255,255,255,0.9);
114
- color:#312e81;
115
- font-size:14px;
116
- transition:.3s;
117
  }
118
 
119
- .skills span:hover{
120
- transform:translateY(-4px);
121
- box-shadow:0 12px 30px rgba(236,72,153,.25);
 
122
  }
123
 
124
- /* ===== PROJECT LIST (NO BOX) ===== */
125
  .project{
126
- margin-top:34px;
127
- max-width:900px;
128
  }
129
 
130
- .project h3{
131
- font-size:21px;
132
- margin-bottom:8px;
133
- color:#1e1b4b;
134
  }
135
 
136
  .project p{
137
- margin-bottom:14px;
 
 
138
  }
139
 
140
  /* ===== FOOTER ===== */
141
  footer{
142
- margin-top:120px;
143
  text-align:center;
144
- font-size:13px;
145
- color:#64748b;
146
  }
 
2
  margin:0;
3
  padding:0;
4
  box-sizing:border-box;
5
+ font-family:"Poppins","Inter",system-ui,sans-serif;
6
  }
7
 
8
+ /* ===== DREAMY LIGHT BACKGROUND ===== */
9
  body{
10
  min-height:100vh;
11
  background:
12
+ radial-gradient(circle at 20% 20%, #e9d5ff 0%, transparent 35%),
13
+ radial-gradient(circle at 80% 30%, #fbcfe8 0%, transparent 40%),
14
+ radial-gradient(circle at 50% 90%, #bfdbfe 0%, transparent 40%),
15
  linear-gradient(180deg,#f8fafc,#eef2ff);
16
  color:#1f2937;
17
+ overflow-x:hidden;
18
  }
19
 
20
+ /* ===== FLOATING ORBS ===== */
21
+ .orb{
22
+ position:absolute;
23
+ width:260px;
24
+ height:260px;
25
+ border-radius:50%;
26
+ background:rgba(255,255,255,0.4);
27
+ filter:blur(40px);
28
+ animation: float 12s infinite alternate;
29
+ }
30
+ .o1{top:5%; left:5%;}
31
+ .o2{top:40%; right:10%; animation-delay:2s;}
32
+ .o3{bottom:10%; left:35%; animation-delay:4s;}
33
+
34
+ @keyframes float{
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,#7c3aed,#ec4899,#3b82f6);
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:#4f46e5;
61
  }
62
 
63
+ .hero p{
64
+ max-width:620px;
65
+ margin:28px auto;
66
+ font-size:17px;
67
+ color:#374151;
68
+ }
69
+
70
+ /* ===== GLASS 3D ===== */
71
+ .glass-3d{
72
+ background:rgba(255,255,255,0.55);
73
+ backdrop-filter:blur(25px);
74
+ border-radius:30px;
75
+ box-shadow:
76
+ 0 30px 80px rgba(0,0,0,0.15),
77
+ inset 0 1px 0 rgba(255,255,255,0.9);
78
+ transition:transform .5s ease, box-shadow .5s ease;
79
  }
80
 
81
+ .glass-3d:hover{
82
+ transform:translateY(-10px) rotateX(3deg);
83
+ box-shadow:0 50px 120px rgba(124,58,237,.25);
 
 
84
  }
85
 
86
+ /* ===== BUTTONS ===== */
87
  .glass-btn{
88
+ position:relative;
 
89
  padding:16px 42px;
90
  border-radius:999px;
91
+ background:rgba(255,255,255,0.6);
 
92
  backdrop-filter:blur(18px);
93
  border:1px solid rgba(255,255,255,0.9);
94
+ color:#4f46e5;
 
95
  font-weight:700;
96
  letter-spacing:1px;
97
  text-decoration:none;
 
 
 
98
  overflow:hidden;
99
+ transition:.4s;
100
  }
101
 
102
  .glass-btn::after{
103
  content:"";
104
  position:absolute;
105
  inset:0;
106
+ background:linear-gradient(120deg, transparent 30%, rgba(255,255,255,.8), transparent 70%);
107
+ transform:translateX(-100%);
 
108
  }
109
 
110
+ .glass-btn:hover::after{
111
+ transform:translateX(100%);
112
+ transition:transform .6s;
 
 
 
 
113
  }
114
 
115
+ .glass-btn:hover{
116
+ transform:scale(1.08);
117
+ box-shadow:0 20px 60px rgba(236,72,153,.35);
 
 
 
 
 
118
  }
119
 
120
+ .small{padding:12px 30px;}
 
 
121
 
122
+ /* ===== PROJECTS ===== */
123
+ .projects{
124
+ padding:100px 8%;
125
+ text-align:center;
 
126
  }
127
 
128
+ .projects h3{
129
+ font-size:36px;
130
+ margin-bottom:50px;
131
+ color:#5b21b6;
 
 
 
 
 
132
  }
133
 
134
+ .project-grid{
135
+ display:grid;
136
+ grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
137
+ gap:40px;
138
  }
139
 
 
140
  .project{
141
+ padding:34px;
 
142
  }
143
 
144
+ .project h4{
145
+ font-size:22px;
146
+ margin-bottom:10px;
147
+ color:#312e81;
148
  }
149
 
150
  .project p{
151
+ font-size:15px;
152
+ margin-bottom:20px;
153
+ color:#374151;
154
  }
155
 
156
  /* ===== FOOTER ===== */
157
  footer{
 
158
  text-align:center;
159
+ padding:40px;
160
+ color:#6b7280;
161
  }