.post_attachments {
    position: relative;

    display: flex;

    width: 100%;

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

    transition: all 0.2s ease-in-out;

    .carousel-root {
        position: relative;

        font-family: "DM Mono", monospace;

        height: 100%;
        width: 100%;

        .carousel {
            background-color: black;
            border-radius: 8px;
        }

        .control-prev,
        .control-next {
            color: #ffffff;

            height: 100%;
            width: 30px;

            opacity: 0;

            transition: all 150ms ease-in-out;

            &:hover {
                opacity: 1;
                width: 50px;
            }

            &:active {
                transform: scale(0.5);
                background-color: transparent;
            }

            ::before {
                font-size: 20px;
            }
        }

        .control-dots {
            &:hover {
                .dot {
                    height: 8px;
                    width: 20px;
                }
            }

            .dot {
                transition: all 100ms ease-in;

                height: 3px;
                width: 15px;

                border-radius: 2px;

                box-shadow: none;
            }
        }

        .carousel-status {
            padding: 10px;
        }
    }

    .addition {
        width: 100%;
        height: 100%;

        max-height: 50vh;

        .plyr {
            width: 100%;
            height: 100%;
        }

        // fixtures for media content
        img {
            width: 100%;
            height: 100%;

            user-select: none;
            -webkit-user-drag: none;

            object-fit: contain;
        }

        video {
            height: 100%;

            user-select: none;
            -webkit-user-drag: none;

            object-fit: contain;
        }

        audio {
            width: 100%;
            height: 100%;

            user-select: none;
            -webkit-user-drag: none;
        }
    }
}

.plyr__controls {
    .plyr__control {
        &:hover {
            background-color: var(--primaryColor);
        }

        svg {
            color: white;

            margin: 0;
        }
    }

    .plyr__progress,
    .plyr__volume {
        input {
            color: var(--primaryColor);
        }
    }
}