body {
  padding: 5px;
  margin: 0;
}
#wrapper {
  text-align: center;
}
#main-image {
  display: inline-block;
}
#image {
  width: 100%;
  max-width: 640px;
  max-height: 360px;
}
#past > img.selected {
  border: 4px solid #6dabed;
}
#video {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  transition: all 0.5s;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}
#video:hover {
  max-width: 600px;
}
button {
  align-self: center;
  background-color: #fff;
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 4px 3px;
  border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
  border-style: solid;
  border-width: 2px;
  box-shadow: rgba(0, 0, 0, 0.2) 15px 28px 25px -18px;
  box-sizing: border-box;
  color: #41403e;
  cursor: pointer;
  display: inline-block;
  font-family: Neucha, sans-serif;
  font-size: 1rem;
  line-height: 23px;
  outline: none;
  padding: 0.75rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  border-bottom-left-radius: 15px 255px;
  border-bottom-right-radius: 225px 15px;
  border-top-left-radius: 255px 15px;
  border-top-right-radius: 15px 225px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

button:hover {
  box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 8px -5px;
  transform: translate3d(0, 2px, 0);
}

button:focus {
  box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 4px -6px;
}
#live {
  margin-right: 50px;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.blink {
  animation: blink 2s step-start 0s infinite;
}
.blink.hide {
  display: none;
}
#past {
  display: inline-block;
  display: inline-block;
  width: 130px;
  height: 360px;
  overflow-y: scroll;
  background: #d9e8ff;
  border-radius: 10px;
}
#past > img {
  width: 100px;
  border: 4px solid transparent;
}
#btns {
  float: left;
}
.round {
  border-radius: 50%;
  text-decoration: none;
  display: inline-block;
  padding: 18px 26px;
  position: absolute;
  top: 25%;
}
.previous {
  background-color: #f1f1f18c;
  color: black;
}
.next {
  background-color: #04aa6d73;
  color: white;
  margin-left: 600px;
}
.controls {
  margin-bottom: 10px;
}

@media screen and (max-width: 600px) {
  body {
    overflow: hidden;
  }
  .controls {
    display: none;
    margin: 0;
  }
  #past {
    width: 100%;
    height: 55vh;
  }
  #video {
    display: none;
  }
  #image {
    max-height: 30vh;
  }
  .round {
    top: 3%;
  }
  .next {
    margin-left: 82%;
  }
  .previous {
    left: 0;
  }
}
