.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 2rem;
}

.grid .item {
    width: 350px;
    height: 450px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: scale(0.95);
    transition: all 0.1s ease;
}

.grid .item:focus,
.grid .item:hover {
    transform: scale(1.0);
}

.grid .item .imgcont {
    width: 350px;
    height: 350px;
    min-width: 350px;
    min-height: 350px;
    border-radius: 1rem;
    transition: all 0.1s ease;
}

.grid .item strong,
.grid .item span {
    width: 100%;
    text-align: center;
}

@media only screen and (max-width: 900px) {
    .grid .item {
        width: 250px;
        height: 350px;
    }

    .grid .item .imgcont {
        width: 250px;
        height: 250px;
        min-width: 250px;
        min-height: 250px;
    }
    
}