.content {
    width: 100%;
    max-width: 800px;
    height: max-content;
    margin-top: 68px;
    padding: 8px;

    padding-bottom: 68px;

    font-size: 24px;

    background-color: #f2f2f2;

    &.fade-in {
        animation: fade-in 0.3s ease-out;
    }

    & #musics {
        width: 100%;

        display: block;
        justify-content: center;

        margin: 0;
        padding: 0;
    }

    & .track {
        display: flex;
        gap: 16px;
        align-items: center;
        padding: 8px;

        width: 100%;

        border-bottom: #111 1px solid;

        & i {
            width: 50%;
            height: 50%;

            display: flex;
            align-items: center;
            justify-content: center;

            margin: 25%;

            font-size: 88px;
            color: #808080;
            opacity: 0.5;
        }

        &[data-state="playing"] {
            & h3 {
                color: orangered;
            }

            & i {
                &.fa-circle-play {
                    display: none;
                }

                &.fa-circle-pause {
                    display: flex;
                }

                &.fa-spinner {
                    display: none;
                }
            }
        }

        &[data-state="pause"] {
            & i {
                &.fa-circle-play {
                    display: flex;
                }

                &.fa-circle-pause {
                    display: none;
                }

                &.fa-spinner {
                    display: none;
                }
            }
        }

        &[data-state="loading"] {
            & i {
                &.fa-circle-play {
                    display: none;
                }

                &.fa-circle-pause {
                    display: none;
                }

                &.fa-spinner {
                    display: flex;
                    animation: spin 2s infinite linear;
                }
            }
        }

        & .img-box {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;

            width: 160px;

            aspect-ratio: 1;
            border: #111 solid 1px;

            display: inline-block;

            cursor: pointer;

            border-radius: 16px;

            transition: scale 0.3s;

            &:hover {
                scale: 0.95;
            }
        }

        & .description {
            display: flex;
            flex-direction: column;

            font-family: "Noto Sans JP", Arial, sans-serif;
            overflow-x: auto;

            & p {
                width: fit-content;
            }

            & .author {
                width: fit-content;
            }

            & .tags {
                margin-top: 8px;

                display: flex;
                gap: 4px;

                width: 100%;
                flex-wrap: wrap;
            }
        }

        & .play-count {
            display: flex;
            height: 100%;

            margin-left: auto;

            color: #808080;
        }
    }
}

.tag-button {
    padding: 10px 20px;

    width: fit-content;

    background-color: #f2f2f2;
    color: #111;

    box-shadow: none;

    border: #808080 solid 1px;

    border-radius: 8px;

    font-size: 16px;
}

.tag-button:hover {
    transform: none;
    background-color: #ccc;

    cursor: pointer;
}

.author {
    cursor: pointer;
}

.author:hover {
    color: #c0c0c0;
}

@keyframes fade-in {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotateZ(0);
    }

    to {
        transform: rotateZ(360deg);
    }
}
