@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif;
}

body {
    background-color: black;
}

div#box {
    display: flex;
    max-width: 350px;
    flex-direction: row;
    gap: 1.2em;
    align-items: center;
    box-sizing: border-box;
}

div#img {
    height: 55px;
    max-height: 55px;
    min-width: 55px;
    min-height: 55px;
    max-width: 55px;
    width: 55px;
    background-color: white;
    border-radius: 1rem;
    overflow: hidden; /* Coupe tout ce qui dépasse */
}

div#img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

div#textContent {
    text-transform: uppercase;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    transition: opacity 200ms ease-in-out;
}

.hide {
    opacity: 0;
}

div#textContent #artistBox {
    font-size: 0.85em;
    line-height: 1;
}

div#textContent #titleBox {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 700;
    font-style: italic;
    line-height: 1.05;
}

.removeGap {
    gap: 0 !important;
    text-transform: uppercase;
    color: white;
    display: flex;
    flex-direction: column;
}

.lessMargin {
    margin-bottom: -0.2em !important;
}

#justifyBox {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5em;
    background-color: #e2001a;
    padding: 0.5em 1em;
    max-width: 348px;
    height: 74px;
    max-height: 74px;
    border-radius: 1rem;
}
div#playButton {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 100%;
    padding: 0.2em;
    transition: background-color 150ms ease-in-out;
}

div#playButton:hover {
    background-color: black;
    cursor: pointer;
}

svg#play {
    width: 33px;
    fill: red;
}

div#textContent p {
    margin: 0;
}


@media screen and (min-width: 768px) {
    #justifyBox {
        margin: 2em;
    }
}