.nav-grid {
    display: none;
    position: fixed;
    top: 400px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
}

.panel-header.active .nav-grid {
    display: block;
}

.nav-grid .inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.nav-grid .item {
    position: relative;
    border: 3px solid white;
}

.nav-grid .item .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: var(--center-xy);
    font-family: var(--font-mencken);
    font-size: calc(24px + (43 - 24) * ((100vw - 1024px) / (1440 - 1024)));
    line-height: calc(24px + (43 - 24) * ((100vw - 1024px) / (1440 - 1024)));
    margin: 0;
    color: white;
    text-align: center;
}

.nav-grid .item .img-cont {
    position: relative;
    padding-bottom: 56%;
}

.nav-grid .item .img-cont::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    pointer-events: none;
}

.nav-grid.imgs .item .img-cont {
    padding: 0;
}

@media (max-width: 63.063em) {
    .nav-grid {
        display: none;
    }
}

@media (min-width: 90em) {
    .nav-grid .item .title {
        font-size: 43px;
        line-height: 43px;
    }
}