/* @keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
} */
/* .brand--info .brands--logo { */
/* animation: scroll 10s linear infinite; */
/* display: flex; */
/* width: calc(25rem * 14); */
/* } */
:root {
  /* --brands--size: 25rem; */
  --brands--size: 40rem;
  --brands--height: 15rem;
  --brands--count: 7;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(var(--brands--size) * -1 * var(--brands--count))
    );
  }
}
.slider {
  /* background: white; */
  /* box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125); */
  margin-top: 4rem;
  height: 30rem;
  /* margin: auto; */
  overflow: hidden;
  position: relative;
  width: 100vw;
}
.slider::before,
.slider::after {
  background: linear-gradient(to right, #efefef, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: var(--brands--height);
  position: absolute;
  width: var(--brands--size);
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  animation: scroll 35s linear infinite;
  display: flex;
  width: calc(var(--brands--size) * (var(--brands--count) * 2));
}
.slider .slide {
  display: flex;
  justify-content: center;
  /* height: 200px; */
  height: var(--brands--height);
  /* height: 15rem; */
  /* width: 200px; */
  width: var(--brands--size);
  padding: 2.1rem 0 2.1rem 0;
}

.slide {
  background-color: #fff;
  border-radius: 1rem;
  margin: 0 1rem;
  -webkit-box-shadow: 1px 9px 26px -20px rgba(66, 68, 90, 1);
  -moz-box-shadow: 1px 9px 26px -20px rgba(66, 68, 90, 1);
  box-shadow: 1px 9px 26px -20px rgba(66, 68, 90, 1);
}

.slide img {
  height: 100%;
  /* padding: 2.1rem auto; */
}

.padd_normal {
}

/* ######## BUTTONS HOVER ####### 
*/

@-webkit-keyframes hvr-icon-bob {
  0% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  50% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}
@keyframes hvr-icon-bob {
  0% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  50% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}
@-webkit-keyframes hvr-icon-bob-float {
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}
@keyframes hvr-icon-bob-float {
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}
.hvr-icon {
  display: flex;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-icon {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.hvr-icon:hover,
.hvr-icon:focus,
.hvr-icon:active {
  -webkit-animation-name: hvr-icon-bob-float, hvr-icon-bob;
  animation-name: hvr-icon-bob-float, hvr-icon-bob;
  -webkit-animation-duration: 0.3s, 1.5s;
  animation-duration: 0.3s, 1.5s;
  -webkit-animation-delay: 0s, 0.3s;
  animation-delay: 0s, 0.3s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: 1, infinite;
  animation-iteration-count: 1, infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
}

/* #### BOUNCE TO RIGHT */
.hvr-bounce-to-right {
  /* display: inline-block; */
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.hvr-bounce-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blue--primary);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-bounce-to-right:hover,
.hvr-bounce-to-right:focus,
.hvr-bounce-to-right:active {
  color: #fff;
}
.hvr-bounce-to-right:hover:before,
.hvr-bounce-to-right:focus:before,
.hvr-bounce-to-right:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.ease-out {
  position: relative;
}
.ease-out::before {
  transform: scaleX(0);
  transform-origin: bottom right;
}

.ease-out:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.ease-out::before {
  content: " ";
  display: block;
  position: absolute;
  height: 10%;
  width: 100%;
  /* top: 0; */
  /* right: 0; */
  bottom: 0;
  /* left: 0; */
  /* inset: 0 0 0 0; */
  background: var(--blue--primary);
  z-index: -1;
  transition: transform 0.3s ease;
}

.active--card.ease-out::before {
  transform: scaleX(1);
}

@keyframes start--text {
  0% {
    transform: translateX(-200%);
  }

  70% {
    transform: translateX(30%);
  }

  100% {
    transform: translateX(1);
  }
}
