@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.founders {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next line on smaller screens */
    justify-content: space-evenly; /* Centers the blocks with equal spacing */
    gap: 2vh;
    align-content: center;
}

/* Wrapper for the profile card and animated border */
.profile_card_container {
    position: relative; /* Creates a stacking context for the border */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 370px;
    height: auto; /* Adjusted for content */
    margin: 20px; /* Spacing between cards */
    z-index: 1; /* Content inside takes precedence */
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Animated Border */
.profile_card_container::before,
.profile_card_container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    z-index: -1; /* Ensures animation is behind everything */
    background: conic-gradient(from var(--angle), #ff4545, #00ff99, #006aff, #ff0095, #ff4545);
    animation: spin 3s linear infinite;
    padding: 3px; /* Controls the width of the animated border */
}

.profile_card_container::before {
    filter: blur(1.5rem);
    opacity: 0.5;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

/* Profile Card */
.profile_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 370px;
    width: 100%;
    background: rgb(255,255,255);
    background: radial-gradient(circle at 50%, #290058, #0c1022 50%, #290058 75%, #0c1022 75%);
    border-radius: 24px;
    padding: 25px;
    position: relative;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Prevents content from spilling out */
}

.image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background-color: green;
    padding: 2px;
    margin: 10px;
    z-index: 1;
}

.image .profile-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile_card .text-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.text-data .name {
    font-size: 22px;
    font-weight: 500;
}

.text-data .job {
    font-size: 15px;
    font-weight: 400;
}

.profile_card .media-buttons {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.media-buttons .link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    height: 34px;
    width: 34px;
    border-radius: 50%;
    margin: 0 8px;
    text-decoration: none;
    background-color: #4070f4;
}

.profile_card .buttons {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.buttons .button {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    border-radius: 24px;
    border: none;
    margin: 0 10px;
    padding: 8px 24px;
    background-color: green;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buttons .button:hover {
    background-color: darkgreen;
}

.data .i {
    font-size: 25px;
    margin-right: 6px;
}
