diff --git a/client/index.css b/client/index.css index cfb23b6..5f1b632 100644 --- a/client/index.css +++ b/client/index.css @@ -38,7 +38,7 @@ a { /* Layout */ .container { margin: 0 auto; - max-width: 64rem; + max-width: 80rem; padding: 0 1rem; } .content { diff --git a/client/pages/homePage.css b/client/pages/homePage.css index f65b7a7..059c0ae 100644 --- a/client/pages/homePage.css +++ b/client/pages/homePage.css @@ -6,13 +6,12 @@ .home__features { display: flex; flex-wrap: wrap; - margin: 2.5rem auto; - max-width: 48rem; + margin: 1rem -1rem; } .home__feature { padding: 1rem; text-align: center; - width: 50%; + width: 100%; } .home__icon { color: var(--color-blue-6); @@ -25,7 +24,7 @@ } .home__patterns { - height: 60rem; + height: 80rem; overflow: hidden; position: relative; } @@ -63,16 +62,13 @@ display: flex; flex-direction: column; flex-wrap: nowrap; - height: 180rem; opacity: 0.8; } .home__slide { animation: slide 20s linear infinite; display: flex; flex-wrap: wrap; - height: 60rem; justify-content: center; - width: 60rem; will-change: transform; } @@ -92,3 +88,15 @@ transform: translateY(-100%); } } + +/* Responsive */ +@media (min-width: 640px) { + .home__feature { + width: 50%; + } +} +@media (min-width: 1024px) { + .home__feature { + width: 33.333333%; + } +} \ No newline at end of file