html {
    font-size: 1vw;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    background-color: whitesmoke;
}
*, *:before, *:after {
    box-sizing: inherit;
    /* border: 1px solid greenyellow; */
  }
body {
    margin: 0;
}
@font-face {
    font-family: wremena;
    src: url(../fonts/WremenaLight.woff);
  }
h1 {
    margin-block-start: .5rem;
    margin-block-end: .5rem;
}
h1 svg {
    height: 6.5rem;
    /* width: fit-content; */
}
.headertext {
    align-self: center;
}
h2 {
    font-family: wremena;
    font-variation-settings: "wght" 300;
    font-size: 1.3rem;
    margin-block-start: .2rem;
    margin-block-end: .2rem;
}
h2 svg {
    height: 3.5rem;
    width: fit-content;
    text-align: center;
}
.block-type-text p {
    font-family: wremena;
    font-size: 1.2rem;
    color: black;
    margin-block-start: 0;
    margin-block-end: 0;
    padding: .2rem;

    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
a:visited {
    color: blue;
}
[contenteditable]:hover { 
    /* border-radius: .4rem; */
    position: relative;
}
[contenteditable]:focus { 
    position: relative;
    /* color: blue; */
}
div[contenteditable=true] {
    background: rgba(0,0,0,0);
    resize: none; 
}
header {
    position: fixed;
    top: 0;
    left: 1rem;
    width: 98rem;
    height: 5rem;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 5rem 4rem;
    z-index: 999;
    row-gap: 0;
    column-gap: 1rem;
}
#header {
    transition: top 0.3s;
}
nav {
    grid-column-start: 2;
    position: relative;
}
select {
    width: 50rem;
}
/* select option [selected] {
    font-size: 2rem;
} */
.referenced-line {
    font-family: wremena;
    font-size: 1.2rem;
    color: black;
    margin-block-start: 0;
    margin-block-end: 0;
    padding: .4rem;
}
.block-type-markdown /* .reference-container */{
    position: fixed;
    background-color: white;
    color: blue;
    height: fit-content;
    width: 20rem;
    left: 1.5rem;
    bottom: 20rem;
    z-index: 9;
}
.block-type-markdown p /* .reference-content */ {
    font-family: wremena;
    font-size: 1.2rem;
    word-wrap: break-word;
    padding: 1rem;
    color: blue;
}
.backbtn {
    appearance: none;
    position: relative;
    border: none;
    background-color: transparent;
    cursor: pointer;
    top: 0.5rem;
    float: right;
    color: blue;
}
.about .block-type-markdown .backbtn {
    display: none;
}
.backbtn svg {
    width: 2.5rem;
}
.referenced-line {
    cursor: pointer;
    transition: color 0.5s ease, background-color 0.5s ease;
}
section:hover .referenced-line {
    background-color: rgba(0, 0, 255, 0.748);
    box-shadow: 3px 3px 8px 5px rgba(0, 0, 255, 0.554); 
    color: white;
}
main {
    top: 0; 
    width: 100rem;
}
.maincolumns {
    position: relative;
    display: flex;
}
section {
    position: -webkit-sticky;
    position: sticky;
    width: fit-content;
    padding-right: .25rem;
    padding-left: .25rem;
}
section.intro {
    position: relative;
    margin-block-start: 10rem;
    margin-right: .5rem;
    margin-left: .5rem;
}
.intro {
    position: sticky;
    width: fit-content;
    left: 0;
    width: 45rem;
}
.intro .block-type-quote ~ .block-type-quote {
    position: relative;
    left: 15rem;
}
.sectionheader svg {
    height: 3rem;
    width: fit-content;
    align-self: center;
}
.sectionheader {
    margin-block-start: 12rem;
}
blockquote {
    display: block;
    margin-block-start: .5rem;
    margin-block-end: .5rem;
    margin-inline-start: 0;
    margin-inline-end: 0;
    font-family: wremena;
    font-size: 1.2rem;
    text-indent: 5rem;
    padding-bottom: .5rem;
    padding-top: .5rem;
}
.commoning {
    top: 0;
    align-self: flex-start;
    transform-origin: top left;
}
.circulating {
    top: 0;
    align-self: flex-start;
}
.merging {
    top: 0;
    align-self: flex-start;
}
.sensing {
    top: 0;
    align-self: flex-start;
}
.archiving {
    top: 0;
    align-self: flex-start;
}
.about {
    /* bottom: 1.5rem; */
    margin-block-end: 1.5rem;
    position: relative;
    width: 80rem;
    padding-left: 1rem;
}
.about p {
    font-family: wremena;
    font-size: 1.2rem;
}
.legal {
    font-family: wremena;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.5s ease;
}
.about .block-type-markdown {
    position: relative;
    background-color: transparent;
    font-family: wremena;
    font-size: .9rem;
    width: 20rem;
    float: right;
    margin-block-end: 0;
    bottom: -1rem;
    top: -4rem;

}
.about .block-type-markdown p {
    color: black;
}
section:hover .legal {
    border: 1px solid black;
    border-radius: 50%;
    padding: 0 .5rem;
}
::selection {
    background-color: rgba(83, 83, 83, 0.875);
    color: white;
}
.mailto-link {
    font-family: arizona;
    font-variation-settings: "wght" 500;
    font-size: .9rem;
}
.read {
    align-self: center;
    transform-origin: top;
    top: -7rem;
    z-index: 10;
    transform: scale(1.7);
    background-color: whitesmoke;
    /* box-shadow: 0px 0px 10px white; */
}


@media screen and (max-width: 768px) {
    html {
        font-size: 4vw;
    }
    h1 {
        margin-block-start: 0;
        margin-block-end: 0;
    }
    h1 svg {
        height: auto;
        width: 95vw;
    }
    h2 img {
        height: 3rem;
        width: fit-content;
    }
    h2 {
        font-size: .8rem;
        margin-block-start: 0;
        margin-block-end: 0;
    }
    header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100vw;
        height: fit-content;
        left: 0;
        top: 0;
        padding: .5rem;
        background-color: whitesmoke;
        box-shadow: 3px 3px 8px 5px whitesmoke;
    }
    #header {
        transition: top 0.3s;
    }
    nav {
        width: 95vw;
    }
    select {
        width: 95vw;
    }
    .reference-content {
        word-wrap: break-word;
        padding: .5rem;
        color: blue;
    }
    .reference-content p {
        font-size: .8rem;
    }
    main {
        /* position: absolute;
        overflow: hidden; */
        width: 100vw;
        top: 10rem;
    }
    .maincolumns {
        position: relative;
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
    }
    section {
        position: absolute;
        /* width: 100vw; */
        padding-right: .5rem;
        padding-left: .5rem;
        /* overflow: hidden; */
    }
    .sectionheader {
        position: absolute;
        cursor: pointer;
        /* margin-block-start: 2rem; */
        margin-block-start: 0;
    }
    .sectioncontent {
        position: relative;
        max-height: 7rem;
        overflow: hidden;
        transition: max-height 1s ease-in-out;
        top: 2rem;
    }
    section.intro {
        position: relative;
        margin-block-start: 11rem;
        padding-right: .5rem;
        padding-left: .5rem;
    }
    .intro {
        width: 90vw;
        top: 0;
        position: relative;
    }
    .intro .block-type-quote ~ .block-type-quote {
        left: 1rem;
    }
    .intro .block-type-text p {
        font-size: .8rem;
    }
    .intro .block-type-quote blockquote {
        font-size: .8rem;
    }
    .intro code {
        font-size: .8rem;
    }
    /* .overflow {
        overflow: scroll;
    } */
    .commoning {
        position: relative;
        height: fit-content;
        background-color: whitesmoke;
        box-shadow: 3px 3px 8px 15px whitesmoke;
    }
    .circulating {
        position: relative;
        height: fit-content;
        margin-top: -1rem;
        background-color: whitesmoke;
        box-shadow: 3px 3px 8px 15px whitesmoke;
    }
    .merging {
        position: relative;
        height: fit-content;
        margin-top: -1rem;
        background-color: whitesmoke;
        box-shadow: 3px 3px 8px 15px whitesmoke;
    }
    .sensing {
        position: relative;
        height: fit-content;
        /* top: -352rem; */
        margin-top: -1rem;
        background-color: whitesmoke;
        box-shadow: 3px 3px 8px 15px whitesmoke;
    }
    .archiving {
        position: relative;
        height: fit-content;
        /* top: -454rem; */
        margin-top: -1rem;
        background-color: whitesmoke;
        box-shadow: 3px 3px 8px 15px whitesmoke;
    }
    .about {
        width: 95vw;
        margin-top: 0;
        background-color: whitesmoke;
        box-shadow: 3px 3px 8px 5px whitesmoke;
    }
    .about p {
        font-size: .8rem;
        padding-top: .5rem;
    }
    .stickybottom {
        position: fixed;
        bottom: 1rem;
        top: unset;
        background-color: whitesmoke;
        box-shadow: 3px 3px 8px 15px whitesmoke;
        width: 100%;
    }
    .sectionheader.stickytop {
        position: sticky !important;
        position: -webkit-sticky;
        top: 2rem;
        background-color: whitesmoke;
        box-shadow: 3px 3px 8px 15px whitesmoke;
        width: 100%;
        z-index: 9999;
    }
    .block-type-text p {
        margin-block-start: 1rem;
    }
    .about .block-type-markdown {
        top: 0;
        z-index: -1;
    }
    .block-type-markdown /* .reference-container */{
        position: fixed;
        background-color: white;
        color: blue;
        height: fit-content;
        width: 20rem;
        left: 1.5rem;
        bottom: 10rem;
        z-index: 9;
    }
}