
*,
*:after,
*:before {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

body {
    color: var(--font, #424242);
    font-family: Roboto, 'Helvetica', 'Arial', sans-serif;
    font-size: 14px; 
    line-height: 1.5;
    font-weight: 300;
}

pre, code{
  letter-spacing: .0em;
}

button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
    border-radius:2px;
    border: none;
    background: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    font-family: inherit;
    font-weight: 200;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    outline: none;
    padding: 0;
    margin: 0;
    color: var(--font, #424242);
}
button:active {
    transform: translateY(0.8px);
}

button:focus,
input[type='button']:focus,
input[type='reset']:focus,
input[type='submit']:focus{
    outline: 0;
}

button:hover,
input[type='button']:hover,
input[type='reset']:hover,
input[type='submit']:hover {
    outline: 0;
    transition: all, 0.2s;
}

input[type='color'],
input[type='date'],
input[type='datetime'],
input[type='datetime-local'],
input[type='email'],
input[type='month'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='url'],
input[type='week'],
input:not([type]),
textarea,
select {
    transition:all, 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: .1rem solid var(--grey-darken, #d1d1d1);
    border-radius: .4rem;
    box-shadow: none;
    box-sizing: border-box;
    height: 38px;
    padding: 6px 10px;
    width: 100%;
    color: var(--font, #424242);
    background: var(--bg-darken, #fff);
}

input[type='color']:focus,
input[type='date']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input[type='email']:focus,
input[type='month']:focus,
input[type='number']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='tel']:focus,
input[type='text']:focus,
input[type='url']:focus,
input[type='week']:focus,
input:not([type]):focus,
textarea:focus,
select:focus {
  border-color: var(--primary-lighten);
  outline: 0;
}

label,
legend {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

fieldset {
  border-width: 0;
  padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
    cursor:pointer;
}


dl,
ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


ol {
    list-style: decimal inside;
}

ul {
    list-style-type:none;
}

table {
    text-align: left;
    width: 100%;
    border-collapse:separate;
    border-spacing:0;
}


b,
strong {
    font-weight: bold;
}

p {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    letter-spacing: -.1rem;
    margin-bottom: 2.0rem;
    margin-top: 0;
}

h1 {
    font-size: 4.6rem;
    line-height: 1.2;
}

h2 {
    font-size: 3.6rem;
    line-height: 1.25;
}

h3 {
    font-size: 2.8rem;
    line-height: 1.3;
}

h4 {
    font-size: 2.2rem;
    letter-spacing: -.08rem;
    line-height: 1.35;
}

h5 {
    font-size: 1.8rem;
    letter-spacing: -.05rem;
    line-height: 1.5;
}

h6 {
    font-size: 1.6rem;
    letter-spacing: 0;
    line-height: 1.4;
}

img {
    max-width: 100%;
}

i.material-icons, i.micon {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
i.micon.s16 { font-size: 16px; }
i.micon.s20 { font-size: 20px; }
i.micon.s24 { font-size: 24px; }
i.micon.s28 { font-size: 28px; }
i.micon.s32 { font-size: 32px; }

.z-depth-1 {-webkit-box-shadow: 0 2px 2px 0 rgba(189,189,189, 0.14), 0 3px 1px -2px rgba(189,189,189, 0.12), 0 1px 5px 0 rgba(189,189,189, 0.2);box-shadow: 0 2px 2px 0 rgba(189,189,189, 0.14), 0 3px 1px -2px rgba(189,189,189, 0.12), 0 1px 5px 0 rgba(189,189,189, 0.2);}
.z-depth-1-half {-webkit-box-shadow: 0 3px 3px 0 rgba(189,189,189, 0.14), 0 1px 7px 0 rgba(189,189,189, 0.12), 0 3px 1px -1px rgba(189,189,189, 0.2);box-shadow: 0 3px 3px 0 rgba(189,189,189, 0.14), 0 1px 7px 0 rgba(189,189,189, 0.12), 0 3px 1px -1px rgba(189,189,189, 0.2);}
.z-depth-2 {-webkit-box-shadow: 0 4px 5px 0 rgba(189,189,189, 0.14), 0 1px 10px 0 rgba(189,189,189, 0.12), 0 2px 4px -1px rgba(189,189,189, 0.3);box-shadow: 0 4px 5px 0 rgba(189,189,189, 0.14), 0 1px 10px 0 rgba(189,189,189, 0.12), 0 2px 4px -1px rgba(189,189,189, 0.3);}
.z-depth-3 {-webkit-box-shadow: 0 8px 17px 2px rgba(189,189,189, 0.14), 0 3px 14px 2px rgba(189,189,189, 0.12), 0 5px 5px -3px rgba(189,189,189, 0.2);box-shadow: 0 8px 17px 2px rgba(189,189,189, 0.14), 0 3px 14px 2px rgba(189,189,189, 0.12), 0 5px 5px -3px rgba(189,189,189, 0.2);}
.z-depth-4 {-webkit-box-shadow: 0 16px 24px 2px rgba(189,189,189, 0.14), 0 6px 30px 5px rgba(189,189,189, 0.12), 0 8px 10px -7px rgba(189,189,189, 0.2);box-shadow: 0 16px 24px 2px rgba(189,189,189, 0.14), 0 6px 30px 5px rgba(189,189,189, 0.12), 0 8px 10px -7px rgba(189,189,189, 0.2);}
.z-depth-5 {-webkit-box-shadow: 0 24px 38px 3px rgba(189,189,189, 0.14), 0 9px 46px 8px rgba(189,189,189, 0.12), 0 11px 15px -7px rgba(189,189,189, 0.2);box-shadow: 0 24px 38px 3px rgba(189,189,189, 0.14), 0 9px 46px 8px rgba(189,189,189, 0.12), 0 11px 15px -7px rgba(189,189,189, 0.2);}


[data-theme="dark"] .z-depth-1,
.dark-theme .z-depth-1 {
    box-shadow: 0 2px 2px 0 rgba(28, 28, 28, 0.74), 
                0 3px 1px -2px rgba(28, 28, 28, 0.72),
                0 1px 5px 0 rgba(28, 28, 28, 0.90);
}
[data-theme="dark"] .z-depth-1-half,
.dark-theme .z-depth-1-half {
    box-shadow: 0 3px 3px 0 rgba(28, 28, 28, 0.14), 
                0 1px 7px 0 rgba(28, 28, 28, 0.12), 
                0 3px 1px -1px rgba(28, 28, 28, 0.2);}

[data-theme="dark"] .z-depth-2,
.dark-theme .z-depth-2 {
    box-shadow: 0 4px 5px 0 rgba(28, 28, 28, 0.74), 
                0 1px 10px 0 rgba(28, 28, 28, 0.72),
                0 2px 4px -1px rgba(28, 28, 28, 0.90);
}
[data-theme="dark"] .z-depth-3,
.dark-theme .z-depth-3 {
    box-shadow: 0 8px 17px 2px rgba(28, 28, 28, 0.74), 
                0 3px 14px 2px rgba(28, 28, 28, 0.72),
                0 5px 5px -3px rgba(28, 28, 28, 0.90);
}
[data-theme="dark"] .z-depth-4,
.dark-theme .z-depth-4 {
    box-shadow: 0 16px 24px 2px rgba(28, 28, 28, 0.74), 
                0 6px 30px 5px rgba(28, 28, 28, 0.72),
                0 8px 10px -7px rgba(28, 28, 28, 0.90);
}
[data-theme="dark"] .z-depth-5,
.dark-theme .z-depth-5 {
    box-shadow: 0 24px 38px 3px rgba(28, 28, 28, 0.74), 
                0 9px 46px 8px rgba(28, 28, 28, 0.72),
                0 11px 15px -7px rgba(28, 28, 28, 0.90);
}


.tooltip{position:relative;}

.alt-font{
  font-family:-apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  letter-spacing: .01em;
}

.flex{
  display: flex; 
  justify-content: flex-start; 
  align-items: center;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
}

#svelte-inspector-toggle{
    z-index:999999 !important;
}

:root {
    --grey: #e0e0e0;
    --grey-darken: #d1d1d1;
    --grey-lighten: #eee;
    --grey-lighten-2: #f5f5f5;
    --grey-lighten-3: #fafafa;
    --bg: #fff;
    --bg-darken: #fff;
    --font: #424242;
    --font-grey: #757575;
    --bg-gradient: linear-gradient(180deg, #ede8ef 0%, #fffeff 40%, #fff 100%);
    --bg-code: #f5f7ff;
    --bg-opac: rgba(255, 255, 255, 0.8);
}
.thin-scrollbar::-webkit-scrollbar, 
pre::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.thin-scrollbar::-webkit-scrollbar-track-piece:start, 
pre::-webkit-scrollbar {
    top: 40px;
}

.thin-scrollbar::-webkit-scrollbar-track, 
pre::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 8px;
}
.thin-scrollbar::-webkit-scrollbar-thumb, 
pre::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 8px;
}
.thin-scrollbar::-webkit-scrollbar-thumb:hover, 
pre::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}
.thin-scrollbar::-webkit-scrollbar-corner {
    display: none;
}

[data-theme="dark"], 
.dark-theme {
    --grey: #444444;
    --grey-darken: #444;
    --grey-lighten: #333;
    --grey-lighten-2: #181818;
    --grey-lighten-3: #151515;
    --bg: #222729;
    --bg-darken: #212121;
    --font: #eee;
    --font-grey: #bdbdbd;

    --bg-code: #212121;
    --bg-gradient: linear-gradient(4deg, #345052 0%, #1b1e20 100%);
    --bg-opac: rgba(33, 33, 33, 0.85);
}
[data-theme="dark"] .thin-scrollbar::-webkit-scrollbar-track, 
[data-theme="dark"] pre::-webkit-scrollbar-track, 
.dark-theme .thin-scrollbar::-webkit-scrollbar-track {
    background: #212121;
    border-radius: 8px;
}
[data-theme="dark"] .thin-scrollbar::-webkit-scrollbar-thumb, 
[data-theme="dark"] pre::-webkit-scrollbar-thumb,
.dark-theme .thin-scrollbar::-webkit-scrollbar-thumb {
    background: #424242;
    border-radius: 8px;
}
[data-theme="dark"] .thin-scrollbar::-webkit-scrollbar-thumb:hover, 
[data-theme="dark"] pre::-webkit-scrollbar-thumb:hover,
.dark-theme .thin-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #333;
    transition: background, 0.2s;
}

body {
    background: var(--bg);
}