From 14eb69573789bc4da54565db75efd40ee041419f Mon Sep 17 00:00:00 2001 From: Samlon Date: Thu, 24 Jul 2025 12:43:35 +0200 Subject: add pictures --- styles.css | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 68 insertions(+), 1 deletion(-) (limited to 'styles.css') diff --git a/styles.css b/styles.css index 3568aeb..501b1c5 100644 --- a/styles.css +++ b/styles.css @@ -79,7 +79,30 @@ nav { } .hero-content { - max-width: 800px; + display: grid; + grid-template-columns: 1fr 1fr; + gap: 4rem; + align-items: center; + width: 100%; +} + +.hero-text { + max-width: 600px; +} + +.hero-image { + display: flex; + justify-content: center; + align-items: center; +} + +.hero-image .hero-img { + width: 100%; + max-width: 300px; + height: auto; + border-radius: 1rem; + border: none; + box-shadow: none; } .greeting { @@ -154,6 +177,11 @@ section { } /* About Section */ +.about { + padding: 6rem 0; + background-color: var(--bg); +} + .about-content { display: grid; grid-template-columns: 1fr 1fr; @@ -161,6 +189,19 @@ section { align-items: center; } +.about-image { + display: flex; + justify-content: center; + align-items: center; +} + +.about-img { + max-width: 100%; + height: auto; + border-radius: 0.5rem; + box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); +} + .skills { display: flex; flex-wrap: wrap; @@ -262,6 +303,22 @@ footer { } /* Responsive */ +@media (max-width: 1024px) { + .hero-content { + grid-template-columns: 1fr; + gap: 3rem; + text-align: center; + } + + .hero-text { + margin: 0 auto; + } + + .cta-buttons { + justify-content: center; + } +} + @media (max-width: 768px) { .nav-links { display: none; @@ -274,6 +331,16 @@ footer { .about-content { grid-template-columns: 1fr; gap: 2rem; + text-align: center; + } + + .skills { + justify-content: center; + } + + .about-img { + max-width: 80%; + margin: 0 auto; } } -- cgit v1.2.3