diff --git a/assets/img/mobile.jpg b/assets/img/mobile.jpg new file mode 100644 index 0000000..0293fc0 Binary files /dev/null and b/assets/img/mobile.jpg differ diff --git a/css/style.css b/css/style.css index 5537e25..7291106 100644 --- a/css/style.css +++ b/css/style.css @@ -35,15 +35,11 @@ margin: 73px; } -.image-computer { - margin-bottom: 3rem; -} - p { font-size: 16px; - line-height: 24px; font: weight 400px; text-align: center; + line-height: 24px; justify-content: center; } @@ -75,6 +71,8 @@ p { } .container-3 { + margin-top: 6rem; + margin-bottom: 3rem; display: flex; gap: 1em; flex-wrap: wrap; @@ -83,16 +81,24 @@ p { /*----------------Section-3--------------------------*/ .container-notebooks { - background-color: #e0e0e0; - width: 100%; display: flex; - gap: 1em; + text-align: center; justify-content: center; + background-color: #E0E0E0; + gap: 0,1em; + padding: 1em; +} + +.notebook{ + width: 100%; + translate: 0px 64px; + margin-top: -62px; } /*----------------Section-4--------------------------*/ .container-4 { - margin-top: 108px; + margin-top: 62px; + width: 100%; } .title { @@ -110,7 +116,9 @@ p { .text-p { align-items: center; - width: 29%; + width: 550px; + height: 120px; + line-height: 24px; margin-bottom: 50px; } @@ -120,7 +128,9 @@ p { } .image-container { - width: 100%; +display: flex; +justify-content: center; +margin-bottom: 4rem; } .retangle { @@ -139,8 +149,55 @@ footer { gap: 1em; } + .text-footer { color: white; font-size: 10px; font-weight: 400; +} + +@media only screen and (min-width: 2500px){ + p{ + font-size: 32px; + } +} +@media only screen and (max-width:1024px){ + .container-4{ + display: flex; + flex-direction: column; + } + .section-4{ + order: 2; + } + .image-final{ + order: 1; + width: 100%; + } + .image-container{ + width: 414px; + height: 414px; + object-fit: fill; + } + + .retangle{ + width: 100%; + object-fit: fill; + transform: scale(-3,1); + zoom: normal; + } +} +@media only screen and (max-width:700px){ + .text-p{ + width: 350px; + height: 152px; + margin-bottom: 6rem; + } +} +@media only screen and (max-width:1024px){ + .container-notebooks{ + display: flex; + align-items: center; + justify-content: center; + } + } \ No newline at end of file diff --git a/index.html b/index.html index 533497f..e134a84 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@ -
+ @@ -72,14 +72,14 @@
-
- notebook +
+ notebook
-
- notebook +
+ notebook
-
- notebook +
+ notebook
@@ -117,7 +117,7 @@
-
+

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non @@ -125,12 +125,13 @@ Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis. Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.

+
- +
-
+
@@ -138,9 +139,12 @@