#pieceContainer {
    display: flex;
    flex-direction: column;
}

#pieceSubContainer {
    display: flex;
}

#pieceInfos {
    display: flex;
    max-width: 60%;
    gap: 20px;
    margin-bottom: 50px;
}

#pieceInfosImage {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;

    & img {
        width: 265px;
        height: 360px;
        object-fit: cover;
        border-radius: 5px;
    }

    & #musicPieceInfos {
        height: 265px;
    }
}

#pieceInfosText {
    display: flex;
    flex-direction: column;
    
    & i {
        margin-bottom: 20px;
        font-size: 90%;
        font-weight: 300;
    }

    & h1 {
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    & h2 {
        font-weight: 200;
        letter-spacing: 0.5px;
    }
}

#pieceInfosTextPara {
    margin-top: 25px;
    line-height: 1.4;
    font-weight: 200;
    overflow: hidden;

    & strong {
        font-weight: 500;
    }

    & p {
        margin-top: 15px;
    }
}



#pieceScores {
    margin-top: 37px;
    margin-left: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pieceScores > h2 {
    margin-top: 20px;
    font-size: 133%;
    font-weight: 300;
}

#pieceScores a:last-of-type {
    font-size: 150%;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
}

#pieceScores a:last-of-type:hover {
    text-decoration: underline;
}



#infosScoreContainer {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 35px;
}

#onePieceScore {
    display: flex;
    flex-direction: column;
    align-items: center;

    & strong {
        margin-bottom: 7.5px;
        font-size: 125%;
        font-weight: 500;
    }
}

#onePieceScoreToken {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    color: black;
    font-size: 125%;
    font-weight: 800;
    border-radius: 50%;

    & hr {
        border: none;
        width: 25%;
        height: 2px;
        background: black;
    }
}

#onePieceScoreToken.goodScore {
    background: var(--green);
}

#onePieceScoreToken.averageScore {
    background: var(--lightOrange);
}

#onePieceScoreToken.badScore {
    background: var(--red);
}

#onePieceScoreToken.noScore {
    background: var(--lightGrey);
}

#pieceVideo .youtube_player {
    width: 60%;
    margin-bottom: 50px;

    &  iframe {
        aspect-ratio: 16 / 9;
        width: 100%;
    }
}



#pieceContainer h3:last-of-type:not(.openModal *) {
    font-size: 150%;
    font-weight: 500;
}

#pieceContainer hr:last-of-type:not(#onePieceScoreToken hr) {
    margin: 7.5px 0 25px 0;
    width: 20%;
    color: var(--white);
}





@media screen and (max-width: 960px) {

    #pieceContainer {
        align-items: center;
    }

    #pieceSubContainer {
        flex-wrap: wrap;
        justify-content: center;
    }

    #pieceInfos {
        max-width: 85%;
    }

    #pieceScores {
        margin-top: 10px;
        margin-bottom: 50px;
        margin-left: 0;
        flex-basis: 100%;
    }

    #pieceVideo {
        width: 85%;

        & .youtube_player {
            width: 100%;
        }
    }
}

@media screen and (max-width: 750px) {

    #pieceVideo {
        width: 100%;
    }

    #pieceInfos {
        flex-wrap: wrap;
        justify-content: center;
    }

    #pieceInfosText h1, #pieceInfosText h2, #pieceInfosText i {
        text-align: center;
    }

    #pieceScores a:last-of-type {
        text-align: center;
    }
}





