@import url(./reusable.css);

/* store cards*/
.stores {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.stores h1 {
    text-align: center;
}

.card {
    background-color: var(--light);
    color: var(--dark);
    max-width: 387px;
    min-width: 100px;
    aspect-ratio: 1 / 1;
    margin: 40px;
    border-radius: 10px;
    padding: 4px 20px;
}

.card:hover {
    border: solid 4px var(--primary-500);
    transition: ease-in 0.2s;
}

.stores .card-container {
    display: grid;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px; 
}

.card img {
    border-radius: 20px;
    align-self: center;
    padding: 0px 10px 0px 5px;
    max-width: 250px;
    min-width: 50px;
    aspect-ratio: 16 / 9;
}


.card h3 {
    text-align: center;
}

.card p {
    font-weight: 600;
}

.card i {
    color: var(--dark);
    font-size: 40px;
    rotate: -45deg;
}

@media (min-width: 800px) {
    .card-container {
        grid-template-columns: 387px 387px;
    }
}

/* Location styling */
.location {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.location .map {
    width: 80%;
    aspect-ratio: 16 / 9;
}