:root{
    --base: 11px;
    --text: rgb(0, 0, 0);
    --bg: #d4d4d4bc;
    --dg: #a9a9a982;
    --vis: #e0e0e0;
    --borad: .1em;
    --font: 2rem;
    --blue: #0000ff;
}

*::-webkit-scrollbar{
    width: 0 !important;
    display: none;
  }
  
*::-webkit-scrollbar {
    -webkit-appearance: none;
}
  
* {
    scrollbar-width: none;
    overflow:
    -moz-scrollbars-none;
    -ms-overflow-style: none;

    /* text-rendering: optimizeLegibility; */
    /* -webkit-font-smoothing: antialiased; */
    /* -moz-osx-font-smoothing: grayscale; */
}

html{
    background-color: var(--bg);
    cursor: grab;
    box-sizing: border-box;
}


body{
    
    top: 0;
    padding: 0 auto;
    margin: 0px;
    z-index: -1;
    /* background-color: var(--bg); */
    color: var(--text);
    font: var(--font) Arial;
    line-height: calc(var(--font) * 1.25 );
    letter-spacing: calc(var(--font) * .01);
    

}

main{
    /* display: block; */
    min-height: 100vh;
    margin-left: auto;
    height: fit-content;
    padding-left: auto;
    padding-right: auto;
    margin-bottom: 0px;
    pointer-events: auto;

    /* background-color: green; */
  }

  
.wrapper{
    padding: 2em;
    padding-top: 35vh;
    /* background-color: orange; */
    display: block;
    padding-left: auto;
    padding-right: auto;
    max-width: fit-content;
}

  
  .bg{
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: scroll;
    overflow-y: hidden;
    pointer-events: auto;
  }
  
  

.bg p{
    white-space: nowrap;

    margin: 0px;
    padding: 0px;
    /* display: inline-block; */
}

.bg img{
    margin: 0px;
    padding: 0px;
    user-select: none;
}




/* -------------------- text */

p, ul, ol, h2, h3{
    max-width: calc( var(--font) * 45);
    margin-top: 33vh;
}

p, li, a {
    /* text-shadow: 1px 1px 1px var(--bg); */
    /* text-shadow: 
        2px 0 1px var(--bg), 
        -2px 0 1px  var(--bg), 
        0 2px 1px  var(--bg), 
        0 -2px 1px  var(--bg),
        1px 1px 1px  var(--bg), 
        -1px -1px 1px  var(--bg), 
        1px -1px 1px  var(--bg), 
        -1px 1px 1px  var(--bg); */
    -webkit-text-stroke: 5px var(--bg);
    paint-order: stroke fill;
}


ul{
    list-style: none;
}

a{
    color: blue;
    /* -webkit-text-stroke-width: 10px; */
    /* -webkit-text-stroke-color: var(--blue); */
    paint-order: stroke fill;
    /* text-underline-position: under; */
    text-decoration: none;

}

a:hover{
    text-decoration: underline;
    /* text-underline-position: initial; */
    text-decoration-color: var(--blue);
}

a:active{
    color: rgb(8, 0, 244);
    
}

li{
    padding-left: .2em;
}

h1{
    position: fixed;
    top: calc(var(--base) * 4);
    left: 50%;
    transform: translateX(-50%);

    font-weight: normal;

    font-size: var(--font);
    color: rgb(0, 0, 0);
    text-align: center;
    /* text-transform: capitalize; */
    z-index: 2;
}

#alias{
    /* mix-blend-mode: hue; */
    z-index: 1;
    -webkit-text-stroke-color: rgb(255, 255, 255);
}

h2, h3, h4{
    font-weight: normal;
    font-size: var(--font);
    color: var(--bg);
    -webkit-text-stroke-color: rgb(85, 85, 85);
    -webkit-text-stroke-width: 10px;
    paint-order: stroke fill;
    padding-left: calc(var(--font) * 3);


}

h1 span{
    paint-order: stroke fill;
}


blockquote{
    /* border-left: 1px solid var(--text); */
    margin-left: 0px;
    padding-left: calc(var(--font) * 2);
    border-left: 3px solid var(--bg);
}

mark{
    /* background-color: initial; */
    -webkit-text-stroke-width: 0px;
    /* -webkit-text-stroke-color: #eeff00; */
}

s{
    text-decoration: none;
    opacity: .3;
    mix-blend-mode: difference;
    color: white;
    -webkit-text-stroke-width: 0px;

}

em{
    /* font-style: normal; */
    /* -webkit-text-stroke-width: 0px; */
    /* -webkit-text-stroke-color: #ff6b26; */
}

#allpages{
    display: flex;
    list-style-type: none;
    gap: 1em;
    margin: 0px;
}

#allpages li{
    word-break: keep-all;
}

::marker{
    margin-right: 1em;
    padding: 1em;
}




/* -------------------- pages */

img{
    /* position: fixed; */
    /* left: 0; */
    /* top: 0; */
    max-height: 80vh;
    max-width: 1200px;
    /* z-index: -3; */
    }

.bg img{
    max-height: 100vh;
    max-width: initial;
}


/* -------------------- index */

#index footer{
    display: none;
}

#utopia{
    --bg: olive;
}

#newton{
    position: fixed;
    top: 0px;
    right: 0px;
}