/**
Include icons in scss/css.
Usage: 
 @include icon(close);
*/
/*
Media query mixin.
Usage: 
@include media($bp-l, min)
*/
/*
Mixin to add loading spinner to button/element.
Usage: 
@include loading()
*/
.text-with-media {
  background-color: #000;
  color: #fff;
  padding: 120px 0;
}
@media only screen and (max-width: 767px) {
  .text-with-media {
    padding: 96px 0;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
  }
}
.text-with-media__container {
  display: flex;
  flex-direction: column;
  gap: 136px;
}
@media only screen and (max-width: 767px) {
  .text-with-media__container {
    gap: 49px;
  }
}
.text-with-media__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .text-with-media__content {
    padding: 0 20px;
    max-width: fit-content;
    gap: 8px;
  }
}
.text-with-media__content--title {
  font-weight: 400;
  font-size: 48px;
  line-height: 120%;
  text-transform: uppercase;
  text-align: center;
  display: grid;
  place-items: center;
  min-height: 1.2em;
}
@media only screen and (max-width: 767px) {
  .text-with-media__content--title {
    font-size: 24px;
    text-align: left;
  }
}
.text-with-media__content--description {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .text-with-media__content--description {
    font-size: 14px;
    text-align: left;
  }
}
.text-with-media__input--wrapper {
  border-radius: 11px;
  padding: 12px 16px;
  backdrop-filter: blur(20px);
  background: rgba(120, 120, 128, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  width: 100%;
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .text-with-media__input--wrapper {
    margin-top: 16px;
  }
}
.text-with-media__input {
  background: transparent;
  border: none;
  width: 100%;
  color: white;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 160%;
  text-align: left !important;
}
@media only screen and (max-width: 767px) {
  .text-with-media__input {
    font-size: 14px;
    text-align: left;
  }
}
.text-with-media__wrapper-outer {
  overflow: hidden;
  width: 100%;
}
.text-with-media__wrapper {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.text-with-media__wrapper.is-visible {
  animation-play-state: running;
}
@media (hover: hover) {
  .text-with-media__wrapper:hover {
    animation-play-state: paused;
  }
}
.text-with-media__item {
  flex-shrink: 0;
  width: auto;
  height: 320px;
  margin-right: 32px;
}
@media only screen and (max-width: 767px) {
  .text-with-media__item {
    width: auto;
    height: 280px;
    margin-right: 16px;
  }
}
.text-with-media__image {
  width: auto;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.text-with-media__typewriter {
  width: calc(100% - 24px);
  display: flex;
  align-items: center;
}
.text-with-media__typewriter .text-with-media__input {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-with-media__typewriter .text-with-media__input::after {
  content: "|";
  animation: typewriter-blink 0.7s step-end infinite;
}

@keyframes typewriter-blink {
  50% {
    opacity: 0;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
