.gridWrapper {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gridWrapper p {
    font-size: 1em;
}

.gridElement {
    line-height: 0.1em;
}

.gridElement img {
    width: 100%;
    max-width: 450px;
}

@media only screen and (max-width: 902px) {
    .gridWrapper {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        justify-items: center;
    }
}
