import styled from 'styled-components/macro'

export const ProgressBarList = styled.div`
  flex-grow: 1;
  height: 4px;
  position: relative;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
`

export const LoadedProgress = styled.div`
  position: absolute;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.6);;
  height: 100%;
`

export const PlayedProgress = styled.div`
  position: absolute;
  z-index: 2;
  background-color: #F2C94C;
  height: 100%;
`

export const Scrubber = styled.button`
  border: none;
  outline: none;
  position: absolute;
  top: 0;
  transform: translate(-50%, -38%);
  z-index: 3;
  width: 18px;
  height: 18px;
  background-color: #F2C94C;
  border-radius: 50%;
  cursor: pointer;
`
