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

#header {
    height: 200px;
    background-color: gray;
}


.lgp-gallery-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    /* gap: 40px; */
}

.lgp-gallery-container {
    margin: 0px auto;
    max-width: 600px;
    width: 600px;
    padding: 0px 20px;
    height: 600px;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    /* Плавный scroll только через CSS */
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding: 0px;
}

.lgp-scroll-icon {
    width: 40px;
    position: absolute;
    right: calc(50% - 320px);
    top: calc(50% - 20px);
}

.lgp-gallery-container::-webkit-scrollbar {
    display: none;                /* Chrome / Safari */
}

.lgp-gallery-item {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.lgp-gallery-item img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(0, 0, 0, 0.19);
}

.lgp-gallery-scroll-section {
    width: 40px;
}

.lgp-gallery-scroll-section img {
    width: 30px;
}

@media (max-width: 768px) {
    .lgp-scroll-icon {
        display: none;
    }
}