diff --git a/src/components/NavItem.astro b/src/components/NavItem.astro
index a357cb3..bac7217 100644
--- a/src/components/NavItem.astro
+++ b/src/components/NavItem.astro
@@ -7,6 +7,45 @@ const isActive = href === "/"
? Astro.url.pathname === "/"
: Astro.url.pathname.startsWith(href);
---
+
+ nav {
+ /* Common styles */
+ display: flex;
+ width: 100%;
+ }
+
+ nav {
+ /* Small screen styles */
+ align-items: center;
+ justify-content: center;
+ margin-bottom: 5px;
+ }
+
+ @media screen and (min-width: 965px) {
+ /* Large screen styles */
+ nav {
+ align-items: unset;
+ flex-direction: column;
+ justify-content: unset;
+ left: -15px;
+ position: fixed;
+ z-index: -1;
+ }
+ }
+