/* jukebox.css */

:root
{
  --royal: #007db5;
}

html, body {
  height: 50vh;
}

body {
  background-image: url("../SRC/11_JUKEBOX/BG.png");
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
}

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

@keyframes wobble {
  100% { transform: translateX(25px); }
}

@keyframes fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes gelatine2 {
  from, to { transform: scale(1, 1); }
  25% { transform: scale(0.9, 1.1); }
  50% { transform: scale(1.1, 0.9); }
  75% { transform: scale(0.95, 1.05); }
}

.fade-in {
  animation: fade-in ease 1s;
}

/* GAUCHE */

#zouz-de-gauche {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 100vh;
  background-color: rgb(0, 0, 0, 0.3);
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-color: var(--royal) rgb(0, 0, 0, 0);
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scrollbar-gutter: inherit;
}

#albums {
  position: absolute;
  top: 25px;
}

#album-1 {
  width: 222px;
  height: 222px;
  z-index: 1;
  box-shadow: 8px 8px 5px black;
}

#disc-1 {
  position: relative;
  top: -218px;
  left: 95px;
  width: 200px;
  height: 200px;
  z-index: -1;
}

#disc-logo {
  width: 260px;
  height: 260px;
  z-index: 1;
}

#albums ul li {
  list-style: none;
  margin-bottom: 60px;
  height: 200px;
}

#albums ul li:hover {
  cursor: pointer;
}

#albums ul li:hover #disc-1 {
  animation: wobble;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

/* MILIEU */

#zouz-du-milieu {
  position: absolute;
  top: 0;
  left: 20.5%;
  width: 1150px;
  height: 100vh;
}

.turntable {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 400px;
  background-image: url("../SRC/11_JUKEBOX/fond-de-la-platine.png");
  border-radius: 10%;
  border: solid 2px var(--royal);
  box-shadow: 1px 4px 4px rgba(0, 255, 255, 0.5);
}

#disc {
  background-size: contain;
  width: 380px;
  height: 380px;
  margin-top: 5px;
  margin-left: 5px;
}

.disc-mov {
  animation: spin 6s infinite linear;
}

.tone-arm {
  position: absolute;
  margin: auto;
  top: 0;
  left: 280px;
  bottom: 220px;
  right: 0;
  width: 20px;
  height: 40px;
  background: linear-gradient(45deg, var(--royal), rgb(194, 194, 194));
  border-radius: 10%;
  transform: rotate(20deg);
}

.tone-arm:before,
.tone-arm:after {
  content: "";
  position: absolute;
  margin: auto;
  background: linear-gradient(45deg, var(--royal), rgb(194, 194, 194));
}

.tone-arm:before {
  left: 0;
  right: 1px;
  top: 40px;
  width: 7px;
  height: 120px;
}

.tone-arm:after {
  left: -2px;
  right: 0;
  bottom: 0;
  top: 170px;
  width: 20px;
  height: 30px;
  border-radius: 20%;
}

#artiste-et-musique {
  position: absolute;
  top: 685px;
  text-align: center;
  margin: auto;
  width: 1150px;
}

#lecteur {
  position: absolute;
  margin: auto;
  top: 730px;
  left: 0;
  right: 0;
  width: 750px;
}

@media (display-mode: fullscreen){
  #artiste-et-musique {
    position: absolute;
    top: 790px;
    text-align: center;
    margin: auto;
    width: 1150px;
  }
  #lecteur {
    position: absolute;
    margin: auto;
    top: 865px;
    left: 0;
    right: 0;
    width: 750px;
  }
}

#zouz-artiste {
  color: white;
  font-size: 20px;
  font-family: bankGothicMedium;
}

#zouz-musique {
  color: yellow;
  font-size: 20px;
  font-family: bankGothicMedium;
}

#lecteur-0 {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  font-size: 24px;
  font-family: bankGothicMedium;
}

#lecteur-barre {
  position: absolute;
  top: 14px;
  left: 100px;
  width: 550px;
}


#lecteur-barre progress {
  width: 550px;
}

#lecteur-1 {
  position: absolute;
  top: 8px;
  left: 666px;
  color: white;
  font-size: 24px;
  font-family: bankGothicMedium;
}

#lecteur img {
  width: 40px;
  height: 40px;
}

#lecteur img:hover {
  cursor: pointer;
}

#lecteur-precedent {
  position: absolute;
  top: 40px;
  left: 280px;
}

#lecteur-lecture {
  position: absolute;
  top: 40px;
  left: 345px;
}

#lecteur-suivant {
  position: absolute;
  top:  39px;
  left: 412px;
}

/* DROITE */

#zouz-de-droite {
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 100vh;
  background-color: rgb(0, 0, 0, 0.3);
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-color: var(--royal) rgb(0, 0, 0, 0);
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scrollbar-gutter: inherit;
}

#album-actuel {
  height: 300px;
}

#album-actuel ul {
  margin-top: 0px;
  margin-left: -25px;
  list-style: none;
  color: aqua;
  font-size: 14px;
  font-family: bankGothicMedium;
}

#album-actuel ul li {
  height: 25px;
  width: 360px;
  margin-top: 5px;
  margin-bottom: 5px;
}

#album-actuel ul li p {
  padding: 0;
  margin: 0;
}

#album-actuel ul li:hover {
  cursor: pointer;
  color: white;
  transform: translateY(-3px);
  transition: transform 0.3s ease;
}

#album-actuel-img {
  position: relative;
  top: 40px;
  left: 45px;
  width: 300px;
  height: 300px;
  box-shadow: 8px 8px 5px black;
}

#album-actuel-txt1 {
  position: relative;
  top: 55px;
  left: 13px;
  width: 360px;
  color: aqua;
  font-size: 14px;
  font-family: bankGothicMedium;
}

#album-actuel-txt2 {
  position: relative;
  top: 30px;
  left: 12px;
  width: 360px;
  color: yellow;
  font-size: 24px;
  font-family: bankGothicMedium;
}

#album-actuel-txt3 {
  position: relative;
  top: 10px;
  left: 12px;
  width: 360px;
  color: white;
  font-size: 18px;
  font-family: bankGothicMedium;
}

#album-actuel-txt4 {
  position: relative;
  top: 0px;
  left: 12px;
  width: 360px;
  color: white;
  font-size: 18px;
  font-family: bankGothicMedium;
}

#album-actuel-txt5 {
  position: relative;
  top: -10px;
  left: 12px;
  width: 360px;
  color: white;
  font-size: 14px;
  font-family: bankGothicMedium;
}

@media all and (min-width: 2560px) {
  #zouz-de-gauche {
    width: 15%;
  }
  #zouz-du-milieu {
    left: 700px;
  }
  #artiste-et-musique {
    top: 900px;
  }
  #lecteur {
    top: 1030px;
    left: 30px;
  }
}

