* {
  color: white;
}

body {
  background: #2147ed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

header {
  background: #231AD4;
  margin: -1%;
  padding-bottom: 2%;
  padding-top: 15px;
}

h1 {
  color: white;
  font-size: 35px;
  margin: 0 0 15px 20px;
}

h2 {
  color: white;
  font-size: 25px;
  margin: 0 0 15px 20px;
}


main {
  padding: 100px 0 5% 0;
  margin: 0;
  height: 100%;
}

input,
button{
  color: black;
}

.qstn-mrk {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 16px;
  height: 16px;

  font-size: 10px;
  font-weight: 600;

  color: #555;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  
  cursor: help;
}

.qstn-mrk2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 14px;
  height: 14px;

  font-size: 10px;
  font-weight: 600;

  color: #555;
  background-color: #000;
  border: 1px solid #000;
  border-radius: 50%;

  margin: 0 0 2px 4px;
  
  cursor: help;
  color: white;
}

.tooltip {
  display: none;
  background: white;
  position: absolute;
  bottom: calc(100% + 8px); /* cleaner than 140% */
  left: 50%;
  transform: translateX(-50%); /* <-- key fix */
  text-align: center;
  color: black;
  font-size: 11px;
  padding: 8px 5px;
  width: 220px;
}

.tooltip2 {
  display: none;
  background: white;
  position: absolute;
  bottom: calc(100% + 8px); /* cleaner than 140% */
  left: 50%;
  transform: translateX(-50%); /* <-- key fix */
  text-align: center;
  color: black;
  font-size: 11px;
  padding: 8px 5px;
  width: 220px;
}

.var-used {
  color: black;
}

.val {
  color: black;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#vars-div {
  margin-left: auto;
  margin-right: 0;
  padding: 0 3%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto auto auto;
  grid-template-areas: "var-head . . ."
                       "lab1 lab2 lab3 lab4"
                       "x y alph t"
                       "lab5 lab6 lab7 lab8"
                       "beta gamm delt butn";
  grid-gap: 20px;
}

#canvas {
  margin-top: 50px;
  margin-left: 40px;
  margin-right: 40px;
  height: 40%;
}

#ln-chrt {
  width: 90%;
  height: 100%;
  background-color: white;
}


#var-heading { grid-area: var-head; }

#lab1 { grid-area: lab1; }
#lab2 { grid-area: lab2; }
#lab3 { grid-area: lab3; }
#lab4 { grid-area: lab4; }
#lab5 { grid-area: lab5; }
#lab6 { grid-area: lab6; }
#lab7 { grid-area: lab7; }

#x { grid-area: x; }
#y { grid-area: y; }
#Alpha { grid-area: alph; }
#t { grid-area: t; }
#Beta { grid-area: beta; }
#Gamma { grid-area: gamm; }
#Delta { grid-area: delt; }
#sim-butn { 
  grid-area: butn; 
  cursor: pointer;
}

#preset-vals-div {
  float: right;
  text-align: right;
  margin-bottom: 30px;
  margin-top: -80px;
}

#vars-used {
  display: none;
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 20px;
  background: white;
  color: black;
  padding-top: 20px;
  padding-bottom: 10px;
}

#vars-heading {
  color: black;
  font-size: 17px;
  margin-left: 4px;
}