/**
 * Browser UX CSS
 *
 * Custom Design Tokens are defined in `/src/styles/browserux.css`
 * Edit that file to customize colors, fonts, spacing, etc.
 */

@import "./browserux.css";

/**
 * Home
 */

@import "./home.css";

/**
 * Authentification
 */

@import "./auth.css";

/**
 * Global
 *
 * Remove the following code used to illustrate the `index.html`
 * template, and apply your own site styles!
 */

body {
    font-size: 1.8rem;
}

@media (max-width: 400px) {
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 2.4rem;
    }
}

.btn {
    background: transparent;
    border: 1px solid var(--bux-white);
    color: var(--bux-white);
    border-radius: 24px;
    display: inline-block;
    line-height: 48px;
    padding: 0 2.5rem;
    width: 100%;
}

.btn:hover {
    background: var(--bux-white);
    border: 1px solid var(--bux-white);
    color: var(--bux-color-primary);
    border-radius: 24px;
    display: inline-block;
    line-height: 48px;
    padding: 0 2.5rem;
    width: 100%;
}

/* Nav */

.nav {
    align-items: center;
    display: flex;
    font-size: 2rem;
    gap: 1rem;
    height: 5rem;
    justify-content: space-between;
    padding-inline: 2rem;
    visibility: hidden;
}

.nav.ready { visibility: visible; }

.nav a {
    color: var(--bux-page-color);
    text-decoration: none;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--bux-color-primary);
}

.nav a.active {
    color: var(--bux-color-primary);
    font-weight: bold;
}

.separator {
    opacity: 0.5;
    position: relative;
    top: -1px;
}

/* Main */

.box-center {
    align-items: center;
    animation: fade-in-up 0.3s ease-out forwards;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    justify-content: center;
    min-height: calc(100dvh - 5rem);
    padding: 2rem 2rem 5rem;
    text-align: center;
}

.box-center img {
    width: 300px; 
}

/* Web component BrowserUX Theme Switcher */

browserux-share-button {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
}


