.section-header {
  scroll-margin-top: 50px;
}

.wrapper-outer {
  display: flex;
  flex-direction: column;
  justify-content: default!important;
  height: 100%;
}

.invisible {
  opacity: 0;
}

.fade-in {
  animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.visible {
  opacity: 1;
  transition: opacity 1s ease-out;
}

@counter-style pad-example {
  system: numeric;
  pad: 3 "0";
}

.pt-6, .py-6 {
  padding-top: 5rem !important;
}

.pr-6, .px-6 {
  padding-right: 5rem !important;
}

.pb-6, .py-6 {
  padding-bottom: 5rem !important;
}

.pl-6, .px-6 {
  padding-left: 5rem !important;
}

.navbar-nav {
  --bs-navbar-nav-link-padding-x: 0.25rem !important;
}

.myElement {
  position: sticky;
  top: -1px;
}

.isSticky {
  color: red;
}

.text-container {
  z-index: 1019;
}

.scroll-caption {
  font-size: 20px;
  width: 50%;
  height: auto;
  margin: 0px auto 90vh;
  padding: 1.25em;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px;
  border-radius: 10px;
  text-align: center;
  color: black;
  z-index: 1021;
  position: relative;
}

.sticky-offset {
  top: 56px !important;
}

/* At screens over 680px wide, adjust the width & position of the embed & captions to sit alongside each other */

/* Adjust these dimensions to change the width/proportion of captions vs. embed on the page */

/* #scrolly-component-1 {
        margin-left: 35vw;
        width: 60vw;
    } */

/* @media screen and (min-width: 680px) {
  .fl-scrolly-step {
    margin-left: -20vw !important;
    width: 20vw !important;
  }
} */

:root {
  --currentWidth: 10vw;
  --currentHeight: 16vw;
}

.grid-cover {
  width: var(--currentWidth) !important;
  display: block;
  height: var(--currentHeight) !important;
}

.grid-cover img {
  width: 100%;
  object-fit: contain;
}

.main-content {
  padding-top: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.popup-content {
  font-family: var(--bs-body-font-family)!important;
  font: unset;
}

.popup-content header {
  font-weight: bold;
  color: #ffffff;
  background: rgb(51, 51, 51);
  padding: 0.5rem;
  border-top-right-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
}

.tippy-box {
  border-radius: 0.5rem;
}

.tippy-content {
  padding: 0px;
}

.a-icon {
  -webkit-background-size: 400px 900px;
  background-size: 400px 900px;
  background-repeat: no-repeat;
}

.a-icon {
  display: inline-block;
  vertical-align: top;
}

.a-icon-kindle-unlimited {
  background-image: url(https://m.media-amazon.com/images/S/sash/NzPf$fHil8CgZmI.png);
  -webkit-background-size: 512px 256px;
  background-size: 512px 256px;
  background-repeat: no-repeat;
}

.a-icon-kindle-unlimited {
  width: 110px;
  height: 14px;
  background-position: -144px -223px;
  vertical-align: baseline;
}

.a-icon-kindle-unlimited.a-icon-small {
  width: 82px;
  background-position: -90px -105px;
}

@media screen and (max-height: 1080px) {
  .chart-container {
    height: 60vh;
  }
}

@media screen and (min-height: 1081px) {
  .chart-container {
    height: 70vh;
  }
}

/* @media screen and (min-height: 740px) {
  .prices-container {
    height: 40vh;
  }
} */

.zoomout-button {
  -webkit-font-smoothing: antialiased;
  font-family: "Source Sans Pro";
  color: rgb(51, 51, 51);
  box-sizing: border-box;
  opacity: .9;
  cursor: pointer;
  transition: opacity .3s;
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 1000;
  font-size: 20px;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  text-align: center;
  display: block;
  background: rgb(243, 243, 243);
}

.zoomout-button svg {
  width: 40px;
  height: 40px;
  top: .18em;
  position: relative;
  display: inline;
  transition: transform .3s;
}

.background-video {
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

.viewport-header {
  position: relative;
  height: 100vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-text {
  position: absolute;
  color: rgb(255, 255, 255);
  left: 13%;
  top: 42%;
  transform: translate(-13%,-42%);
  line-height: 0;
}

#bgImage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://res.cloudinary.com/docxldh5e/image/upload/v1711489285/vlcsnap-2024-03-27-10h39m54s029_fwlabd.png");
  background-size: cover;
  z-index: -1;
  opacity: 1;
}

#wrapper {
  position: absolute;
}

.pic {
  position: absolute;
  background-size: cover !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: -1;
  transition: opacity 800ms ease;
  filter: brightness(70%) saturate(140%);
}

.pic.active {
  opacity: 1;
}

.arrow-down {
  bottom: 0;
  display: block;
  height: 72px;
  left: 50%;
  margin-left: -25px;
  position: absolute;
  width: 50px;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 3px;
  background: radial-gradient(farthest-side,#616161 95%,#0000) 50% 0/12px 12px no-repeat, radial-gradient(farthest-side,#0000 calc(100% - 5px),#ffffff calc(100% - 4px)) content-box;
  animation: l6 2s infinite;
}

@keyframes l6 {
  to {
    transform: rotate(1turn);
  }
}

.legend-container {
  max-width: 448px;
  flex-wrap: wrap;
  align-items: center;
  place-content: center flex-start;
  display: inline-flex;
  padding-inline-end: 0.5rem;
  padding-bottom: 0px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  padding-inline: 0px 0.5rem;
  text-align: start;
  cursor: pointer;
}

.legend-item:hover:not(.legend-item-disabled) {
  opacity: 0.6;
}

.legend-item-disabled {
  opacity: 0.2;
}

.legend-swatch {
  height: 1rem;
  width: 1rem;
  border-radius: 10px;
}

.legend-label {
  margin: 0px;
  user-select: none;
  padding-inline: 0.2em 0px;
  font-weight: normal;
  font-size: 1rem;
}

.plot-title {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

