.social-link {
    text-align: center;
    margin: 20px auto;
}

.social-link a {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0px;
    text-decoration: none; /* Remove underline from links */
}

.social-link .icon {
    width: 100%;
    height: 100%;
    transition: opacity 0.2s ease-in-out, filter 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    filter: invert(1) brightness(2); /* Converts black to white */
}

.social-link .hover-icon {
    opacity: 0; /* Hidden by default */
}

.social-link a:hover .default-icon {
    opacity: 0; /* Hide default icon on hover */
}

.social-link a:hover .hover-icon {
    opacity: 1; /* Show hover icon on hover */
}

/* Styling for text below icons */
.social-link a .icon-text {
    display: block;
    font-size: 14px; /* Adjust text size */
    color: #ffffff; /* White color for text */
    margin-top: 70px; /* Space between icon and text */
    text-align: center; /* Center align text */
    transition: color 0.3s ease-in-out;
}

.social-link a:hover .icon-text {
    color: #00bcd4; /* Change text color on hover */
}

/* Optional: Styling for the h1 if needed */
.social-link h1 {
    color: #ffffff;
    font-size: 24px; /* Adjust title font size */
    margin-bottom: 20px; /* Space below the title */
}

@media (max-width: 600px) {
    .social-link a {
        display: inline-block;
        position: relative;
        width: 50px;
        height: 50px;
        margin: 0px;
        text-decoration: none; /* Remove underline from links */
    }
}

@media (max-width: 600px) {
    .social-link a .icon-text {
      font-size: 11px; /* Adjust font size for smaller screens */
    }
}