.cell-code {
  margin: 0 !important;
}

.cell-output-display img {
  min-width: 100%;
  width: auto;
  margin: 0;
  max-height: 43vh;
}

.code-stack {
  width: 100%;
  display: block;
  position: relative;
  margin: auto;
}

.code-stack .cell {
  min-width: 100%;
}

.focus-overlay {
  position: absolute;
  background: radial-gradient(circle, rgba(0, 191, 255, 0), rgba(0, 191, 255, 0.1));
  border-radius: 10%;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
  border: 2px solid rgba(0, 191, 255, 0.5);
}

.img-stack {
  width: fit-content;
  display: block;
  position: relative;
  margin: auto;
}

.q-stack {
  width: fit-content;
  display: block;
  position: relative;
  margin: auto;
}

.q-stack img {
  max-width: 100% !important;
  max-height: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.q-stack p {
  text-align: center !important;
  margin: 0 !important;
}

.table-stack {
  width: 100%;
  display: block;
  position: relative;
  margin: auto;
}

pre.sourceCode {
  padding-top: 0px!important;
  padding-bottom: 0px!important;
}

pre.sourceCode code.sourceCode {
  padding: 6px 9px!important;
}
