/* =====================================
   RESET
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* =====================================
   BODY
===================================== */

body{

    font-family: Georgia, serif;

    color:#f0f0f0;

   background-image:url("/..css/dustygroove_prod_2.jpg");
background-size:cover;
background-position:center;
}

/* =====================================
   CABECERA
===================================== */

header{

    text-align:center;

    padding:60px 20px 40px;
}

header h1{

    font-size:3rem;

    letter-spacing:5px;

    margin-bottom:15px;
}

header p{

    color:#cccccc;

    max-width:700px;

    margin:auto;

    line-height:1.6;
}

/* =====================================
   CONTENEDOR GENERAL
===================================== */

.fonoteca{

    width:95%;

    max-width:1400px;

    margin:auto;

    padding-bottom:60px;
}

/* =====================================
   FILA DE CANCIÓN
===================================== */

.track{

    display:flex;

    align-items:center;

    gap:80px;

    width:100%;

    min-height:240px;

    margin-bottom:20px;

    padding:20px;

    overflow:hidden;

    background:rgba(20,20,20,.70);

    backdrop-filter:blur(4px);

    border:1px solid rgba(255,255,255,.10);

    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease;
}

.track:hover{

    transform:translateX(8px);

    background:rgba(35,35,35,.80);

    border-color:rgba(255,255,255,.25);
}

/* =====================================
   PORTADA + VINILO
===================================== */

.album-container{

    position:relative;

    width:220px;
    height:220px;

    flex-shrink:0;
}

/* VINILO */

.vinyl{

    position:absolute;

    width:210px;
    height:210px;

    top:5px;

    left:15px;

    z-index:1;

    transition:left .8s ease;

    animation:spin 5s linear infinite;

    animation-play-state:paused;
}

/* PORTADA */

.cover{

    position:relative;

    width:220px;
    height:220px;

    object-fit:cover;

    z-index:2;

    border-radius:4px;

    box-shadow:
        0 0 25px rgba(0,0,0,.6);
}

/* =====================================
   VINILO SALE
===================================== */

.track:hover .vinyl{

    left:110px;

    animation-play-state:running;
}

/* =====================================
   INFORMACIÓN
===================================== */

.track-info{

    flex:1;
}

.track-info h2{

    font-size:2rem;

    margin-bottom:10px;

    font-weight:normal;
}

.track-info p{

    color:#c8c8c8;

    margin-bottom:18px;

    font-size:1rem;
}

/* ENLACES */

.track-info a{

    color:#e7c86a;

    text-decoration:none;

    transition:.3s;
}

.track-info a:hover{

    color:white;
}

/* BOTÓN */

.listen-button{

    display:inline-block;

    padding:12px 20px;

    border:1px solid #e7c86a;

    color:#e7c86a;

    transition:.3s;
}

.listen-button:hover{

    background:#e7c86a;

    color:black;
}

/* =====================================
   GIRO DEL VINILO
===================================== */

@keyframes spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width:900px){

    .track{

        flex-direction:column;

        text-align:center;

        gap:25px;
    }

    .track-info{

        width:100%;
    }

    .track:hover .vinyl{

        left:80px;
    }

}

@media (max-width:500px){

    header h1{

        font-size:2rem;
    }

    .album-container{

        width:180px;
        height:180px;
    }

    .cover{

        width:180px;
        height:180px;
    }

    .vinyl{

        width:170px;
        height:170px;
    }

}
```
