html,
body {
    min-height: 100vh;
    margin: 0;
}
body {
    background-image: url(bg.jpg);
    display: flex;
    flex-direction: column;

    --tw-bg-opacity:1;
    background-color: rgb(20 24 28/var(--tw-bg-opacity));
    color: hsla(0,0%,100%,.8);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family:'Inter';
}

h1 {
    text-align: center;
    font-family: 'Inter';
    color: white;
}


li {
    color: white;
}

.musique {
    text-align: center;
    background-color: darkslategray;
    
}


.navbar{
    text-align:center;
    display:flex;
    list-style: none; /* enlève les points */
    justify-content:center;
    font-family:'Inter';
}

.navbar a {
    text-decoration: none;
    color: inherit; /* garde la couleur du parent */
}

form {
    border-radius:100px;
}

.elementnav{
    padding-left:10px;
    padding-right:10px;
     font-family:'Inter';
    /*background-color:#B168F7;*/
    background-color: rgb(31 33 36/var(--tw-bg-opacity));
    border-radius: 20px;
    --tw-text-opacity: 1;
    color: rgb(229 231 235/var(--tw-text-opacity));
    font-family:'Inter';
    text-align:center;

    /*background: linear-gradient(rgba(0, 0, 0, -0.9),rgba(0, 0, 0, -0.9)),url("bgb.jpg");*/
    /*background-size: cover;*/       /* couvre tout l'écran */
    background-position: center;  /* centre l'image */
    background-repeat: no-repeat; /* évite la répétition */
    /* height: 100vh;                /* prend toute la hauteur */
    border-color: black;
    border-bottom-width:5px;
    text-align:center;
}

.elementnav:hover{
    padding-left:10px;
    padding-right:10px;
    font-family:'Inter';
    
    --tw-text-opacity: 1;
    color: rgb(74 222 128/var(--tw-text-opacity));
    /*background-color:#FFFFFF;*/
    border-radius: 20px;
}


.piedpage {

    color: White;      /* couleur du texte */
    font-size: 20px;   /* taille du texte */
    font-family: Verdana;
	padding-left: 1200px;
	border-top-width: 1000px;
}

/*-----------------------------------------Style Pied de page------------------------------------------*/

/*.footer {
    background-color: rgb(31 33 36);
    color: hsla(0,0%,100%,.8);
    padding: 20px 40px;
    margin-top: 50px;
    border-top: 1px solid rgb(55 65 81);
    font-family: 'Inter', sans-serif;
}*/

.footer {
    background-color: rgb(31 33 36);
    color: hsla(0,0%,100%,.8);
    padding: 20px 40px;
    border-top: 1px solid rgb(55 65 81);
    font-family: 'Inter', sans-serif;
} 

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-left h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.footer-left span {
    font-size: 12px;
    opacity: 0.7;
}

.footer-center {
    font-size: 12px;
    opacity: 0.7;
}

.footer-right a {
    color: rgb(229 231 235);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: 0.2s;
}

.footer-right a:hover {
    color: rgb(74 222 128);
    background-color: rgb(42 46 50);
}
/*-----------------------------------------Fin Style Pied de page---------------------------------------*/

.playlists,
.musiques{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:30px;
}

.playlist-card,
.musique-card{
    width:250px;
    background:#1e1e1e;
    border-radius:20px;
    overflow:hidden;
    cursor:pointer;
    text-decoration:none;
    color:white;
    transition:.3s;
}

.playlist-card:hover,
.musique-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px cyan;
}

.playlist-card img,
.musique-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.playlist-card h2,
.musique-card h3{
    text-align:center;
}

.barre-recherche{
    width:400px;
    height:50px;
    border:none;
    border-radius:25px;
    padding-left:20px;
    font-size:18px;
    margin-bottom:40px;
    outline: none;
    
}


.retour {
    background-color: white;
    border-radius: 5px;
    box-shadow: ;
    width: 150px;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

a {
    text-decoration: none;
    width: 200px;
    color: black;
    border-radius: 5px;
    
}


a:hover {
    color: blue;
    text-decoration: underline;
}


.download {
    background-color: white;
    text-decoration: none;
    width: 250px;
    border-radius: 5px;
    text-align: center;
    transition: .3s;
    
}


.download:hover {
    transform: scale(1.1)
}

.convertir {
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 5px;
    position: relative;
    top: 50%;
    bottom:50%;
    
    
}

input[type="url" i] {
    padding:5px;
    border-radius: 10px;
    outline:none;
    border: none;
    font-family: 'Inter';
    transition: .3s;
    
}

button[type="submit"] {
    border-radius: 10px;
    padding: 5px;
    outline:none;
    cursor: pointer;
    transition: .3s;
    font-family: 'Inter';
    
}

button[type="submit"]:hover {
    transform: scale(1.1)
    
    
}


input[type="url" i]:focus {
    box-shadow:
    0 0 10px #0000ff,
    0 0 20px #0000ff,
    0 0 40px #0000ff,
    0 0 80px #0000ff,
    0 0 160px #0000ff;
    transform: scale(0.9);
    
}


.revenir-mp3 {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.revenir-mp3 a {
    display: block;
    width: 150px;
    padding: 10px;
    background-color: white;
    color: black;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: .3s;
}

.revenir-mp3 a:hover {
    color: #9400D3;
    transform: scale(0.95);
}s







