.social-buttons {
    align-self: center;
    
}

.social-button {
    margin-left: 15px;
    margin-right: 15px;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    overflow: hidden;
    cursor: pointer;
}

/* Circle fill */
.social-button::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
    z-index: 0;
}

/* Fill colors */
.social-button--linkedin::before { background-color: #0077b5; }
.social-button--github::before   { background-color: #6e5494; }
.social-button--email::before   { background-color: #3cbd7d; }
.social-button--resume::before   { background-color: #c36062; }

/* Hover triggers fill */
.social-button:hover::before {
    transform: scaleY(1);
}

/* Icon wrapper with initial color matching each social network */
.social-button--linkedin .icon-wrapper { color: #0077b5; }
.social-button--github .icon-wrapper   { color: #6e5494; }
.social-button--email .icon-wrapper   { color: #3cbd7d; }
.social-button--resume .icon-wrapper   { color: #c36062; }

.social-button .icon-wrapper {
    position: relative;
    z-index: 1;           /* ensures icon is above fill */
    font-size: 24px;
    transition: color 0.4s ease;
}

/* Turn icon white on hover */
.social-button:hover .icon-wrapper {
    color: white;
}
