/**** socials ****/
.socials {
    /* flex */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    gap: 10px;
}

.social {
    /* position */
    position: relative;

    /* sizing */
    display: block;
    width: 50px;
    height: 50px;
    padding: 0;

    /* flex */
    flex-shrink: 0;

    /* styling */
    border-radius: var(--social-radius);
    overflow: hidden;

    /* transition */
    transition: background-color 0.25s ease-in-out, outline 0.25s ease-in-out;
}

.social.pad {
    padding: 7.5px !important;
}

.social svg {
    /* sizing */
    width: 100%;
    height: 100%;

    /* fill */
    fill: var(--primary-text-color);
    transition: fill 0.25s ease-in-out;
}

.social-background {
    /* position */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    fill: initial !important;

    /* animation */
    opacity: 1;
    transition: opacity 0.25s ease-in-out !important;
}

.social:hover .social-background,
.social:focus .social-background,
.social:focus-visible .social-background {
    opacity: 0;
}

.social:active svg {
    fill: var(--secondary-color);
}
