/* css fallback before feature query */
.header-content.box {
  margin: 5rem;
  padding-top: 20px;
}
.header-content img {
  position: relative;
  z-index: 2;
}
.header-content h1 {
  margin: auto;
  width: 50%;
  z-index: 2;
}
.header-content p {
  margin: 1.2rem;
  z-index: 2;
}
.btn {
  margin: auto;
  z-index: 2;
}
/* end of css fallback */
@support (displayGrid) 
  
  * {
  box-sizing: border-box;
}
/* css for body = whole page */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  color: #333;
  overflow-x: hidden;
  background-color: #225470;
}
/* css for video container */
.v-header {
  height: 100vh;
  align-items: center;
  color: #fff;
}
/* parent for grid items header-content change class to info-box */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 10px;
  /* margin: 20px; */
}
/* css for video */
.fullscreen-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  object-fit: contain;
}

.fullscreen-video-wrap video {
  min-width: 100vw;
  min-height: 100vh;
}
.video {
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
}

/* end of css for video */

/* css for video colour overlay */
.header-overlay {
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  background: rgb(34, 84, 112);
  z-index: 1;
  /* opacity of coloured video overlay */
  opacity: 0.5;
}
/* box styling */
/*  border-radius fallback is 90 degree corners */
.header-content {
  display: flex;
  flex-direction: column;
  /* this margin stops the boxes overflowing down */
  margin: 15px;
  padding: 5px;
  /* height: auto; */
  /* uncomment line below for box background with opacity */
  /* background-color: #000000; opacity: 0.6; */
  border: dashed white 2px;
  border-radius: 25px;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

a:hover {
  transition: all 500ms;
  transform: scale(1.1);
}

.box__img1 {
  justify-content: center;
  height: auto;
  width: 40vw;
}
/
video {
  border: solid 3px white;
}
/* heading animation */
/* button animation */
.jello-horizontal {
  -webkit-animation: jello-horizontal 0.9s 500ms 2 both;
  animation: jello-horizontal 0.9s 1s 2 both;
}
/* ----------------------------------------------
   * Generated by Animista on 2020-1-25 20:32:55
   * Licensed under FreeBSD License.
   * See http://animista.net/license for more info. 
   * w: http://animista.net, t: @cssanimista
   * ---------------------------------------------- */

/**
   * ----------------------------------------
   * animation jello-horizontal
   * ----------------------------------------
   */
@-webkit-keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

/* end of header content */
@media (max-width: 568px) {
  .fullscreen-video-wrap video {
  min-width: 100vw;
  min-height: 100vh;
}
.video {
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
}
}
