html, body {
  overflow-x: hidden;
}
#AnalysisResults {
  display: flex !important;
  flex-direction: column !important;
  gap: 1em;
  width: 100%;
}
#CanvasResults, #TextResults, #ModQuantContainer, #ModQuantTitle {
  max-width: 100%;
  width: 100%;
}
#CanvasResults {
  order: 1;
}
#TextResults {
  order: 2;
}
#ModQuantTitle {
  order: 3;
}

#ModQuantContainer {
  order: 4;
}

#canvasContainer {
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.canvas-column {
  max-width: 100%;
  width: 100%;
}

#results {
  margin: 0;
  padding-left: 0;
  width: 100%;
  box-sizing: border-box;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
}

.footer-link,
.logo-container-footer-unipd,
.logo-container-footer-dm,
.footer-contacts {
  flex: none;
  flex: none;
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 0.3em 0;
  padding: 0.5em 0;
  font-size: 0.7em;
}

.logo-container-footer-unipd{
  font-size: 1.5em !important;
}

.footer-contacts {
  font-size: 0.7em;
  padding: 0;
  margin: 0;
  list-style: none;
}

.logo-banner-container{
  padding: 0 1em;
}

#DCTCanvasContainer {
  grid-area: grid;
  max-width: 100vw;
  max-height: 60vh;
  overflow: auto;
  box-sizing: border-box;
}

.language-switch {
  margin: 0.5em 0.5em 0.5em auto !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box;
  justify-content: flex-end !important;
  display: flex;
}

.lang-toggle {
  width: 90px !important;
  min-width: 90px !important;
}

.slider {
  width: 90px !important;
  min-width: 90px !important;
  padding: 0 8px !important;
  gap: 6px
}

