#saveButton{
  display: block; 
  margin: auto;
  color:white;
  margin-top: 10px;
  background-color: cadetblue;
  padding: 5px;
  border-radius: 5px;
}

.direction {
   text-align: center;
}

.mermaid-container {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow: auto;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 50px;
}

svg {
  max-height: 98% !important;
  margin: 0 auto; 
  height: auto !important; 
  width: auto !important;
  display: block;

  max-width: 100vw !important;
}


footer {
  width: 98%;
  display: flex;  
  justify-content: flex-end;  
  align-items: center; 
  background: #f7f8f8;
  padding: 0px 13px;  
  font-size: 1em;
  border-radius: 5px;
  position: sticky;
  bottom: 0;
  left: 0;
  padding: 5px;
}

footer a {
  color: black;
  text-decoration: none;  
}

footer a:hover {
  text-decoration: underline; 
}
