section {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile layout */
@media screen and (max-width: 600px) {
    section {
        flex-direction: column;
    }

    .card-social {
        width: 60%;
    }
}

.card-social {
    display: flex;
    margin: 24px;
    border: 8px double black;
    padding: 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.card-social img {
    width: 64px;
    height: 64px;
}

.card-social h2 {
    margin-bottom: 12px;
}

.card-social a {
    display: block;
    margin-bottom: 20px;
    color: black;
    font-weight: bold;
}

.card-social button {
    background: black;
    color: white;
    border: 1px solid black;
    font-family: inherit;
    font-weight: 1000;
    font-size: 0.92em;
    padding: 4px 8px;
    cursor: pointer;
    width: 120px;
    margin-right: 8px;
}
