body {
  align-items: center;
  background: #e3e3e3;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.slider {
  height: 200px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 90%;
}

.slider::before,
.slider::after {
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  height: 200px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider .slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.slider .slide {
  height: 250px;
  width: 250px;
}

.as-console-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 150px;
  overflow-y: scroll;
  overflow-x: hidden;
  border-top: 1px solid #000;
  display: none;
}
.as-console {
  background: #e9e9e9;
  border: 1px solid #ccc;
  display: table;
  width: 100%;
  border-collapse: collapse;
}
.as-console-row {
  display: table-row;
  font-family: monospace;
  font-size: 13px;
}
.as-console-row:after {
  display: table-cell;
  padding: 3px 6px;
  color: rgba(0, 0, 0, 0.35);
  border: 1px solid #ccc;
  content: attr(data-date);
  vertical-align: top;
}
.as-console-row + .as-console-row > * {
  border: 1px solid #ccc;
}
.as-console-row-code {
  width: 100%;
  white-space: pre-wrap;
  padding: 3px 5px;
  display: table-cell;
  font-family: monospace;
  font-size: 13px;
  vertical-align: middle;
}
.as-console-error:before {
  content: "Error: ";
  color: #f00;
}
.as-console-assert:before {
  content: "Assertion failed: ";
  color: #f00;
}
.as-console-info:before {
  content: "Info: ";
  color: #00f;
}
.as-console-warning:before {
  content: "Warning: ";
  color: #e90;
}
@-webkit-keyframes flash {
  0% {
    background: rgba(255, 240, 0, 0.25);
  }
  100% {
    background: none;
  }
}
@-moz-keyframes flash {
  0% {
    background: rgba(255, 240, 0, 0.25);
  }
  100% {
    background: none;
  }
}
@-ms-keyframes flash {
  0% {
    background: rgba(255, 240, 0, 0.25);
  }
  100% {
    background: none;
  }
}
@keyframes flash {
  0% {
    background: rgba(255, 240, 0, 0.25);
  }
  100% {
    background: none;
  }
}
.as-console-row-code,
.as-console-row:after {
  -webkit-animation: flash 1s;
  -moz-animation: flash 1s;
  -ms-animation: flash 1s;
  animation: flash 1s;
}
