.gallery-container {
    position: relative;
    width: 100%;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
}

.main-image {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    cursor: zoom-in;
}

.main-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
}

.arrow-left,
.arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* background: rgba(255, 255, 255, 0.5); */
    padding: 5px;
    cursor: pointer;
    speak: none;
    color: #fff;
    font-family: ETmodules;
    font-size: 72px;
    font-weight: 400;
    font-style: normal;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-shadow: 0px 0px 5px #0000008f;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.3s ease-in-out;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

.arrow-left:hover,
.arrow-right:hover {
    text-shadow: 0px 0px 8px #000000b8;
    transition: all 0.3s ease-in-out;
}

.thumbnails {
    display: block;
    width: 100%;
    max-width: 100%;
}

.thumbnails .thumbnails-inner {
    width: 100%;
    max-width: 100%;
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.thumbnails .thumbnails-inner::-webkit-scrollbar {
    height: 1rem;
}

.thumbnails .thumbnails-inner::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
}

.thumbnails .thumbnails-inner a {
    display: inline-block;
    margin-right: 5px;
}

.thumbnails .thumbnails-inner a.active img {
    box-shadow: 0px 0px 8px #000000b8;
}

.thumbnails .thumbnails-inner img {
    width: clamp(100px,20vw,280px);
    max-width: initial;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: bottom center;
    cursor: pointer;
}

@media all and (max-width: 768px) {
    .thumbnails .thumbnails-inner img {
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    
    .main-image {
        aspect-ratio: 1/1;
    }
    
    .main-image img {
        aspect-ratio: 1/1;
        object-fit: cover;
        object-position: bottom center;
    }
    
    .arrow-left, .arrow-right {
        display: none;
    }
}