@charset "UTF-8";

#ws-storys {
  position: fixed;
  z-index: 25;
  background: #00000088;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  inset: 0;
  height: 100%;
  overflow: hidden;
  width: 100%;
  display: none;
  opacity: 0;
}

.story-container {
  position: fixed;
  inset: auto 2rem 4rem 2rem;
  height: 100%;
  opacity: 0;
  max-height: calc(var(--vh) * 100 - 8rem);
  z-index: 25;
  isolation: isolate;
  transform: translatey(-12rem) scale(1.05);
}

@media (min-height: 678px) and (min-width: 765px) {
  .story-container {
    height: 76rem;
  }
}

.story-container::before {
  content: "";
  position: absolute;
  inset: -2px;
  -webkit-clip-path: url(#story-container-bg);
  clip-path: url(#story-container-bg);
  background-color: var(--c-primary-100);
  pointer-events: none;
}

.story-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-clip-path: url(#story-container-bg);
  clip-path: url(#story-container-bg);
}

.story-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg,
      var(--c-primary-600),
      transparent 50%);
  z-index: 0;
}

.story-wbs-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15.4rem;
  height: 3.6rem;
  pointer-events: none;
}

.story-wbs-badge__icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-wbs-badge::before {
  content: "";
  background-image: url(../../../../../assets/img/logos/logo-text.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 6.8rem;
  height: 1.4rem;
  z-index: 2;
}

/* progress */
.story-progress {
  position: absolute;
  inset: 1.5rem 1.5rem auto 1.5rem;
  display: flex;
  align-items: center;
  z-index: 3;
}

.story-progress__bar {
  position: relative;
  overflow: hidden;
  height: 0.8rem;
  background: var(--c-white);
  flex: 1;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
  direction: ltr;
}

.story-progress__fill {
  height: 100%;
  width: 0;
  background-color: var(--c-primary-400);
  border-radius: 10px;
}

.story-progress__time {
  font-size: var(--fs-16);
  color: var(--c-white);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 5rem;
}

/* close */
.ws-storys-close {
  cursor: pointer;
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary-800);
  font-size: 1.6rem;
  margin-right: 2rem;
}

.ws-storys-close i {
  transition: var(--t-ease) var(--ease3);
  display: block;
}

.ws-storys-close:hover i {
  transform: rotate(-90deg);
}

.story-container video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* tools */
.story-tools {
  position: absolute;
  inset: auto 2rem 10rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 86%;
  margin: 0 auto;
  gap: 1.5rem;
  z-index: 3;
}

/* controls */
.story-tools__controls {
  display: none;
  margin-top: 2rem;
  width: 100%;
}

.story-tools__controls .btn--control {
  width: 100%;
  border-radius: 5rem;
  background-color: #eae9f38f;
  font-size: var(--fs-13);
  padding: 1rem 1.8rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  transition: var(--t-ease) var(--ease4);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-variation-settings: var(--fw-500);
}

.story-tools__controls .btn--control:last-child {
  margin-bottom: 0;
}

.story-tools__controls .btn--control:hover {
  background-color: var(--c-white);
  color: var(--c-primary-600);
}

.story-tools-end {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 1.7rem;
}

/* replay */
.story-tools__replay {
  color: var(--c-primary-500);
  background: #ffffff6e;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  font-size: 3.6rem;
  transform: rotate(0);
  transition: var(--t-ease) var(--ease2);
}

.story-tools__replay:hover {
  -webkit-animation: replayStory var(--t-ease) var(--ease3) 1 forwards;
  animation: replayStory var(--t-ease) var(--ease3) 1 forwards;
  background: var(--c-white);
}

@-webkit-keyframes replayStory {
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes replayStory {
  100% {
    transform: rotate(-180deg);
  }
}

.story-tools__replay i {
  display: block;
}

/* extra-button */
.story-tools__extra-button {
  --btc: var(--c-primary-500);
  --h-bg: var(--c-primary-500);
  --h-c: var(--c-white);
  color: var(--c-primary);
  background: var(--c-primary-200);
  border: unset;
  padding: 0 1.5rem 0 2rem;
  height: 4rem;
  font-size: var(--fs-13);
}

.story-tools__extra-button .btn__text {
  height: 4rem;
}

.story-tools__extra-button::before {
  content: "\e926";
  font-family: var(--ff-icon);
  font-size: 2rem;
  color: var(--c-primary-500);
  transition: var(--t-ease) var(--ease4);
  position: relative;
  z-index: 2;
}

.story-tools__extra-button:hover::before {
  color: var(--c-white);
}

.story-container .home-button {
  position: absolute;
  z-index: 2;
  bottom: 0.6rem;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  color: var(--c-white);
  font-size: 2.4rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-container .home-button::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: var(--t-ease) var(--ease4);
  background-color: var(--c-primary-400);
  transform: scale(0.7);
  opacity: 0;
  z-index: -1;
  border-radius: 50%;
}

.story-container .home-button:hover::before {
  transform: scale(1);
  opacity: 1;
}

/* story__request */
.story__request {
  gap: 0.8rem;
  padding: 0.8rem 1.4rem;
}

.story__request-icon {
  stroke: var(--c-white);
  width: 2rem;
  height: 2rem;
  fill: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: var(--t-ease) var(--ease4);
  position: relative;
  z-index: 2;
}

.story__request:hover .story__request-icon {
  stroke: var(--c-primary-400);
}

.story__request-icon.animate * {
  -webkit-animation: noteStroke 1.2s var(--ease4) 1 forwards;
  animation: noteStroke 1.2s var(--ease4) 1 forwards;
}

/* story__phone */
.story__phone-text {
  font-size: var(--fs-14);
  padding: 0.6rem 1rem 0.6rem 1.8rem;
  line-height: 1.5;
  white-space: nowrap;
}

.story__help-phone {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: flex;
  align-items: center;
  font-variation-settings: var(--fw-600);
  border-radius: 5rem;
  white-space: nowrap;
  background: var(--c-white);
  border: unset;
  color: var(--c-primary-400);
  gap: 1.2rem;
  font-size: var(--fs-18);
  padding: 0.8rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.story__phone-icon {
  stroke: var(--c-primary-400);
  width: 2rem;
  height: 2rem;
  flex: none;
  fill: transparent;
  position: relative;
  z-index: 2;
  transition: var(--t-ease) var(--ease4);
}

.story__help:hover .story__phone-icon {
  stroke: var(--c-white);
}

.story__phone-icon-line {
  -webkit-animation: ringPhoneBack 1s ease-in-out 1 forwards;
  animation: ringPhoneBack 1s ease-in-out 1 forwards;
}

.story__phone-icon-line.second {
  -webkit-animation: ringPhoneBack 1s ease-in-out 0.2s 1 forwards;
  animation: ringPhoneBack 1s ease-in-out 0.2s 1 forwards;
}

.story__help:hover .story__phone-icon-line {
  -webkit-animation: ringPhone 1s ease-in-out infinite backwards;
  animation: ringPhone 1s ease-in-out infinite backwards;
}

.story__help:hover .story__phone-icon-line.second {
  -webkit-animation: ringPhone 1s ease-in-out 0.2s infinite backwards;
  animation: ringPhone 1s ease-in-out 0.2s infinite backwards;
}

.story__help {
  background-color: var(--c-primary-200);
  border-radius: 5rem;
  overflow: hidden;
  align-items: center;
  height: 4.6rem;
  position: relative;
  isolation: isolate;
}

.story__help-phone::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  transform: translateY(101%);
  background: var(--c-primary-400);
  border-radius: 50% 50% 0 0;
  left: 0;
  transition: transform var(--t-ease) var(--ease2),
    border-radius var(--t-ease) var(--ease2);
}

.story__help:hover .story__help-phone {
  transform: scaleX(1.02);
  transition: transform 0.6s cubic-bezier(0.34, 5.56, 0.64, 1);
}

.story__help:hover .story__help-phone::after {
  border-radius: 0;
  transform: translateY(0);
  transition-duration: 0.5s, 0.9s;
}

.story__help-phone .phone-text {
  height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-ease) var(--ease2);
  position: relative;
  z-index: 2;
}

.story__help-phone .phone-text::before {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
}

.story__help:hover .phone-text {
  transform: translateY(-100%);
}

/* .story__help::before {
  content: "";
  position: absolute;
  background-color: var(--c-primary-500);
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0, 1),
    border-radius 0.8s cubic-bezier(0.4, 0, 0, 1);
  transform-origin: left;
  border-radius: 0 5rem 5rem 0;
}
.story__help:hover::before {
  transform: scale(1);
  border-radius: 0;
} */
/* .story__help:hover {
  color: var(--c-white);
} */
/* loading */
.stroy-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #eae9f387;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff0000;
  z-index: 2;
  display: none;
}

.stroy-lds-ripple,
.stroy-lds-ripple div {
  box-sizing: border-box;
}

.stroy-lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.stroy-lds-ripple div {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  -webkit-animation: stroy-lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  animation: stroy-lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.stroy-lds-ripple div:nth-child(2) {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

@-webkit-keyframes stroy-lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }

  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }

  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }

  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

@keyframes stroy-lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }

  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }

  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }

  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

/**************************/
/* BELOW 360px */
/**************************/
@media (min-width: 22.5em) {}

/**************************/
/* 576px */
/**************************/

@media (min-width: 36em) {
  .story-tools {
    width: 75%;
  }

  .story-container {
    inset: auto 2rem 4rem auto;
    width: 45rem;
    max-height: calc(var(--vh) * 100 - 8rem);
  }
}

/**************************/
/* ABOVE 800px */
/**************************/

@media (min-width: 50em) {}