.engagement-container {
    display: block;
    position: absolute;
    width: 45px;
    height: fit-content;
    bottom: 50%;
    right: 5px;
    align-content: space-between;
    justify-content: space-around;
    transition: opacity 0.4s;
    border-radius: 15px;
}

.article-engagement-container {
    position: relative;
    display: flex;
    gap: 10px;
    height: fit-content;
    top: unset;
    bottom: unset;
    left: unset;
    width: unset;
    z-index: 3;
}

.article-engagement-container.preview {
    display: none;
}

@media only screen and (max-width: 600px) {
    .engagement-container {
        left: auto;
        z-index: 3;
    }

    .article-engagement-container {
        top: auto;
        bottom: 100%;
        padding-right: 10px;
    }
}

.read-container,
.like-container,
.dislike-container,
.thots-container,
.share-container,
.reading-list-container,
.favorite-container,
.read-article-container {
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 11px;
}

.like-button,
.dislike-button,
.thots-button,
.favorite-button,
.reading-list-button,
.read-article-button {
    position: relative;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    border: none;
    width: 45px;
    margin: 0;
    padding: 0;
    opacity: .8;
}

.read-icon, .social-icon {
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    background-color: rgb(0, 0, 0, .4);
    padding: 0;
    border-radius: 50%;
    fill: white;
}

.social-icon {
    padding: 0;
    width: 35px;
    height: 35px;
}

.social-icon:hover {
    background-color: rgb(0, 0, 0, .7);
}

.read-icon:hover,
.thots-icon svg:hover,
.active svg:hover {
    background-color: rgb(0, 0, 0, .7);
    fill: rgb(221, 221, 0);
}

.active svg, .active path#Subtract {
    fill: #FF0;
}

.tooltip, .share-options {
    position: absolute;
    display: none;
    top: 60%;
    left: -10%;
    width: 100px;
    height: fit-content;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 5px;
    border-radius: 15px;
    font-size: .9em;
    line-height: 1.2em;
    z-index: 1;
}

/* Show the right tooltip on hover */
.read-container:hover .tooltip,
.like-container:hover .tooltip,
.dislike-container:hover .tooltip,
.thots-container:hover .tooltip,
.reading-list-container:hover .tooltip,
.favorite-container:hover .tooltip,
.read-article-container:hover .tooltip {
    display: block;
}

.share-container:hover .share-options {
    display: flex;
}

.share-options {
    display: none;
    gap: 5px;
    width: fit-content;
    bottom: 0;
    left: 50%;
}

.share-options button {
    background-color: transparent;
    border: none;
}

.twitter-icon, .twitter-icon:hover  {
    background-color: white;
}

.counts {
    width: 100%;
    text-align: center;
    margin-top: -1px;
    font-size: .85em;
    line-height: 1.3em;
    text-shadow: 2px 2px 5px black;
    z-index: 1;
}