

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-foreground {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    margin-top: 45px
}

.video-foreground video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    object-fit: cover;
}

.overlay {
    position: relative;
    color: white;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.overlay::before {
    content: "";
    position: absolute;
    top: calc(70% + 15px);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: white;
}

.overlay-heading {
    font-size: 7em;
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    z-index: 1;
}

.overlay-text {
    font-size: 1em;
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    margin-top: -100px;

    z-index: 1;
}

.overlay-text-uph {
  font-size: 2em;
  font-family: 'Times New Roman', Times, serif;
  font-weight: normal;
  z-index: 1;
}


@media (max-width: 600px) {
    .overlay-text {
        font-size: 1.2em;
        
    }
    .overlay-heading {
      font-size: 4em;
      line-height: 70px;
      

    }
    .overlay-text-uph {
      font-size: 1.2em;

    }
    .overlay::before {
      top: calc(60% + 15px);
    }
}

@media (max-width: 1250px) {
  .video-foreground {
    margin-top: 0px
}
}