:root {
    --black: #000;
    --white: #fff;
    --orange:#ec6707;
}

.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    height: 100vh;
}

@media screen and (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid--item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    /* display: grid;
    place-content: center; */
}

.grid--item img {
    width: 300px;
    height: auto;
}

.grid--item__black {
    background: var(--black);
}

.grid--item__orange {
    background: var(--orange);
}
a {
    display: block;
    width: 100%;
    height: 100%;
}
img {
    display: block;
    width: 100%;
    height: auto;
}