* {
  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;

  --rating-good: #00e400;
  --rating-moderate: #ffff00;
  --rating-unhealthy-sensitive: #ff7e00;
  --rating-unhealthy: #ff0000;
  --rating-very-unhealthy: #99004c;
  --rating-hazardous: #7e0023;

}

body {
  font-family: Arial, sans-serif;
  margin: 2em;
  padding: 0.25em;
  background-color: var(--light-color);
}

h1 {
  color: #333;
  margin: 0.5em 0 0.5em 0;
}
h2 {
  margin: 0.5em 0 0.5em 0;
}
#aqi {
  font-size: 24px;
  margin-top: 20px;
}

.flex {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  margin: 1em;
}

.text-center {
  text-align: center;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
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(--light-color);
  color: var(--dark-color);
  border-radius: 1.5em;
  /* 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 */
  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;
}

#about-app-button {
  display:block;
  position: absolute;
  margin: 0.5em auto 0.5em auto;
  padding: 0.5em;
  text-align: center;
  right: 1em;
  top: 0.1em;
}

.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;
}

/* EPA AQI Ratings */

.rating-good {
  border: 0.1em solid var(--rating-good);
  background: var(--rating-good);
  color: var(--dark-color);
  border-radius: 0.1em;
}

.rating-moderate {
  border: 0.1em solid var(--rating-);
  background: var(--rating-moderate);
  color: var(--dark-color);
  border-radius: 0.1em;
}

.rating-unhealthy-sensitive {
  border: 0.1em solid var(--rating-unhealthy-sensitive);
  background: var(--rating-unhealthy-sensitive);
  color: var(--dark-color);
  border-radius: 0.1em;
}

.rating-unhealthy {
  border: 0.1em solid var(--rating-unhealthy);
  background: var(--rating-unhealthy);
  color: var(--light-color);
  border-radius: 0.1em;
}

.rating-very-unhealthy {
  border: 0.1em solid var(--rating-very-unhealthy);
  background: var(--rating-very-unhealthy);
  color: var(--light-color);
  border-radius: 0.1em;
}

.rating-hazardous {
  border: 0.1em solid var(--rating-hazardous);
  background: var(--rating-hazardous);
  color: var(--light-color);
  border-radius: 0.1em;
}

.rating {
  position: relative;
  display: block;
  padding: 0.5em;
  border-radius: 0.5em;
  margin: 1em 0 0.5em 0;
  border: 0.1em solid var(--dark-color);
  /* background: var(--light-color); */
  color: var(--dark-color);
  font-size: 1.5em;
  text-align: center;
  font-family: "Comfortaa", sans-serif;
  font-weight: bold;
  line-height: 1.5;
  text-transform: uppercase;

    text-shadow:
    -1px -1px 0 var(--light-color),
    1px -1px 0 var(--light-color),
    -1px 1px 0 var(--light-color),
    1px 1px 0 var(--light-color);
}

.rating-small {
  display: inline-block;
  padding: 0.25em;
  border-radius: 0.5em;
  margin: 1em 0 0.5em 0;
  border: 0.1em solid var(--dark-color);
  /* background: var(--light-color); */
  color: var(--dark-color);
  font-size: 1em;
  text-align: center;
  font-family: "Comfortaa", sans-serif;
  font-weight: bold;
  line-height: 1.5;
  text-transform: uppercase;

    text-shadow:
    -1px -1px 0 var(--light-color),
    1px -1px 0 var(--light-color),
    -1px 1px 0 var(--light-color),
    1px 1px 0 var(--light-color);
    opacity: 0.5;
}

.rating-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 1em;
  gap: 1em;
  row-gap: 0.5em;
  column-gap: 2em;

}

.material-symbols-outlined {
  position:absolute;
  /* left: 1em; */
  /* right: 1em; */
  /* margin:auto; */
  top: -0.70em;

  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;

}

#symbol-aqi {
  font-size:2em;
  position:absolute;
  left: 48%;
}

.adjusted-schedule-line {
  display: flex;
  justify-content:space-between;
  align-items:start;
  margin-top: 0.5em;
  /* padding: 0.1em; */
  margin-bottom: 0.5em;
  border: 0.2em solid var(--dark-color);
  text-align: center;
  border-radius: 0.25em;
  background: var(--light-color);

}

.adjusted-schedule-line span {
  display: inline-block;
  margin: 0.25em;
  padding: 0.1em;
  color: var(--dark-color);
  font-size: 0.75em;
  text-align: center;
  font-family: "Comfortaa", sans-serif;
  font-weight: bold;
  line-height: 1.5;
  text-transform: uppercase;
  /* border-right: 0.1em solid var(--dark-color) */
  padding: 0.25em;
}
.adjusted-schedule-line span:first-child {
  /* background-color: var(--shadow-color-plain); */
  color: var(--dark-color);
  height: auto;
  /* border: 2px solid forestgreen; */
  /* width: 30%; */

}

.adjusted-schedule-line span:last-child {
  /* width: 30%; */
  border-left: 0.1em solid var(--dark-color)
}

.adjusted-schedule-line span:nth-last-child(2) {
  /* width: 30%; */
  border-left: 0.1em solid var(--dark-color);
  border-right: 0.1em solid var(--dark-color);
}

.sleep-container {
  max-width: 99%;
  margin: 0 auto;
  padding: 1em;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

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

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

.hidden {
  display: none;
}