


body {
    margin: 0 auto;
    padding: 0 auto;
    background: #1b1b1b;
    font-family: initial;
    display: block;
    justify-items: center;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;

    font-family: "Eras Demi ITC";
}


.app {

    width: 55%;
    height: 750px;
    background: #353535;
    position: relative;

    justify-content: center;
    align-items: center;
    border-radius: 70px;
    transform: translate(0, 0);
    transition: transform 0.3s ease;
}

/* Zona del tocadiscos */
.player {
    width: calc(412px * 1.6);
    height: calc(274px * 1.8);
    background-image: url("text_1.png");
    background-repeat: no-repeat;
    background-size: cover;

    top: 50px;
    left: 100px;
    position: absolute;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
   
}
.active1{
    transform: translateX(16%);
}
.active2{
    transform: translateX(-16%);
}

.active3{
    transform: translateY(-22%);
}



.vinyl1 {
    width: calc(192px * 2.4);
    height: calc(192px * 2.4);

    position: absolute;
    top: 18px;
    left: 10px;
    

    visibility: hidden;
}

.vinyl2{
    width: calc(192px * 2.4);
    height: calc(192px * 2.4);

    position: absolute;
    top: 16px;
    left: 10px;

    visibility: visible;

    animation: rotar 2s linear infinite;
  
  /* Opcional: asegurar que el elemento sea un bloque para rotar correctamente */
    display: inline-block; 
}

.vinyl3{
    width: calc(192px * 2.2);
    height: calc(192px * 2.2);

    position: absolute;
    top: 34px;
    left: 32px;

    visibility: visible;

    animation: rotar 2s linear infinite;
  
  /* Opcional: asegurar que el elemento sea un bloque para rotar correctamente */
    display: inline-block; 
}


.vinyl4{
    width: calc(192px * 2);
    height: calc(192px * 2);

    position: absolute;
    top: 54px;
    left: 48px;

    visibility: visible;

    animation: rotar 1s linear infinite;
  
  /* Opcional: asegurar que el elemento sea un bloque para rotar correctamente */
    display: inline-block; 
}

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



.arm {
    
    width: calc(123px * 1.8);
    height: calc(252px * 1.8);
    
    position: absolute;
    right: 7px;
    top: 24px;

    transform: rotate(0deg);
}

.armPlay{
    width: calc(123px * 1.8);
    height: calc(252px * 1.8);
    
    position: absolute;
    right: 120px;
    top: -15px;
    transform: rotate(40deg);
}
.armPlay2{
    width: calc(123px * 1.8);
    height: calc(252px * 1.8);
    
    position: absolute;
    right: 120px;
    top: -30px;
    transform: rotate(45deg);
}

.armholder {
    background-image: url("txt_30.png");
    width: calc(79px * 1.8);
    height: calc(163px * 1.8);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute; 
    right: 28px;
    top: 8px;
}

/* Controles */
.controls {
    position: absolute;
    top: 560px;
    left: 200px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    width: 52px;
    height: 52px;
    position: relative;
}
.btn:hover{
    opacity: 0.4;
}
.btn:active{
    opacity: 1;
}


/* Botón + */
.add-btn {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
   
 
}

.add-btn:hover{
    opacity: 0.4;
}
.add-btn:active{
    opacity: 1;
}


.icons {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: grid;
    gap: 20px;
}

.icons img {
    width: 70px;
    height: 70px;
   
}

.icons img:hover{
    opacity: 0.4;
}

.icons img:active{
    opacity: 1;
}

.menu {
  position: fixed;
  
  color: white;
  transition: transform 0.3s ease;
  z-index: 1000;
}

.menu h2{
    padding-left: 30px;
    top: -100px;
    font-size: 3em;
    color: white;
    height: 25px;
}

.menu label{
     font-size: 2em;
    text-align: left;
}

/* IZQUIERDA */
.left {
  top: 0;
  left: 0;
  width: 600px;
  height: 100%;

  transform: translateX(-100%);

  
}

.dis{
    top: -430px;
    left: 400px;
    position: relative;
}

.rec-form {
    overflow-y: auto;
  
    
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 24px;
 
  
    
    width: 85%;
    height: 85%;
    visibility: visible;
}

.rec-form1 {
    overflow-y: auto;
  
    
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 24px;
 
  
    
    width: 85%;
    height: 85%;

    visibility: hidden;
}
.menu li{
    font-size: 1.5em;
}
.menu input{
    width: 325px;
    height: 30px;
    font-size: 1.5em;

    border: none;
    border-radius: 10px;
}

.menu button{
    width: 325px;
    height: 30px;
    font-size: 1.5em;

  

    border: none;
    border-radius: 10px;
}

.menu button:hover{
    width: 325px;
    height: 30px;
    font-size: 1.5em;

    border: none;
    border-radius: 10px;

    opacity: 0.4;
}

.menu option{
    width: 50px;
    height: 5px;
    font-size: 1em;

    border: none;
    border-radius: 10px;
}

.menu select{
    width: 325px;
    height: 30px;
    font-size: 1.5em;

    border: none;
    border-radius: 10px;
}

.menu select:hover{
    opacity: 0.4;
}

.menu input:hover{
    opacity: 0.4;
}



.left.active {
  transform: translateX(0);
}

/* DERECHA */
.right {
  top: 0;
  right: 0; 

    
  width: 600px;
  height: 100%;
  transform: translateX(100%);
}

.right.active {
  transform: translateX(0);
}

/* ABAJO */
.bottom {
     
    bottom: 0;
    left: 0;
    width: 100%;
    height: 330px;
    transform: translateY(100%);

    
}

.bottom.active {
  transform: translateY(0);
}

.caveat-brush-regular {
  font-family: "Caveat Brush", cursive;
  font-weight: 400;
  font-style: normal;
}

.rec-colect {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
    justify-content: flex-start;

    padding-left: 20px;
    padding-top: 10px;

    width: 105%;
    height: 60%;

    gap: 25px; 
}

.recPanel{
    display: absolute;
    z-index: 2;
    width: 192px;
    height: 192px;
    transition: transform 0.3s ease;

    
}

.discPanel{
    position: relative;
    transition: transform 0.3s ease;
    z-index: -1; /* Asegura que esté por encima */
    width: 192px;
    height: 192px;
    right: 192px;
    top: 0px
    
  
}

.recPanel:hover{
    transform: scale(1.1); /* Escala al 110% */
    
}


.recPanel:hover + .discPanel {
  transform: translateX(125px);
}