*:not(.icon) {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif !important;
}

body {
  margin: 0;
}

#logo {
  position: fixed;
  top: 30px;
  right: 35px;
  color: white;
  z-index: 1;
  text-align: center;
}

#dateSliderContainer {
  position: fixed;
  bottom: 30px;
  left: 50%;
  width: 80%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
}

#dateSlider {
  -webkit-appearance: none;
  width: 100%;
  height: 20px;
  background: #767470;
  outline: none;
}

#dateSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 1%;
  border: 1px solid white;
  background: #3c3d39;
  cursor: pointer;
}

#loading-block {
  background: url("/resources/images/night-sky.png");
  background-color: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  color: white;
  transition: 0.5s;
}

#loading-block #moon-img {
  position: absolute;
  transform: scaleX(-01);
  height: 100%;
  right: -44px;
}

#loading-block #loading-block-content {
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  padding-bottom: 20px;
  max-width: 90vw;
}

#loading-block #loading-block-content img{
  max-width: 100%;
}

#loading-block #fun-fact-container {
  margin-top: 40px;
  display: none;
}

#loading-block #fun-fact-container h5 {
  margin: 0;
  margin-bottom: 15px;
}

#loading-block #fun-fact-container #fun-fact {
  font-size: 17px;
  max-width: 400px;
  margin: auto;
}

#loading-block #fun-fact-container #fun-fact-source {
  margin-top: 10px;
  display: block;
}

.icon {
  user-select: none;
}

#dateSliderPlayer {
  display: flex;
  align-content: center;
  align-items: center;
}

#dateSliderLabels {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: calc(100% - 64px);
  margin-left: auto;
}

#dateSliderToggle {
  padding: 5px 10px;
  display: flex;
  border-radius: 5px;
  margin-right: 20px;
  cursor: pointer;
}

#dateSliderTrack {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

#dateSliderTrack .quake-indicator {
  position: absolute;
  width: 3px;
  height: 20px;
  background-color: yellow;
  pointer-events: none;
}

#mapViz {
  z-index: 1;
  position: fixed;
  top: 10px;
  left: 10px;
}

#mapViz .quake-indicator {
  position: absolute;
  border: 1px solid yellow;
  border-radius: 50%;
  width: 0px;
  height: 0px;
}

#open-content {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1;
  transition: 0.5s;
}

#open-content.closed {
  right: -56px;
}

#content {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: black;
  width: 400px;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 3px white;
  box-sizing: border-box;
  border-radius: 10px 0 0 10px;
  overflow: auto;
  transition: 0.5s;
}

#content .mdl-tabs__panel {
  padding: 0 20px 20px 20px;
}

#content #content-loading {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255, 0.5);
  z-index: 5;
  display: none;
}

#content.closed {
  right: -400px;
}

#content .mdl-tabs__panel {
  padding-top: 10px;
}

#content #content-hide {
  position: absolute;
  right: 10px;
  top: 10px;
}

#content .config-section {
  color: grey;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 5px;
}

#content .heading {
  margin-top: 0;
}

#quake-graph {
  position: fixed;
  bottom: 100px;
  left: 20px;
  z-index: 1;
}

#quake-graph .time-indicator {
  position: absolute;
  width: 2px;
  background-color: yellow;
  height: 100%;
}

#quake-graph #time-indicator-boundary {
  position: absolute;
  height: 75px;
  top: 34px;
  left: 42px;
  width: 342px;
}

@media only screen and (max-width: 800px) {
  #logo, #mapViz, #quake-graph{
    display: none;
  }
}