@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tilt+Neon&display=swap');
body{
  background-color: palevioletred;
  background-size: cover;
  color: white;
  font-family: 'Josefin Sans', sans-serif;
  transition: 0.4s;
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
   }
}


::-webkit-scrollbar {
  width: 10px;
}


::-webkit-scrollbar-track {
  background: #f1f1f1;
}


::-webkit-scrollbar-thumb {
  background: #888;
}


::-webkit-scrollbar-thumb:hover {
  background: #555;
}


#container {
  border-radius: 50px;
  background: rgb(167, 85, 112);
  box-shadow: 20px 20px 60px #bebebe,
                -20px -20px 60px #ffffff;

  width: 320px;
  border-radius: 4px;
  margin: 0px;
  margin-top: -50px;
  padding: 0px;
  color: white;
  font-family: 'Josefin Sans', sans-serif;
  transition: 0.4s;
  font-size: 0.8em;
  border: 2px solid #ffffff;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

div {
  margin: 0px;
  padding: 0px;
  position: relative;
}

#wrapper {
  padding: 10px;
  position: relative;
}

#controls div, #timeInfo div {
  display: table-cell;
  vertical-align:middle;
  position: relative;
}

#volumeSlider {
  width:70px;

  height:10px;
  background-color: #DBDBDB;
  position: relative;
  border: 0px;
  border-radius: 14px;
}

#volumeSlider div {
  height:inherit;
  position: relative;
  border: 0px;
  border-radius: 14px;
}

#timeInfo {
  margin: 5px 0px;
  position: relative;
  font-size: 0px;
} 

#timeBar {
  width:280px;
  height:20px;
  background-color: #7c7c7c;
  box-shadow: 0.25rem 0.25rem var(--bg);
  border-radius: 4px;
  cursor: pointer;
  --bg: black;
}

#timeBar div {
  height:inherit;
  position: relative;
  border: 0px;
  border-radius: 7px;
  cursor: pointer;
}

#volumeIcon{
  padding-left: 20px;
  padding-right: 10px;
  position: relative;
}

.filler {
  width: inherit;
  background-color: palevioletred;
  position: relative;
  border: 0px;
  border-radius: 4px;
  float: left;
    height: 20px;
    cursor: pointer;
}


.button img {
  width:20px;
  margin-left: 1px;
  margin-top:4px;
}

.blank{
  padding: 5px;
}

.volumeAlign {
  padding-bottom: 15px;
}




.spinner {
  background-image: linear-gradient(rgb(186, 66, 255) 35%,rgb(0, 225, 255));
  width: 32px;
  height: 32px;
  animation: spinning82341 1.7s linear infinite;
  text-align: center;
  border-radius: 50px;
  filter: blur(1px);
  box-shadow: 0px -5px 20px 0px rgb(186, 66, 255), 0px 5px 20px 0px rgb(0, 225, 255);
}

.spinner1 {
  background-color: rgb(36, 36, 36);
  width: 32px;
  height: 32px;
  border-radius: 50px;
  filter: blur(10px);
}

@keyframes spinning82341 {
  to {
    transform: rotate(360deg);
  }
}



.info{
  border-radius: 50px;
  background: rgb(167, 85, 112);
  box-shadow: 20px 20px 60px #bebebe,
                -20px -20px 60px #ffffff;

  width: 320px;
  border-radius: 4px;
  margin: 0px;
  padding: 0px;
  color: white;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.8em;
  border: 2px solid #ffffff;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


.main{
  width: 400px;
  height: 50px;
  margin: auto;
  margin-top: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 10px;

}

.color-div{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px black solid;
  cursor: pointer;
}

#grey{
  background-color: #fca23c;
}

#white{
  background-color: #10CAD4;
}

#blue{
  background-color: #DB3042;
}

#yellow{
  background-color: #280028;
}

#black{
  background-color: black;
}

.text{
  text-align: center;
  font-size: 1.5rem;
  font-weight: bolder;
}






.loader {
  border: 10px solid #f3f3f3; /* Light grey */
  border-top: 10px solid #6844FB; /* Blue */
  border-radius: 50%;
  width: 5px;
  height: 5px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}




hr{
  border-radius: 600;
  border: 1px solid white;
}




.counter {
  color: #333;
  margin: 0 auto;
  text-align: center;
}
 
h1 {
  font-weight: normal;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
}
 
li {
  display: inline-block;
  font-size: 1.5em;
  list-style-type: none;
  padding: 1em;
  text-transform: uppercase;
}
 
li span {
  display: block;
  font-size: 4.5rem;
}
 
.message {
  font-size: 4rem;
}
 
#content {
  display: none;
  padding: 1rem;
}
 
.emoji {
  padding: 0 0.25rem;
}
 
@media all and (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
 
  li {
    font-size: 1.125rem;
    padding: 0.75rem;
  }
 
  li span {
    font-size: 3.375rem;
  }
}

#trackInfo{
  padding-left: 10px;
}




.button {
    --bg: #000;
    --hover-bg: palevioletred;
    --hover-text: #000;
    color: #fff;
    cursor: pointer;
    border: 1px solid var(--bg);
    border-radius: 4px;
    padding: 0.8em 2em;
    background: var(--bg);
    transition: 0.2s;
  }
  
  .button:hover {
    color: var(--hover-text);
    transform: translate(-0.25rem, -0.25rem);
    background: var(--hover-bg);
    box-shadow: 0.25rem 0.25rem var(--bg);
  }
  
  .button:active {
    transform: translate(0);
    box-shadow: none;
  }

  .button img {
    /* Ustawienie koloru RGB (161, 161, 161) */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(200deg) brightness(100%) contrast(90%);
    transition: filter 0.3s ease; /* Płynne przejście koloru */
}



#controls{
    margin-top: -12px;
}











button {
    --bg: #000;
    --hover-bg: palevioletred;
    --hover-text: #000;
    color: #fff;
    cursor: pointer;
    border: 1px solid var(--bg);
    border-radius: 4px;
    padding: 0.8em 2em;
    background: var(--bg);
    transition: 0.2s;
  }
  
  button:hover {
    color: var(--hover-text);
    transform: translate(-0.25rem, -0.25rem);
    background: var(--hover-bg);
    box-shadow: 0.25rem 0.25rem var(--bg);
  }
  
  button:active {
    transform: translate(0);
    box-shadow: none;
  }
  

.footer {
  position: fixed;
  left: 0;
  bottom: 15px;
  width: fit-content;
  margin-left: 0.5%;
  margin-right: 50%;
  border-radius: 4px;
  background: rgb(167, 85, 112);
  box-shadow: 20px 20px 60px #bebebe,
                -20px -20px 60px #ffffff;

  color: white;
  border: 2px solid #ffffff;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
  padding: 15px 15px;
}

.NEW{
  padding: 2px 2px;
  background-color: #DB3042;
  color: white;
  width: fit-content;
  border-radius: 5px;
}