diff --git a/src/app/app.component.html b/src/app/app.component.html
index 4797bfe..3db6b00 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,5 +1,5 @@
-
+
diff --git a/src/app/app.component.scss b/src/app/app.component.scss
index 632f0a7..f484bb1 100644
--- a/src/app/app.component.scss
+++ b/src/app/app.component.scss
@@ -1,5 +1,14 @@
+@use "../variables.scss" as variables;
+
.wrapper {
max-width: 50rem;
padding: 0 1rem;
margin: 0 auto;
+ box-sizing: content-box;
+}
+
+@media screen and (max-width: variables.$breakpoint) {
+ .wrapper {
+ padding: 0 2rem;
+ }
}
diff --git a/src/app/footer/footer.component.html b/src/app/footer/footer.component.html
index 6b802a5..cd1155d 100644
--- a/src/app/footer/footer.component.html
+++ b/src/app/footer/footer.component.html
@@ -12,4 +12,4 @@
-
Creative thinker with a solution focus.
Welcome to my creative workspace! I’m a solution-driven freelancer with a passion for blending innovative thinking with technical know-how to bring unique ideas to life. Whether you’re looking to build a prototype, develop custom code, or create a tailored automation system, I’m here to help turn your vision into a reality. My approach combines hands-on experience with a fresh perspective, ensuring that every project isn’t just functional, but forwardthinking and impactful.
-
Contact
+
Contact
diff --git a/src/app/services/services.component.scss b/src/app/services/services.component.scss
index bc70b36..1a158ea 100644
--- a/src/app/services/services.component.scss
+++ b/src/app/services/services.component.scss
@@ -1,8 +1,15 @@
+@use "../../variables.scss" as variables;
+
+$margin: 8rem;
+
:host {
color: #fff;
display: flex;
flex-direction: column;
gap: 2rem;
+ > div {
+ margin-top: $margin;
+ }
}
h2 {
@@ -41,4 +48,36 @@ a {
background-color: var(--accent-color);
border-radius: 4rem;
padding: 0.5rem 1rem;
+ margin-top: 2rem;
+ position: relative;
+ top: 1rem;
+ text-transform: uppercase;
+}
+
+@media screen and (max-width: variables.$breakpoint) {
+ .left, .right {
+ flex-direction: column;
+ .text, img {
+ max-width: 100%;
+ }
+
+ img {
+ margin-top: 2rem;
+ }
+ }
+
+ .right {
+ text-align: start;
+ }
+ :host {
+ > div {
+ margin-top: 3rem;
+ }
+ }
+
+ .mobile {
+ width: fit-content;
+ margin: 0 auto;
+ font-size: 1.4rem;
+ }
}
diff --git a/src/styles.scss b/src/styles.scss
index 7a557cf..0eecf1e 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -1,8 +1,11 @@
+@use "./variables.scss" as variables;
+
/* You can add global styles to this file, and also import other style files */
body {
- width: 100vw;
+ width: 100%;
height: 100%;
margin: 0;
+ overflow-x: hidden;
}
body {
@@ -18,3 +21,21 @@ body {
html {
background-color: #000000;
}
+
+.mobile {
+ display: none;
+}
+
+.web {
+ display: inherit;
+}
+
+@media screen and (max-width: variables.$breakpoint) {
+ .web {
+ display: none;
+ }
+
+ .mobile {
+ display: inherit;
+ }
+}
diff --git a/src/variables.scss b/src/variables.scss
new file mode 100644
index 0000000..5e08c4a
--- /dev/null
+++ b/src/variables.scss
@@ -0,0 +1 @@
+$breakpoint: 820px;