:root {
    --rose-fond: rgb(237, 200, 237);
    --rose-detail: rgb(245, 157, 245);
    --rose-text: rgb(40, 35, 45);


    --bleu-detail: rgb(97, 201, 247);
}



* {
    padding: 0;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--rose-fond);
    height: 100vh;
    width: 100vw;
}

.bar-haut {
    background-color: var(--rose-detail);
    height: 58px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.conteneur {
    background-color: var(--rose-detail);
    display: flex;
    height: calc(100vh - 58px - 75px);
}

.bar-gauche {
    background-color: var(--rose-fond);
    border-radius: 10px;
    height: 100%;
    width: 76px;
    margin: 0px 6px;
    overflow-y: hidden;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    transition: 0.5s;
}

.bar-gauche::-webkit-scrollbar {
    width: 10px;
}

.bar-gauche:hover {
    overflow-y: auto;
}

.principale {
    background-color: var(--rose-fond);
    flex: 4;
    height: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    overflow-y: auto;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-thumb {
    background: rgb(217, 114, 217);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-track {
    background: transparent;
}

.preview {
    background-color: var(--rose-fond);
    flex: 2;
    border-radius: 10px;
    height: 100%;
    margin: 0px 6px;
}

.bar-bas {
    background-color: var(--rose-detail);
    height: 75px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 15px;
}

.bas-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.image {
    height: 56px;
    width: 56px;
    background: transparent no-repeat center;
    background-size: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text {
    color: var(--rose-text);
    font-size: 14px;
    line-height: 1.2;
}

.categorie {
    color: var(--rose-text);
    font-size: 27px;
    margin-left: 19px;
    font-weight: 600;
}

.ligne {
    display: flex;
    flex-wrap: wrap;
}

.playlist {
    width: 160px;
    height: 180px;
    padding: 15px;
    margin: 5px;
    border-radius: 10px;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.img-playlist {
    width: 160px;
    height: 140px;
    background: transparent no-repeat center;
    background-size: cover;
    border-radius: 10px;
}

.img-artiste {
    width: 140px;
    height: 140px;
    background: transparent no-repeat center;
    background-size: cover;
    border-radius: 100%;
}

.titre {
    margin-top: 10px;
    color: var(--rose-text);
    font-size: 18px;
    font-weight: 500;
}


.playlist:hover {
    background-color: var(--rose-detail);
}

.playlist-gauche {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    margin: 6px auto;
    margin-left: 7.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    cursor: pointer;
}

.playlist-gauche:hover {
    background-color: var(--rose-detail);
}

.image-gauche {
    width: 52px;
    height: 52px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.image-artiste-gauche {
    width: 52px;
    height: 52px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 100%;
}

.home {
    grid-column: 1;
    justify-self: end;
    height: 48px;
    width: 48px;
    border-radius: 100%;
    background-color: var(--rose-fond);
    margin-right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.15 ease;
}

.home:hover {
    transform: scale(1.1);
}

.home::before {
    content: "";
    width: 26px;
    height: 26px;
    background-color: var(--rose-text);
    -webkit-mask-image: url(/styles/Home.png);
    mask-image: url(/styles/Home.png);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    stroke: var(--rose-text);
    pointer-events: none;
}

.search {
    height: 48px;
    width: 420px;
    background-color: var(--rose-fond);
    border: none;
    border-radius: 48px;
    padding-left: 48px;
    padding-right: 20px;
    outline: none;
    font-size: 16px;
    color: var(--rose-text);
}

.search {
    grid-column: 2;
    height: 48px;
    width: 420px;
    background-color: var(--rose-fond);
    border: none;
    border-radius: 48px;
    color: var(--rose-text);
}

.player {
    display: flex;
    flex-direction: column;
    width: 35vw;
    gap: 4px;
}

.bouton {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}

.avant {
    height: 36px;
    width: 36px;
    border-radius: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rose-fond);
    cursor: pointer;

    transition: 0.15s ease;
}

.avant:hover {
    transform: scale(1.1);
}

.avant-icon {
    width: 18px;
    height: 18px;
    color: var(--rose-text);
    height: 20px;
    stroke: var(--rose-text);
    pointer-events: none;
}


.pause {
    height: 36px;
    width: 36px;
    border-radius: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rose-fond);
    cursor: pointer;
    transition: 0.15s ease;
}

.pause:hover {
    transform: scale(1.1);
}

.pause-icon {
    width: 18px;
    height: 18px;
    color: var(--rose-text);
    height: 20px;
    stroke: var(--rose-text);
    pointer-events: none;
}

.apres {
    height: 36px;
    width: 36px;
    border-radius: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rose-fond);
    cursor: pointer;
    transition: 0.15s ease;
}

.apres:hover {
    transform: scale(1.1);
}

.apres-icon {
    width: 18px;
    height: 18px;
    color: var(--rose-text);
    height: 20px;
    stroke: var(--rose-text);
    pointer-events: none;
}

.bar-conteneur {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.bar {
    flex: 1;
    height: 5px;
    background-color: var(--rose-text);
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bar:hover {
    transform: scaleY(1.5);
}

.bar-fill {
    height: 100%;
    background-color: var(--rose-fond);
    border-radius: 999px;
    transition: width 0.1s linear;
    width: 0%;
}

.temp {
    color: var(--rose-text);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}


.banner {
    height: 45%;
    flex-shrink: 0;
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-end;
    padding: 20px;
    box-sizing: border-box;
}

.banner-titre {
    color: var(--rose-text);
    font-size: 56px;
    font-weight: 800;
    text-shadow: 2px 2px 0px #FFFFFF, 5px 4px 0px rgba(0, 0, 0, 0.15);
}

.degrade {
    height: 15%;
    margin-left: -10px;
    margin-right: -10px;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.pause-deg {
    height: 56px;
    width: 56px;
    border-radius: 100%;
    margin: 10px 0;

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rose-detail);
    cursor: pointer;
    transition: 0.15s ease;
}

.pause-deg:hover {
    transform: scale(1.1);
}

.pause-deg-icon {
    width: 22px;
    height: 22px;
    color: var(--rose-text);
    stroke: var(--rose-text);
    pointer-events: none;
}

.ligne-playlist {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    margin-bottom: 4px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.15s ease;
}

.ligne-playlist:hover {
    background-color: var(--rose-detail);
}

.img-liste {
    height: 56px;
    width: 56px;
    background: transparent no-repeat center;
    background-size: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.temp-liste {
    color: var(--rose-text);
    font-size: 12px;
    font-weight: 600;
}



.modal-avent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-avent.hidden {
    display: none;
}

.modal-contenu {
    background-color: var(--rose-fond);
    border-radius: 18px;
    padding: 28px 24px;
    width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.modal-fermer {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--rose-text);
    cursor: pointer;
}

.modal-badge {
    color: var(--rose-text);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.modal-titre {
    color: var(--rose-text);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.modal-carte-musique {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-img {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-btn-ecouter {
    background-color: var(--rose-detail);
    color: var(--rose-text);
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.modal-btn-ecouter:hover {
    transform: scale(1.06);
}