1+ : root {
2+ --primary-blue : # 1b4e7e ;
3+ --highlight-yellow : # e7df69 ;
4+ --visited-orange : # dfa843 ;
5+ --text-light : # eef6fc ;
6+ --code-bg : # 2a2a2a ;
7+ --gallery-bg : rgba (255 , 255 , 255 , 0.05 );
8+ --shadow : rgba (0 , 0 , 0 , 0.2 );
9+ --transition-smooth : 0.3s cubic-bezier (0.4 , 0 , 0.2 , 1 );
10+ }
11+
112/* Project Styling */
213.project img {
314 width : 70% ;
4- border-radius : 5 px ;
15+ border-radius : 8 px ;
516 margin-bottom : 15px ;
17+ transition : transform var (--transition-smooth );
18+ }
19+
20+ .project img : hover {
21+ transform : scale (1.02 );
622}
723
824/* Technology Badges */
925.tech-grid {
1026 display : flex;
1127 flex-wrap : wrap;
12- gap : 10 px ;
28+ gap : 12 px ;
1329 justify-content : center;
1430 margin : 20px 0 ;
1531}
1632
1733.tech-badge {
18- background : # 1b4e7e ;
19- color : # eef6fc ;
20- padding : 8 px 16 px ;
34+ background : var ( --primary-blue ) ;
35+ color : var ( --text-light ) ;
36+ padding : 10 px 20 px ;
2137 border-radius : 20px ;
2238 font-size : 16px ;
23- border : 2px solid # e7df69 ;
39+ border : 2px solid var (--highlight-yellow );
40+ transition : transform var (--transition-smooth );
41+ }
42+
43+ .tech-badge : hover {
44+ transform : translateY (-2px );
2445}
2546
2647/* Code Blocks */
2748pre {
28- background : # 2a2a2a ;
29- padding : 15 px ;
30- border-radius : 5 px ;
49+ background : var ( --code-bg ) ;
50+ padding : 20 px ;
51+ border-radius : 8 px ;
3152 overflow-x : auto;
32- border-left : 3px solid # e7df69 ;
33- margin : 15 px 0 ;
53+ border-left : 3px solid var ( --highlight-yellow ) ;
54+ margin : 20 px 0 ;
3455}
3556
3657code {
37- color : # e7df69 ;
58+ color : var ( --highlight-yellow ) ;
3859 font-family : 'Consolas' , monospace;
3960}
4061
4162/* Typography */
42- li , p {
43- font-size : 18 px ;
44- }
45-
46- h1 {
47- font-size : 85 px ;
63+ li , p { font-size : clamp ( 16 px , 2 vw , 18 px ); }
64+ h1 { font-size : clamp ( 3 rem , 8 vw , 85 px ); }
65+ h2 { font-size : clamp ( 2 rem , 6 vw , 55 px ); }
66+ h3 {
67+ font-size : clamp ( 1.5 rem , 4 vw , 40 px );
68+ text-align : left ;
4869}
4970
50- h2 {
51- font-size : 55px ;
71+ /* Contact Section */
72+ section # contact p a {
73+ display : inline-flex;
74+ align-items : center;
75+ font-family : 'rampage-monoline' , sans-serif;
76+ font-size : 30px ;
77+ color : var (--highlight-yellow );
78+ transition : transform var (--transition-smooth );
5279}
5380
54- h3 {
55- font-size : 40px ;
56- text-align : left;
81+ section # contact p a : hover {
82+ transform : translateX (10px );
5783}
5884
59- /* Contact Section */
6085section # contact p a img {
6186 width : 50px ;
6287 height : 50px ;
63- margin-right : 8 px ;
88+ margin-right : 12 px ;
6489 vertical-align : middle;
90+ transition : transform var (--transition-smooth );
6591}
6692
67- section # contact p a {
68- font-family : 'rampage-monoline' , sans-serif;
69- font-size : 30px ;
70- color : # e7df69 ;
93+ section # contact p a : hover img {
94+ transform : rotate (5deg );
7195}
7296
7397section # contact p a : visited {
74- color : # dfa843 ;
98+ color : var ( --visited-orange ) ;
7599}
76100
101+ /* Gallery Styling */
77102.project-gallery {
78- margin : 2rem 0 ;
103+ width : 80% ;
104+ margin : 2rem auto;
79105 padding : 2rem ;
80- background : rgba (255 , 255 , 255 , 0.05 );
81- border-radius : 8px ;
106+ background : var (--gallery-bg );
107+ border-radius : 12px ;
108+ backdrop-filter : blur (8px );
82109}
83110
111+
84112.gallery {
85113 display : grid;
86114 grid-template-columns : repeat (auto-fit, minmax (300px , 1fr ));
@@ -91,30 +119,56 @@ section#contact p a:visited {
91119.gallery-item {
92120 position : relative;
93121 margin : 0 ;
94- transition : transform 0.3 s ease ;
122+ transition : transform var ( --transition-smooth ) ;
95123}
96124
97125.gallery-item : hover {
98- transform : scale (1.02 );
126+ transform : scale (1.03 );
99127}
100128
101129.gallery-image {
102130 width : 100% ;
103131 height : auto;
104- border-radius : 6 px ;
105- box-shadow : 0 4px 8 px rgba ( 0 , 0 , 0 , 0.2 );
132+ border-radius : 8 px ;
133+ box-shadow : 0 4px 12 px var ( --shadow );
106134}
107135
108136figcaption {
109137 margin-top : 1rem ;
110138 text-align : center;
111139 font-size : 0.9rem ;
112- color : # ccc ;
140+ color : var (--text-light );
141+ opacity : 0.8 ;
113142}
114143
115- /* Responsive adjustments */
144+ /* Responsive Design */
116145@media (max-width : 768px ) {
117146 .gallery {
118147 grid-template-columns : 1fr ;
119148 }
149+
150+ .tech-grid {
151+ gap : 8px ;
152+ }
153+
154+ .tech-badge {
155+ padding : 8px 16px ;
156+ font-size : 14px ;
157+ }
158+ }
159+
160+ /* Animation */
161+ .gallery-item , .tech-badge {
162+ animation : fadeIn 0.6s ease-out;
163+ }
164+
165+ @keyframes fadeIn {
166+ from {
167+ opacity : 0 ;
168+ transform : translateY (10px );
169+ }
170+ to {
171+ opacity : 1 ;
172+ transform : translateY (0 );
173+ }
120174}
0 commit comments