:root {
   --casl: 0;     /* 0 = Linear, 1 = Casual */
   --mono: 0;     /* 0 = Sans, 1 = Mono */
   --crsv: 0.5;   /* 0 = off, 0.5 = auto (cursive only when slanted), 1 = always */


   --stoh-og-light: #FAFAD0;
   --stoh-og-dark: #FFC800;
   --stoh-og-text: #F06400;
   --stoh-og-1-3: #FCEAA2;
   --stoh-og-1-4: #FCEEAD;
   --stoh-og-2-5: #FDE798;
   --stoh-og-midpoint: #FDE288;
   /* Rawen color    */
   --stoh-og-midpoint: oklch(0.99 0.1139 80.23);
/*  blue   */
   --stoh-og-midpoint: #aecdd7;
   --stoh-cur-bg: var(--stoh-og-midpoint);
   --stoh-highlight-color: #4e6a73;
}

* {
   font-variation-settings:
   "CASL" var(--casl),
   "MONO" var(--mono),
   "CRSV" var(--crsv);
}

/**
 * Change font settings like this:
 *
 *  h1   { font-weight: 900; --casl: 1; }
 *
 */

.stoh-recursive {
   font-family: "Recursive", serif;
   font-weight: 500;
}

.stoh-recursive strong {
   font-weight: 850;
}

.stoh-recursive h1 strong {
   font-weight: 1000;
}

.stoh-recursive h1 {
   font-family: "Recursive", serif;
   font-weight: 500;
/*    background-color: #FFFFFF; */
/*    background-color: alpha(from var(--stoh-og-midpoint) / 0.1 ); */
}

h2 {
   font-weight: 800;
}
.stoh-semib {
   font-weight: 800;
}

p {
   font-weight: 500;
   --casl: 0.5;
}

.stoh-shadow-under-text {
/* TODO. or maybe the text is visible just fine and it's OK*/
}


.stoh-body {
   background-color: var(--stoh-cur-bg);
}

.stoh-body main {
/*    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, var(--stoh-cur-bg) 5em, var(--stoh-cur-bg) 100%); */
   background-color: var(--stoh-cur-bg);
}

/** doesn't really work, there are no full width elements
body h2:nth-child(odd){
   --stoh-cur-bg: var(--stoh-og-dark);
}
*/

hr {
   border: 2px solid var(--stoh-og-text);
   /* Rawen color    */
   border: 2px solid oklch(0.99 0.1139 80.23);
   /* hue change */
   border: 2px solid #4e6a73;
   /* chroma change */
   border: 2px solid #e5871a;



   /* Favorites */
   border: 2px solid #f5e964;
   border: 2px solid #4e6a73;
}

.stoh-text-left {
   text-align: left;
}
.stoh-centered {
   text-align: center;
}

.stoh-table-with-borders tr, .stoh-table-with-borders td, .stoh-table-with-borders th, .stoh-table-with-borders {
   border: 1px solid var(--stoh-highlight-color);
   border-collapse: collapse;
}
/* otherwise it stacks */
.stoh-table-with-borders {
   font-size: 0.75em;
}

.stoh-table-with-borders td {
   padding: 0.4em;
}
.stoh-table-with-borders th {
   padding-left: 0.4em;
   padding-right: 0.4em;
}

.stoh-cover-dimming {
   --op: 0.6;
/*    background: linear-gradient(180deg, rgba(0, 0, 0, calc(var(--op) + 0.2 ) ) 0%, rgba(0, 0, 0, var(--op)) 80%, rgba(253, 226, 136, 0.1) 95%, rgba(253, 226, 136, 0.4) 100%); */
   background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1)  100%);
}

header:not(main header) {
   color: var(--stoh-cur-bg);
   font-weight: 500;
   background:
      linear-gradient(to bottom,
                     rgba(0, 0, 0, 0.8) 0%,
                     rgba(0, 0, 0, 0.3) 100%
      ),
      url("/img/feature.webp") center / cover no-repeat;
}

body main header h1 {
   color: black;
}

.stoh-list-lower-alpha {
   list-style-type: lower-alpha;
}
