
.titleSpace {
  background-color: white;
  width: 100%;
  height: 50px;
  left: 0;
  top: 0;
  position: fixed;
  z-index: 5;
}

.spacer {
  height: 50px;
}

.title {
  margin-top: 0;
  font-weight: 600;
  font-family: sans-serif;
  text-align: center;
  position: relative;
  z-index: 5;
}

.menuIcon {
  top: 0;
  margin-left: 10px;
  position: absolute;
  display: inline-block;
  z-index: 5;
}

.change {
  position: fixed;
}

.bar1,.bar2,.bar3 {
  background-color: black;
  width: 35px;
  height: 5px;
  margin-top: 6px;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

.menu {
  background-color: lightgray;
  width: 250px;
  height: calc(100% - 50px);
  top: 50px;
  left: -250px;
  box-shadow: none;
  position: fixed;
  transition: 0.4s; 
  z-index: 3;
}

.open {
  box-shadow: 0 0 5px 3px gray;
  transform: translate(250px,0px);
}

.menu div {
  top: 0;
  width: 100%;
  height: 35px;
  font-size: 30px;
  position: relative;
}

#daily {
  background-color: green;
}

#infoIcon {
  width: 30px;
  height: 30px;
  margin-top: -57.5px;
  margin-left: calc(100% - 45px);
  border: 2px solid;
  border-radius: 50%;
  position: absolute;
  z-index: 5;
}

#infoIcon p {
  font-weight: bold;
  font-size: 25px;
  margin-top: 0px;
  margin-left: 8px;
  text-align: center;
  position: absolute;
}

.info {
  background-color: white;
  width: 0%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: scroll;
  z-index: 4;
  position: fixed;
}

.info.openInfo {width: 100%;}

.info h3, .info h4, .info p, .info li {
  left: 10px;
  top: 80px;
  margin-top: -17.5px;
  overflow-x: hidden;
  position: relative;
}

.info h3 {
  margin-top: -10px;
}

.info p {margin-top: -22.5px;}

.line {
  background-color: black;
  width: 100%;
  height: 5px;
  margin-top: -15px;
  position: relative;
  z-index: 5;
}

.mode {
  margin-top: 0;
  font-size: 29px;
  font-weight: 350;
  font-family: sans-serif;
  text-align: center;
}

.input {
  width: 250px;
  height: 0;
  margin: auto;
  margin-top: -20px;
  position: relative;
}

.input div {
  width: 40px;
  height: 40px;
  top: 5px;
  margin-left: 5px;
  border: 2px solid gray;
  position: relative;
  display: inline-grid;
}

.input p {
  margin-left: 10px;
  margin-top: 7.5px;
  font-size: 30px;
  font-family: monospace;
  position: absolute;
}

#alert {
  background-color: rgb(100,100,100);
  opacity: 0;
  width: 125px;
  left: calc(50% - 62.5px);
  top: 125px;
  border: none;
  border-radius: 7.5px; 
  position: absolute;
  z-index: 1;
}

#alertText {
  color: white;
  font-size: 12.5px;
  font-family: monospace;
  text-align: center;
  position: relative;
}

.endGame {
  background-color: lightgray;
  width: 300px;
  height: 400px;
  left: calc(50% - 150px);
  top: 50px;
  opacity: 0;
  transition: 0.5s;
  border-radius: 10px;
  box-shadow: 0 0 5px 3px gray;
  visibility: hidden;
  position: relative;
  z-index: 2;
}

.open.endGame {
  transform: translate(0,-80px);
  opacity: 1;
  visibility: visible;
}

.endMessage {
  margin-left: 10px;
  margin-top: 5px;
  font-size: 28px;
  font-weight: 350;
  font-family: sans-serif;
}

.exit div {
  background-color: black;
  width: 35px;
  height: 5px;
  left: 260px;
  top: 25px;
  margin-top: -5px;
  position: absolute;
}

.exit .bar1 {
  rotate: 45deg;
}

.exit .bar2 {
  rotate: -45deg;
}

.share {
  color: black;
  width: 100px;
  height: 40px;
  left: 190px;
  top: 290px;
  position: relative;
}

.numPad {
  background-color: gray;
  width: 100%;
  height: 80px;
  left: 0;
  bottom: 0;
  position: fixed;
}

.numPad button {
  width: 15%;
  height: 30px;
  left: 3px;
  margin-left: calc(1.5% - 4px);
  margin-top: 6px;
  color: black;
  border-radius: 7.5px;
  position: relative;
  touch-action: manipulation;
}

@media screen and (orientation: portrait) {
  .numPad {
    height: 150px;
  }
  .numPad button {
    width: 30%;
    left: 3px;
    margin-left: calc(2.5% - 4px);
  }
  #enter {
    margin-top: 78px;
    position: absolute;
  }
  #zero {
    left: calc(32.5% + 4px);
  }
  #backspace {
    left: calc(32.5% + 4px);
  }
}

.gray {background-color: rgb(175,175,175);}
.yellow {background-color: yellow;}
.green {background-color: green;}