#signature-pad {
  position: fixed;
  z-index: 2000;
  height: calc(100% - 1rem);
  width: calc(100% - 1rem);
  top: -101vh;
  left: 0.5rem;
  transition: all 0.3s ease;
  justify-content: center;
  align-items: center;
  display: flex;
}
#signature-pad.show {
  top: 0.5rem;
} 
#signature-pad:before {
  content: '';
  display: block;
  position: fixed;
  z-index: -1;
  background: whitesmoke;
  background: rgba(0,0,0,0.69);
  left: 0; top: -101vh;
  width: 100%; height: 100%;
  transition: all 0.3s ease;
}
#signature-pad.show:before {
  top: 0;
} 

.signature-pad--content {
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  width: 98%;
  max-width: 960px;
  height: 360px;
}

.signature-pad--header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signature-pad--header span {
  font-family: 'Roboto';
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--orange);
  background: white;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 4500000;
  margin-bottom: -0.5rem;
  margin-left: 0.5rem;
  border-radius: 4px;
}
.signature-pad--header button.hideSignature {
  font-family: 'Roboto';
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.signature-pad--body {
  position: relative;
  flex: 1;
  border: 1px solid #999;
  box-shadow: 0 0 4px rgba(33,33,33,0.42);
  overflow: hidden;
  border-radius: 4px;
}

.signature-pad--body canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 1px solid #cc
}

.signature-pad--footer {
  color: #C3C3C3;
  text-align: center;
  font-size: 1.2em;
  /*margin-top: 8px;*/
}

.signature-pad--actions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.signature-pad--actions button {
  box-shadow: inset 0 0 3px white, 0 0 4px rgba(0,0,0,0.69);
  border-radius: 4px;
}

.signature-pad--actions button.clear {
  background-color: var(--orange);
}
.signature-pad--actions button.save {
  background-color: var(--blue);
}

#github img {
  border: 0;
}

@media (max-width: 940px) {
  #github img {
    width: 90px;
    height: 90px;
  }
}