.grid {
  display: grid;
  grid-gap: 1rem;
}
@supports (width: min(250px, 100%)) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  }
}
.box {
  padding: var(--s1);
  border: var(--border-thin) solid;
  --color-light: #fff;
  --color-dark: #000;
  color: var(--color-dark);
  background-color: var(--color-light);
  display:flex;
  justify-content: center;
}
.box * {
  color: inherit;
}
.box.invert {
  color: var(--color-light);
  background-color: var(--color-dark);
}
.main-container {
  width: 80%;
  margin: 5% auto;
}
.img-wrapper {
  display: flex;
  width: 100%;
  height: 18rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.box-border {
  border: 2px solid hsla(249, 87%, 35%, 0.4);
  border-radius: 3px;
}
.center {
  box-sizing: content-box;
  margin-right: auto;
  margin-left: auto;
  max-width: var(--measure);
  text-align: center;
  /* flex-basis: 10%; */
}
.btn-styles {
  /* background:linear-gradient(rebeccapurple, magenta); */
  background-color: rgb(80, 80, 158);
  border: none;
  border-radius: 5px;
  min-height: 3rem;
  min-width: 120px;
  padding-right: 10px;
  padding-left: 10px;
  color: #ffffff;
}

.cart-custom-styles {
  background: transparent;
  border: none;
  height: 5em;
}
.cart-custom-styles span {
  vertical-align: super;
  color: #fff;
}

.cart-custom-styles span::before {
  content: '(';
  color: #fff;
}
.cart-custom-styles span::after {
  content: ')';
  color: #fff;
}

.main-bar {
  border-color: #e7e7e7;
  background-color: rgb(80, 80, 158);
}

.btn-container {
  display: flex;
  justify-content: center;
}
.btn-container-child {
  flex-basis: 80%;
  display: flex;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  /* flex-basis: 39%; */
  align-items: center;
  /* justify-content: space-between; */
}
.logo-container-child {
  /* flex-basis:65%; */
  /* flex-basis:25%; */
  /* display: flex; */
  /* justify-content: space-between; */
}

.logo-txt {
  color: #ffffff;
  font-size: 1.5rem;
}
/* Start MP3 player */
@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');

* {
  box-sizing: border-box;
}

.player-wrapper {
  /* background-image: linear-gradient(

  0deg,
  rgba(247, 247, 247, 1) 23.8%,
  rgba(252, 221, 221, 1) 92%
); */

  height: 51.8vh;

  display: flex;

  /* flex-direction: column; */

  align-items: center;

  justify-content: space-around;

  /* font-family: 'Lato', sans-serif; */

  /* margin: 0; */

 border:1.3px solid hsla(249, 87%, 35%, 0.4);
}
.music-container {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 20px 20px 0 rgba(65, 63, 63, 0.6);
  display: flex; /* padding: 20px 30px; */
  position: relative; /* margin: 93px 0 60px; */
  z-index: 10; /* flex-basis: 10%; */
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  height: 28vh;
}

.img-container {
  /* position: relative; */ /* width: 110px; */
  flex-basis: 39.8%;
}

.img-container img {
  border-radius: 50%;
  object-fit: cover;
  height: 110px;
  width: inherit;
  /* position: absolute; */
  bottom: -3px;
  left: -77px;
  animation: rotate 3s linear infinite;
  animation-play-state: paused;
}

.music-container.play .img-container img {
  animation-play-state: running;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.action-btn {
  background-color: #fff;
  border: 0;
  color: #dfdbdf;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  margin: 0 20px;
}

.action-btn.action-btn-big {
  color: #cdc2d0;
  font-size: 30px;
}

.action-btn:focus {
  outline: 0;
}

.music-info {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 15px 15px 0 0;
  position: absolute;
  top: 0;
  left: 20px;
  width: calc(100% - 40px);
  padding: 10px 10px 10px 150px;
  opacity: 0;
  transform: translateY(0%);
  transition: transform 0.3s ease-in, opacity 0.3s ease-in;
  z-index: 0;
}

.music-container.play .music-info {
  opacity: 1;
  transform: translateY(-100%);
}

.music-info h4 {
  margin: 0;
}

[data-progress-container] {
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 0;
  height: 4px;
  width: 100%;
}

.progress {
  background-color: #fe8daa;
  border-radius: 5px;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
}

/* End MP3 player */

@media only screen and (max-width: 425px) {
.player-wrapper {
  height: 50vh;
}


}
@media only screen and (max-width: 475px) {
.img-container {
  flex-basis:34.5%;
  flex-grow: 0;
  flex-shrink: 0;
}
.music-container {
    height: 30.8vh;
    /* outline: 2px dotted red; */
  }

}
@media only screen and (max-width: 650px) {
  .img-wrapper {
    height: auto;
  }
  .logo-container-child {
    flex-basis: 49.9%;
    /* justify-content: space-between; */
  }

  .logo-txt {
    font-size: 0.999999rem;
  }
}