
.bg-image {
   position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100% !important;
    transform: translate(-50%, -50%); 
    object-fit: cover; 
    transition: opacity 1s ease; 
    z-index: -1;
    display: block !important;
    opacity: 0;
}

.bg-image.fadeout {
  opacity: 0 !important;
}
.bg-image.next {
    opacity: 1;
    z-index: 0 !important;
}
.bg-image.current {
    opacity: 1;
    z-index: 1 !important;
}

{# ============================== #}
{#      TYPEWRITER CURSOR         #}
{# ============================== #}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background-color: currentColor;
  margin-left: 2px;
  vertical-align: baseline;
  animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

{# ============================== #}
{#     VIDEO EMBED CONTAINER      #}
{# ============================== #}

.c-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.c-video-embed.c-video-vertical {
  padding-bottom: 177.78%;
  max-width: 360px;
}

.c-video-vertical .hs-video-wrapper {
  padding-bottom: 177.78% !important;
}

.c-video-vertical .hs-video-container {
  max-width: 360px;
  margin: 0 auto;
}

.c-content-con.c-video-vertical {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.c-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
