:root {
  --slategray: #253a5e;
  --lightgray: #818aa3;
  --darkgray: #313543;
  --darkergray: #1f222f;
  --abyss: #101116;
  --haloblue: #91d9fa;
  --teagreen: #75a743;
  --teagreendark: #436a1d;
  --lemonchiffon: #de9e41;
  --lemonchiffondark: #b17b2a;
  --paledogwood: #d6dbe5;
  --darknessred: #a53030;
  --darknessredder: #841515;
}

/* Card album style */
.album {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.bg-album {
  background: var(--abyss);
}

/* Card top, middle, audio and bottom styles*/
.card {
  margin: 10px;
  width: 200px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.25s ease;
  border: none;
  border-radius: 10px;
  opacity: 0;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition: box-shadow 0.2s ease-in-out;
  animation: reveal 1s ease 1s forwards;

  -webkit-user-select: none;
  user-select: none;
}

@keyframes reveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.card-active {
  box-shadow: 0px 0px 25px gold;
}

.card-top {
  width: 100%;
  height: 40px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-top h1 {
  padding: 0 10px;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  color: white;
}
.card-middle {
  width: 100%;
  height: 150px;
  border: none;
  outline: none;
  background-color: black;
  background-image: var(--card-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 140%;
  transition: background-size 1s ease;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.card-middle:hover {
  background-size: 160%;
}

.audio-play i {
  padding: 40px 60px;
  color: white;
  transform: scale(1.4);
}
.card-audio {
  width: 100%;
  height: 40px;
  background: var(--darkergray);
  display: flex;
  flex-direction: row;
  cursor: pointer;
}

.card-bottom {
  width: 100%;
  height: 70px;
  border-radius: 0 0 10px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-bottom p {
  margin: 5px;
  text-align: center;
  font-size: 15px;
  color: white;
}

/* Card audioplayer style*/
.audio-volume,
.audio-mute,
.audio-stop {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.audio-volume {
  flex: 2;
  margin: 0 7px 0 10px;
}

/* .vol-up {
  flex: 1;
  margin: 0 2px 0 2px;
  width: 50px;
  height: 30px;
  background: none;
  border: none;
  color: white;
}

.vol-dwn {
  flex: 1;
  margin: 0 0 0 2px;
  width: 50px;
  height: 30px;
  background: none;
  border: none;
  color: white;
} */

.audio-mute {
  flex: 1;
  margin: 0 5px 0 5px;
  display: flex;
  justify-content: center;
}
.audio-mute i {
  color: white;
  transform: scale(1.1);
}
.audio-stop {
  flex: 1;
  margin: 0 10px 0 5px;
  display: flex;
  justify-content: center;
}
.audio-stop i {
  color: white;
  transform: scale(1.3);
}

/* Card audioplayer volume slider style*/
.audio-volume input {
  width: 110px;
  height: 10px;
  -webkit-appearance: none;
  background-color: transparent;
  position: relative;
  z-index: 99;
}
.audio-volume input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: gold;
  border-radius: 50%;
  cursor: pointer;
}
.audio-volume progress {
  width: 100px;
  height: 10px;
  -webkit-appearance: none;
  border-radius: 10px;
  overflow: hidden;
  position: absolute;
}
.audio-volume progress::-webkit-progress-bar {
  background: var(--darkgray);
}
.audio-volume progress::-webkit-progress-value {
  background: var(--paledogwood);
}

/* Card category colors */
.card-ambience {
  background-image: linear-gradient(to right bottom, var(--teagreen), var(--teagreendark));
}

.card-ambience-hover:hover {
  box-shadow: 0px 0px 25px var(--teagreen);
}

.card-music {
  /* background: var(--darkgray); */
  background-image: linear-gradient(to right bottom, var(--slategray), var(--darkgray));
}

.card-music-hover:hover {
  box-shadow: 0px 0px 25px var(--slategray);
}

.card-action {
  /* background: var(--lemonchiffon); */
  background-image: linear-gradient(to right bottom, var(--lemonchiffon), var(--lemonchiffondark));
}

.card-action-hover:hover {
  box-shadow: 0px 0px 25px var(--lemonchiffon);
}

.card-enemy {
  /* background: var(--darkness); */
  background-image: linear-gradient(to right bottom, var(--darknessred), var(--darknessredder));
}

.card-enemy-hover:hover {
  box-shadow: 0px 0px 25px var(--darknessred);
}

@media (width <= 450px) {
  .album {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* background: var(--darkergray); */
  }

  .bg-album {
    background: var(--abyss);
  }
  .card {
    margin: 5px 7px 5px 7px;
    width: 190px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.25s ease;
    border: none;
    border-radius: 10px;
    opacity: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    transition: box-shadow 0.2s ease-in-out;
    animation: reveal 1s ease 1s forwards;

    -webkit-user-select: none;
    user-select: none;
  }

  @keyframes reveal {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .card-active {
    box-shadow: 0px 0px 25px gold;
  }

  .card-top {
    width: 100%;
    height: 30px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .card-top h1 {
    padding: 3px 5px 0 5px;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    color: white;
  }
  .card-middle {
    width: 100%;
    height: 150px;
    border: none;
    outline: none;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .audio-play i {
    padding: 40px;
    color: white;
    transform: scale(1.4);
  }
  .card-audio {
    width: 100%;
    height: 40px;
    background: var(--darkergray);
    display: flex;
    flex-direction: row;
    cursor: pointer;
  }

  .card-bottom {
    width: 100%;
    height: 60px;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .card-bottom p {
    margin: 5px 5px 0 5px;
    text-align: center;
    font-size: 15px;
    color: white;
  }

  /* Card audioplayer style*/
  .audio-volume,
  .audio-mute,
  .audio-stop {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .audio-volume {
    flex: 2;
    margin: 0 7px 0 10px;
  }
  .audio-mute {
    flex: 1;
    margin: 0 5px 0 5px;
    display: flex;
    justify-content: center;
  }
  .audio-mute i {
    color: white;
    transform: scale(1.1);
  }
  .audio-stop {
    flex: 1;
    margin: 0 12px 0 5px;
    display: flex;
    justify-content: center;
  }
  .audio-stop i {
    color: white;
    transform: scale(1.3);
  }

  /* Card audioplayer volume slider style*/
  .audio-volume input {
    width: 110px;
    height: 10px;
    -webkit-appearance: none;
    background-color: transparent;
    position: relative;
    z-index: 99;
  }
  .audio-volume input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: gold;
    border-radius: 50%;
    cursor: pointer;
  }
  .audio-volume progress {
    width: 100px;
    height: 10px;
    -webkit-appearance: none;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
  }
  .audio-volume progress::-webkit-progress-bar {
    background: var(--darkgray);
  }
  .audio-volume progress::-webkit-progress-value {
    background: var(--paledogwood);
  }

  /* Card category colors */
  .card-ambience {
    background-image: linear-gradient(to right bottom, var(--teagreen), var(--teagreendark));
  }

  .card-ambience:hover {
    box-shadow: 0px 0px 25px var(--teagreen);
  }

  .card-music {
    /* background: var(--darkgray); */
    background-image: linear-gradient(to right bottom, var(--slategray), var(--darkgray));
  }

  .card-music:hover {
    box-shadow: 0px 0px 25px var(--slategray);
  }

  .card-action {
    /* background: var(--lemonchiffon); */
    background-image: linear-gradient(to right bottom, var(--lemonchiffon), var(--lemonchiffondark));
  }

  .card-action:hover {
    box-shadow: 0px 0px 25px var(--lemonchiffon);
  }

  .card-enemy {
    /* background: var(--darkness); */
    background-image: linear-gradient(to right bottom, var(--darknessred), var(--darknessredder));
  }

  .card-enemy-hover:hover {
    box-shadow: 0px 0px 25px var(--darknessred);
  }
}
