.overlay {
  background: #1c1c1c;
  color: #fff;
  height: 0;
  left: 0;
  opacity: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  visibility: hidden;
  transition: opacity 350ms, visibility 350ms, height 350ms;
  width: 100%;
  z-index: 1090;
}

.overlay-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow-y: scroll;
  padding-right: 17px; /* Increase/decrease this value for cross-browser compatibility */
  box-sizing: content-box; /* So the width will be 100% + 17px */
}

.overlay.open {
  opacity: 0.98;
  visibility: visible;
  height: 100%;
}
.overlay h1 {
  border-bottom: thin solid #fff;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}
