﻿.grid-container {
    padding: 2rem 3rem 0;
    display: grid;
    align-content: center;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    overflow: auto;
}

.vendor-card {
    display: flex;
    flex-direction: row;
    background-color: #5b263f;
    border-radius: 10px;
    align-items: center;
    color: #e3d8c1
}

.vendor-image {
    width: 300px;
    flex: 0 0 15%;
}

    .vendor-image img {
        width: 100%;
        height: 31.35vh;
        border-radius: 8px 0 0 8px;
        object-fit: cover;
    }

.vendor-info {
    padding: 0 2vw;
    flex: 1;
}

@media (max-width:600px) {
    .vendor-card {
        flex-direction: column;
        text-align: center;
    }

    .vendor-image {
        width: 120px;
    }
}
