.diagonal-container {
    position: relative;
    width: 100%; /* Занимает 100% ширины экрана */
    height: 650px; /* Высота контейнера (можно изменить) */
    overflow: hidden;
    display: flex;
    background-color: #fff;
}

/* Общие стили для изображений */
.image-left,
.image-right {
    position: absolute;
    top: 0;
    width: 66%; /* Каждое изображение занимает половину ширины */
    height: 100%;
    overflow: hidden;
    transition: all 2s ease;
}
.image-left:hover , .image-right:hover {
        transform: scale(1.2);
        filter: brightness(30%)
}

/* Левое изображение */
.image-left {
    left: 0;
    z-index: 3;
    clip-path: polygon(0 0, 100% 0, 50% 100%, 0 100%); /* Обрезка по диагонали */
}

/* Правое изображение */
.image-right {
    right: 0;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%); /* Обрезка по диагонали */
}

/* Изображения внутри контейнеров */
.image-left img,
.image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы изображения заполняли контейнер */
}

.text_main {
    z-index: 60;
    font-size: 45px;
    font-weight: bold;
    text-shadow: 2px -3px 2px #003f1a;
}

#shop {
    color: white;
    position: absolute;
    top: 105px;
    left: 35px;
    right: 180px;
    transition: all 2s ease;
}

#buro {
    color: white;
    position: absolute;
    bottom: 105px;
    right: 63px;
    transition: all 2s ease;
}

.text_main a {
    color: white;
}

.image-left:hover ~ .text_main #shop {
    transform: translateY(90px) translateX(100px); 
    font-size: 53px;
}

.image-right:hover ~ .text_main #buro {
    transform: translateY(-90px) translateX(-100px); /* Сдвигает текст вверх */
    font-size: 53px;
}

/* Добавлено для изменения изображений при наведении на текст */
.text_main #shop:hover ~ .image-left {
    transform: scale(1.2);
    filter: brightness(30%);
}

.text_main #buro:hover ~ .image-right {
    transform: scale(1.2);
    filter: brightness(30%);
}

a {
    text-decoration: none;
}

.text_main #shop:hover  {
    transform: translateY(90px) translateX(100px); 
    font-size: 53px;
}

.text_main #buro:hover  {
    transform: translateY(-90px) translateX(-100px); /* Сдвигает текст вверх */
    font-size: 53px;
}

ul.pagination {
  display: flex;
  flex-wrap: wrap;
  color:white;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  overflow-x: hidden;
  padding: 10px;
  box-sizing: border-box;
}

