.hide {
  display: none;
}

body.noscroll {
  overflow: hidden;
}

video {
  max-width: 100%;
}

#container_video {
  position: relative;
  z-index: 2;
}

#container_video.fullscreen {
  display: flex;
  align-items: center;
  justify-content: center;
}

#container_video.fullscreen #video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: auto;
}

#close {
  background-image: none !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transform: translateZ(0);
  z-index: 10001;
}

#container_video.fullscreen #close {
  z-index: 10001;
}

#close::before,
#close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 4px;
  background: #111;
  border-radius: 2px;
}

#close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#play,
#open-video {
  cursor: pointer;
}

#play > div {
  animation: playPulse 1.2s ease-in-out infinite;
}

#cta-link {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: max-content;
  max-width: min(90%, 460px);
  margin: 0 auto;
  transform: translateY(-50%) translateZ(0);
  z-index: 10002;
  padding: 16px 32px;
  background-color: rgba(0, 207, 47, 0.85);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  font:
    700 20px/1.35 Arial,
    "Helvetica Neue",
    sans-serif;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  cursor: pointer;
  animation: playPulse 1.2s ease-in-out infinite;
}

#cta-link.show {
  display: block;
}

#cta-link .cta-accent {
  display: inline-block;
  padding: 1px 8px;
  margin-left: 2px;
  background: #fff;
  color: #00a127;
  border-radius: 5px;
}

@media screen and (max-width: 480px) {
  #cta-link {
    font-size: 17px;
    padding: 13px 20px;
  }
}

@keyframes playPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
