.fullViewContainer {
  background-color: var(--UI-Text-High-contrast);
  height: 100%;
  padding: var(--Spacing-x3) var(--Spacing-x2);
  position: relative;
  align-items: center;
  justify-items: center;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;
  place-content: center;
  gap: var(--Spacing-x5);
}

.closeButton {
  position: absolute;
  top: var(--Space-x2);
  right: var(--Space-x2);
  z-index: 1;
}

.header {
  display: flex;
  justify-content: center;
  width: 100%;
}

.imageCount {
  background-color: var(--Overlay-90);
  padding: var(--Space-x025) var(--Space-x05);
  border-radius: var(--Corner-radius-sm);
  color: var(--Text-Inverted);
}

.imageContainer {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 25rem;
  margin-bottom: var(--Spacing-x5);
}

.imageWrapper {
  position: absolute;
  width: 100%;
  height: 100%;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  color: var(--Text-Inverted);
  position: absolute;
  bottom: calc(-1 * var(--Spacing-x5));
}

@media screen and (max-width: 767px) {
  .navigationButton {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1366px) {
  .fullViewContainer {
    padding: var(--Spacing-x5);
  }

  .imageContainer {
    height: 100%;
    max-height: 560px;
  }
}

@media screen and (min-width: 768px) {
  .closeButton {
    position: fixed;
    top: var(--Spacing-x-one-and-half);
    right: var(--Spacing-x-half);
  }

  .fullViewContainer {
    margin-top: 0;
    padding: var(--Spacing-x5);
    grid-template-rows: auto 1fr auto;
    width: 100%;
    height: 100%;
  }

  .imageContainer {
    width: 70%;
    max-width: 1454px;
    max-height: 700px;
  }

  .navigationButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--Component-Button-Inverted-Fill-Default);
    color: var(--Component-Button-Inverted-On-fill-Default);
    border-radius: var(--Corner-radius-rounded);
    padding: 10px;
    cursor: pointer;
    border-width: 0;
    display: flex;
    z-index: 1;
    box-shadow: 0px 0px 8px 1px #0000001a;

    &:hover {
      background-color: var(--Component-Button-Inverted-Fill-Hover);
      color: var(--Component-Button-Inverted-On-fill-Hover);
    }
  }

  .fullViewNextButton {
    right: var(--Spacing-x5);
  }

  .fullViewPrevButton {
    left: var(--Spacing-x5);
  }
}
