@@ -27,28 +27,57 @@ header p {
27
27
font-weight : 300 ;
28
28
}
29
29
30
- nav ul {
30
+ /* Floating Fixed Menu */
31
+ # navbar {
32
+ position : fixed;
33
+ top : 0 ;
34
+ left : 0 ;
35
+ width : 100% ;
36
+ background-color : rgba (44 , 62 , 80 , 0.95 );
37
+ z-index : 1000 ;
38
+ box-shadow : 0 2px 10px rgba (0 , 0 , 0 , 0.1 );
39
+ }
40
+
41
+ # navbar .container {
42
+ display : flex;
43
+ justify-content : space-between;
44
+ align-items : center;
45
+ max-width : 1200px ;
46
+ margin : 0 auto;
47
+ padding : 1rem 2rem ;
48
+ }
49
+
50
+ # navbar .logo {
51
+ font-size : 1.5rem ;
52
+ font-weight : 700 ;
53
+ color : # fff ;
54
+ }
55
+
56
+ # navbar ul {
31
57
list-style : none;
32
58
padding : 0 ;
33
- margin : 1.5rem 0 0 ;
59
+ margin : 0 ;
60
+ display : flex;
61
+ gap : 1.5rem ;
34
62
}
35
63
36
- nav ul li {
37
- display : inline;
38
- margin : 0 15px ;
64
+ # navbar ul li {
65
+ margin : 0 ;
39
66
}
40
67
41
- nav ul li a {
68
+ # navbar ul li a {
42
69
color : # fff ;
43
70
text-decoration : none;
44
71
font-weight : 500 ;
45
- transition : color 0.3s ease;
72
+ padding : 0.5rem 1rem ;
73
+ border-radius : 5px ;
74
+ transition : background-color 0.3s ease, color 0.3s ease;
46
75
}
47
76
48
- nav ul li a : hover {
77
+ # navbar ul li a : hover {
78
+ background-color : rgba (255 , 255 , 255 , 0.1 );
49
79
color : # 1abc9c ;
50
80
}
51
-
52
81
.container {
53
82
width : 90% ;
54
83
max-width : 1200px ;
@@ -118,6 +147,50 @@ ul li {
118
147
box-shadow : 0 8px 12px rgba (0 , 0 , 0 , 0.2 );
119
148
}
120
149
150
+ .shape {
151
+ position : absolute;
152
+ background-repeat : no-repeat;
153
+ background-size : contain;
154
+ z-index : 0 ;
155
+ }
156
+
157
+ .shape-1 {
158
+ width : 200px ;
159
+ height : 200px ;
160
+ background-image : url ('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMjAwIj48Y2lyY2xlIGN4PSIxMDAiIGN5PSIxMDAiIHI9IjEwMCIgZmlsbD0iIzFiYWM5YyIgZmlsbC1vcGFjaXR5PSIwLjEiLz48L3N2Zz4=' );
161
+ top : 10% ;
162
+ left : 5% ;
163
+ animation : float 6s infinite ease-in-out;
164
+ }
165
+
166
+ .shape-2 {
167
+ width : 150px ;
168
+ height : 150px ;
169
+ background-image : url ('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNTAgMTUwIj48cmVjdCB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIgZmlsbD0iIzFiYWM5YyIgZmlsbC1vcGFjaXR5PSIwLjEiIHRyYW5zZm9ybT0icm90YXRlKDQ1KSIvPjwvc3ZnPg==' );
170
+ bottom : 15% ;
171
+ right : 10% ;
172
+ animation : float 8s infinite ease-in-out;
173
+ }
174
+
175
+ .shape-3 {
176
+ width : 250px ;
177
+ height : 250px ;
178
+ background-image : url ('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj48cG9seWdvbiBwb2ludHM9IjEyNSwwIDI1MCwxMjUgMTI1LDI1MCAwLDEyNSIgZmlsbD0iIzFiYWM5YyIgZmlsbC1vcGFjaXR5PSIwLjEiLz48L3N2Zz4=' );
179
+ top : 20% ;
180
+ right : 5% ;
181
+ animation : float 10s infinite ease-in-out;
182
+ }
183
+
184
+ @keyframes float {
185
+ 0% , 100% {
186
+ transform : translateY (0 );
187
+ }
188
+ 50% {
189
+ transform : translateY (-20px );
190
+ }
191
+ }
192
+
193
+
121
194
footer {
122
195
background-color : # 2c3e50 ;
123
196
color : # fff ;
0 commit comments