html {
  font-family: system-ui;
  background: #3d76d9;
}

.visuallyhidden {
  position: absolute;
  z-index: -1;
  right: 0;
  opacity: 0;
  
}

.card-carousel h1 {
  color: white;
  text-align: center;
  margin-top: 1em;
}

.card-carousel {
  --card-width: 80%;
  --card-max-width: 380px;
  --card-height: 450px;
  --carousel-min-width: 600px;
  z-index: 1;
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: var(--card-height);
  min-width: var(--carousel-min-width);
  transition: filter .3s ease;
}

@media screen and (max-width: 640px) {
  .card-carousel {
    margin-left: calc((100vw - var(--carousel-min-width)) / 2)
  }
}

.card-carousel.smooth-return {
  transition: all .2s ease;
}

.card-carousel .card {
  /* background: #2a2a34; */
  background: transparent;
  width: var(--card-width);
  max-width: var(--card-max-width);
  text-align: center;
  /* padding: 1em; */
  min-width: 350px;
  height: var(--card-height);
  position: absolute;
  margin: 0 auto;
  color: rgba(0,0,0,.5);
  transition: inherit;
  /* -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3); */
  border-radius: 1em;
  filter: brightness(.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none !important;
}

.card.highlight {
  filter: brightness(1)
}

.image-container {
  /* width: 10em;
  height: 10em;
  position: relative;
  background-size: cover;
  margin-bottom: 2em;
  border-radius: 100%;
  padding: 1em;
  -webkit-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
  box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3); */

  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* .image-container::after {
  content: "";
  display: block;
  width: 120%;
  height: 120%;
  border: solid 2px rgb(255 255 255 / 10%);
  border-radius: 100%;
  position: absolute;
  top: calc(-10% - 3px);
  left: calc(-10% - 3px);
} */

.card-carousel h2 {
  padding: 1em;
  margin-top: 1em;
  background: rgba(0,0,0,.3);
  text-align: center;
  color: white;
  border-radius: .2em;
  display: inline-block;
  transform: translateX(calc((100vw - 100%) / 2))
}

.card-carousel h2 a {
  color: #f5b916
}

.play-pause {
  max-width: 768px;
  margin: 15px auto 0 auto;
}

.play-pause {
  text-align: right;
  font-size: 25px;
  color: #aaaaab;
}

.play-pause i {
  cursor: pointer;
}

#play {
	display: none;
}

/* progress bar */
.slider-progress {
  width: 100%;
  height: 3px;
  background: #27272c;
  max-width: 768px;
  margin: 10px auto 0 auto;
}
.slider-progress .progress-b {
  width: 0%;
  height: 3px;
  background: #d33;
}