
:root {
  --background-dice-button-light: rgb(61, 61, 61); /* Light theme primary color */
  --background-dice-button-dark: rgb(204, 203, 203); /* Dark theme primary color */
  --largeNumber-dark: rgb(2, 146, 182);
  --largeNumber-light: #FF7477;
  --text-light: #FF7477;
  --text-dark:rgb(2, 146, 182);
  --inner-rollButton-light: white;
  --inner-rollButton-dark: #E9D78C;
}


[data-bs-theme="light"] {
  --bs-background-button: var(--background-dice-button-light);
  --largeNumber: var(--largeNumber-light);
  --text: var(--text-light);
  --inner-rollButton: var(--inner-rollButton-light);
}

[data-bs-theme="dark"] {
  --bs-background-button: var(--background-dice-button-dark);
  --largeNumber: var(--largeNumber-dark);
  --text: var(--text-dark);
  --inner-rollButton: var(--inner-rollButton-dark);
}

.orbitron {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

  
h1{
  font-family: 'orbitron';
  font-size: 4rem;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

h2{
font-family: 'orbitron';
font-size: 2rem;
margin-bottom: 0px;
padding-bottom: 20px;
display: flex;
justify-content: center;
white-space: normal;
}


.glow-1{
    --glow-color: red;
    --glow-background:rgba(255, 0, 0, 0.473);
}

.glow-2{
  --glow-color: yellow;
  --glow-background:rgba(255, 255, 0, 0.534);
}


.glow-3{
  --glow-color: rgb(76, 0, 255);
  --glow-background: rgba(76, 0, 255, 0.473);
}


.glow-4{
    --glow-color: green;
    --glow-background:rgba(0, 128, 0, 0.445);

}

.glowing-btn {
  width: 20vh;
  height: 20vh;
  padding-left: 0;
  padding-right: 0;
  border: none;
  border-radius: 0.95em;
  background-color:var(--glow-background);
  perspective: 0em;
}

/* That is the animation we need when the button is selected */
.glowing-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: -1;
  border-radius: 1em;
  background-color: var(--glow-color);
  box-shadow: 0 0 3em 0.2em var(--glow-color);
  transition: opacity 150ms linear;
}

.glow-active:after {
  opacity: 1;
}

.glowing-btn:active {
  background-color: white;
  border: 0.25em solid var(--glow-color); 
  transform: scale(0.9);
}

/* Let's start button */
#startSimonBtn {
  align-items: center;
  background-color: var(--text);
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  margin-bottom: 3%;
  cursor: pointer;
  display: flex;
  font-family: 'orbitron';
  font-size: 1 rem;
  height: 48px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#startSimonBtn:after {
  background-color: var(--bs-background-button);
  border-radius: 8px;
  content: "";
  display: block;
  height: 48px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(8px, 8px);
  transition: transform .2s ease-out;
  z-index: -1;
}

#startSimonBtn:hover:after {
  transform: translate(0, 0);
}

#startSimonBtn:active {
  background-color: var(--inner-rollButton);
  outline: 0;
}

#startSimonBtn:hover {
  outline: 0;
}

@keyframes flashBackground {
  0% { background-color: var(--bs-body-color); }
  50% { background-color: var(--largeNumber); }
  100% { background-color: var(--bs-body-color); }
}


/* Class to trigger the animation */
.flash {
  animation: flashBackground 0.5s forwards; /* Runs the animation for 0.5 seconds */
}

  /* TOGGLE FOR COLOR */

#hide-checkbox {
  opacity: 0;
  height: 0;
  width: 0;
}

.toggle {
  position: relative;
  cursor: pointer;
  width: 50px;
  height: 20px;
  background: orange;
  border-radius: 50px;
  transition: 500ms;
  overflow: hidden;
}

.toggle-button {
  position: absolute;
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  transition: all 500ms ease-out;
}

#hide-checkbox:checked + .toggle {
  background: white;
}