.audio-player {
  --audio-bg: rgb(49, 81, 86);
  --audio-slider-color: #9ae1a5;
  --audio-slider-bg: white;
  --color: white;

  background: var(--audio-bg);
  height: 50px;
  box-shadow: 0 0 10px 0 #00000057;
  display: grid;
  grid-template-rows: 7px auto;
}

.audio-player .timeline {
  background: var(--audio-slider-bg);
  cursor: pointer;
}

.audio-player .timeline .progress-bar {
  height: 100%;
  width: 35%;
  background: var(--audio-slider-color);
  transition: .1s;
}

.audio-player .controls {
  display: grid;
  grid-template-columns: 40px auto 40px;
  align-items: center;
  justify-items: center;
  padding: 0 10px;
}

.audio-player .text {
  display: flex;
  justify-content: space-between;
  width: 90%;
  font-size: .85em;
  color: var(--color);
}

.audio-player .text .duration {
  opacity: .8;
}

.audio-player .sound-container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.audio-player .sound-container .volume {
  cursor: pointer;
  position: absolute;
  right: 35px;
  transition: .25s;
  height: 15px;
  width: 0;
  overflow: hidden;
}

.audio-player .sound-container .volume .volume-slider {
  background: var(--audio-slider-color);
  height: 100%;
  width: 24%;
}

.audio-player .sound-container .sound-icon-container {
  cursor: pointer;
  width: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.audio-player .sound-container:hover .volume {
  width: 100px;
  background: var(--audio-slider-bg);
}

.audio-player .button {
  cursor: pointer;
}

.audio-player .button.play {
  border: 7px solid #0000;
  border-left: 12px solid var(--color);
  position: relative;
  right: -4px;
}

.audio-player .button.pause {
  height: 13px;
  width: 11px;
  position: relative;
}

.audio-player .button.pause:before,
.audio-player .button.pause:after {
  content: '';
  position: absolute;
  width: 3px;
  top: 0;
  bottom: 0;
  background: var(--color);
}

.audio-player .button.pause:before {
  left: 0;
}

.audio-player .button.pause:after {
  right: 0;
}

.audio-player .button.sound {
  transform: scale(.75);
  border: 6px solid transparent;
  border-left: none;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-right-color: var(--color);
  padding: 6px 3px;
  box-shadow: inset 4px 0 var(--color);
}

.audio-player .button.sound-on {
  position: relative;
  left: -4px;
}

.audio-player .button.sound-on:after {
  content: '';
  border: 7px double transparent;
  border-radius: 50%;
  border-right-color: var(--color);
  position: absolute;
  right: -18px;
  top: -6px;
  width: 10px;
  height: 10px;
}

.audio-player .button.sound-off {
  position: relative;
  left: -4px;
}

.audio-player .button.sound-off:before {
  content: '';
  position: absolute;
  right: -15px;
  top: 1px;
  width: 2px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--color);
}

.audio-player .button.sound-off:after {
  content: '';
  position: absolute;
  right: -15px;
  top: 1px;
  width: 2px;
  height: 9px;
  transform: rotate(-45deg);
  background: var(--color);
}


.phone-view {
  display: none;
}

.else-view {
  min-width: 400px;
}

@media screen and (max-width: 500px) {
  .else-view {
    display: none;
  }
  .phone-view {
    display: block;
  }
}