body {
  padding-top: 2em;
  padding-bottom: 2em;
}

.margin-bottom {
  margin-bottom: 0.5em;
}

.ui.action.input input[type="file"] {
  display: none;
}

code {
  font-family: Consolas, Monospace;
  font-size: 1em;
}

#div-preview {
  padding-top: 0em;
  padding-bottom: 0em;
  margin-bottom: 2em;
}

#h-file {
  display: inline-block;
}

#div-histogram {
  height: 350px;
}

#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  font-size: 15pt;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 1.5s;
  animation: fadein 0.5s, fadeout 0.5s 1.5s;
}

#student-snackbar {
  visibility: hidden;
  min-width: 600px;
  margin-left: -300px;
  background-color: #333;
  color: #fff;
  font-size: 30pt;
  text-align: center;
  border-radius: 2px;
  padding: 20px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
}

#student-snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 1.5s;
  animation: fadein 0.5s, fadeout 0.5s 1.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
