@import url('https://static.ogram.one/fonts/montserrat/font-family.css');
@import url('https://static.ogram.one/fonts/objectivity/font-family.css');

:root {
    --blue: #4f80ff;
    --lightblue: #4f81ff40;
    
    --grey: #cccccc;
    --lightgrey: #e6e6e6;

    interpolate-size: allow-keywords;
}


/*
  General page rules.
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;

    color: inherit;
    font: inherit;
    text-decoration: none;

    -webkit-tap-highlight-color: transparent;

    scrollbar-color: #e6e6e6 var(--mix_color_achromatic_00);
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #fff;

    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

:focus-visible {
    outline: none;
}


/*
  General scrollbar.
*/
::-webkit-scrollbar {
    width: 15px;
    background: var(--mix_color_achromatic_00);
}

::-webkit-scrollbar-thumb {
    background: #f3f3f3;
    border-radius: 100vw;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6e6e6;
}


/* Main */
button {
    cursor: pointer;
    padding: 6px 30px;
    border-radius: 100vw;
    background-color: #fff;
    border: 1px solid #000;

    &:is(:hover, :focus-visible) {
        background-color: var(--lightgrey);
    }

    &:active {
        color: #fff;
        border-color: var(--blue);
        background-color: var(--blue);
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.41);
    }

    i {
        margin-right: 10px;
    }

    &[type~="circle"] {
        width: 33px;
        aspect-ratio: 1;
        padding-left: unset;
        padding-right: unset;

        i {
            margin: auto;
        }
    }

    &[type~="invert"] {
        color: #fff;
        border-color: #000;
        background-color: #000;

        &:is(:hover, :focus-visible, :active) {
            border-color: var(--blue);
            background-color: var(--blue);
        }
    }

    &[type~="ghost"] {
        border: none;
    }
}