:root {
    --bodyColor: hsl(0, 0%, 0%);
    --boxColor: hsl(240, 75%, 75%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
}

.wrap {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--bodyColor);
}

.wrap .container {
    width: 600px;
    aspect-ratio: 1/1;
    background-color: inherit;
    display: grid;
    grid-template-columns: repeat(var(--size), 1fr);
    isolation: isolate;
}

.wrap .container .box {
    width: 30%;
    height: 30%;
    background-color: var(--boxColor);
    place-self: center;
    transition: all .5s var(--delay) ease;
    border-radius: 3px;
    grid-row-start: var(--row);
    grid-column-start: var(--column);
    z-index: var(--zIndex);
}
