*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.container1 {
    max-width: 80rem;
    width: 100%;
    padding: 4rem 2rem;
    margin: 0 auto;
}
.main .container1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
    justify-content: center;
    align-items: center;
}
.main .card {
    color: #252a32;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
    
    border-radius: 31px 31px 31px 31px;
}
.main .card-image {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 70%;
    background: #fff;
}
.main .card-image img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-style: groove;
    border-width: 11px 11px 11px 11px;
    border-radius: 31px 31px 31px 31px;
}
@media only screen and (max-width: 600px) {
    .main .container {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 1rem;
   }
}


