.newcamp-row {position: fixed; background: url(/templates/Default/images/headers/bg-camp.jpg); background-size: cover; width: 100vw; height: 100vh;}
.newcamp-toner {position: relative; width: 100%; height: 100%; background: rgba(13, 27, 32,.85);}
.newcamp-item {position: absolute; top: 65%; left: 50%; transform: translate(-50%, -50%); width: 1200px; max-width: 100%;}

.isometric-camp {
    display: grid;
    width: 60%; /* Ширина контейнера будет 90% от ширины экрана */
    grid-template-columns: repeat(5, 1fr); /* Колонки занимают равное пространство */
    grid-template-rows: repeat(5, 1fr); /* Строки занимают равное пространство */
    gap: 2%; /* Расстояние между элементами в процентах */
    transform: rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
    margin: 0 auto;
}

.isometric-item {
    width: 100%; /* Ширина элемента будет 100% от ширины ячейки */
    height: 100%; /* Высота элемента будет 100% от высоты ячейки */
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
.isometric-item-empty {
    background: rgba(255,255,255,.05);
}
    
.isometric-item-active {
    position: relative;
    transition: 0.3s all;
}

.isometric-item-active::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px; /* дополнительное пространство */
    z-index: -1;
}
    
.isometric-item-active p {
    position: absolute;
    top: 50%;
    left: 80%;
    transform: translate(0, -50%);
    color: #fff;
    text-shadow: -5px 5px 5px black;
    font-size: 24pt;
    opacity: 0;
    transition: 0.3s all;
    pointer-events: none;
}
    
.isometric-item-active img {
    width: 100%;
    transition: 0.3s all;
    z-index: 1;
}
    
.isometric-item-active:hover img {
    filter: drop-shadow(-5px 5px 5px black);
    transition: 0.3s all;
}
    
.isometric-item-active:hover p {
    opacity: 1;
    transition: 0.3s all;
}
    
.isometric-item-active:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
   	transition: 0.3s all;
}

.newcamp-region {text-align: center; font-size: 16pt; max-width: 80%; margin: 0 auto;}

.newcamp-header {
    z-index: 0;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    font-family: 'Bender', sans-serif;
    font-weight: 900;
    color: rgba(255,255,255,1);
    font-size: 150pt;
    animation: flicker 3s infinite alternate;
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 0.4;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
    }
    20% {
        opacity: 0.3;
        text-shadow: none;
    }
    22% {
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
    }
    24% {
        opacity: 0.3;
        text-shadow: none;
    }
    55% {
        opacity: 0.7;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

/* ADAPTIVE
----------------------------------------------- */
@media screen and (max-width: 1520px) {
    .newcamp-header {font-size: 125pt;}
}

@media screen and (max-width: 1320px) {
    .newcamp-header {font-size: 100pt;}
}

@media screen and (max-width: 1100px) {
    .newcamp-header {font-size: 85pt;}
    .isometric-camp {width: 80%;}
}

@media screen and (max-width: 959px) {  
    .newcamp-header {font-size: 60pt;}
    .newcamp-item {top: 50%;}
}