body {
  height: 100%;
  width: 100%;
  margin: 0;
  font-family: 'Merriweather', serif;
}

.sidenav {
  height: 100%;
  width: 120px;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  background-color: #aaaaef;
  overflow-x: hidden;
  /* padding-top: 20px */
  display: inline-flex;
  /* align-items items in column */
  flex-direction: column;
  /* center items horizontally */
  align-items: center;
  /* center items vertically */
  justify-content: center;
}

.sidenav button{
  text-align: center;
  font-size: 25px;
  width: 80px;
  height: 80px;
  margin-left: 7px;
  margin-top: 50px;
  margin-bottom: 50px;
  z-index: 1;
}

.three{
  margin: 0;
  opacity: 0;
  margin-top: -300px;
  position: absolute;
  top: 50%;
  left: 55%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  border-collapse: separate;
  border-spacing: 3px;
}

.three td{
  width: 135px;
  height: 135px;
  text-align: center;
  border: solid 1px black;
  padding: 10px;
}

.four{
  margin: 0;
  opacity: 0;
  margin-top: -100px;
  position: absolute;
  top: 50%;
  left: 58%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  border-collapse: separate;
  border-spacing: 3px;
  display: none;
}

.four td{
  width: 120px;
  height: 120px;
  text-align: center;
  border: solid 1px black;
  padding: 10px;
  margin: 3px;
}

#overlay {
  opacity: 0;
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.9);
  z-index: 2;
  cursor: pointer;
}

/* #rotateImg{
  width: 120%;
  height: 120%;
} */

.orientationSign{
  position: fixed;
  top: 50%;
  text-align: center;
  left: 50%;
  color: white;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  display: inline-flex;
  /* align-items items in column */
  flex-direction: column;
  /* center items horizontally */
  align-items: center;
  /* center items vertically */
  justify-content: center;
}

#rotateText{
  font-size: 40px;
}

#fullscreenBtn{
  width: 40px;
  height: 40px;
  position: fixed;
  right: 50px;
  bottom: 50px;
}
