
:root
{
    --max-page-width: 1300px;

    --side-margins: 35px;
    --body-content-side-margins: var(--side-margins);

    --fancy-cost-background: white;
}

body
{
    margin: 0;
    padding: 0;
    border: 0;
    overflow-x: hidden;
}

*
{
    font-family: "aktiv-grotesk-hebrew", sans-serif;
}

a
{
    color: unset;
    text-decoration: unset;
}

.max-width-or-margins
{
    max-width: calc(min(var(--max-page-width), 100%) - var(--side-margins) * 2);
}

.antialiased
{
  -webkit-font-smoothing: antialiased;    /* Safari, Chrome, Edge (macOS) */
  -moz-osx-font-smoothing: grayscale;       /* Firefox (macOS) */
}

.body-content
{
    overflow-x: visible;
    position: relative;

    width: calc(min(var(--max-page-width), 100%) - var(--body-content-side-margins) * 2);
    max-width: calc(var(--max-page-width) - var(--body-content-side-margins) * 2);
    margin: calc(var(--nav-bar-height) + var(--body-content-side-margins)) auto 0 auto;
}

.navigation-hover-effect
{
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.listing-cost-fancy-font
{
    font-family: var(--nav-link-font-family);

    /* Silvery shine effect
    color: transparent;
    text-shadow: white 0px 0px 10px, black 0px 0px 1px;
    */

    /*-webkit-text-stroke: min(1px, .1vw) var(--fancy-cost-background);*/
        color: rgb(120,120,120);
}

.transition-phase
{
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.2s ease-in-out;
}

.transition-phase.active
{
    opacity: 1;
    pointer-events: all;

    transition: opacity 0.2s ease-in;
}

@supports not (-webkit-text-stroke: 0 white)
{
    .listing-cost-fancy-font
    {
        color: rgb(120,120,120);
    }
}

@media screen and (max-width: 800px)
{
    *
    {
        --body-content-side-margins: min(30px, max(25px, 6vw));
    }

    .body-content
    {
        width: 100vw;
    }

    .body-content > div > *
    {
        margin-left: var(--body-content-side-margins);
        margin-right: var(--body-content-side-margins);
    }
}

@media screen and (max-width: 1000px)
{ 
    .desktop-only
    { display: none !important; }

    .listing-cost-fancy-font
    {
        -webkit-text-stroke: min(3px, .25vw) white;
    }
}

@media screen and (min-width: 1000px)
{ 
    .mobile-only
    { display: none !important; }
}

@media screen and (min-width: 800px)
{
    .navigation-hover-effect
    {
        cursor: pointer;
        transition: all 0.1s ease-out;
    }

    .navigation-hover-effect:hover:not(.selected)
    {
        transform: scaleY(1.05) scaleX(1.015) translateY(.0075vh);
        transition: all 0.075s ease-out;
    }
}

