.content { border-radius: var(--Corner-radius-Large); position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 1090px; height: 725px; overflow: hidden; z-index: 10; } .overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 10; } .galleryContainer { background-color: var(--Base-Background-Primary-Normal); padding: var(--Spacing-x5) var(--Spacing-x6); height: 100%; display: flex; flex-direction: column; position: relative; } .closeButton { position: absolute; top: var(--Spacing-x-one-and-half); right: var(--Spacing-x-half); } .backButton { position: absolute; top: var(--Spacing-x-one-and-half); left: var(--Spacing-x-half); } .galleryHeader { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--Spacing-x1); } .imageCaption { background-color: var(--Base-Surface-Subtle-Normal); padding: var(--Spacing-x-half) var(--Spacing-x1); border-radius: var(--Corner-radius-Small); } .mainImageWrapper { position: relative; flex: 1; margin-bottom: var(--Spacing-x2); } .mainImageContainer { width: 100%; height: 100%; will-change: transform; overflow: hidden; } .mainImageContainer img, .thumbnailContainer img { border-radius: var(--Corner-radius-Small); cursor: pointer; transition: opacity 0.3s ease-in-out; } .thumbnailGrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--Spacing-x1); max-height: 125px; overflow: hidden; } .thumbnailContainer { position: relative; height: 125px; } .fullViewContainer { background-color: var(--UI-Text-High-contrast); height: 100%; padding: var(--Spacing-x5); display: flex; flex-direction: column; align-items: center; } .fullViewHeader { display: flex; justify-content: center; margin-bottom: var(--Spacing-x5); width: 100%; } .fullViewImageContainer { position: relative; width: 100%; max-width: 1054px; height: 700px; margin-bottom: var(--Spacing-x5); } .fullViewImage { position: absolute; width: 100%; height: 100%; } .fullViewFooter { width: 100%; max-width: 1054px; text-align: left; padding-left: 116px; } .imagePosition { background-color: var(--UI-Grey-90); padding: var(--Spacing-x-quarter) var(--Spacing-x-half); border-radius: var(--Corner-radius-Small); } .fullViewImageContainer img { border-radius: var(--Corner-radius-Medium); cursor: pointer; } .navigationButton { position: absolute; top: 50%; transform: translateY(-50%); background-color: var(--Base-Button-Inverted-Fill-Normal); border-radius: 50%; padding: var(--Spacing-x1); cursor: pointer; border: none; display: flex; z-index: 1; } .navigationButton:hover { background-color: var(--Base-Button-Inverted-Fill-Hover); } .prevButton { left: var(--Spacing-x2); } .leftTransformIcon { transform: scaleX(-1); } .nextButton { right: var(--Spacing-x2); } .portraitImage { max-width: 548px; }