html {
    --navbar-height: 5rem;
    --navbar-sm-height: 3.75rem;
}

/**
 See @page-script.js 
*/

#scroll-down {
    position: absolute;
    top: 60vh;
}

#scroll-up {
    position: absolute;
    top: 0;
}


/* when we scroll down a little bit, navbar becomes fixed (+compact) and appears from top */

@keyframes navbarAppearIn {
    0% { transform: translateY(-100%); }

    100% { transform: none; }
}


/* if our ace.css is compiled using sticky: true, then we should make it position: fixed again to fix a few glitches */

.navbar-fixed {
    animation: none;
    position: relative;
    transition: none;
}

.navbar-compact { height: 5rem; }

.navbar-fixed .navbar-inner {
    position: fixed;
    top: 0;
}

.navbar-compact .navbar-inner {
    animation: navbarAppearIn 300ms;
    height: 4rem;
}

@media (prefers-reduced-motion: reduce) {
    .navbar .navbar-inner {
        animation: none !important;
        transition: none !important;
    }
}



#navbar-dark.navbar-compact .navbar-inner {
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.125);
}


/* the shadow for the 3 feature items ... speed, flexibility, etc */

.shadow-1 { box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1); }


/* the triangle in light/white version */

.shape-triangle {
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-style: solid;
    border-top-color: transparent !important;
    border-width: 0 12px 20px 12px;
    height: 0;
    width: 0;
}