/*====================
27. Video css 
======================*/

.taxio-video {
  padding-bottom: 120px;
}

.taxio-video .video-content {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
}

.taxio-video .video-content::before {
  content: "";
  position: absolute;
  background: rgba(3, 2, 7, .2);
  border-radius: 20px;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.taxio-video .video-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  height: 550px;
  z-index: 100;
}

.taxio-video .video-wrapper img {
  border-radius: 12px;
}

.taxio-video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  height: 75px;
  width: 75px;
  line-height: 75px;
  padding: 0;
  text-align: center;
  color: white !important;
  background: var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.taxio-video .play-btn i {
  font-size: 20px;
}

.taxio-video .play-btn i::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: var(--color-primary);
  border-radius: var(--button-radius);
  animation: ripple-wave 1s linear infinite;
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: all 0.5s ease-in-out;
}

@keyframes ripple-wave {
  0% {
    opacity: 0.8;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}


@media all and (max-width: 767px) {
  .taxio-video .video-wrapper {
    height: 250px;
  }
}