.MeetGoats
{
    padding: 0 12px 10px;
    background: #fff url('./assets/meet-goats-background.webp') center top / auto 838px repeat-y;
}

.MeetGoatsTitle
{
    width: min(330px, 85%);
    margin: 0 auto;
}

.MeetGoatsGallery
{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 36px 0;
    width: min(100%, 800px);
    margin: -13px auto 0;
    padding: 0;
    list-style: none;
}

.MeetGoatsCard
{
    display: grid;
    grid-template-rows: 158px auto;
    justify-items: center;
    align-items: center;
    gap: 7px;
}

.MeetGoatsCard img
{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.MeetGoatsName
{
    display: grid;
    place-items: center;
    width: min(119px, 94%);
    min-height: 32px;
    padding: 3px 5px;
    border-radius: 100px;
    background: #000;
    color: #fff;
    font: 300 15px / 1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 670px)
{
    .MeetGoatsGallery
    {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 6px;
        max-width: 510px;
        margin-top: 0;
    }

    .MeetGoatsCard
    {
        grid-template-rows: auto auto;
    }

    .MeetGoatsCard img
    {
        aspect-ratio: 1;
    }

    .MeetGoatsName
    {
        font-size: clamp(11px, 2.8vw, 15px);
    }
}
