@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400&display=swap');
/*********************/
:root {
  --body-bg-grad-01: rgba(0,51,51,1);
  --body-bg-grad-02: rgba(0,102,102,1);
  --body-bg-grad-03: rgba(0,153,153,1);
  
  --h1-fg: #a00;
  --progression-fg: #01a368;
  --alt-fg: #01a368;
  --main-result-fg: #066;
  --main-result-bg: #fff;
  --a-btn-bg: #055;
  --a-btn-fg: #fff;
  --key-fg: #327da0;
  --chord-numerals-fg: #a85307;
  --key-list-fg: #01a368;
  --counter-fg: #01a368;
  --hr-both: #055;
  --data-fg: #fff;
  --data-title-bg: #0a6f75;
  --data-tooltip-bg: #29ab87;
  --inv0-fg:#088;
  --inv1-fg:#099;
  --inv2-fg:#0aa;
  --inv3-fg:#0bb;
  --min-inv0-fg:#804;
  --min-inv1-fg:#905;
  --min-inv2-fg:#a06;
  --min-inv3-fg:#b07;
  --inv0-ts:#088;
  --inv1-ts:#088;
  --inv2-ts:#088;
  --inv3-ts:#088;
  --min-inv0-ts:#602;
  --min-inv1-ts:#804;
  --min-inv2-ts:#905;
  --min-inv3-ts:#a06;
  --main-width:700px;
  --wrap-width:670px;
  --inversions-width:620px;
  --main-ol-width:540px;
  --main-ol-margin-left:40px;
  --main-font-size:1.75rem;
  --progression-font-size:1.75rem;
  --inv-font-size: 1.25rem;
  --gradient-text-hex1:#a85307;
  --gradient-text-hex2:#327da0
}
/*********************/
* {
  margin: 0;
  padding: 0;
}

body {
  margin: 10px;
  height:100vh;
  height:100%;
  background: rgb(0,100,100);
  background: linear-gradient(180deg, var(--body-bg-grad-01) 0%, var(--body-bg-grad-02) 25%, var(--body-bg-grad-03) 50%, var(--body-bg-grad-02) 75%, var(--body-bg-grad-01) 100%);
}

h1 {
  font-size: 1.5rem;
  margin: 1rem;
  /* color: #a00; */
  text-align: center;
  text-shadow: 0.05rem 0.05rem 0.05rem #ccc, 0.055rem 0.055rem 0.055rem #999,
    0.06rem 0.06rem 0.06rem #333;
}

main {
  font-family: sans-serif;
  width: var(--main-width);
  margin: 0 auto;
  font-size: var(--main-font-size);
  font-weight: bold;
  border-radius: 0.5rem;
  border: 1px solid #aaa;
  padding: 0.5rem;
  text-align: left;
  /* background: #fff; */
  /* color: #444; */
}

main ol {
  width: var(--main-ol-width);
  flex-wrap: wrap;
  margin-left: var(--main-ol-margin-left);
}

.wrap {
  font-family: 'Roboto Slab','Bree Serif', monospace;
  display: flex;
  width: var(--wrap-width);
  height: auto;
  box-sizing: border-box;
  margin: 0 auto;
  flex-wrap: wrap;
}

.box {
  display: flex;
  max-width: 105px;
  padding: 2px;
  height: 30px;
  margin-right: 1px;
  justify-content: center;
  align-items: center;
}

.inversion {
  display: flex;
  width: 10px;
  padding: 2px;
  height: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-between;
}

.top,
.bottom {
  display: flex;
  width: 100%;
  height: 49%;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
}

.chordname {
  font-size: 1.5rem;
}

.none {
  display: none;
}

/******* INVERSIONS TABLES ******/
#inversions {
  font-family: sans-serif;
  width: var(--inversions-width);
  margin: 0 auto;
  text-align: center;
}

.expand {
  background: #fff;
}

.three-note {
  font-size: 90%;
}

h3 {
  text-align: center;
  width: 450px;
}

.spacer {
  height: 15px;
}

ol {
  margin-left: 2rem;
  font-weight: normal;
}

li {
  line-height: 1.05;
  font-size: 1.05rem;
  font-weight: 500;
  margin-left: 0.15rem;
  padding: 0.5rem;
  color: #222;
  text-shadow: 0.05rem 0.05rem 0.05rem #ccc, 0.055rem 0.055rem 0.055rem #999,
    0.06rem 0.06rem 0.06rem #333;
}

#invkey {
  font-family: sans-serif;
  width: 200px;
  margin: 2rem auto;
  text-align: left;
  font-size: 1.2rem;
  font-weight: normal;
  border-radius: 0.5rem;
  border: 1px solid #aaa;
  padding: 0.5rem 0.5rem 0.5rem 2.5rem;
  color: #555;
}

.progression {
  font-size: var(--progression-font-size);
  color: #01a368;
}

strong.progression {
  font-size: 1.5rem;
  color: #01a368;
}

#result {
  color: #066;
  margin: 2rem;
  font-size: 1.75rem;
}

hr {
  height: 0.5rem;
  background: #055;
  color: #055;
  cursor: pointer;
  width: 90%;
  text-align: center;
  display: none;
}

.alt {
  color: #01a368;
  font-size: 1.5rem;
  text-shadow: 0.05rem 0.05rem 0.05rem #ccc, 0.055rem 0.055rem 0.055rem #999,
    0.06rem 0.06rem 0.06rem #333;
}

a.btn {
  border-radius: 0.5rem;
  border: 1px solid #aaa;
  background: #055;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem;
  font-size: 1.5rem;
  margin: 0.5rem 0.25rem;
  line-height:1.75;
}

nav {
  width: 80%;
  text-align: center;
  margin: 0 auto;
}

.key {
  color: #327da0;
  width: 550px;
  /* text-align: center; */
  margin-left: 2rem;
}

.key strong {
  color: #01a368;
}

article {
  font-weight: normal;
  font-size: 1.5rem;
  line-height:1.25;
}

.btn.active {
  background: #ccc;
  color: #077;
}

.btn:hover {
  background: #eef0f3;
  color: #055;
  transition:0.75s;
}

.spacer {
  height: 12px;
}

.bigger {
  font-size:120%;
  font-weight: 800;
  color:#088;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  text-shadow: 0.05rem 0.05rem 0.05rem #ccc, 0.055rem 0.055rem 0.055rem #999, 0.06rem 0.06rem 0.06rem #333;
}

.min-bigger {
  font-size:120%;
  font-weight: 800;
  color:#804;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  text-shadow: 0.05rem 0.05rem 0.05rem #ccc, 0.055rem 0.055rem 0.055rem #999, 0.06rem 0.06rem 0.06rem #333;
}

.min-scale {
  color: var(--min-inv0-fg);
}

.smaller {
  font-size: 1.2rem;
  vertical-align: top;
  color: #a85307;
  font-family: 'Roboto Slab','Bree Serif', monospace;
}

.small {
  font-size: 1.1rem;
  vertical-align: top;
  color: #bbb;
  font-family: 'Roboto Slab','Bree Serif', monospace;
}

.ctr {
  font-size: 1.1rem;
  color: #01a368;
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
  text-align: right;
  width: 50px;
  line-height:2.0;
  /* display:none;
     */
}

.scrunch {
  font-size: 70%;
  letter-spacing: -1px;
  vertical-align: middle;
  /* display:inline-block; */
}

.none {
  display: none;
}

.show {
  display: block;
}

.li_inline {
  display:flex;
  flex-direction:row; 
  text-align: center;
  justify-content: center;
  align-items: center;
}
.go2prog {
  text-decoration:none;
  display:inline-block;
  background: green;
  color:#fff;
  font-weight: bold;
  padding-bottom: 5px;
  border-radius:5px;
  width: 25px;
}


main {
  background: var(--main-result-bg);
}

li {
  color: #222;
}
#invkey {
  color: #555;
}

h1 {
  color: var(--h1-fg);
}

hr {
  background: var(--hr-both);
  color: var(--hr-both);
}
a.btn {
  background: var(--a-btn-bg);
  color: var(--a-btn-fg);
}

#result {
  color: var(--main-result-fg);
}
.key {
  color: var(--key-fg);
}
.progression {
  color: var(--progression-fg);
}
.alt {
  color: var(--key-list-fg);
}
.ctr {
  color: var(--counter-fg);
}
.smaller {
  color: var(--chord-numerals-fg);
  font-family: 'Roboto Slab','Bree Serif', monospace;
}

.small {
  color: #bbb;
  font-family: 'Roboto Slab','Bree Serif', monospace;
}


.inv0 {
  font-size: var(--inv-font-size);
  color: var(--inv0-fg);
  text-shadow:0.75px 0.75px 0.75px var(--inv0-ts);  
}
.inv1 {
  font-size: var(--inv-font-size);
  /* font-style:italic; */
  color: var(--inv1-fg);
  text-shadow:0.75px 0.75px 0.75px var(--inv1-ts);  
}
.inv2 {
  font-size: var(--inv-font-size);
  /* font-style:italic; */
  color: var(--inv2-fg);
  text-shadow:0.75px 0.75px 0.75px var(--inv2-ts);  
}
.inv3 {
  font-size: var(--inv-font-size);
  /* font-style:italic; */
  color: var(--inv3-fg);
  text-shadow:0.75px 0.75px 0.75px var(--inv3-ts);  
}

.min-inv0 {
  font-size: var(--inv-font-size);
  color: var(--min-inv0-fg);
  text-shadow:0.75px 0.75px 0.75px var(--min-inv0-ts);  
}
.min-inv1 {
  font-size: var(--inv-font-size);
  /* font-style:italic; */
  color: var(--min-inv1-fg);
  text-shadow:0.75px 0.75px 0.75px var(--min-inv1-ts);  
}
.min-inv2 {
  font-size: var(--inv-font-size);
  /* font-style:italic; */
  color: var(--min-inv2-fg);
  text-shadow:0.75px 0.75px 0.75px var(--min-inv2-ts);  
}
.min-inv3 {
  font-size: var(--inv-font-size);
  /* font-style:italic; */
  color: var(--min-inv3-fg);
  text-shadow:0.75px 0.75px 0.75px var(--min-inv3-ts);  
}

[data-title]:after {
  background-color: var(--data-title-bg);
  color: var(--data-fg);
}
[data-tooltip]:after {
  background-color: var(--data-tooltip-bg);
  color: var(--data-fg);
}

footer {
  bottom:30px;
}

section.progressions {
  font-family: sans-serif;
  font-size: 1.0rem;
  margin: 1rem;
  font-weight: normal;
  line-height:1.75;
}
header.progs {
  margin: 0.5rem;
  margin-left: 1.5rem;
  font-size: 1.2rem;
  font-weight: normal;
}
header.progs strong {
  font-size: 100%;
  color:#077;
}

header.progs .min-scale strong {
  font-size: 100%;
  color:#703;
}

.double-sharp {
  font-size:110%;
}

/*************/
/* use for any tag on your page */
[data-title]:hover:after {
  opacity: 1;
  transition: all 0.15s ease 0.75s;
  visibility: visible;
}

/* box for title text */
[data-title]:after {
  content: attr(data-title);
  /* position for title view box */
  position: absolute;
  top: -2.5em;
  left: 5%;
  z-index: 99999;
  visibility: hidden;
  font-family: sans-serif;
  /* optional */
  white-space: nowrap;
  /* stilization */
  background-color: #0a6f75;
  opacity: 0.7;
  color: #fff;
  font-size: 1.25rem;
  padding: 0.2rem;
  box-shadow: 1px 1px 3px #222222;
  opacity: 0;
  border: 1px solid #111111;
  border-radius: 0.5rem;
  font-weight: normal;
}

[data-title] {
  position: relative;
  cursor: alias;
}

/*****/
[data-tooltip]:hover:after {
  opacity: 1;
  transition: all 0.15s ease 0.75s;
  visibility: visible;
}

/* box for title text */
[data-tooltip]:after {
  content: attr(data-tooltip);
  /* position for title view box */
  position: absolute;
  top: -1.75em;
  left: 5%;
  z-index: 99999;
  visibility: hidden;
  font-family: sans-serif;
  /* optional */
  white-space: nowrap;
  /* stilization */
  background-color: #29ab87;
  opacity: 0.7;
  color: #fff;
  font-size: 1rem;
  /* padding: 2px 5px 3px 5px;
     padding: 2.5% 8% 3.5% 5%;
     */
  padding: 0.2rem;
  box-shadow: 1px 1px 3px #222222;
  opacity: 0;
  border: 0.5px solid #111111;
  border-radius: 0.5rem;
  cursor: alias;
}

[data-tooltip] {
  position: relative;
  cursor: pointer;
  cursor: help;
  cursor: alias;
}
/*********************/
/* 
.gradient-text {
  background-color: var(--gradient-text-hex1);
  background-image: linear-gradient(45deg, var(--gradient-text-hex1), var(--gradient-text-hex2));
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-text-fill-color: transparent;
} */