@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e6fbfe;
    padding: 20px 10px;
}

.main-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}




.Profile-card{
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    min-height: 500px;
    height: auto;
    width: 25vw;
    min-width: 280px;
    max-width: 400px;
    background-color: rgb(244, 251, 255);
    position: relative;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    transition: width 0.3s, height 0.3s, box-shadow 0.3s;
}

.Profile-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #4070f4;
    height: 150px;
    border-radius: 24px 24px 0 0;
    width: 100%;
}

@property --deg{
    syntax: '<angle>';
    inherits: true;
    initial-value: 0deg;
}


.Profile-card::after{
    content: "";
    position: absolute;
    /* top: 0;
    left: 0; */
    height: 100%;
    width: 100%;
    background: conic-gradient(
    from var(--deg) at center,
    #bdb701,
    #b50000,
    #00b2b5,
    #00a524
    );


    border-radius: inherit;
    z-index: -2;
    padding: 10px;

    animation: autoRotate 6s linear infinite ;

    filter: blur(10px);
}

@keyframes autoRotate{
    to{
        --deg:360deg;
    }
}


.image{
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #4070f4;
    padding: 3px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.image .profile-Image{
    border-radius: 50%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border: 3px solid white;
}

.Profile-card .text-data{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    
}


.text-data .name{
    font-size: 22px;
    font-weight: 600;
    word-break: break-word;
}


.text-data .about{
    font-size: 15px;
    font-weight: 450;
    margin-bottom: 20px;
    word-break: break-word;
    line-height: 1.5;
}

.Profile-card .media-Buttons{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.media-Buttons .link{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    width: 34px;
    text-decoration: none;
    border-radius: 50%;
    margin: 0 8px;
    background-color: #4070f4;
    color: #fff;
    font-size: 18px;
    font-weight: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-Buttons .link:hover{
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.Profile-card .buttonss{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px 0;
    gap: 10px;
}

.Profile-card .buttonss .button{
    cursor: pointer;
    border: 0;
    background-color: #4070f4;
    color: #fff;
    border-color: none;
    border-radius: 20px;
    padding: 9px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.Profile-card .buttonss .button:hover{
    background-color: #0e4bf1;
}



/* Tablet and smaller desktops */
@media screen and (max-width: 1460px) {
    .Profile-card{
        width: 50vw;
        min-width: 320px;
    }
}

/* Tablets */
@media screen and (max-width: 1024px) {
    .Profile-card{
        width: 60vw;
        min-width: 300px;
        padding: 20px;
    }
}

/* Mobile landscape and small tablets */
@media screen and (max-width: 768px) {
    body {
        padding: 15px 10px;
    }
    .Profile-card{
        width: 85vw;
        min-width: 280px;
        max-width: 500px;
        padding: 20px 15px;
    }
    .image {
        width: 130px;
        height: 130px;
    }
    .text-data .name {
        font-size: 20px;
    }
    .text-data .about {
        font-size: 14px;
    }
    .Profile-card .buttonss .button {
        padding: 8px 16px;
        font-size: 14px;
    }
    .media-Buttons .link {
        height: 32px;
        width: 32px;
        font-size: 16px;
        margin: 0 4px;
    }
}

/* Mobile portrait */
@media screen and (max-width: 480px) {
    body {
        padding: 8px 4px;
    }
    .Profile-card {
        width: 95vw;
        min-width: 0;
        max-width: calc(100vw - 16px);
        padding: 18px 10px;
        border-radius: 20px;
    }
    .Profile-card::before {
        height: 100px;
        border-radius: 20px 20px 0 0;
    }
    .image {
        width: 110px;
        height: 110px;
        margin-bottom: 10px;
    }
    .text-data .name {
        font-size: 18px;
    }
    .text-data .about {
        font-size: 13px;
        margin-bottom: 15px;
    }
    .Profile-card .buttonss {
        margin: 20px 0 15px 0;
        gap: 8px;
    }
    .Profile-card .buttonss .button {
        padding: 8px 16px;
        font-size: 13px;
    }
    .media-Buttons {
        gap: 4px;
    }
    .media-Buttons .link {
        height: 30px;
        width: 30px;
        font-size: 15px;
        margin: 0 3px;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 360px) {
    body {
        padding: 5px 2px;
    }
    .Profile-card {
        width: 98vw;
        padding: 12px 8px;
        border-radius: 16px;
        max-width: calc(100vw - 10px);
    }
    .Profile-card::before {
        height: 80px;
        border-radius: 16px 16px 0 0;
    }
    .image {
        width: 90px;
        height: 90px;
        margin-bottom: 8px;
    }
    .text-data .name {
        font-size: 16px;
    }
    .text-data .about {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    .Profile-card .buttonss {
        margin: 15px 0 10px 0;
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }
    .Profile-card .buttonss .button {
        padding: 7px 10px;
        font-size: 11px;
        width: 100%;
        border-radius: 14px;
    }
    .media-Buttons {
        gap: 2px;
    }
    .media-Buttons .link {
        height: 28px;
        width: 28px;
        font-size: 14px;
        margin: 0 2px;
    }
}

/* Very small mobile devices */
@media screen and (max-width: 320px) {
    body {
        padding: 3px 1px;
    }
    .Profile-card {
        width: 99vw;
        padding: 10px 6px;
        border-radius: 14px;
        max-width: calc(100vw - 6px);
    }
    .Profile-card::before {
        height: 70px;
        border-radius: 14px 14px 0 0;
    }
    .image {
        width: 80px;
        height: 80px;
        margin-bottom: 6px;
    }
    .text-data .name {
        font-size: 15px;
    }
    .text-data .about {
        font-size: 11px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    .Profile-card .buttonss {
        margin: 12px 0 8px 0;
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    .Profile-card .buttonss .button {
        padding: 6px 8px;
        font-size: 10px;
        width: 100%;
        border-radius: 12px;
    }
    .media-Buttons {
        gap: 1px;
        flex-wrap: wrap;
    }
    .media-Buttons .link {
        height: 26px;
        width: 26px;
        font-size: 13px;
        margin: 0 1px;
    }
}
    
