.z-banner {
	position: relative;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.z-banner a {
  text-decoration: none;
}
.z-banner-background-img, .z-banner-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.z-banner-background-img {
  background-repeat: no-repeat;
  background-position: center center;
  transform: translateZ(0);
  opacity: 0;
  visibility: hidden;
}
.z-banner-background-video {
  background-position: center center;
  object-fit: cover;
}
.z-banner-title,
.z-banner-description,
.z-banner-button {
	position: absolute;
  width: 100%;
  height: max-content;
  min-height: 100%;
  display: flex;
  white-space: normal;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: visible;
  text-align: center;
  opacity: 0;
  visibility: hidden;
	z-index: 2;
}
.z-banner-button-inner {
  width: 100%;
  height: 100%;
  position: absolute;
}
.z-banner-button-after, .z-banner-button-before {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.z-banner-button-after {
  opacity: 1;
  z-index: 2;
}
.z-banner-button-before {
  opacity: 1;
  z-index: 3;
}
.z-banner-button:hover .z-banner-button-after {
  opacity: 0;
}
.z-banner-button:hover .z-banner-button-before {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

@media only screen and (max-width: 768px) {
  .z-banner-backgroung-img {
    background-size: cover !important;
    background-position: center !important;
  }
}