::selection {
    color: black;
    background: white;
}

a{
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

body{
    /* margin-top: var(--navbar-height); Push content down below fixed navbar */
    -webkit-font-smoothing: antialiased; /* Smoother font rendering for Webkit browsers */
    -moz-osx-font-smoothing: grayscale; /* Smoother font rendering for Firefox/macOS */
    transition: background-color 0.3s, color 0.3s;
}

:root {
    --transition-speed-fast: 0.2s; /* For quick interactions like hamburger click */
    --transition-speed-normal: 0.3s; /* For standard hovers */
    --transition-speed-slow: 0.4s; /* For menu slide-in/out */

    /* Smoother Cubic-Bezier Functions (Google/Apple-like) */
    --ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1); /* Aggressive acceleration/deceleration */
    --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth deceleration */
    
    --navbar-background-1: white;
    --background-1: white;
    --background-2: whitesmoke;
    --background-3: black;
    --background-4: #f0f2f5;
    --background-5: #eaebf5;
    --card-background-1: white;
    --card-background-2: whitesmoke;
    --text-color-1: #050505;
    --text-color-2: #65676b;
    --text-color-3: white;
    --shadow-1: 0 2px 6px 0 rgba(136, 148, 171, 0.2), 0 24px 20px -24px rgba(71, 82, 107, 0.1);
    --shadow-2: 0 2px 10px rgba(0, 0, 0, 0.1);

    --button-background-1: #1877f2;
    --button-background-2: #e4e6eb;
    --button-background-3: #3d42df;
    --button-text-1: #ffffff;
    --button-text-2: #050505;
    --button-text-3: #ffffff;
    --hover-overlay: rgba(0, 0, 0, 0.05);
}

body.dark-mode {
    --navbar-background-1: #242526;
    --background-1: black;
    --background-2: black;
    --background-3: white;
    --background-4: #242526;
    --background-5: #18191a;
    --card-background-1: #242526; /* #3c3f56 */
    --card-background-2: #242526; /* #3c3f56 */
    --text-color-1: white;
    --text-color-2: #b0b3b8;
    --text-color-3: black;
    --shadow-1: 0px 0px 8px 0px #282b33;
    --shadow-2: 0 2px 8px rgba(0, 0, 0, 0.25);

    --button-background-1: #2d88ff;
    --button-background-2: #3a3b3c;
    --button-background-3: #6f74ff;
    --button-text-1: #ffffff;
    --button-text-2: #e4e6eb;
    --button-text-3: #ffffff;
    --hover-overlay: rgba(255, 255, 255, 0.08);
}

.max-width-1600 {
    /* width: 100%; */
    width: auto;
    max-width: 1600px;
    margin: auto;
}

.max-width-1650 {
    /* width: 100%; */
    width: auto;
    max-width: 1650px;
    margin: auto;
}