html {
  height: 100%;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #fcfcfc;
  margin: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  background-image: url('textures/memphis-mini.png');
  height: 100%;
}

header {
  padding-left: 4rem;
}

h1 {
  font-size: 3em;
  font-weight: 800;
}

#dotplot-container {
  height: 100%;
  z-index: -1;
  margin: 0 1rem;
  position: relative;
  background-color: white;
  box-shadow: 0 3px 11px #00000045;
}

#dotplot-renderer {
  position: sticky;
  top: 0px;
  height: 100%;
  z-index: 1000;
}

#inputs {
  position: absolute;
  left: 100px;
  top: 10px;
  display: none;
}

#dotplot-info-window {
  position: fixed;
  bottom: 1.5em;
  left: 4rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  border-radius: 10px;
  padding: 1em 1.5em;
  box-shadow: 0 0 8px #00000054;
  z-index: 1020;
  width: 400px;
}

#dotplot-info-window dl {
  margin: 0;
}

#dotplot-info-window dt, #dotplot-info-window dd {
  display: inline-block;
  margin: 0;
}

#dotplot-info-window dt {
  width: 30%;
  font-weight: bold;
}

#dotplot-info-window dd {
  width: 69%;
}

#fixed-content {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.frame-container {
  position: absolute;
  /* width: 100%; */
  display: none;
}

.frame-container.active {
  display: block;
}

.frame-label, .group-label {
  position: absolute;
  z-index: 1010;
  transition: opacity 0.2s;
}

.frame-label {
  left: 0px;
  top: 0px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.5em 1em;
  border-radius: 8px;
}

.frame-label h2, .group-label h3 {
  text-shadow: 0 0 0.2em white;
}

.frame-label h2 {
  margin: 0;
  font-size: 2.4em;
  font-weight: 800;
  white-space: nowrap;
}

.group-label {
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-label h3 {
  font-size: 2em;
  font-weight: 600;
  text-shadow: 0px 0px 0.2em white, 0px 0px 0.5em white, 0px 0px 0.5em white;
}

.group-label:hover, .frame-label:hover {
  opacity: 0.0;
}

.group-label:hover h3 {
  text-shadow: unset;
}
