body, html {
      margin: 0; padding: 0; height: 100%;
      font-family: Arial, sans-serif;
    }

    /* Themes background */
    .theme-light {
      background: #ffffff;
      color: var(--font-color, #000000);
    }

    .theme-grey {
      background: #888888;
      color: var(--font-color, #eeeeee);
    }

    .theme-dark {
      background: #000000;
      color: var(--font-color, #ffffff);
    }

    #toolbar {
      padding: 10px;
      background: rgb(54,69,79);
      /*display: flex;*/
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      color: #979aaa !important;
    }

    #LogoContainer {float: right;}

    #LogoContainer img {height: 30px;}

     #toolbar select {padding: 4px;
    border: 1px solid rgb(255, 51, 177);
    border-radius: 5px;
    background: linear-gradient(135deg,rgb(238, 90, 208),rgb(255, 51, 177));
  color: #ffffff;
  cursor: pointer;
    }

    #toolbar select option {color: #888888; cursor: pointer}

    #toolbar button {
  font-size: 0.75em;
  padding: 8px;
  cursor: pointer;
  width: 120px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg,rgb(238, 90, 208),rgb(255, 51, 177));
  color: white;
  box-shadow: 0 4px 8px rgba(255, 51, 187, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

#toolbar button:hover {
  background: linear-gradient(135deg,rgb(221, 74, 189),rgb(207, 39, 176));
  box-shadow: 0 6px 12px rgba(207, 39, 154, 0.5);
  transform: translateY(-2px);
}

#toolbar button:active {
  background: linear-gradient(135deg,rgb(207, 39, 159),rgb(221, 74, 175));
  box-shadow: 0 2px 6px rgba(207, 39, 159, 0.7);
  transform: translateY(0);
}

.ContBut:focus {
  outline: 2px solidrgb(207, 39, 190);
  outline-offset: 2px;
}

    #overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 10;
      overflow-y: auto;
      padding: 90px 40px;
     height: calc(100vh - 250px);
    }

    #controls {
      position: fixed;
      top: 0;
      width: 100%;
      background: #222;
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 10px;
      padding: 10px;
      z-index: 11;
      flex-wrap: wrap;
    }

    #ControlButtons
    {
    width: 575px;
    }

    #ControlButtons #SpeedControlBar 
    {
    width: 250px;
    display: inline-block;
    }

.ContBut {
  font-size: 1em;
  padding: 8px 16px;
  cursor: pointer;
  width: 80px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg,rgb(238, 90, 208),rgb(255, 51, 177));
  color: white;
  box-shadow: 0 4px 8px rgba(255, 51, 187, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

.ContBut:hover {
  background: linear-gradient(135deg,rgb(221, 74, 189),rgb(207, 39, 176));
  box-shadow: 0 6px 12px rgba(207, 39, 154, 0.5);
  transform: translateY(-2px);
}

.ContBut:active {
  background: linear-gradient(135deg,rgb(207, 39, 159),rgb(221, 74, 175));
  box-shadow: 0 2px 6px rgba(207, 39, 159, 0.7);
  transform: translateY(0);
}

.ContBut:focus {
  outline: 2px solidrgb(207, 39, 190);
  outline-offset: 2px;
}


.FontBut {
  font-size: 0.75em;
  padding: 8px;
  cursor: pointer;
  width: 30px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg,rgb(238, 90, 208),rgb(255, 51, 177));
  color: white;
  box-shadow: 0 4px 8px rgba(255, 51, 187, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

.FontBut:hover {
  background: linear-gradient(135deg,rgb(221, 74, 189),rgb(207, 39, 176));
  box-shadow: 0 6px 12px rgba(207, 39, 154, 0.5);
  transform: translateY(-2px);
}

.FontBut:active {
  background: linear-gradient(135deg,rgb(207, 39, 159),rgb(221, 74, 175));
  box-shadow: 0 2px 6px rgba(207, 39, 159, 0.7);
  transform: translateY(0);
}

.FontBut:focus {
  outline: 2px solidrgb(207, 39, 190);
  outline-offset: 2px;
}



    #countdown{
    color: yellow;
    width: 200px;
    font-size: 1.25em !important; 
    }

    #script
    {
    font-size: 2rem;    
    }

    #script-end {
      text-align: center;
      margin-top: 20px;
      color: red !important;
    }

    /* Hide pause button by default */
    #pauseBtn {
      display: none;
    }

    #KeyExplanation {font-size: 0.65em; color: #778899;}

    /* Cookie banner */
    #cookieBanner {
      position: fixed;
      bottom: 38px;
      left: 0;
      right: 0;
      background: rgba(0,0,0,0.85);
      color: white;
      padding: 15px 20px;
      font-size: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 15;
      flex-wrap: wrap;
    }

  #cookieBanner button {
  font-size: 1em;
  padding: 8px 16px;
  cursor: pointer;
  width: 80px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg,rgb(238, 90, 208),rgb(255, 51, 177));
  color: white;
  box-shadow: 0 4px 8px rgba(255, 51, 187, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

#cookieBanner button:hover {
  background: linear-gradient(135deg,rgb(221, 74, 189),rgb(207, 39, 176));
  box-shadow: 0 6px 12px rgba(207, 39, 154, 0.5);
  transform: translateY(-2px);
}

#cookieBanner button:active {
  background: linear-gradient(135deg,rgb(207, 39, 159),rgb(221, 74, 175));
  box-shadow: 0 2px 6px rgba(207, 39, 159, 0.7);
  transform: translateY(0);
}

#cookieBanner button:focus {
  outline: 2px solidrgb(207, 39, 190);
  outline-offset: 2px;
}

#pageFooter {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #363636;
  color: white;
  text-align: center;
  padding: 10px;
  z-index: 15;
  font-size: 0.75em;
}

#pageFooter a {
  color: #df73ff;
  text-decoration: none;
}