diff --git a/public/images/MeBalanced.png b/public/images/MeBalanced.png new file mode 100644 index 0000000..7ee0c60 Binary files /dev/null and b/public/images/MeBalanced.png differ diff --git a/public/styles/home.css b/public/styles/home.css index fc832b4..e8bba2f 100644 --- a/public/styles/home.css +++ b/public/styles/home.css @@ -10,6 +10,9 @@ html, body { font-family: Arial, sans-serif; } +html { + overflow-y: scroll; +} /* General Styles */ body { font-family: Arial, sans-serif; @@ -154,7 +157,7 @@ html, body { font-style: italic; } - /* Navigation Bar */ + /* Navigation Bar .navbar { display: flex; align-items: center; @@ -185,7 +188,7 @@ html, body { .navbar a:hover { background-color: #444; border-radius: 5px; - } + } */ /* Select */ select { @@ -1007,4 +1010,5 @@ body.buddy-modal-open { .buddy-modal-panel { padding: 22px 18px; } + } diff --git a/public/styles/navbar.css b/public/styles/navbar.css new file mode 100644 index 0000000..c2fad6b --- /dev/null +++ b/public/styles/navbar.css @@ -0,0 +1,132 @@ +.hamburger-menu { + font-size: 20px; + background-color: transparent; + color: #ffffff; + cursor: pointer; + display: none; + border: none; + } + +.custom-navbar { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + background: linear-gradient(90deg, #1f1f1f 0%, #2a2a2a 100%); + padding: 14px 32px; + box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); + border-bottom: 1px solid rgba(255, 215, 0, 0.12); + position: relative; + z-index: 1000; + } + +.custom-navbar .logo { + display: flex; + align-items: center; + gap: 12px; +} + +.custom-navbar .bee-icon { + width: 200px; + object-fit: cover; +} + +.logo-text { + font-size: 2rem; + font-weight: 800; + font-family: Arial, sans-serif; + line-height: 1; + letter-spacing: 0.4px; + color: #ffd700; + text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); +} + +.custom-navbar .custom-nav-links { + display: flex; + align-items: center; + gap: 8px; +} + +.custom-navbar a, +.custom-dropbtn { + color: #f5f5f5; + text-decoration: none; + font-size: 1.05rem; + font-weight: 600; + padding: 10px 16px; + border-radius: 10px; + transition: all 0.25s ease; + background: transparent; + border: none; + cursor: pointer; + font-family: Arial, sans-serif; + display: inline-block; + line-height: 1.2; +} + +.custom-navbar a:hover, +.custom-dropdown:hover .custom-dropbtn { + background: rgba(255, 215, 0, 0.12); + color: #ffd700; + transform: translateY(-1px); +} + +.custom-dropdown { + position: relative; + display: inline-block; +} + +.custom-dropdown-content { + display: none; + position: absolute; + top: 100%; + right: 0; + left: auto; + min-width: 210px; + background: #2f2f2f; + border-radius: 12px; + box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28); + border: 1px solid rgba(255, 215, 0, 0.12); + overflow: hidden; + z-index: 1001; +} + +.custom-dropdown-content a { + display: block; + padding: 14px 16px; + font-size: 0.98rem; + font-weight: 500; + color: #f5f5f5; + border-radius: 0; +} + +.custom-dropdown-content a:hover { + background: rgba(255, 215, 0, 0.12); + color: #ffd700; + transform: none; +} + +.custom-dropdown:hover .custom-dropdown-content { + display: block; +} + +@media screen and (max-width: 970px) { + .custom-navbar .custom-nav-links { + display: none; + width: 100%; + flex-direction: column; + } + + + .custom-navbar { + flex-direction: row; + } + + .hamburger-menu { + display: block; + } + + .custom-nav-links.active { + display: flex; + } +} \ No newline at end of file diff --git a/public/styles/survey.css b/public/styles/survey.css index 52a4ba6..43f03a0 100644 --- a/public/styles/survey.css +++ b/public/styles/survey.css @@ -10,6 +10,10 @@ html, body { font-family: Arial, sans-serif; } +html { + overflow-y: scroll; +} + /* General Styles */ body { font-family: Arial, sans-serif; @@ -86,7 +90,7 @@ body { align-items: center; } -.circular-card { +/* .circular-card { width: 100px; height: 100px; aspect-ratio: 1/1; @@ -101,7 +105,26 @@ body { padding: 10px; text-align: center; box-sizing: border-box; - } +} */ + +.circular-card { + width: 110px; + height: 70px; + padding: 10px; + display: flex; + align-items: center; + justify-content: center; + text-align: center; + box-sizing: border-box; + border-radius: 10px; +} + +.circular-card div { + width: 100%; + word-wrap: break-word; + font-style: italic; +} + .circular-card:hover{ transform: translateY(-3px); box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1); @@ -161,7 +184,7 @@ body { } #iconContainer{ - background-color: rgba(255, 255, 255, 0.6); + background-color: #ffffff99; } #nextButton{ @@ -176,6 +199,7 @@ body { padding: 20px; margin: 45px auto; max-width: 75%; + max-height: 100%; border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); text-align: center; @@ -267,3 +291,50 @@ body { margin-bottom: 15px; text-align: center; } + +@media screen and (max-width: 970px){ + #iconResponse { + flex-direction: column; + align-items: center; + } + + #iconResponse > * { + width: 50%; + max-width: 100%; + flex: 0 0 100%; + } + + .survey-container { + max-height: 970px; + } + + .coins-display p { + padding: 10px; + font-size: 1rem; + } + + #surveyTitle { + font-size: 1.2rem; + } + + #progressText { + font-size: 0.75rem; + } + + #questionText { + font-size: 1rem; + } + + .circular-card { + width: 90px; + height: 50px; + } + + .circular-card div { + font-size: 10px; + } + + #backButton, #nextButton { + font-size: 0.75rem; + } +} \ No newline at end of file diff --git a/views/calendar.ejs b/views/calendar.ejs index 2a4f37a..5b336c3 100644 --- a/views/calendar.ejs +++ b/views/calendar.ejs @@ -7,6 +7,8 @@ + +
<%- include('partials/navbar') %> diff --git a/views/chart.ejs b/views/chart.ejs index 04a865c..901d7d2 100644 --- a/views/chart.ejs +++ b/views/chart.ejs @@ -7,6 +7,8 @@ + + <%- include('partials/navbar') %> diff --git a/views/chatbot.ejs b/views/chatbot.ejs index c6ad4c9..03fc9dc 100644 --- a/views/chatbot.ejs +++ b/views/chatbot.ejs @@ -8,6 +8,8 @@ + + + + + - - - <%- include('partials/navbar') %> @@ -122,7 +123,7 @@ Shop <%}%> <% if (section !== "choice" && section !== "completed" && typeof questions !== 'undefined') { %> -<%= coins ?? 0 %> @@ -130,7 +131,7 @@