#main{
  opacity: 1;
}

.hero_videoblock {
  /* position: relative; */
  width: 80%;              /* start at 90% */
  margin: 0 auto;
  overflow: hidden;
  opacity: 1;
  animation: holdAndScale 5s ease forwards; 
  /* 5s hold + 3s scale */
}

/* Hold 90% for 5s, then shrink to 60% */
@keyframes holdAndScale {
  0% {
    width: 70%;
  }
  50% {                  /* 5s of 8s total = 62.5% */
    width: 60%;
  }
  100% {
    width: 50%;
  }
}

.hero_GooUXImg {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero_videoblock .hero_GooUXImg img{
  filter: brightness(0) saturate(100%) invert(3%) sepia(5%) saturate(537%) hue-rotate(69deg) brightness(95%) contrast(102%);
}

.hero_videoimg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* video behind */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero_videoimg video {
  width: 95%;
  height: 95%;
  object-fit: cover; /* fills background */
}

.hero_GooUXImg img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover; /* instead of contain */
  display: block;
}   

.hero_GooUXImgblock p {
  color: #fff;
  opacity: 0;
  width: 350px;
  text-align: center;
  position: absolute;
  bottom: 0;                     /* stick at bottom */
  left: 50%;
  transform: translateX(-50%);                     /* center horizontally */
  transform: scale(2);  
  /* start hidden below */
  animation: riseUp 2s linear forwards;
  animation-delay: 3s;           /* trigger after hold */
  margin-bottom: 0;
  z-index: 1;
}

@keyframes riseUp {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(1.5);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    bottom: 30%;
  }
}

.webgl-fitthumbs.fx-one {
  margin-top: 100px; /* 50px for logo + 50px buffer */
}

@media screen and (max-width:1920px) {

  /* Hold 90% for 5s, then shrink to 60% */
  @keyframes holdAndScale {
    0% {
      width: 90%;
    }
    50% {                  /* 5s of 8s total = 62.5% */
      width: 90%;
    }
    100% {
      width: 65%;
      opacity: 1;
    }
  }
}

@media screen and (max-width:1660px) {

  .hero_GooUXImgblock p{
    width: 300px;
  }

  /* Hold 90% for 5s, then shrink to 60% */
  @keyframes holdAndScale {
    0% {
      width: 90%;
    }
    50% {                  /* 5s of 8s total = 62.5% */
      width: 90%;
    }
    100% {
      width: 65%;
    }
  }

  @keyframes riseUp {
    0% {
      opacity: 0;
      transform: translateX(-50%) scale(1.5);
    }
    100% {
      opacity: 1;
      transform: translateX(-50%) scale(1);
      bottom: 28%;
    }
  }
  
}

@media screen and (max-width:1440px) {


  .hero_GooUXImgblock p{
    width: 280px;
  }

  /* Hold 90% for 5s, then shrink to 60% */
  @keyframes holdAndScale {
    0% {
      width: 90%;
    }
    50% {                  /* 5s of 8s total = 62.5% */
      width: 90%;
    }
    100% {
      width: 50%;
    }
  }

}

@media screen and (max-width:1366px) {
    .hero_GooUXImgblock p{
      width: 250px;
    } 
}

@media screen and (max-width:1250px) {

  .hero_GooUXImgblock p{
      width: 200px;
  }

  @keyframes holdAndScale {
    0% {
      width: 90%;
    }
    50% {                  /* 5s of 8s total = 62.5% */
      width: 90%;
    }
    100% {
      width: 50%;
    }
  } 

}

@media screen and (max-width:1080px) {
  @keyframes holdAndScale {
    0% {
      width: 90%;
    }
    50% {                  /* 5s of 8s total = 62.5% */
      width: 90%;
    }
    100% {
      width: 65%;
    }
  }
  

}


@media screen and (max-width:850px) {
  @keyframes holdAndScale {
    0% {
      width: 90%;
    }
    50% {                  /* 5s of 8s total = 62.5% */
      width: 90%;
    }
    100% {
      width: 70%;
    }
  }


}

@media screen and (max-width:768px) {
  @keyframes holdAndScale {
    0% {
      width: 90%;
    }
    50% {                  /* 5s of 8s total = 62.5% */
      width: 90%;
    }
    100% {
      width: 80%;
    }
  }
  
}

@media screen and (max-width:680px) { 
  @keyframes riseUp {
    0% {
      opacity: 0;
      transform: translateX(-50%) scale(1.5);
    }
    100% {
      opacity: 1;
      transform: translateX(-50%) scale(1);
      bottom: 30%;
    }
  }
}


@media screen and (max-width:580px) { 
  @keyframes riseUp {
    0% {
      opacity: 0;
      transform: translateX(-50%) scale(1.5);
    }
    100% {
      opacity: 1;
      transform: translateX(-50%) scale(1);
      bottom: 32%;
    }
  }
}

@media screen and (max-width:480px) { 

  .hero_GooUXImgblock p{
      width: 140px;
  }

  @keyframes riseUp {
    0% {
      opacity: 0;
      transform: translateX(-50%) scale(1.5);
    }
    100% {
      opacity: 1;
      transform: translateX(-50%) scale(1);
      bottom: 35vh;
      
    }
  }
}