/* regular font */
@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
/* 80s font */
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');
/* ub font*/
@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@700&display=swap');

* {
  box-sizing: border-box;
}

body {

 background-image: linear-gradient(
    rgba(19, 15, 167, 0.25),
    rgba(255, 43, 191, 0.185),
    rgba(255, 43, 124, 0.35),
    rgba(255, 109, 101, 0.55)
  );
  background-color: #000;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  margin: 0;
}

h1 {
    color: #d41459;
    margin-bottom: 35px;
}

.styles-container {
    width: 80%;
    top: -10%;
    position: relative;
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    color: rgba(255,255,255,0.25);
}

.color-picker {
    display: inline-block;
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
}

.styles {
    text-align: right;
    top: 0;
    list-style: none;
    display: block;
    padding-left:0;
}

.styles li {
    padding: 0 15px;
}

.styles li h5 {
    font-size: 18px;
    margin: 0;
    
}

.synth {   
    font-family: 'Monoton', cursive;
    background: -webkit-linear-gradient(#01012c, #ff6d65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ub {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    color: #f9c711;
}

.music-container {
  background-color: #310f2a;
  border-radius: 15px;
  box-shadow: 0 16px 50px 0 rgb(255 202 45 / 56%);
  display: flex;
  padding: 20px 30px;
  position: relative;
  margin: 100px 0;
  z-index: 10;
}

.img-container {
  position: relative;
  width: 110px;
}

.img-container::after {
  content: '';
  background-color: #310f2a;
  border-radius: 50%;
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, 50%);
}

.img-container img {
  border-radius: 50%;
  object-fit: cover;
  height: 110px;
  width: inherit;
  position: absolute;
  bottom: 0;
  left: 0;
  animation: rotate 3s linear infinite;
  animation-play-state: paused;
  box-shadow: 0 0px 29px 0 rgb(255 202 45 / 21%);
}

.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: transparent;
  border: 0;
  color: #ff5783;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  margin: 0 20px;
}

.action-btn.action-btn-big {
  color: #ff6d65;
  font-size: 30px;
}

.action-btn:focus {
  outline: 0;
}

.music-info {
  background-color: rgba(218, 138, 113, .2);
  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;
  color: #d41459;
}

.progress-container {
  background: rgba(255,255,255,0.55);
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 0;
  height: 4px;
  width: 100%;
}

.progress {
  background-color: #d41459;
  border-radius: 5px;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
}