.social-container {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0 0 0px;
    z-index: 1000;
    opacity: 0; /* Set initial opacity to 0 */
    transition: opacity 0.3s, transform 0.3s;
    transform-origin: bottom right; /* Set the origin for transformation */
}


.trigger {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: color 0.1s, width 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.trigger a {
    color: currentColor;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.trigger i {
    font-size: 20px;
    transition: font-size 0.3s;
}

.trigger:hover {
    color: #2c2c2c;
}

.share-bar {
    position: relative;
    width: 247px;
    height: 40px;
    transition: width 0.9s ease;
    display: flex;
}

.share-bar .trigger {
    width: 40px;
    margin: 0 5px;
    transition: margin 0.3s;
}

/* Styles for hidden state */
.social-container.hidden .share-bar {
    width: 0;
}

.social-container.hidden {
    opacity: 0;
}

.social-container.hidden .share-bar .trigger {
    width: 0;
    overflow: hidden;
    margin: 0;
}

/* Styles for collapsed state */
.social-container.collapsed .share-bar {
    width: 148px; /* Adjusted width for the collapsed state */
}

.social-container.collapsed {
    opacity: 0; /* Set opacity to 0 to hide it when collapsed */
    transform: scale(0.8); /* Shrink the bar to 80% of its size */
    margin-right: 50px;
    margin-bottom: -0px;
}

.social-container.collapsed .share-bar .trigger {
    width: 32px; /* Adjusted width for the icons */
    margin: 0 3px; /* Reduced margins between icons */
}

.social-container.collapsed .share-bar .trigger i {
    font-size: 16px; /* Reduced font size */
}

/* Styles for expanded state */
.social-container.expanded {
    opacity: 1; /* 100% opacity for the expanded state */
    transform: scale(1); /* Return the bar to its original size */
    margin-right: -25px;
    margin-bottom:-10px;
    
}
/* assets/custom/css/customcss/customsocialmediasharelogosbottom.css 
<link rel="stylesheet" href="{{cdn 'assets/custom/css/customcss/customsocialmediasharelogosbottom.css '}}">