11: root {
2- --primary-color : # 4A90E2 ;
3- --accent-color : # FFD369 ;
4- --text-color : # ffffff ;
5- --bg-color : # f9f9f9 ;
2+ --primary-color : # 2C3E50 ; /* Slate Blue */
3+ --accent-color : # 1ABC9C ; /* Teal */
4+ --text-color : # ffffff ; /* White */
5+ --bg-color : # f4f7f5 ; /* Light Cool Gray */
66 --font-secondary : 'Montserrat' , sans-serif;
77 --font-primary : 'Poppins' , sans-serif;
88}
1515
1616body {
1717 background-color : var (--bg-color );
18+ color : # 333
1819}
1920
2021header {
@@ -31,7 +32,7 @@ header {
3132 padding : 0 3.5rem ;
3233}
3334
34- ul {
35+ . navbar ul {
3536 list-style-type : none;
3637 display : flex;
3738 align-items : center;
4344
4445.navbar a {
4546 text-decoration : none;
46- color : var (--text-color )
47+ color : var (--text-color );
4748}
4849
4950.logo {
5051 font-family : var (--font-primary );
5152 font-size : clamp (16px , 2.8vw , 32px );
5253 font-weight : bold;
53- color : var (--text-color )
54+ color : var (--text-color );
5455}
5556
5657main {
7475 padding : 8vw 6vw 2vw 6vw ;
7576 color : # 1e1e1e ;
7677 text-align : center;
77- /* background-clip: text;
78- -webkit-background-clip: text;
79- -webkit-text-fill-color: transparent; */
8078}
8179
8280.title p {
@@ -99,63 +97,226 @@ main {
9997}
10098
10199.progress-log {
102- background-color : # f0f0f0 ;
103100 display : flex;
104101 flex-direction : column;
105102 align-items : center;
106103 gap : clamp (10px , 3.5vw , 40px );
107- background-color : # A2C8EE ;
104+ background-color : # ECF0F1 ; /* Slightly darker cool gray */
108105 padding : 5vw ;
106+ width : 100% ;
109107}
110108
111109.day-group {
112110 display : flex;
113111 gap : clamp (20px , 3vw , 40px );
114112 flex-wrap : wrap;
115- justify-content : center ;
113+ justify-content : start ;
116114 width : 100% ;
117-
118115}
119116
120117.day {
121- width : 26 vw ;
122- height : 28 vw ;
118+ width : 320 px ;
119+ height : 360 px ;
123120 background-color : var (--primary-color );
124121 padding : 2vw ;
122+ flex-shrink : 0 ;
125123 border : 5px solid;
126124 border-image : linear-gradient (270deg , var (--primary-color ), var (--accent-color )) 1 ;
127125 border-radius : 8px ;
128126 display : flex;
129127 flex-direction : column;
130- gap : clamp (20px , 2 vw , 30px );
131- box-shadow : -5px 0 10px rgba (0 , 0 , 0 , 0.3 );
128+ gap : clamp (20px , 1 vw , 30px );
129+ box-shadow : -5px 0 10px rgba (0 , 0 , 0 , 0.15 );
132130}
133131
134132.day h3 {
135133 font-size : clamp (16px , 2vw , 32px );
136134 font-family : var (--font-primary );
137135 font-weight : 700 ;
138- color : var (--text-color )
136+ color : var (--text-color );
139137}
140138
141139.progress-log h2 {
142140 font-size : clamp (16px , 3vw , 40px );
143141 font-family : var (--font-primary );
142+ color : # 34495E ; /* Dark Slate */
144143}
145144
146145.day p {
147146 font-family : var (--font-secondary );
148- font-size : clamp (16px , 1.4vw , 32px );
149- font-weight : 550 ;
150- color : # FFFFF0 ;
147+ font-size : 1rem ;
148+ font-weight : 400 ;
149+ line-height : 1.5 ;
150+ color : # BDC3C7 ;
151+ /* We no longer need flex-grow here */
152+ }
153+
154+ .card-footer {
155+ display : flex;
156+ flex-direction : column;
157+ justify-content : space-between; /* Pushes items to opposite ends */
158+ margin-top : auto; /* This pushes the footer to the bottom of the card! */
159+ gap : 0.5rem ;
151160}
152161
153162.day span {
154- color : black;
155- font-weight : 500 ;
163+ color : var (--accent-color );
164+ font-weight : 600 ;
165+ font-size : 0.9rem ; /* Slightly smaller to ensure it fits */
166+ white-space : nowrap; /* Prevents the date from ever wrapping */
167+ /* We no longer need overflow-wrap */
156168}
157169
158170.day a {
159171 text-decoration : none;
160- color : burlywood
161- }
172+ color : var (--accent-color );
173+ font-weight : 600 ;
174+ }
175+
176+ .about-section {
177+ width : 100% ;
178+ padding : 5vw ;
179+ background-color : var (--bg-color ); /* Matches the main body background */
180+ display : flex;
181+ flex-direction : column;
182+ align-items : center;
183+ gap : 2rem ;
184+ }
185+
186+ .about-section h3 {
187+ font-size : clamp (1.8rem , 5vw , 2.8rem );
188+ font-family : var (--font-primary );
189+ color : # 34495E ; /* Consistent with other section titles */
190+ text-align : center;
191+ }
192+
193+ .about-text {
194+ flex : 1 ; /* Allows text to take up available space */
195+ font-family : var (--font-secondary );
196+ font-size : 1.1rem ;
197+ line-height : 1.6 ;
198+ }
199+
200+ .about-text p li {
201+ font-family : var (--font-secondary );
202+ }
203+
204+ .about-text ul {
205+ list-style-position : inside;
206+ padding-left : 0.5rem ;
207+ display : flex;
208+ flex-direction : column;
209+ gap : 0.75rem ;
210+ font-size : 1rem ;
211+ list-style-type : none; /* remove default bullets */
212+ }
213+
214+ .about-content {
215+ display : flex;
216+ align-items : center;
217+ gap : 3rem ;
218+ max-width : 1200px ; /* Prevents the section from becoming too wide */
219+ }
220+
221+ .about-text ul li ::before {
222+ content : '✤' ; /* custom bullet */
223+ color : var (--accent-color );
224+ font-weight : bold;
225+ display : inline-block;
226+ width : 1.2em ;
227+ margin-left : -1.2em ;
228+ }
229+
230+ .about-img {
231+ flex-basis : 45% ; /* Defines the ideal size of the image container */
232+ min-width : 300px ;
233+ }
234+
235+ .about-img img {
236+ width : 100% ;
237+ height : auto;
238+ border-radius : 10px ;
239+ box-shadow : 5px 5px 20px rgba (0 , 0 , 0 , 0.2 );
240+ }
241+
242+ .lang-section {
243+ display : flex;
244+ flex-direction : column;
245+ align-items : center;
246+ gap : 2rem ;
247+ width : 100% ;
248+ }
249+
250+ .lang-section h3 {
251+ font-size : 3rem ;
252+ font-family : var (--font-primary );
253+ }
254+
255+ .cards {
256+ display : flex;
257+ justify-content : flex-start;
258+ flex-wrap : wrap;
259+ gap : 1.7rem ;
260+ width : 100vw ;
261+ }
262+
263+ .card {
264+ display : flex;
265+ flex-direction : column;
266+ gap : 0.5rem ;
267+ align-items : center;
268+ justify-content : center;
269+ background-color : var (--primary-color );
270+ padding : 0.2vw ;
271+ height : 15vw ;
272+ width : 12vw ;
273+ }
274+
275+ .card i {
276+ color : var (--accent-color )
277+ }
278+
279+ .card p {
280+ color : white;
281+ font-family : var (--font-secondary );
282+ font-weight : 600 ;
283+ }
284+
285+
286+
287+ @media (max-width : 768px ) {
288+ .navbar {
289+ padding : 0 1.5rem ;
290+ flex-direction : column;
291+ gap : 0.5rem ;
292+ padding-top : 0.5rem ;
293+ padding-bottom : 0.5rem ;
294+ }
295+
296+ .navbar ul {
297+ font-size : 0.9rem ; /* Smaller font for nav links on mobile */
298+ gap : 1rem ;
299+ flex-wrap : wrap;
300+ justify-content : center;
301+ }
302+
303+ .day {
304+ width : 90% ; /* Cards take up most of the screen width */
305+ height : auto; /* Height adjusts to content */
306+ }
307+
308+ .about-content {
309+ flex-direction : column; /* Stacks the text and image vertically */
310+ gap : 2.5rem ;
311+ }
312+
313+ .about-text {
314+ font-size : 1rem ;
315+ text-align : center;
316+ }
317+
318+ .about-text ul {
319+ text-align : left;
320+ padding-left : 1rem ; /* Adjust list padding for mobile */
321+ }
322+ }
0 commit comments