.maingrid {
    height: 600px;
    z-index: 999;
    margin-top: 150px;
    margin-bottom: 150px;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100vw;
    position: relative;
    align-items: center;
    justify-content: center;
    height: 600px;
}

.grid {
    /*pointer-events: none;*/
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    display: grid;
    grid-template-columns: repeat(50, 2%);
    grid-template-rows: repeat(50, 2%);
}

.grid__item {
    position: relative;
}

.grid--img .grid__item {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.grid__item-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background-size: cover;
    background-position: 50% 50%;
    background: var(--color-light);
}

.grid--img .grid__item-img {
    flex: none;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    will-change: transform;
}

.grid__item-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    transition: all 200ms ease-in-out;
    transform: scale(1);
    position: relative;
    z-index: 9;
}

.grid__item:hover .grid__item-img img {
    transform: scale(1.1);
    transition: all 200ms ease-in-out;
}


/* Shorthand grid-area: grid-row-start / grid-column-start / grid-row-end / grid-column-end */

.pos-1 {
    grid-area: 1 / 4 / 24 / 20;
}

.pos-2 {
    grid-area: 1 / 21 / 24 / 30;
}

.pos-3 {
    grid-area: 1 / 31 / 24 / 47;
}

.pos-4 {
    grid-area: 26 / 4 / 51 / 14;
}

.pos-5 {
    grid-area: 26 / 15 / 51 / 31;
}

.pos-6 {
    grid-area: 26 / 32 / 51 / 47;
}

.content__title {
    font-weight: bold;
    font-size: 8vw;
    margin: 0;
    line-height: 1;
    position: relative;
}

.content__title-sub {
    color: var(--color-black);
    font-size: 1.5vw;
    display: block;
    line-height: 0.5;
}