* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* https://codepen.io/sosuke/pen/Pjoqqp */
  --primary-color: #ff9900;
  /* --primary-color: #6495ED; */
  /* --primary-color-hover: #2768e0; */
  --secondary-color: #999999;
  --third-color: #CCCCCC;
  --success-color: #28a745;
  --danger-color: #dc3545;
  /* --warning-color: #ff9900; */
  /* --info-color: #17a2b8; */
  --light-color: #dedede;
  --dark-color: #343a40;
  --shadow-color-plain: #0303721a;
  --white-color: #fefefe;
}

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

  /* background-color: #000; */
}

.light-therapy {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: #000; */
  background-color: rgba(255, 255, 255, 0); /* Initial transparent background */
  transition: background-color 0.5s; /* Smooth transition for color change */
}

.light-therapy div {
  /* background-color: #fff; */
  position: relative;
  margin:auto;
}

#fullscreen-element {
  width: 100vw;
  height: 100vh;
  background-color: white !important;
  color: black ;
  font-size: 24px;
  text-align: center;
  /* display: none;  */
}
.controls {
  position: fixed;
  bottom: 0em;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 0.5em;
  border-radius: 5px;
  opacity: 0.001;
  font-size: 0.5em;
  transition: all;
  animation: controls-fade 5.2s linear ;
  width: 99%;
  padding-bottom: 5em;
  z-index: 2;
  background-color: var(--white-color);
  box-shadow:  0em 0em 1em 0.5em var(--shadow-color-plain), inset 0em 0em 1em 0.5em var(--shadow-color-plain);
}

.controls:hover, .controls:focus, .controls:active {
  opacity: 1;
  animation: controls-fade 0.1s linear !important;

}

.controls:hover::before {
  content: "Tap here to hide controls";
  display: block;
  position: absolute;
  top: -10vh;
  left: 0;
  width: 98%;
  height: 1em;
  background-color: none;
  animation: controls-fade 1.5s linear 0s infinite alternate-reverse;
  animation: name duration timing-function delay iteration-count direction fill-mode;
  z-index: 0;
  color: var(--shadow-color-plain);
  font-size:1.5em;
  font-weight: bold;
  /* background-color: var(--light-color); */
  color: var(--dark-color);
  border-radius: 5em;
  margin: auto;
  padding: 0.25em;
  text-align: center;
  /* border: 0.25em solid var(--dark-color); */
  /* border-radius: 5em; */
  /* z-index: 0; */
  pointer-events: none;

}

.controls:not(:active) {
  /* border:3px solid red; */
  /* animation: controls-fade 1s linear ; */
}

#exitFullscreen {
  display: none;
}

.fullscreen-button {
  font-size: 1.5em;
  font-weight: bold;
  /* border: 0.1em solid */
  padding: 0.1em;
  color: var(--dark-color);
  float:left;
  border: none;
  background-color: var(--white-color);

}

input[type="text"],
input[type="number"],
input[type="date"],
button, .button {
  padding: 0.75em;
  margin-right: 10px;
  border: none;
  border-width: 0.25em;
  border: 0.25em solid var(--dark-color);
  border-radius: 5px;
  font-size: 0.75em;
  margin: 0.125em;
  text-align: center;
}

input[type="date"] {
  font-size: 1em;
  padding: 0.60em;
  border: 0.25em solid var(--dark-color);
  width: 100%;
}

input:hover{
  border: 0.25em solid var(--primary-color)
}

button, .button {
  background-color: var(--dark-color);
  color: #fff;
  cursor: pointer;
}

button:hover, .button:hover {
  background-color: var(--primary-color);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2.5em;
  background-color: #e0e0e0;
  border-radius: 0.25em;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1em;
  height: 1em;
  background-color: #333;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 1em;
  height: 1em;
  background-color: #333;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-ms-thumb {
  width: 1em;

  height: 1em;
  background-color: #333;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]:hover {
  border: none;
}

.about-app-info-holder {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */

  padding: 0.25em;
}
.about-app-info {
  position: relative; /* Sit on top of the page content */
  display: block; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: scroll;
  /* background: linear-gradient(var(--shadow-color-plain), var(--shadow-color-plain), var(--dark-color), var(--dark-color), var(--dark-color), var(--dark-color), var(--dark-color), var(--dark-color), var(--dark-color), var(--shadow-color-plain), var(--shadow-color-plain)); */
  border: 1em solid var(--shadow-color-plain);
  background: var(--white-color);
  color: var(--dark-color);
  border-radius: 1.5em;
  /* background-color: rgba(0,0,0,0.5);  */
  z-index: 100; /* Specify a stack order in case you're using a different order for other elements */
  cursor: default; /* Add a pointer on hover */
  padding: 2em;
  font-size: 1.2em;
  line-height: 1.2;
}
.about-app-info h2 {
  text-align: center;
  padding: 0.25em;
  font-family: "Comfortaa", sans-serif;
  margin: 0em 0 1.5em 0;
}

.about-app-info p {
  margin: 1.5em 0 1.5em 0;
  line-height: 1.5;
}

.closebox {
  position: absolute;
  top:0em;
  left: 0;
  margin: 0.5em;
  z-index: 10000;
}
.disclaimer {
  padding-top: 0.5em;
  font-size: 0.7em;
  text-align: center;
}

fieldset {
  padding: 0.5em;
}
fieldset button {
  margin: 0.5em 0.1em 0.75em 0;
}

@keyframes controls-fade {
  0% {
    opacity: 1;

  }
  100% {
    opacity: 0.05;

  }
}

.logo-holder {
  display:block;
  text-align:center;padding-bottom: 4em;
}

.app-logo {
  position: absolute;
  top: 2em;
  margin: auto;
  width: 8em;
  height: auto;
  /* margin: 0; */
  padding: 0;
  /* left: 50%; */
  transform: translate(-50%, 1em);
  z-index: 0;
}