/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

html {
  font-size: 18px;
}

.pswp__button {
  color: var(--pswp-icon-color);
}

.pswp__button--arrow {
  width: 48px;
  height: 48px;
}

.pswp__button--download-button {
  display: flex;
  place-items: center;
}

.pswp__button--zoom svg:last-child {
  display: none;
}

.pswp--zoomed-in .pswp__button--zoom svg:last-child {
  display: block;
}

.pswp--zoomed-in .pswp__button--zoom svg:first-child {
  display: none;
}

.pswp__custom-caption .caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.pswp__custom-caption .caption {
  opacity: 0;
  transition: opacity 250ms;
}

.show-caption .pswp__custom-caption .caption {
  opacity: .8;
}
