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

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    
}

.profile-card {
    justify-content: center;
    text-align: center;
    display: flex;
    border-radius: 10px;
    padding: 10px;
}

.card-holder {
    height: auto;
    width: 50vh;
    padding: 10px;
    border-radius: 5px;
    box-shadow:  0 0 30px #000;
}

.icon {
    display: grid;
    grid-template-columns: auto auto auto;
    text-align: center;
}

.icon a:hover {
    color: white;
    border-radius: 10px;
    background-color: black;
}

.icon p {
    font-size: 15px;
}

.icon a {
    text-decoration: none;
    color: black;
    padding: 20px;
    font-size: 30px;
    text-align: center;
}

.name {
    color: black;
    padding: 10px;
    font-size: 30px;
    font-weight: bold;
}

.contact {
    font-size: 20px;
    padding: 10px;

}

.pic {
    display: inline-block;
    padding: 8px;
    background: linear-gradient(130deg, #74b9ff, #e66767);
    margin: auto;
    border-radius: 50%;
    background-size: 200% 200%;
    animation: animated-gradient 2s linear infinite;
}

.pic img {
    display: block;
    width: 150px;
    height: 150PX;
    border-radius: 50%;
}

@media (min-width: 458px) {
    .card-holder {
        height: auto;
        width: 100vw;}
}

@media (min-width: 991px) {
    .card-holder {
        height: auto;
        width: 50vw;}
}

@media (min-width: 768px) {
    .card-holder {
        height: auto;
        width: 40vw;}
}

@media (min-width: 1080px) {
    .card-holder {
        height: auto;
        width: 40vw;}
}








@keyframes animated-gradient {
    25% {
        background-position: left bottom;
    }
    50% {
        background-position: right bottom;
    }
    75% {
        background-position: right top;
    }
    100% {
        background-position: left top;
    }
}
