:root
{
  --color-beige: #ebe7e0;
  --color-white: #f6f6f6;
  --color-red: #b85454;
  --color-light-red: #c18282;
  /*--color-dark-red: #491919;*/
  --color-dark-red: #842621;
  --color-blue: #3685d1;
  --color-grey: #676767;
}


/* Default color is for a BEIGE background */
html
{
  background: var(--color-beige);
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
}


body
{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
}


div, button, h1, h2, label, input
{
  color: var(--color-red);
  border-color: var(--color-red);
  font-family: system-ui;
  font-weight: bold;
  display: flex;
}




button
{
  font-size: 30px;
  border-style: solid;
  border-width: 6px;
  border-radius: 6px;
  padding: 6px 12px 6px 12px;
  background-color: transparent;
  text-align: center;
  justify-content: center;
  text-decoration: none;
}


button:hover
{
  color: var(--color-beige);
  background-color: var(--color-red);
  cursor: pointer;
}


.disabled
{
  opacity: 0.25;
  pointer-events: none;
}


.disabled > *
{
  pointer-events: none;
}



/* Color update for a RED background */

html.red-background
{
  background-color: var(--color-red);
}


html.red-background div, html.red-background button, html.red-background h1, html.red-background h2, html.red-background label
{
  color: var(--color-beige);
  border-color: var(--color-beige);
}


html.red-background button:hover
{
  color: var(--color-red);
  background-color: var(--color-beige);
}

.tooltip-top
{
  position: relative;
}
.tooltip-top:hover::before {
  background: var(--color-grey);
  color: var(--color-beige);
  opacity: 0.9;
  font-size: 10px;;
  border-radius: 6px;
  bottom: 100%;
  margin-bottom: 4px;
  content: attr(data-tooltip);
  display: flex;
  right: -200%;
  padding: 8px;
  position: absolute;
  width: max-content;
  max-width: 150px;
  z-index: 1;
}
