From a7110fa53d68add75cc0d30afa4af37d5d6defe0 Mon Sep 17 00:00:00 2001 From: SutanjoyB Date: Wed, 10 Jun 2026 12:39:49 +0530 Subject: [PATCH] Updated Mobile UI --- src/Components/Features.jsx | 151 ++-- src/Components/Footer.jsx | 13 +- src/Components/Home.jsx | 99 +- src/Components/Navbar.jsx | 195 ++-- src/Components/PageThree.jsx | 90 +- src/Components/Player.jsx | 237 +++-- src/Components/SongSearch.jsx | 255 +++--- src/tailwindcss/output.css | 1591 ++------------------------------- 8 files changed, 652 insertions(+), 1979 deletions(-) diff --git a/src/Components/Features.jsx b/src/Components/Features.jsx index 5293887..1605a16 100644 --- a/src/Components/Features.jsx +++ b/src/Components/Features.jsx @@ -3,30 +3,37 @@ import { motion, useAnimation } from "framer-motion"; import { useEffect, useRef } from "react"; export default function Features() { - const animationControls = { - hidden: { opacity: 0, x: -500 }, - visible: { opacity: 1, x: 0 }, + const sectionRef = useRef(null); + const sectionControls = useAnimation(); + + // Detect if screen is mobile to serve optimal layout animations + const isMobile = typeof window !== "undefined" && window.innerWidth < 768; + + const animationControlsLeft = { + hidden: { opacity: 0, x: isMobile ? 0 : -100, y: isMobile ? 40 : 0 }, + visible: { opacity: 1, x: 0, y: 0 }, }; - const sectionRef = useRef(null); + const animationControlsRight = { + hidden: { opacity: 0, x: isMobile ? 0 : 100, y: isMobile ? 40 : 0 }, + visible: { opacity: 1, x: 0, y: 0 }, + }; useEffect(() => { const sectionObserver = new IntersectionObserver( (entries) => { entries.forEach((entry) => { if (entry.isIntersecting) { - // When the section is in the viewport, trigger the animation - animationControls.visible && sectionControls.start("visible"); + sectionControls.start("visible"); } else { - // When the section is out of the viewport, reset the animation - animationControls.hidden && sectionControls.start("hidden"); + sectionControls.start("hidden"); } }); }, { root: null, rootMargin: "0px", - threshold: 0.5, // Adjust the threshold as needed + threshold: 0.1, // Lower threshold ensures it fires easily on short screens }, ); @@ -39,76 +46,80 @@ export default function Features() { sectionObserver.unobserve(sectionRef.current); } }; - }, []); - - const sectionControls = useAnimation(); + }, [sectionControls]); return ( - <> -
-
-
-

- Ready to make some noise? -

-
- Bringing Harmony to Your Ears. -
-
-
- -

Get Started With Beat Bridge

-
    -
  • Who are we:
  • -
      +
      +
      +
      +

      + Ready to make some noise? +

      +

      + Bringing Harmony to Your Ears. +

      +
      + +
      + +

      + Get Started With Beat Bridge +

      + +
      +
        +
      • + Who are we: +
      • +
        • We are passionate about connecting people with music
      -
        -
      • Our Mission:
      • -
          -
        • + +
            +
          • + Our Mission: +
          • +
              +
            • To provide a platform that resonates with every music lover
          - - - - - - guitat_img -
          -
          -
      +
      + + + + + + + +
      + guitar_img +
      - +
); -} \ No newline at end of file +} diff --git a/src/Components/Footer.jsx b/src/Components/Footer.jsx index 5faaf22..52f3bf4 100644 --- a/src/Components/Footer.jsx +++ b/src/Components/Footer.jsx @@ -3,13 +3,14 @@ import { FaGithub } from "react-icons/fa"; const Footer = () => { return ( -
- - - +
+ + -
© 2023 BeatBridge
- +
© 2023 BeatBridge
); }; diff --git a/src/Components/Home.jsx b/src/Components/Home.jsx index d0ea61d..1e33ede 100644 --- a/src/Components/Home.jsx +++ b/src/Components/Home.jsx @@ -8,77 +8,78 @@ import Footer from "./Footer"; import { Link } from "react-router-dom"; export default function Home() { + const sectionControls = useAnimation(); + const sectionRef = useRef(null); + const animationControls = { - hidden: { opacity: 0, y: 75 }, + hidden: { opacity: 0, y: 30 }, visible: { opacity: 1, y: 0 }, }; - const sectionRef = useRef(null); - useEffect(() => { const sectionObserver = new IntersectionObserver( (entries) => { entries.forEach((entry) => { if (entry.isIntersecting) { - animationControls.visible && sectionControls.start("visible"); + sectionControls.start("visible"); } else { - animationControls.hidden && sectionControls.start("hidden"); + sectionControls.start("hidden"); } }); }, - { - root: null, - rootMargin: "0px", - threshold: 0.5, - }, + { threshold: 0.1 }, ); - if (sectionRef.current) { - sectionObserver.observe(sectionRef.current); - } + if (sectionRef.current) sectionObserver.observe(sectionRef.current); + return () => + sectionRef.current && sectionObserver.unobserve(sectionRef.current); + }, [sectionControls]); - return () => { - if (sectionRef.current) { - sectionObserver.unobserve(sectionRef.current); - } - }; - }, []); + return ( +
+ - const sectionControls = useAnimation(); + {/* Hero Section Container */} +
+ {/* Background Image Layer */} +
+ background + {/* Overlay to ensure text readability */} +
+
- return ( - <> - -
- background img + {/* Content Layer - Centered via Flexbox */} + +

+ Your Gateway to a World of Rhythm +

+ +

+ Welcome to BeatBridge! +

+ + + + +
- -

- Your Gateway to a World of Rhythm -

-

- Welcome to BeatBridge! -

- - - -
- +
); } diff --git a/src/Components/Navbar.jsx b/src/Components/Navbar.jsx index 58174e9..c93b167 100644 --- a/src/Components/Navbar.jsx +++ b/src/Components/Navbar.jsx @@ -1,99 +1,116 @@ -import { useState } from 'react' -import { FaHome } from "react-icons/fa"; +import { useState } from "react"; +import { Link } from "react-router-dom"; +import { FaHome, FaHashtag } from "react-icons/fa"; import { GrGallery } from "react-icons/gr"; import { BsFillPeopleFill } from "react-icons/bs"; -import { FaHashtag } from "react-icons/fa"; import Hamburger from "/hamburger.png"; - export default function Navbar() { - const [menuOpen, setMenuOpen] = useState(false); + const [menuOpen, setMenuOpen] = useState(false); + + const toggleMenu = () => { + setMenuOpen(!menuOpen); + }; - const toggleMenu = () => { - setMenuOpen(!menuOpen); - }; + const closeMenu = () => { + setMenuOpen(false); + }; - const closeMenu = () => { - setMenuOpen(false); - }; + return ( + <> +
+ {/* Mobile: Simple flex container with standard spacing + Desktop (md and up): 3-Column structural grid configuration + */} +
+ {/* Left Column Spacer: Only occupies structural layout space on desktop layouts */} +
- return ( - <> -
-
-
-

- BEAT{" "} -

-

- Bridge -

-
-
- hamburger menu -
-
-
-
- { - menuOpen && ( -
- ) - } -
+ -
- -
+

+ BEAT{" "} +

+

+ Bridge +

+ +
+ + {/* Right Column Action Element: Holds the menu icon */} +
+ hamburger menu +
+
+
+
+ + {/* Side Navigation Menu Overlay Panel Container */} + {menuOpen && ( +
+ )} + +
+
+ +
+ +
    + +
  • + + Discover +
  • + -
      -
    • - - Discover -
    • -
    • - - Around You -
    • -
    • - - Top Artists -
    • -
    • - {" "} - - Top Charts -
    • -
    -
- - ) -} \ No newline at end of file +
  • + + Around You +
  • +
  • + + Top Artists +
  • +
  • + + Top Charts +
  • + +
    + + ); +} diff --git a/src/Components/PageThree.jsx b/src/Components/PageThree.jsx index a826cb0..97fe7bf 100644 --- a/src/Components/PageThree.jsx +++ b/src/Components/PageThree.jsx @@ -4,30 +4,29 @@ import { motion, useAnimation } from "framer-motion"; export default function PageThree() { const animationControls = { - hidden: { opacity: 0, x: -500 }, - visible: { opacity: 1, x: 0 }, + hidden: { opacity: 0, y: 50 }, + visible: { opacity: 1, y: 0 }, }; const sectionRef = useRef(null); + const sectionControls = useAnimation(); useEffect(() => { const sectionObserver = new IntersectionObserver( (entries) => { entries.forEach((entry) => { if (entry.isIntersecting) { - // When the section is in the viewport, trigger the animation - animationControls.visible && sectionControls.start("visible"); + sectionControls.start("visible"); } else { - // When the section is out of the viewport, reset the animation - animationControls.hidden && sectionControls.start("hidden"); + sectionControls.start("hidden"); } }); }, { root: null, rootMargin: "0px", - threshold: 0.5, // Adjust the threshold as needed - } + threshold: 0.2, + }, ); if (sectionRef.current) { @@ -39,84 +38,57 @@ export default function PageThree() { sectionObserver.unobserve(sectionRef.current); } }; - }, []); - - const sectionControls = useAnimation(); + }, [sectionControls]); return (
    - - -

    +

    Wanna -

    -

    +

    +

    Contribute to -

    -

    +

    +

    BeatBridge? -

    -
    +

    + +
    - + className="absolute lg:relative w-72 h-72 sm:w-96 sm:h-96 lg:w-1/2 flex items-center justify-center opacity-20 lg:opacity-100 z-0 lg:z-10 mt-8 lg:mt-0" + > + bg img +
    ); -} \ No newline at end of file +} diff --git a/src/Components/Player.jsx b/src/Components/Player.jsx index ff6f605..af7cc3b 100644 --- a/src/Components/Player.jsx +++ b/src/Components/Player.jsx @@ -13,7 +13,7 @@ const secret = import.meta.env.VITE_CLIENT_SECRET; export default function Player() { const location = useLocation(); const navigatorData = location.state; - const [token, setToken] = useState(''); + const [token, setToken] = useState(""); const [songData, setSongData] = useState(null); const audioRef = useRef(new Audio()); @@ -55,104 +55,157 @@ export default function Player() { }, [songData, token]); return ( - <> -
    - - - { - songData && token ? ( -
    -
    -
    -
    - -
    -

    - {songData.album.name} -

    -

    - {songData.name} -

    -

    - {songData.artists[0].name} -

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    1:75
    -
    3:20
    -
    -
    +
    + + +
    + {songData && token ? ( +
    +
    +
    + Album Art +
    +

    + {songData.album.name} +

    +

    + {songData.name} +

    +

    + {songData.artists[0].name} +

    -
    -
    - - - -
    - -
    - - - +
    + +
    +
    +
    +
    + {/* Progress Indicator Pin */} +
    +
    +
    +
    1:15
    +
    3:20
    - ) : ( -
    - Loading ... + + {/* Controller Toolbar */} +
    + + +
    + + + + + +
    + +
    - ) - } +
    + ) : ( +
    + Loading Track View... +
    + )} +
    -
    -
    -
    +
    +
    - +
    ); } diff --git a/src/Components/SongSearch.jsx b/src/Components/SongSearch.jsx index 264f21b..d2a2de3 100644 --- a/src/Components/SongSearch.jsx +++ b/src/Components/SongSearch.jsx @@ -4,125 +4,154 @@ import { useNavigate } from "react-router-dom"; // assets import Background from "/bag.jpg"; -import Search from '../assets/search.svg'; +import Search from "../assets/search.svg"; import Navbar from "./Navbar"; import Footer from "./Footer"; import "../App.css"; export default function SongSearch() { - - const navigate = useNavigate(); - const [searchInput, setSearchInput] = useState("Trending"); - const [token, setToken] = useState('') - const [tracks, setTracks] = useState([]); - - const clientID = import.meta.env.VITE_CLIENT_ID; - const secret = import.meta.env.VITE_CLIENT_SECRET; - - const user = new API_Controller(clientID, secret) - - useEffect(() => { - user?.getToken().then((data) => { - setToken(data) + const navigate = useNavigate(); + const [searchInput, setSearchInput] = useState("Trending"); + const [token, setToken] = useState(""); + const [tracks, setTracks] = useState([]); + + const clientID = import.meta.env.VITE_CLIENT_ID; + const secret = import.meta.env.VITE_CLIENT_SECRET; + + const user = new API_Controller(clientID, secret); + + useEffect(() => { + user?.getToken().then((data) => { + setToken(data); + }); + getTracks(); + }, []); + + const getTracks = async () => { + try { + await user + .searchSong(searchInput, token) + .then((data) => { + setTracks(data.tracks.items); }) - }, []) - - useEffect(() => { - getTracks(); - }, []) - - const getTracks = async () => { - try { - await user.searchSong(searchInput, token).then((data) => { - setTracks(data.tracks.items) - }).catch((err) => { - console.log("Fetch Failed " + err) - }) - } catch (err) { - console.log(err) - } - } - - const redirectSongData = (elem) => { - navigate('/player', { state: elem }) + .catch((err) => { + console.log("Fetch Failed " + err); + }); + } catch (err) { + console.log(err); } - - return ( - <> -
    - -
    -
    - setSearchInput(e.target.value)} - onKeyDown={(e) => { - if (e.key === 'Enter') - getTracks(); - }} - /> - -
    - - { - - tracks ? ( -
    - { - tracks.map((elem, index) => { - return ( -
    -
    - Album Image -
    - - - - - -
    -
    -
    -

    {elem.album.name}

    -

    {elem.artists[0].name}

    -
    -
    - ) - }) - } - - -
    - ) : ( - <> -
    Loading ...
    - - ) - } - - + }; + + const redirectSongData = (elem) => { + navigate("/player", { state: elem }); + }; + + return ( +
    + + +
    + {/* Search Bar Wrapper */} +
    + setSearchInput(e.target.value)} + onKeyDown={(e) => { + if (e.key === "Enter") getTracks(); + }} + /> +
    + search icon +
    +
    + + {/* Tracks Responsive Grid View */} + {tracks && tracks.length > 0 ? ( +
    + {tracks.map((elem, index) => ( +
    +
    + Album Image +
    + + + + + +
    +
    +
    +

    + {elem.name} +

    +

    + {elem.artists[0].name} +

    -
    -
    - - ); +
    + ))} + + ) : ( +
    + Loading songs ... +
    + )} +
    +
    + ); } diff --git a/src/tailwindcss/output.css b/src/tailwindcss/output.css index 6ec6bb6..cb276ef 100644 --- a/src/tailwindcss/output.css +++ b/src/tailwindcss/output.css @@ -1,1541 +1,130 @@ -@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400&family=Raleway:wght@300&display=swap'); - -/* -! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com -*/ - -/* -1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) -2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) -*/ - -*, -::before, -::after { - box-sizing: border-box; - /* 1 */ - border-width: 0; - /* 2 */ - border-style: solid; - /* 2 */ - border-color: #e5e7eb; - /* 2 */ -} - -::before, -::after { - --tw-content: ''; -} - -/* -1. Use a consistent sensible line-height in all browsers. -2. Prevent adjustments of font size after orientation changes in iOS. -3. Use a more readable tab size. -4. Use the user's configured `sans` font-family by default. -5. Use the user's configured `sans` font-feature-settings by default. -6. Use the user's configured `sans` font-variation-settings by default. -*/ - -html { - line-height: 1.5; - /* 1 */ - -webkit-text-size-adjust: 100%; - /* 2 */ - -moz-tab-size: 4; - /* 3 */ - -o-tab-size: 4; - tab-size: 4; - /* 3 */ - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - /* 4 */ - font-feature-settings: normal; - /* 5 */ - font-variation-settings: normal; - /* 6 */ -} - -/* -1. Remove the margin in all browsers. -2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. -*/ - -body { - margin: 0; - /* 1 */ - line-height: inherit; - /* 2 */ -} - -/* -1. Add the correct height in Firefox. -2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) -3. Ensure horizontal rules are visible by default. -*/ - -hr { - height: 0; - /* 1 */ - color: inherit; - /* 2 */ - border-top-width: 1px; - /* 3 */ -} - -/* -Add the correct text decoration in Chrome, Edge, and Safari. -*/ - -abbr:where([title]) { - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; -} - -/* -Remove the default font size and weight for headings. -*/ - -h1, -h2, -h3, -h4, -h5, -h6 { - font-size: inherit; - font-weight: inherit; -} - -/* -Reset links to optimize for opt-in styling instead of opt-out. -*/ - -a { - color: inherit; - text-decoration: inherit; -} - -/* -Add the correct font weight in Edge and Safari. -*/ - -b, -strong { - font-weight: bolder; -} - -/* -1. Use the user's configured `mono` font family by default. -2. Correct the odd `em` font sizing in all browsers. -*/ - -code, -kbd, -samp, -pre { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; - /* 1 */ - font-size: 1em; - /* 2 */ -} - -/* -Add the correct font size in all browsers. -*/ - -small { - font-size: 80%; -} - -/* -Prevent `sub` and `sup` elements from affecting the line height in all browsers. -*/ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* -1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) -2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) -3. Remove gaps between table borders by default. -*/ - -table { - text-indent: 0; - /* 1 */ - border-color: inherit; - /* 2 */ - border-collapse: collapse; - /* 3 */ -} - -/* -1. Change the font styles in all browsers. -2. Remove the margin in Firefox and Safari. -3. Remove default padding in all browsers. -*/ - -button, -input, -optgroup, -select, -textarea { - font-family: inherit; - /* 1 */ - font-feature-settings: inherit; - /* 1 */ - font-variation-settings: inherit; - /* 1 */ - font-size: 100%; - /* 1 */ - font-weight: inherit; - /* 1 */ - line-height: inherit; - /* 1 */ - color: inherit; - /* 1 */ - margin: 0; - /* 2 */ - padding: 0; - /* 3 */ -} - -/* -Remove the inheritance of text transform in Edge and Firefox. -*/ - -button, -select { - text-transform: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Remove default button styles. -*/ - -button, -[type='button'], -[type='reset'], -[type='submit'] { - -webkit-appearance: button; - /* 1 */ - background-color: transparent; - /* 2 */ - background-image: none; - /* 2 */ -} - -/* -Use the modern Firefox focus style for all focusable elements. -*/ - -:-moz-focusring { - outline: auto; -} - -/* -Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) -*/ - -:-moz-ui-invalid { - box-shadow: none; -} - -/* -Add the correct vertical alignment in Chrome and Firefox. -*/ - -progress { - vertical-align: baseline; -} - -/* -Correct the cursor style of increment and decrement buttons in Safari. -*/ - -::-webkit-inner-spin-button, -::-webkit-outer-spin-button { - height: auto; -} - -/* -1. Correct the odd appearance in Chrome and Safari. -2. Correct the outline style in Safari. -*/ - -[type='search'] { - -webkit-appearance: textfield; - /* 1 */ - outline-offset: -2px; - /* 2 */ -} - -/* -Remove the inner padding in Chrome and Safari on macOS. -*/ - -::-webkit-search-decoration { - -webkit-appearance: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Change font properties to `inherit` in Safari. -*/ - -::-webkit-file-upload-button { - -webkit-appearance: button; - /* 1 */ - font: inherit; - /* 2 */ -} - -/* -Add the correct display in Chrome and Safari. -*/ - -summary { - display: list-item; -} - -/* -Removes the default spacing and border for appropriate elements. -*/ - -blockquote, -dl, -dd, -h1, -h2, -h3, -h4, -h5, -h6, -hr, -figure, -p, -pre { - margin: 0; -} - -fieldset { - margin: 0; - padding: 0; -} - -legend { - padding: 0; -} - -ol, -ul, -menu { - list-style: none; - margin: 0; - padding: 0; -} - -/* -Reset default styling for dialogs. -*/ - -dialog { - padding: 0; -} - -/* -Prevent resizing textareas horizontally by default. -*/ - -textarea { - resize: vertical; -} - -/* -1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) -2. Set the default placeholder color to the user's configured gray 400 color. -*/ - -input::-moz-placeholder, textarea::-moz-placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -input::placeholder, -textarea::placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -/* -Set the default cursor for buttons. -*/ - -button, -[role="button"] { - cursor: pointer; -} - -/* -Make sure disabled buttons don't get the pointer cursor. -*/ - -:disabled { - cursor: default; -} - -/* -1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) -2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) - This can trigger a poorly considered lint error in some tools but is included by design. -*/ - -img, -svg, -video, -canvas, -audio, -iframe, -embed, -object { - display: block; - /* 1 */ - vertical-align: middle; - /* 2 */ -} - -/* -Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) -*/ - -img, -video { - max-width: 100%; - height: auto; -} - -/* Make elements with the HTML hidden attribute stay hidden by default */ - -[hidden] { - display: none; -} - -*, ::before, ::after{ - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::backdrop{ - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -.visible{ - visibility: visible; -} - -.fixed{ - position: fixed; -} - -.absolute{ - position: absolute; -} - -.relative{ - position: relative; -} - -.inset-0{ - inset: 0px; -} - -.bottom-0{ - bottom: 0px; -} - -.left-1\/2{ - left: 50%; -} - -.right-0{ - right: 0px; -} - -.right-\[1\.5rem\]{ - right: 1.5rem; -} - -.top-0{ - top: 0px; -} - -.top-1\/2{ - top: 50%; -} - -.top-28{ - top: 7rem; -} - -.top-\[13rem\]{ - top: 13rem; -} - -.z-0{ - z-index: 0; -} - -.z-10{ - z-index: 10; -} - -.z-50{ - z-index: 50; -} - -.m-10{ - margin: 2.5rem; -} - -.-my-2{ - margin-top: -0.5rem; - margin-bottom: -0.5rem; -} - -.mx-auto{ - margin-left: auto; - margin-right: auto; -} - -.-ml-2{ - margin-left: -0.5rem; -} - -.-mt-2{ - margin-top: -0.5rem; -} - -.mb-2{ - margin-bottom: 0.5rem; -} - -.mb-4{ - margin-bottom: 1rem; -} - -.mb-40{ - margin-bottom: 10rem; -} - -.ml-24{ - margin-left: 6rem; -} - -.ml-3{ - margin-left: 0.75rem; -} - -.mr-2{ - margin-right: 0.5rem; -} - -.mt-1{ - margin-top: 0.25rem; -} - -.mt-10{ - margin-top: 2.5rem; -} - -.mt-16{ - margin-top: 4rem; -} - -.mt-20{ - margin-top: 5rem; -} - -.mt-48{ - margin-top: 12rem; -} - -.block{ - display: block; -} - -.inline{ - display: inline; -} - -.flex{ - display: flex; -} - -.grid{ - display: grid; -} - -.hidden{ - display: none; -} - -.h-1{ - height: 0.25rem; -} - -.h-1\.5{ - height: 0.375rem; -} - -.h-12{ - height: 3rem; -} - -.h-16{ - height: 4rem; -} - -.h-2{ - height: 0.5rem; -} - -.h-20{ - height: 5rem; -} - -.h-4{ - height: 1rem; -} - -.h-5\/6{ - height: 83.333333%; -} - -.h-6{ - height: 1.5rem; -} - -.h-64{ - height: 16rem; -} - -.h-8{ - height: 2rem; -} - -.h-\[800px\]{ - height: 800px; -} - -.h-full{ - height: 100%; -} - -.h-screen{ - height: 100vh; -} - -.min-h-screen{ - min-height: 100vh; -} - -.w-1{ - width: 0.25rem; -} - -.w-1\.5{ - width: 0.375rem; -} - -.w-1\/2{ - width: 50%; -} - -.w-10\/12{ - width: 83.333333%; -} - -.w-12{ - width: 3rem; -} - -.w-2\/3{ - width: 66.666667%; -} - -.w-20{ - width: 5rem; -} - -.w-4{ - width: 1rem; -} - -.w-6{ - width: 1.5rem; -} - -.w-64{ - width: 16rem; -} - -.w-8{ - width: 2rem; -} - -.w-full{ - width: 100%; -} - -.min-w-0{ - min-width: 0px; -} - -.flex-auto{ - flex: 1 1 auto; -} - -.flex-none{ - flex: none; -} - -.translate-x-0{ - --tw-translate-x: 0px; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.translate-x-full{ - --tw-translate-x: 100%; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.translate-y-3{ - --tw-translate-y: 0.75rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.transform{ - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.cursor-pointer{ - cursor: pointer; -} - -.list-disc{ - list-style-type: disc; -} - -.grid-cols-1{ - grid-template-columns: repeat(1, minmax(0, 1fr)); -} - -.flex-row{ - flex-direction: row; -} - -.flex-col{ - flex-direction: column; -} - -.items-center{ - align-items: center; -} - -.justify-end{ - justify-content: flex-end; -} - -.justify-center{ - justify-content: center; -} - -.justify-between{ - justify-content: space-between; -} - -.justify-evenly{ - justify-content: space-evenly; -} - -.gap-16{ - gap: 4rem; -} - -.gap-4{ - gap: 1rem; -} - -.gap-\[2rem\]{ - gap: 2rem; -} - -.space-x-4 > :not([hidden]) ~ :not([hidden]){ - --tw-space-x-reverse: 0; - margin-right: calc(1rem * var(--tw-space-x-reverse)); - margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); -} - -.space-y-1 > :not([hidden]) ~ :not([hidden]){ - --tw-space-y-reverse: 0; - margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); -} - -.space-y-2 > :not([hidden]) ~ :not([hidden]){ - --tw-space-y-reverse: 0; - margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); -} - -.space-y-6 > :not([hidden]) ~ :not([hidden]){ - --tw-space-y-reverse: 0; - margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); -} - -.overflow-hidden{ - overflow: hidden; -} - -.truncate{ - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.rounded{ - border-radius: 0.25rem; -} - -.rounded-full{ - border-radius: 9999px; -} - -.rounded-lg{ - border-radius: 0.5rem; -} - -.rounded-b-xl{ - border-bottom-right-radius: 0.75rem; - border-bottom-left-radius: 0.75rem; -} - -.rounded-t-xl{ - border-top-left-radius: 0.75rem; - border-top-right-radius: 0.75rem; -} - -.border{ - border-width: 1px; -} - -.border-2{ - border-width: 2px; -} - -.border-y-\[1px\]{ - border-top-width: 1px; - border-bottom-width: 1px; -} - -.border-b-4{ - border-bottom-width: 4px; -} - -.border-\[\#f3ead3\]{ - --tw-border-opacity: 1; - border-color: rgb(243 234 211 / var(--tw-border-opacity)); -} - -.border-gray-100{ - --tw-border-opacity: 1; - border-color: rgb(243 244 246 / var(--tw-border-opacity)); -} - -.bg-\[\#2A2438\]{ - --tw-bg-opacity: 1; - background-color: rgb(42 36 56 / var(--tw-bg-opacity)); -} - -.bg-\[\#352f44\]{ - --tw-bg-opacity: 1; - background-color: rgb(53 47 68 / var(--tw-bg-opacity)); -} - -.bg-black{ - --tw-bg-opacity: 1; - background-color: rgb(0 0 0 / var(--tw-bg-opacity)); -} - -.bg-cyan-500{ - --tw-bg-opacity: 1; - background-color: rgb(6 182 212 / var(--tw-bg-opacity)); -} - -.bg-slate-100{ - --tw-bg-opacity: 1; - background-color: rgb(241 245 249 / var(--tw-bg-opacity)); -} - -.bg-slate-50{ - --tw-bg-opacity: 1; - background-color: rgb(248 250 252 / var(--tw-bg-opacity)); -} - -.bg-violet-800\/60{ - background-color: rgb(91 33 182 / 0.6); -} - -.bg-white{ - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - -.bg-opacity-0{ - --tw-bg-opacity: 0; -} - -.bg-opacity-10{ - --tw-bg-opacity: 0.1; -} - -.bg-gradient-to-r{ - background-image: linear-gradient(to right, var(--tw-gradient-stops)); -} - -.from-\[\#2A2438\]{ - --tw-gradient-from: #2A2438 var(--tw-gradient-from-position); - --tw-gradient-to: rgb(42 36 56 / 0) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); -} - -.from-\[\#352F44\]{ - --tw-gradient-from: #352F44 var(--tw-gradient-from-position); - --tw-gradient-to: rgb(53 47 68 / 0) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); -} - -.to-\[\#5C5470\]{ - --tw-gradient-to: #5C5470 var(--tw-gradient-to-position); -} - -.bg-cover{ - background-size: cover; -} - -.bg-clip-padding{ - background-clip: padding-box; -} - -.bg-center{ - background-position: center; -} - -.object-cover{ - -o-object-fit: cover; - object-fit: cover; -} - -.p-2{ - padding: 0.5rem; -} - -.p-3{ - padding: 0.75rem; -} - -.p-4{ - padding: 1rem; -} - -.p-5{ - padding: 1.25rem; -} - -.px-1{ - padding-left: 0.25rem; - padding-right: 0.25rem; -} - -.px-2{ - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.px-6{ - padding-left: 1.5rem; - padding-right: 1.5rem; -} - -.py-2{ - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} - -.py-3{ - padding-top: 0.75rem; - padding-bottom: 0.75rem; -} - -.pb-1{ - padding-bottom: 0.25rem; -} - -.pb-6{ - padding-bottom: 1.5rem; -} - -.pl-4{ - padding-left: 1rem; -} - -.pl-5{ - padding-left: 1.25rem; -} - -.pr-2{ - padding-right: 0.5rem; -} - -.pr-8{ - padding-right: 2rem; -} - -.pt-1{ - padding-top: 0.25rem; -} - -.pt-2{ - padding-top: 0.5rem; -} - -.pt-20{ - padding-top: 5rem; -} - -.text-center{ - text-align: center; -} - -.font-josh{ - font-family: Jost, sans; -} - -.font-serif{ - font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; -} - -.text-2xl{ - font-size: 1.5rem; - line-height: 2rem; -} - -.text-3xl{ - font-size: 1.875rem; - line-height: 2.25rem; -} - -.text-4xl{ - font-size: 2.25rem; - line-height: 2.5rem; -} - -.text-6xl{ - font-size: 3.75rem; - line-height: 1; -} - -.text-7xl{ - font-size: 4.5rem; - line-height: 1; -} - -.text-8xl{ - font-size: 6rem; - line-height: 1; -} - -.text-lg{ - font-size: 1.125rem; - line-height: 1.75rem; -} - -.text-sm{ - font-size: 0.875rem; - line-height: 1.25rem; -} - -.text-xl{ - font-size: 1.25rem; - line-height: 1.75rem; -} - -.text-xs{ - font-size: 0.75rem; - line-height: 1rem; -} - -.font-bold{ - font-weight: 700; -} - -.font-medium{ - font-weight: 500; -} - -.font-normal{ - font-weight: 400; -} - -.font-semibold{ - font-weight: 600; -} - -.tabular-nums{ - --tw-numeric-spacing: tabular-nums; - font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction); -} - -.leading-6{ - line-height: 1.5rem; -} - -.tracking-tight{ - letter-spacing: -0.025em; -} - -.tracking-tighter{ - letter-spacing: -0.05em; -} - -.tracking-wide{ - letter-spacing: 0.025em; -} - -.text-\[\#f3ead3\]{ - --tw-text-opacity: 1; - color: rgb(243 234 211 / var(--tw-text-opacity)); -} - -.text-cyan-500{ - --tw-text-opacity: 1; - color: rgb(6 182 212 / var(--tw-text-opacity)); -} - -.text-slate-500{ - --tw-text-opacity: 1; - color: rgb(100 116 139 / var(--tw-text-opacity)); -} - -.text-slate-900{ - --tw-text-opacity: 1; - color: rgb(15 23 42 / var(--tw-text-opacity)); -} - -.text-white{ - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.opacity-0{ - opacity: 0; -} - -.opacity-70{ - opacity: 0.7; -} - -.shadow{ - --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-lg{ - --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-md{ - --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-xl{ - --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.ring-1{ - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.ring-2{ - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.ring-inset{ - --tw-ring-inset: inset; -} - -.ring-cyan-500{ - --tw-ring-opacity: 1; - --tw-ring-color: rgb(6 182 212 / var(--tw-ring-opacity)); -} - -.ring-slate-500{ - --tw-ring-opacity: 1; - --tw-ring-color: rgb(100 116 139 / var(--tw-ring-opacity)); -} - -.ring-slate-900\/5{ - --tw-ring-color: rgb(15 23 42 / 0.05); -} - -.invert{ - --tw-invert: invert(100%); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.filter{ - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.backdrop-blur-sm{ - --tw-backdrop-blur: blur(4px); - -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); - backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); -} - -.backdrop-filter{ - -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); - backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); -} - -.transition{ - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.transition-all{ - transition-property: all; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.transition-transform{ - transition-property: transform; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.duration-200{ - transition-duration: 200ms; -} - -.duration-300{ - transition-duration: 300ms; -} - -.ease-in{ - transition-timing-function: cubic-bezier(0.4, 0, 1, 1); -} - -.ease-in-out{ - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -body{ +body, +html { + max-width: 100vw; overflow-x: hidden; - font-family: 'Raleway', sans-serif; -} - -input:focus{ - outline: none; -} - -.hover\:scale-110:hover{ - --tw-scale-x: 1.1; - --tw-scale-y: 1.1; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.hover\:scale-125:hover{ - --tw-scale-x: 1.25; - --tw-scale-y: 1.25; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.hover\:bg-\[\#5c5470\]:hover{ - --tw-bg-opacity: 1; - background-color: rgb(92 84 112 / var(--tw-bg-opacity)); -} - -.hover\:text-\[\#5c5470\]:hover{ - --tw-text-opacity: 1; - color: rgb(92 84 112 / var(--tw-text-opacity)); -} - -.hover\:shadow-inner:hover{ - --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); - --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.group:hover .group-hover\:translate-y-0{ - --tw-translate-y: 0px; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.group:hover .group-hover\:bg-opacity-60{ - --tw-bg-opacity: 0.6; -} - -.group:hover .group-hover\:opacity-100{ - opacity: 1; + scroll-behavior: smooth; } -@media (prefers-color-scheme: dark){ - .dark\:bg-cyan-400{ - --tw-bg-opacity: 1; - background-color: rgb(34 211 238 / var(--tw-bg-opacity)); - } - - .dark\:bg-slate-100{ - --tw-bg-opacity: 1; - background-color: rgb(241 245 249 / var(--tw-bg-opacity)); - } - - .dark\:bg-slate-500{ - --tw-bg-opacity: 1; - background-color: rgb(100 116 139 / var(--tw-bg-opacity)); - } - - .dark\:bg-slate-600{ - --tw-bg-opacity: 1; - background-color: rgb(71 85 105 / var(--tw-bg-opacity)); +/* Tablet Media Breakpoint */ +@media (max-width: 1023px) { + .text-8xl { + font-size: 3.5rem !important; + line-height: 1.1 !important; } - - .dark\:bg-slate-700{ - --tw-bg-opacity: 1; - background-color: rgb(51 65 85 / var(--tw-bg-opacity)); + .text-7xl { + font-size: 2.75rem !important; + line-height: 1.15 !important; } - - .dark\:text-slate-100{ - --tw-text-opacity: 1; - color: rgb(241 245 249 / var(--tw-text-opacity)); + .text-6xl { + font-size: 2.25rem !important; } - .dark\:text-slate-200{ - --tw-text-opacity: 1; - color: rgb(226 232 240 / var(--tw-text-opacity)); + + .m-10 { + margin: 1rem !important; } - - .dark\:text-slate-400{ - --tw-text-opacity: 1; - color: rgb(148 163 184 / var(--tw-text-opacity)); + .w-2\/3 { + width: 90% !important; } +} - .dark\:text-slate-50{ - --tw-text-opacity: 1; - color: rgb(248 250 252 / var(--tw-text-opacity)); - } +/* --- Mobile View Responsiveness Fix --- */ +@media (max-width: 639px) { - .dark\:text-slate-700{ - --tw-text-opacity: 1; - color: rgb(51 65 85 / var(--tw-text-opacity)); + body, + html { + width: 100% !important; + max-width: 100vw !important; + overflow-x: hidden !important; + -webkit-box-sizing: border-box; + box-sizing: border-box; } - .dark\:ring-0{ - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); + .w-full, + .w-10\/12, + .w-2\/3 { + width: 100% !important; + max-width: 100% !important; } - .dark\:ring-cyan-400{ - --tw-ring-opacity: 1; - --tw-ring-color: rgb(34 211 238 / var(--tw-ring-opacity)); + .grid { + grid-template-columns: repeat(1, minmax(0, 1fr)) !important; + gap: 1rem !important; } -} -@media (min-width: 640px){ - .sm\:block{ - display: block; + .h-\[800px\] { + height: auto !important; + min-height: 400px; } - .sm\:grid-cols-4{ - grid-template-columns: repeat(4, minmax(0, 1fr)); + .w-64 { + max-width: 100% !important; } - .sm\:space-y-8 > :not([hidden]) ~ :not([hidden]){ - --tw-space-y-reverse: 0; - margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(2rem * var(--tw-space-y-reverse)); + .ml-24, + .m-10 { + margin-left: auto !important; + margin-right: auto !important; + padding-left: 1rem !important; + padding-right: 1rem !important; } - .sm\:p-10{ - padding: 2.5rem; - } - .sm\:pb-8{ - padding-bottom: 2rem; + .absolute, + .fixed { + max-width: 100% !important; } -} -@media (min-width: 1024px){ - .lg\:hidden{ - display: none; + .right-\[1\.5rem\] { + right: 0.5rem !important; } - .lg\:w-2\/3{ - width: 66.666667%; - } - .lg\:space-y-6 > :not([hidden]) ~ :not([hidden]){ - --tw-space-y-reverse: 0; - margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); + .relative.z-10.w-full.max-w-4xl.mx-auto.flex.flex-col { + display: flex !important; + flex-direction: column !important; + align-items: center !important; + justify-content: center !important; + text-align: center !important; + width: 100% !important; + padding: 0 1.5rem !important; + box-sizing: border-box !important; } - .lg\:p-6{ - padding: 1.5rem; + .relative.z-10.w-full.max-w-4xl.mx-auto.flex.flex-col > * { + display: block !important; + width: 100% !important; + margin-left: 0 !important; + margin-right: 0 !important; + text-align: center !important; } -} -@media (min-width: 1280px){ - .xl\:block{ - display: block; + .text-4xl, + .sm\text-6xl { + font-size: 2rem !important; + line-height: 1.3 !important; } - - .xl\:space-y-8 > :not([hidden]) ~ :not([hidden]){ - --tw-space-y-reverse: 0; - margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(2rem * var(--tw-space-y-reverse)); + .text-lg, + .md\text-3xl { + font-size: 1.1rem !important; + line-height: 1.4 !important; } - .xl\:p-10{ - padding: 2.5rem; + ul.p-4.font-serif.text-xl.space-y-2 li.flex.items-center, + .py-3.pl-4.rounded.hover\:bg-\[\#5c5470\] { + display: flex !important; + flex-direction: row !important; + align-items: center !important; + justify-content: flex-start !important; + text-align: left !important; + width: 100% !important; } - .xl\:pb-8{ - padding-bottom: 2rem; + + ul.p-4.font-serif.text-xl.space-y-2 li svg, + ul.p-4.font-serif.text-xl.space-y-2 li i { + margin-right: 0.75rem !important; + display: inline-block !important; + flex-shrink: 0 !important; } }