summaryrefslogtreecommitdiffstats
path: root/styles.css
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--styles.css69
1 files changed, 68 insertions, 1 deletions
diff --git a/styles.css b/styles.css
index 3568aeb..501b1c5 100644
--- a/styles.css
+++ b/styles.css
@@ -79,7 +79,30 @@ nav {
79} 79}
80 80
81.hero-content { 81.hero-content {
82 max-width: 800px; 82 display: grid;
83 grid-template-columns: 1fr 1fr;
84 gap: 4rem;
85 align-items: center;
86 width: 100%;
87}
88
89.hero-text {
90 max-width: 600px;
91}
92
93.hero-image {
94 display: flex;
95 justify-content: center;
96 align-items: center;
97}
98
99.hero-image .hero-img {
100 width: 100%;
101 max-width: 300px;
102 height: auto;
103 border-radius: 1rem;
104 border: none;
105 box-shadow: none;
83} 106}
84 107
85.greeting { 108.greeting {
@@ -154,6 +177,11 @@ section {
154} 177}
155 178
156/* About Section */ 179/* About Section */
180.about {
181 padding: 6rem 0;
182 background-color: var(--bg);
183}
184
157.about-content { 185.about-content {
158 display: grid; 186 display: grid;
159 grid-template-columns: 1fr 1fr; 187 grid-template-columns: 1fr 1fr;
@@ -161,6 +189,19 @@ section {
161 align-items: center; 189 align-items: center;
162} 190}
163 191
192.about-image {
193 display: flex;
194 justify-content: center;
195 align-items: center;
196}
197
198.about-img {
199 max-width: 100%;
200 height: auto;
201 border-radius: 0.5rem;
202 box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
203}
204
164.skills { 205.skills {
165 display: flex; 206 display: flex;
166 flex-wrap: wrap; 207 flex-wrap: wrap;
@@ -262,6 +303,22 @@ footer {
262} 303}
263 304
264/* Responsive */ 305/* Responsive */
306@media (max-width: 1024px) {
307 .hero-content {
308 grid-template-columns: 1fr;
309 gap: 3rem;
310 text-align: center;
311 }
312
313 .hero-text {
314 margin: 0 auto;
315 }
316
317 .cta-buttons {
318 justify-content: center;
319 }
320}
321
265@media (max-width: 768px) { 322@media (max-width: 768px) {
266 .nav-links { 323 .nav-links {
267 display: none; 324 display: none;
@@ -274,6 +331,16 @@ footer {
274 .about-content { 331 .about-content {
275 grid-template-columns: 1fr; 332 grid-template-columns: 1fr;
276 gap: 2rem; 333 gap: 2rem;
334 text-align: center;
335 }
336
337 .skills {
338 justify-content: center;
339 }
340
341 .about-img {
342 max-width: 80%;
343 margin: 0 auto;
277 } 344 }
278} 345}
279 346