html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
*{
    padding: 0;
    margin: 0;
}

body{
  display: flex;
  align-items: center;
  justify-content: center;
  /* overflow: hidden; */
  padding-top: 100px;
  /* height: 95vh; */
}

h1 {
  margin-bottom: 0.5em;
  font-weight: 400;
}

h2 { font-size: 87.5%; }

.player {
  /* padding-top: 120px; */
  width: 100%;
  /* height: 94vh; */
  /* overflow: hidden; */
  /* background-color: #eee; */
  border-radius: 0.25em;
  /* box-shadow:
    0 1.5em 2em -1em rgba(0,0,0,0.8),
    inset 0 0.0625em 0 rgba(255,255,255,1),
    inset 0 -0.125em 0.0625em rgba(0,0,0,0.3); */
}
@media(min-width:450px){
    .player{
        width: 80%;
        margin: 0 auto;
        padding: 80px 20px 0;
    }
}
@media(min-width:700px){
    .player{
        width: 60%;
        margin: 0 auto;
        padding: 80px 40px 0;
    }
}
@media(min-width:900px){
    .player{
        width: 60%;
        margin: 0 auto;
        padding: 80px 40px 0;
    }
    
}
.album {
    margin: 0 auto;
  /* position: relative; */
  /* left: 50%; */
  /* top: 50%; */
  width: 90%;
  height: 24.8em;
  margin-bottom: -13%;
  overflow: hidden;
  /* transform: translate(-50%,-25%); */
  background-image: url(img01.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border: 1px solid #111;
  box-shadow:
    0 0.0625em 0.1875em rgba(0,0,0,0.5),
    0 0 0.125em 0.3125em #ddd,
    0 0.0625em 0 0.375em #bbb,
    0 0 0.375em 0.325em rgba(0,0,0,0.3),
    0 0 0.5em 0.375em rgba(0,0,0,0.3),
    0 0.25em 1em 0.5em rgba(0,0,0,0.15);
   
}
@media(min-width:900px){
    .player{
        width: 60%;
        margin: 0 auto;
        padding: 20px 40px 0;
    }
    .album{
        height: 30em;
    }
}

@media(min-width:1200px){
    .player{
        width: 60%;
        margin: 0 auto;
        padding: 20px 150px 0;
    }
    .album{
        height: 30em;
    }
}



.ffing .cover {
  animation-play-state: running;
}

.cover div {
  border-radius: 0;
  animation: spin 2s linear infinite reverse paused;
}

.rwing .cover div {
  animation: spin 2s linear infinite reverse running;
}

.cover::before,
.cover::after {
  content: '';
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  transform: rotate(0) translate(-50%,-50%);
  border-radius: 50%;
  box-shadow: inset 0 0.0625em rgba(255,255,255,0.3);
  animation: spin 4s linear infinite reverse paused;
}



.ffing .cover::before,
.ffing .cover::after {
  animation-play-state: running;
}

.cover img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  transform: rotate(0) translate(-50%,-50%);
  animation: spin 4s linear infinite paused;
}

.paused .cover img {
  animation-play-state: paused;
}

.playing .cover img {
  animation-play-state: running;
}

.info {
    margin-top: 100px;
  text-align: center;
  text-shadow: 0 0.0625em rgba(255,255,255,1);
}

.time {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0.5em;
  margin-bottom: 0.5em;
}

.time > * {
  margin: 0 0.5em;
}

.progress {
  flex-grow: 2;
  height: 20px;
  background-color: #999;
  border-radius: 0.0625em;
  box-shadow: 0 0.0625em rgba(255,255,255,1);
  cursor: pointer;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background-color: #666;
}
.actions {
  position: relative;
  width: 100%;
  padding: 1em 0 1.125em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
}

button {
  appearance: none;
  outline: none;
  position: relative;
  padding: 0;
  font-size: 100%;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.button {
  width: 60px;
  height: 60px;
  background-color: transparent;
  background-image: linear-gradient(rgba(0, 0, 0, 0.914),rgba(38, 36, 36, 0.811));
  border: none;
  border-radius: 50%;
}

.button::before {
 
}

.button:hover::before {
  background-color: #fcfcfc;
}
.nextBtn{
    content: '';
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%,-50%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.914),rgba(38, 36, 36, 0.811));
    border: 0.125em solid #d5d5d5;
    border-radius: 50%;
    box-shadow: inset 0 0.25em 1em -0.25em rgba(255,255,255,0.75);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.play-pause {
  width: 5em;
  height: 5em;
}

.rw {
  right: -0.25em;
  margin-left: 0.375em;
  transform: scaleX(-1);
}

.ff {
  left: -0.25em;
  margin-right: 0.375em;
}

.button .arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 30%;
  overflow: hidden;
  transform: translate(-50%,-50%);
}
.button {
  width: 60px;
  height: 60px;
  background-color: transparent;
  background-image: linear-gradient(rgba(0, 0, 0, 0.914),rgba(38, 36, 36, 0.811));
  border: none;
  border-radius: 50%;
}

.button::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%,-50%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.914),rgba(38, 36, 36, 0.811));
  border: 0.125em solid #d5d5d5;
  border-radius: 50%;
  box-shadow: inset 0 0.25em 1em -0.25em rgba(255,255,255,0.75);
}

.button .arrow::before,
.button .arrow::after {
  content: '';
  position: absolute;
  left: -50%;
  width: 100%;
  height: 100%;
  transform: scale(1.2,0.7) rotate(45deg);
  background-color: #ddd;
  box-shadow:
    inset 0 0.125em 0.125em -0.0625em rgba(0,0,0,0.15),
    0.0625em 0.0625em 0.125em rgba(255,255,255,1);
}

.button .arrow::after {
  left: 0;
  transform: none;
  background-color: transparent;
  box-shadow: inset 0.0625em 0 0.125em -0.0625em rgba(0,0,0,0.1);
}

.paused .play-pause .arrow {
  margin-left: 0.1875em;
}

.playing .play-pause .arrow::before,
.playing .play-pause .arrow::after {
  left: 0;
  width: 0.4375em;
  transform: none;
  background-color: #ddd;
  box-shadow:
    inset 0.0625em 0.125em 0.125em -0.0625em rgba(0,0,0,0.15),
    0.0625em 0.0625em 0.125em rgba(255,255,255,1);
}

.playing .play-pause .arrow::after {
  left: auto;
  right: 0;
}

.rw .arrow,
.ff .arrow {
  width: 20%;
  height: 20%;
  margin-left: 12%;
}

.rw .arrow:first-child,
.ff .arrow:first-child {
  margin-left: -4%;
}

.button:active .arrow::before,
.playing .play-pause .arrow::before,
.playing .play-pause .arrow::after {
  background-color: #cef;
}

.shuffle {
  width: 40px;
  color: #1f3762;
  font-weight: bold;
}

/* .shuffle .arrow {
  position: absolute;
  top: 0.1875em;
  left: 0;
  width: 0.375em;
  height: 0.125em;
  color: inherit;
  background-color: currentColor;
} */

/* .shuffle .arrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(100% + 0.125em);
  width: 0.5em;
  height: 1em;
  transform: skewX(30deg);
  border-bottom: 0.125em solid;
  border-left: 0.125em solid;
  box-shadow:
    -0.3125em 0em 0 -0.1875em #eee,
    inset 0.375em 0.25em 0 -0.25em #eee;
} */

.shuffle .arrow::after {
  content: '';
  position: absolute;
  top: 0.6875em;
  left: calc(100% + 0.625em);
  border: 0.25em solid transparent;
  border-left-width: 0.375em;
  border-left-color: currentColor;
}

.shuffle .arrow:first-child {
  transform-origin: 0 0.5em;
  transform: scaleY(-1);
}

.repeat {
  width: 1.375em;
  height: 1.375em;
  color: #1f3762;
  border: 0.125em solid;
  border-right-color: transparent;
  border-radius: 50%;
}

.repeat::before {
  content: '';
  position: absolute;
  top: -0.125em;
  left: -0.125em;
  width: calc(100% + 0.25em);
  height: calc(100% + 0.25em);
  transform: rotate(-45deg);
  border: 0.125em solid transparent;
  border-right-color: currentColor;
  border-radius: 50%;
}

.repeat::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.3125em;
  border: 0.25em solid transparent;
  border-top-width: 0.375em;
  border-top-color: currentColor;
}
@keyframes spin {
  100% { transform: rotate(360deg) translate(-50%,-50%); }
}
.playy{
    width: 80px;
    height: 80px;
}