.carouselContainer { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; box-sizing: border-box; } .imageContainer { display: flex; align-items: center; justify-content: center; flex: 1; height: 100%; overflow: hidden; max-width: 80%; } .image { object-fit: contain; object-position: center; width: 100%; height: 100%; margin-bottom: 40px; } .navButton { background-color: transparent; border: none; border-radius: 0; color: transparent; opacity: 1; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; } .navButton:hover { background-color: rgba(0, 0, 0, 0.04); }