/* Style de base */
body {
    background-color: #2c2c2c; /* Fond sombre */
    color: #f3e5ab; /* Couleur de texte */
    font-family: 'Courier New', Courier, monospace; /* Police de caractères */
    margin: 0;
    padding: 0;
    text-align: center;
}

.screen {
    display: flex; /* Utilisation de Flexbox pour centrer le contenu de .screen */
    flex-direction: column; /* Aligner les éléments verticalement */
    align-items: center; /* Centrer horizontalement les éléments à l'intérieur de .screen */
    justify-content: center; /* Centrer verticalement les éléments à l'intérieur de .screen */
}

h1 {
    margin: 20px 0;
    font-size: 2.5em;
    text-shadow: 2px 2px 0 #000; /* Ombre du texte */
}

/* Styles pour les boutons */
.btn {
    background-color: #ff5a5a; /* Rouge */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn:hover {
    background-color: #e04a4a; /* Rouge plus clair au survol */
}

/* Style du lecteur de musique */
.music-player {
    padding: 20px;
}

/* Barre de recherche et volume */
.search-bar, .volume {
    margin: 20px 0;
} 

/* Liste des chansons */
ul {
    list-style: none;
    padding: 0;
}

li {
    display: inline-block;
    margin: 10px;
    position: relative;
}

/* Détails de la chanson */
.details-chanson {
    margin-top: 20px;
    border: 2px solid #ff5a5a; /* Bordure rouge */
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 90, 90, 0.2); /* Couleur de fond rouge transparent */
}

/* Animation du disque vinyle */
.info img {
    width: 100px; /* Largeur de l'image */
    height: 100px; /* Hauteur de l'image */
    border-radius: 50%; /* Rendre l'image ronde */
    animation: spin 10s linear infinite; /* Animation de rotation */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Barre de progression */
.progress-bar {
    position: relative;
    width: 100%;
    height: 10px;
    background-color: #444; /* Couleur de fond de la barre de progression */
    border-radius: 5px;
    margin-top: 10px;
}

.progress {
    height: 100%;
    background-color: #ff5a5a; /* Couleur de la barre de progression rouge */
    border-radius: 5px;
}

.circle {
    width: 20px;
    height: 20px;
    background-color: #ff5a5a; /* Couleur de la boule */
    border-radius: 50%;
    position: absolute;
    top: -5px;
    cursor: pointer;
    transform: translate(-50%, 0);
}

.volume {
    margin-bottom: 5rem;
}
