@font-face {
  font-family: 'AudiType';
  src: url('/fonts/AudiTypeVF.woff2')
    format('woff2-variations');
  font-display: swap;
  font-style: normal;
  font-stretch: 100% 130%;
}

body{
  background-color: black;
  user-select: none;
}

.image-container{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.fade-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  transition: opacity .25s;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.fade-image:nth-child(1){
  z-index: 100;
}

.fade-image:nth-child(2){
  z-index: 99;
}

.fade-image:nth-child(3){
  z-index: 98;
}

.fade-image:nth-child(4){
  z-index: 97;
}

.fade-image:nth-child(5){
  z-index: 96;
}

.fade-image:nth-child(6){
  z-index: 95;
}

.fade-image:nth-child(7){
  z-index: 94;
}

.fade-image:nth-child(8){
  z-index: 93;
}

.fade-image:nth-child(9){
  z-index: 92;
}

.fade-image:nth-child(10){
  z-index: 91;
}

.fade-image.faded{
  opacity: 0;
}

.pill-wrapper{
  width: calc(100% - 200px);
  height: 53px;
  position: absolute;
  z-index: 1000;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
}

.outer-pill{
  /* 100% - left margin + right margin - audi logo width - spacing between bar and audi logo */
  width: calc(100% - 153px - 27px);
  height: 53px;
  border-radius: 50px;
  overflow: hidden;
  position: absolute;
}

.outer-pill::before{
  content: "";
  background-image: linear-gradient(#FF2D00, #FF2D00);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  transform: scaleY(0.99) scaleX(.995);
  border-radius: 53px;
}

.inner-pill{
  width: 100%;
  height: 53px;
  border-radius: 50px;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #2b2f36;
  cursor: pointer;
  touch-action: none;
}

.inner-pill__text{
  font-family: AudiType;
  position: absolute;
  top: 50%;
  left: 0;
  padding-left: 36px;
  padding-right: 36px;
  transform: translateY(-50%);
  color: white;
  font-size: 14px;
}

.pill-logo{
  position: absolute;
  right: 0;
  height: 53px;
  width: 153px;
  top: 0;
}

.inner-pill__text--collapsed{
  display: none;
}

@media (max-width: 768px){
  .pill-wrapper{
    transform: rotateZ(-90deg);
    width: calc(100dvh - 86px - 86px);
    top: calc(100% - 27px - 86px);
    left: 50%;
    transform-origin: left;
    height: 40px;
  }

  .outer-pill{
    height: 40px;
    width: calc(100% - 29px - 30px);
  }

  .inner-pill{
    height: 40px;
  }

  .inner-pill__text--collapsed{
    display: block;
  }

  .inner-pill__text{
    opacity: 1;
    transition: opacity .1s .1s;
  }

  .inner-pill__text.text-faded{
    opacity: 0;
    transition: opacity .1s;
  }

  .pill-logo{
    transform: rotate(90deg) translateX(50%) translateY(50%);
    transform-origin: right;
    width: 86px;
    height: 29px;
    margin-top: 5.5px;
  }


}