@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Regular.ttf');
  font-weight: 400;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Bold.ttf');
  font-weight: 700;
}

h2 {
    margin-bottom: 12px;
}

.track-artist {
    margin-top: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  color: #000;
  background-image: url(../image/Cover1_Arctic_Monkeys.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.audio-player-container {
  background: rgb(64, 2, 102);
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  padding: 20px;
  border: 2px solid #000;
  border-radius: 10px;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.track-cover img {
  max-width: 100%;
  height: auto;
}

.player-button-container {
  display: flex;
}

.button-container {
    display: flex;
}

button {
  font-size: 16px;
  /* padding: 10px 20px; */
  margin: 10px;
  border: none;
  cursor: pointer;
  background-color: transparent;
  font-size: 16px;
  /* padding: 5px 10px; */
  /* margin-right: 10px; */
  border: none;
  cursor: pointer;
  /* background-color: #fff; */
  color: #000;
  /* border-radius: 5px; */
  transition: background-color 0.3s ease;
}

.next {
    margin-right: 20px;
}

.player-button-container button img {
  width: 30px;
  height: 30px;
  transition: filter 0.5s linear;
}

.progress-bar-container {
  margin-top: 20px;
  position: relative;
}

.bar {
    cursor: pointer;
    border-radius: 3px;
    border: 2px solid black;
    height: 8px;
    width: 100%;
    appearance: none;
    outline: none;
  }

.bar::-webkit-slider-thumb {
  background-color: #000;
  width: 10px;
  height: 25px;
  border: 2px solid #000;
  border-radius: 10%;
  cursor: pointer;
  appearance: none;
}

.volume-bar {
  background: linear-gradient(to right, #000 0%, #000 40%, #fff 40%, #fff 100%);
}

.progress-bar {
  background: linear-gradient(to right, #000 0%, #000 2%, #fff 1%, #fff 100%);
}

.volume-mute-button {
    width: 50px;
    height: 40px;
    background-size: 30px 30px;
    background-position: center center;
    background-repeat: no-repeat;
}

.volume {
    background-image: url(../assets/svg/volume_white.svg);
}

.mute {
    /* background-image: url(../assets/svg/volume_mute_white.svg); */
    background-image: url(../assets/svg/volume1_mute_white.svg);
    background-size: 25px 25px;
}

.play-pause-button {
  width: 30px;
  height: 36px;
  /* margin: 10px; */
  background-size: 30px 30px;
  background-position: center center;
  background-repeat: no-repeat;
}

.play {
  background-image: url(../assets/svg/play_white.svg);
}

.pause {
  background-image: url(../assets/svg/pause_white.svg);
}

.duration-info {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.current-time {
  width: 35px;
}

.volume-control-container {
  display: flex;
  align-items: center;
  /* margin-top: 20px; */
  width: 100%;
}

/* .volume-control-container button {
  font-size: 16px;
  padding: 5px 10px;
  margin-right: 10px;
  border: none;
  cursor: pointer;
  background-color: #fff;
  color: #000;
  border-radius: 5px;
  transition: background-color 0.3s ease;
} */

.footer {
  padding: 20px;
  background: rgb(64, 2, 102);
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto;
  margin-top: 20px;
  border-radius: 10px;
  border: 2px solid #000;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px;
  /* max-width: 1440px; */
  min-height: 40px;
  margin: 0 auto;
}

.footer-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.github-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  transition: filter 0.5s linear;
}

.rss-logo {
  width: 100px;
  height: 35px;
  transition: filter 0.5s linear;
}

.visit {
  transition: filter 0.5s linear;
  margin-bottom: 0;
}

/* .button-container img {
  transition-duration: 0.5s;
} */

/* .player-button-container button img:hover, */
.github-icon:hover,
.rss-logo:hover,
.visit:hover {
    transform: scale(1.1);
    /* filter: invert(100%);
    -webkit-filter: invert(100%); */
}

.player-button-container button:active {
    transform: scale(1.1);
}

.year {
  margin-bottom: 0;
  color: #fff;
}