body, html {
  height: 100vh;
  overflow: visible;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main {
  height: 100vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.time-select, .sound-selection, .player-container {
  height: 80%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.player-container {
  position: relative;
}

.player-container svg {
  position: absolute;
  height: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.time-display {
  position: absolute;
  bottom: 10%;
  color: white;
  text-shadow: 1px 1px black;
  font-size: 50px;
  font-family: Arial, sans-serif;
}

video {
  position: fixed;
  top: 0%;
  left: 0%;
  z-index: -1;
  margin: 0 auto;
  min-width: 100%;
  min-height: 100%;
}

.time-select button, .sound-selection button {
  color: black;
  width: 40%;
  height: 10%;
  background: white;
  border: 4px solid white;
  font-family: Arial, sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  border-radius: 10px;
  opacity: 0.7;
}

.time-select button:hover {
  color: white;
  background: none;
}

.sound-selection button:hover {
  color: white;
  background: none;
}

@media only screen and (max-device-width: 480px) {
  .player-container svg {
    position: absolute;
    height: 25%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  img.play {
    height: 12%;
  }

  .time-select button, .sound-selection button {
    color: black;
    width: 50%;
    height: 10%;
    background: white;
    border: 4px solid white;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    opacity: 0.7;
  }

}
