* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.video-container {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  background: black;
}

video {
  height: 100%;
  width: 100%;
}

button {
  position: fixed;
  right: 2rem;
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.445);
  border: 8px solid white;
  z-index: 3;
}

button span {
  height: 60%;
  width: 70%;
  display: inline-block;
  border-radius: 50%;
}

#record {
  top: 40vh;
}

#record span {
  background-color: red;
}

#capture {
  top: 60vh;
}

#capture span {
  background-color: white;
}

.filters {
  height: 12rem;
  width: 5rem;
  border: 1px solid;
  position: fixed;
  top: 40vh;
  left: 2rem;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.filter {
  border: 1px solid;
  flex-grow: 1;
  background-blend-mode: color-burn;
  background-size: cover;
  background-image: url(https://images-na.ssl-images-amazon.com/images/I/91wcUPNHFEL.png);
}

.zoom {
  height: 8rem;
  width: 4rem;
  position: fixed;
  top: 12vh;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  z-index: 3;
  justify-content: space-between;
}

.zoom div {
  background: #575656d0;
  /* flex-grow: 1; */
  height: 47.5%;
  width: 95%;
  color: white;
  font-size: 3rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.zoom div span {
  font-size: 2rem;
}

.zoom div:hover {
  background: #2b2828;
}

.capture-animation {
  animation: shrinkDownUp;
  animation-duration: 1s;
}

.start-record-animation {
  animation: recordStart;
  animation-duration: 0.7s;
  animation-fill-mode: forwards;
}

.stop-record-animation {
  animation: recordStop;
  animation-duration: 0.7s;
  animation-fill-mode: forwards;
}

.filter-div {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  z-index: 1;
}

#gallery {
  top: 8rem;
  color: white;
  left: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#gallery span {
  font-size: 2rem;
}

@keyframes shrinkDownUp {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.7);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes recordStart {
  0% {
    transform: scale(1);
    border-radius: 50%;
  }
  50% {
    transform: scale(0.7);
  }
  100% {
    transform: scale(0.8);
    border-radius: 10%;
  }
}

@keyframes recordStop {
  0% {
    transform: scale(0.8);
    border-radius: 10%;
  }
  50% {
    transform: scale(0.7);
  }
  100% {
    transform: scale(1);
    border-radius: 50%;
  }
}
