.media-popup {
  position: relative;
  border: none;
  background-color: transparent;
  cursor: pointer;
  left: -9px;
}
.media-video-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1734358a;
  /* transform: translateY(-100%); */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: none;
}
.media-video-box.media-video-active {
  /* transform: translateY(0); */
  opacity: 1;
  visibility: visible;
  display: flex;
}
.media-video {
  max-width: 70%;
  width: 100%;
}
.media-video__iframe {
  border: 2px solid green;
  overflow: hidden;
  border-radius: 10px;
  transform: translateY(-30%);
  transition: all 0.4s ease;
  opacity: 0;
  visibility: hidden;
  display: flex;
}
.media-video-active .media-video__iframe {
  border: 2px solid var(--secondary-color);
  overflow: hidden;
  border-radius: 10px;
  transform: translateY(0);
  transition: all 0.4s ease;
  opacity: 1;
  visibility: visible;
  display: flex;
}
.media-video__iframe iframe {
  width: 100%;
  height: 600px;
}
.media-video-active .media-video__iframe iframe {
  width: 100%;
  height: 600px;
}
.media-video__close {
  position: absolute;
  top: -30%;
  right: 0;
  cursor: pointer;
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 25px;
  height: 25px;
  transition: all 0.4s ease;
}
.media-video__close:hover {
  transform: rotate(180deg);
}
.media-video-active .media-video__close {
  transition: all 0.4s ease;
  top: -34px;
}
.media-video__close li {
  position: absolute;
  left: 0%;
  width: 100%;
  height: 2px;
  transition: 0.3s ease;
  background: #fff;
  transform: translateY(-50%) rotate(0);
  opacity: 1;
  border-radius: 10px;
}
.media-video__close li:nth-child(1) {
  top: 50%;
  transition: 0.3s;
  transform: translateY(-50%) rotate(-45deg);
}

.media-video__close li:nth-child(2) {
  top: 50%;
  transition: 0.3s;
  transform: translateY(-50%) rotate(45deg);
}

/* button */
.playvideo_animation {
  position: absolute;
  top: -28px;
  left: -9px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0;
  z-index: -1;
  transform: scale(0.5);
}

.playvideo_animation {
  animation: playvideoWave 3s cubic-bezier(0.55, 0.06, 0.68, 0.19) 0s infinite;
}

.playvideo_animation:nth-child(1) {
  animation-delay: 0s;
}

.playvideo_animation:nth-child(2) {
  animation-delay: 1s;
}

.playvideo_animation:nth-child(3) {
  animation-delay: 2s;
}

@keyframes playvideoWave {
  0% {
    opacity: 0.4;
    transform: scale(0.3);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
.media-popup span {
  position: absolute;
  top: 13px;
  left: 85px;
  z-index: 2;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01rem;
  text-transform: uppercase;
  color: #555;
  white-space: nowrap;
}

.media-popup i {
  box-shadow: 0 0 0px 8px #5372fc52;
  background-color: var(--primary-color);
  padding: 14px 15px 15px 17px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}
.classic-mobile {
  display: none;
}
.row.row-reverse {
  flex-direction: row-reverse;
}
@media only screen and (max-width: 991px) {
  .classic-desktop {
    display: none;
  }
  .classic-mobile {
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .media-video-active .media-video__iframe iframe {
    height: 400px;
  }
}
@media only screen and (max-width: 567px) {
  .media-video-active .media-video__iframe iframe {
    height: 350px;
  }
  .media-video {
    max-width: 90%;
  }
}
