.card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.card > img:hover {
    transform: scale(1.1);
}

.card {
    border-radius: 10px;
    width: 20%;
    margin: 30px 5%;
}

.card:last-of-type > img {
    float: left;
    margin: 10px 0;
}

.card > img {
    border-radius: 50%;
    max-width: 50%;
    margin: 10px 25%;
    user-select: none;
}

.card > p:first-of-type {
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
    margin: 0;
}

.card > p:last-of-type {
    text-align: center;
    font-style: italic;
}

main > h1 {
    text-align: center;
}

@media only screen and (max-width: 768px){
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
        margin: 30px 5%;
    }

    .card > img:hover {
        transform: unset;
    }
}

@keyframes rotatePP {
    from {
        transform: rotateZ(0);
    }
    to {
        transform: rotateZ(360deg);
    }
}