diff --git a/Portfolio-website-hero/style.css b/Portfolio-website-hero/style.css index 506ac40..faa1143 100644 --- a/Portfolio-website-hero/style.css +++ b/Portfolio-website-hero/style.css @@ -245,3 +245,28 @@ ul { transform: rotate(45deg); } } +@media (max-width: 768px) { + .hero { + flex-direction: column; + text-align: center; + padding: 20px; + } + + .hero img { + width: 80%; + margin: 0 auto; + } + + .hero h1 { + font-size: 1.8rem; + } + + .hero p { + font-size: 1rem; + } + + .hero button { + padding: 10px 20px; + font-size: 1rem; + } +}