diff --git a/style.css b/style.css index cd3e926..6429e4a 100644 --- a/style.css +++ b/style.css @@ -1061,6 +1061,31 @@ body.light-theme .goog-te-gadget-simple span { /* card with enhanced glassmorphism */ .card { + width: 100%; + max-width: 1200px; + display: grid; + grid-template-columns: 1fr 380px; + gap: 24px; + align-items: stretch; + z-index: 2; + /* Enhanced glassmorphism for entire card container */ + background: rgba(255, 255, 255, 0.05) !important; + margin-top: 114px; + background: linear-gradient( + 135deg, + rgba(255, 255, 255, 0.08), + rgba(255, 255, 255, 0.04) + ) !important; + backdrop-filter: blur(40px) saturate(150%) brightness(110%) !important; + -webkit-backdrop-filter: blur(40px) saturate(150%) brightness(110%) !important; + -moz-backdrop-filter: blur(40px) saturate(150%) brightness(110%) !important; + border-radius: 24px; + padding: 6px; + box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 12px 40px rgba(0, 0, 0, 0.3), + inset 0 2px 0 rgba(255, 255, 255, 0.4), + inset 0 -2px 0 rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.3); + border: 2px solid rgba(255, 255, 255, 0.3); + position: relative; width: 100%; max-width: 1200px; display: grid; @@ -1089,6 +1114,23 @@ body.light-theme .goog-te-gadget-simple span { /* Add subtle animated glow effect */ .card::before { + content: ""; + position: absolute; + inset: -2px; + border-radius: 26px; + padding: 2px; + margin-top: 114px; + background: linear-gradient( + 45deg, + rgba(255, 122, 122, 0.5), + rgba(255, 46, 99, 0.4), + rgba(255, 122, 122, 0.5) + ); + mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); + mask-composite: xor; + -webkit-mask-composite: xor; + animation: cardGlow 4s ease-in-out infinite alternate; + z-index: -1; content: ""; position: absolute; inset: -2px; @@ -2145,6 +2187,20 @@ body.light-theme .feature-learn-more:hover { /* footer */ .footer { + width: 100vw; + margin-left: calc(-50vw + 50%); + margin-top: 60px; + background: linear-gradient( + 135deg, + rgba(255, 255, 255, 0.1), + rgba(255, 255, 255, 0.05) + ); + backdrop-filter: blur(25px); + border-top: 1px solid rgba(255, 255, 255, 0.15); + box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1); + color: var(--muted); + z-index: 2; + /* position: relative; */ width: 100vw; margin-left: calc(-50vw + 50%); margin-top: 60px; @@ -3705,6 +3761,82 @@ body { /* Navbar styling start from here with multiple break points */ /* --- Responsive Navbar Styles --- */ +.menu-toggle { + display: none; /* Hide by default on desktops */ + background: rgba(255, 255, 255, 0.05); + border: 1px solid rgba(255, 255, 255, 0.1); + border-radius: 8px; + padding: 0.5rem 0.75rem; + font-size: 1.3rem; + color: #e0e0e0; + cursor: pointer; + transition: all 0.2s ease; + margin-left: auto; +} + +.menu-toggle:hover { + background: rgba(255, 255, 255, 0.1); + border-color: rgba(255, 255, 255, 0.2); + transform: scale(1.05); +} + +.menu-toggle:active { + transform: scale(0.95); +} + +/* Mood indicator positioning */ +.mood-indicator { + order: 1; + flex-shrink: 0; +} + +/* Ensure proper navbar layout on larger screens */ +@media (min-width: 901px) { + .top { + flex-wrap: nowrap; + position: fixed; + margin-left: 20px; + margin-top: 14px; + margin-right: 20px; + width: 1214px; + } + + .controls { + display: flex !important; + flex-wrap: wrap; + justify-content: flex-end; + } + + .menu-toggle { + display: none !important; + } + + /* Ensure translate widget is visible on desktop */ + #google_translate_element { + display: inline-block !important; + } +} + +/* Media Query for Tablet and Mobile Devices */ +@media (max-width: 900px) { + .menu-toggle { + display: block; /* Show hamburger button */ + } + + .controls { + display: none; /* Hide the full menu */ + width: 100%; + flex-direction: column; + align-items: stretch; + order: 3; + margin-top: 0.5rem; + gap: 0.5rem; + animation: slideDown 0.3s ease-out; + background: rgba(40, 37, 63, 0.6); + padding: 0.75rem; + border-radius: 8px; + border: 1px solid rgba(255, 255, 255, 0.05); + } @media (max-width: 1199px) { header, nav, @@ -4272,6 +4404,7 @@ body.light-theme .download-options { color: #ddd; margin-top: 10px; } +} .animated_buttons { position: relative;