diff --git a/src/components/Header.astro b/src/components/Header.astro
index 8a062ae..6a62137 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -3,4 +3,28 @@ import "../styles/global.css";
const base = import.meta.env.BASE_URL;
---
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/styles/global.css b/src/styles/global.css
index 0004456..987a7bc 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -59,8 +59,85 @@ body {
@apply dark:bg-gray-900;
}
-header {
+/*header {
@apply bg-sunday-theme p-4 text-white flex items-center justify-center text-3xl lg:text-4xl;
+}*/
+
+:root {
+ --menu-slice-color: white;
+ --size: clamp(16px, 10vmin, 32px);
+}
+
+header {
+ #nav-menu {
+ position: relative;
+ }
+ #menu-items {
+ @apply bg-sunday-theme mt-4;
+ visibility: hidden;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ min-width: 20vw;
+ width: fit-content;
+ height: 100vh;
+ margin-left: -1rem;
+ li {
+ @apply pl-4 text-2xl;
+ }
+ }
+ #menu-toggle {
+ opacity: 0;
+ cursor: pointer;
+ position: absolute;
+ }
+ #menu-toggle:checked ~ #menu #hamburger .slice:first-child {
+ top: calc(50% - 33% + var(--slice-height) / 2);
+ transform: rotate(45deg);
+ }
+ #menu-toggle:checked ~ #menu #hamburger .slice:nth-child(2) {
+ opacity: 0;
+ }
+ #menu-toggle:checked ~ #menu #hamburger .slice:last-child {
+ top: calc(-50% + var(--slice-height) / 2);
+ transform: rotate(-45deg);
+ }
+ #menu-toggle:checked ~ #menu #menu-items {
+ visibility: visible;
+ opacity: 1;
+ }
+
+ #menu {
+ cursor: pointer;
+ }
+ #menu span {
+ @apply align-top;
+ }
+ #hamburger {
+ display: inline-block;
+ cursor: pointer;
+ width: var(--size);
+ height: var(--size);
+ box-sizing: content-box;
+ transition: transform 0.2s ease;
+ margin-bottom: -0.2rem;
+ .slice {
+ --slice-height: 2px;
+ display: block;
+ position: relative;
+ width: 100%;
+ height: var(--slice-height, 2px);
+ border-radius: var(--slice-height);
+ transition: all 0.2s ease;
+ background-color: var(--menu-slice-color);
+ opacity: 90%;
+ }
+ .slice {
+ margin-top: 20%;
+ margin-top: calc(33% - var(--slice-height));
+ top: calc((33% - var(--slice-height)) / -2);
+ }
+ }
}
footer {