body {
  background-color: #000;
}

#brand-logo {
  max-height: 2rem;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

#magazine img {
  max-width: 50vw;
}

#nav {
  height: 4rem;
  transition: bottom 1s cubic-bezier(0.4, 0, 0, 1) 0s;
}

@media only screen and (max-width: 960px) {
  #magazine img {
    max-width: 100vw;
  }
}

.splide__slide {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0, 1) 0s;
}

.page-wrapper {
  background-color: white;
}

.pages {
  display: flex;
  cursor: zoom-in;
  align-items: center;
  justify-content: center;
}

.pages img {
  flex-shrink: 0;
}

.page-wrapper img {
  max-height: 100%;
}

.pages img.loading{
  visibility: hidden;
}

#range {
  width: 90%;
}

#range::-webkit-slider-thumb {
  background: gray;
}

#range::-moz-range-thumb {
  background: gray;
}

#range::-ms-thumb {
  background: gray;
}

#page-number {
  font-size: .70em;
}

.tippy-box[data-theme~='alert'] {
  font-size: 1rem;
  text-transform: uppercase;
  color: white;
  padding: 10px;
  background-color: rgb(255, 106, 106);
}

.tippy-box[data-theme~='alert'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: rgb(255, 106, 106);
}