

#legal-overlay {
  position: fixed; /* Sit on top of the page content */
  display: grid; /* Hidden by default */
  grid-template-rows: 180px;
  grid-template-columns: 3rem 1fr;
  width: 100%; /* Full width (cover the whole page) */
  /* left: 0; */
  bottom: 0;
  background-color: rgb(48, 48, 48); /* Black background with opacity */
  z-index: 3; /* Specify a stack order in case you're using a different order for other elements */
  opacity: 0;
  transition: opacity 1s ease;
  border-top: 5px solid white;
}

#legal-overlay-ctrl {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  padding: 1rem;
  justify-self: center;
  align-self: center;
}

#legal-overlay-text{
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  padding: 1rem;
  color: white;
  overflow: auto;
}


.legal-button {
  display: inline;
  cursor: pointer; /* Add a pointer on hover */
  color: white;
  background-color: rgb(47, 103, 177);
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.legal-button:hover {
  background-color: rgb(176, 212, 236);
}

.legal {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
}

.legal p {
  margin-top: 0.5rem;
  margin-bottom: 0.1rem;
}

.legal a {
  color: lightblue;
  font-style: oblique;
  font-weight: 600; 
}