* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 0, 128, 0.534);
}

.card-container {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    text-align: center;
    padding: 20px;
    background: #eee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.33);
}

.card .profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: auto;
    margin-bottom: 10px;
    border: 2px solid purple;
    padding: 2px;
}

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

.card h3 {
    color: purple;
    margin-bottom: 10px;
    font-size: 23px;
}

.rating i {
    color: purple;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.card .buttons {
    display: flex;
    justify-content: center;
    gap: 20px;

}

.card .buttons button {
    display: inline-block;
    border: 1px solid purple;
    padding: 7px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: purple;
    transition: background 0.4s ease, color 0.4s ease;

}

.card .buttons .subscribe-btn {
    color: #fff;
    background: purple;
}

.card .buttons .subscribe-btn:hover {
    background: rgba(128, 0, 128, 0.885);
}

.card .buttons .readmore-btn:hover {
    background: purple;
    color: #fff;
}

@media (max-width:900px) {

    .card-container {
        padding: 10px;
        grid-template-columns: 1fr;
    }
}