/**
 * Media Queries
 */
.hero {
  overflow: hidden;
  position: relative;
}
.hero .block-wrap {
  display: flex;
}
@media only screen and (max-width: 979px) {
  .hero .block-wrap {
    flex-direction: column;
  }
}
@media only screen and (min-width: 768px) {
  .hero:before {
    content: '';
    display: block;
    width: 100%;
  }
}
.hero h1 {
  color: #0b317a;
  font-size: 3.5em;
  font-weight: 800;
  line-height: 1em;
}
.hero h1 span {
  color: #285dc3;
  display: block;
}
.hero .media-wrap {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  flex: 0 0 50%;
}
@media only screen and (min-width: 1170px) {
  .hero .media-wrap {
    flex: 0 0 55%;
  }
}
@media only screen and (min-width: 1600px) {
  .hero .media-wrap {
    flex: 0 0 60%;
  }
}
@supports (object-fit: cover) {
  .hero .media-wrap img,
  .hero .media-wrap video {
    display: block;
    height: 100% !important;
    object-fit: cover;
    width: 100% !important;
  }
}
.hero .video-play-pause-button {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  bottom: 15px;
  right: 15px;
  border: none;
  cursor: pointer;
  padding: 0px;
  position: absolute;
  z-index: 5;
}
.hero .video-play-pause-button.playing .icon.play {
  display: none;
}
.hero .video-play-pause-button.playing .icon.pause {
  display: flex;
}
.hero .icon {
  align-items: center;
  color: #ffffff;
  display: flex;
  height: 34px;
  justify-content: center;
  position: relative;
  width: 34px;
}
.hero .icon.pause {
  display: none;
}
.hero .icon svg {
  height: 8px;
  width: 7px;
}
.hero .content-wrap {
  background-color: #fff;
  background-image: url('../../img/jsg-watermark.svg');
  background-position: 80px 210px;
  background-repeat: no-repeat;
  background-size: 580px;
  border-radius: 6px;
  position: relative;
}
@media only screen and (min-width: 768px) {
  .hero .content-wrap {
    display: flex;
    width: 100%;
  }
}
.hero .content-wrap .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 15px;
}
.hero .content-wrap .content p {
  color: #0b317a;
  font-size: 21px;
}
@media only screen and (min-width: 768px) {
  .hero .content-wrap .content {
    padding: 60px;
  }
}
.hero .down-arrow {
  display: none;
}
@media only screen and (min-width: 768px) {
  .hero .down-arrow {
    animation: 1s ease-in-out infinite alternate levitate;
    background: #333;
    border: none;
    border-radius: 50px;
    bottom: 10px;
    cursor: pointer;
    display: flex;
    height: 50px;
    left: 50%;
    margin-left: -25px;
    padding: 10px;
    position: absolute;
    width: 50px;
  }
}
.hero .down-arrow svg {
  fill: #ffffff;
  height: auto;
  margin: auto;
  width: 18px;
}
.hero .down-arrow span {
  display: none;
}
/* levitate animation */
@keyframes levitate {
  0% {
    transform: translateY(3px);
  }
  100% {
    transform: translateY(-3px);
  }
}
