@keyframes fadeout {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hud {
  opacity: 0;
  z-index: 999;
  position: absolute;
  bottom: 22px;
  width: 100vw;
  height: 10vh;
}

.carousel {
  padding-bottom: 30%;
}

/* viewport inherit size from carousel */
.carousel .flickity-viewport {
  position: absolute;
  width: 100%;
  margin-left: 2.5px;
}

/* cell inherit height from carousel */
.carousel-cell {
  height: 64px;
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-sizing: border-box;
  filter: brightness(0.9);
  transition: filter 0.2s ease-out;
  margin: 0px 2.5px;
}

/*.carousel-cell:last-of-type {*/
/*  margin-right: 25px;*/
/*}*/

.carousel-cell.my-selected {
  filter: brightness(1);
  border: 1px solid black;
  border-radius: 50%;
}

.carousel-cell > img {
  width: 56px;
  height: 56px;
}

.fadein {
  opacity: 1;
  animation-name: fadein;
  animation-duration: 0.5s;
}

.fadeout {
  opacity: 0;
  animation-name: fadeout;
  animation-duration: 0.5s;
}

.selected-text {
  width: 100%;
  text-align: center;
  position: absolute;
  top: -60px;
  color: #000000;
  transition: top 0.3s ease-out;
  font-family: Gaillard;
  font-size: 17px;
  letter-spacing: 0.6px;
  display: flex;
  justify-content: center;
}

.selected-text-inner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.59;
  padding: 0 10px 0 10px;
  color: #FFFFFF;
}

.selected-text .style {
  font-style: italic;
}

.toggle {
  font-size: 0.7rem;
  color: white;
  padding: 1rem;
  position: absolute;
  top: -2.5rem;
  right: 0;
  transition: transform 0.3s ease-out;
  font-family: Fakt;
}
