:root {
  --midnight-blue: #003258;
  --medium-sea-green: #00ac5b;
}

body {
  color: #003258;
  font-family: Bodoni, sans-serif;
  font-size: 14px;
  line-height: 120%;
}

h2 {
  width: 100%;
  max-width: 991px;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 400;
}

h3 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 400;
  line-height: 120%;
}

.hero-section {
  grid-row-gap: 88px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 160px;
  display: flex;
}

.hero-logo-container {
  align-items: center;
  width: 768px;
  max-width: 100%;
  display: flex;
  position: relative;
}

.hero-logo-img {
  position: absolute;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: auto;
}

.hero-logo-ratio {
  width: 100%;
  padding-top: 35%;
  position: relative;
}

.main-container {
  z-index: 1;
  flex-flow: column wrap;
  justify-content: center;
  align-items: stretch;
  width: 1344px;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  position: relative;
}

.gallery-container {
  grid-row-gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin-left: -12px;
  margin-right: -12px;
  display: flex;
  position: relative;
}

.gallery-element {
  grid-row-gap: 12px;
  transform-style: preserve-3d;
  flex-direction: column;
  width: 25%;
  padding-left: 12px;
  padding-right: 12px;
  text-decoration: none;
  position: relative;
}

.gallery-element:hover {
  transform: translate3d(0, 0, 4px);
}

.gallery-element:active {
  transform: translate3d(0, 0, 3px);
}

.gallery-element.desk-4 {
  width: 33.33%;
}

.gallery-element.desk-3 {
  width: 25%;
}

.gallery-thumbnail {
  border-radius: 12px;
  min-width: 100%;
  overflow: hidden;
}

.background-video {
  width: 100%;
  height: 100%;
  position: relative;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

.gallery-bottom {
  color: #003258;
  background-color: #ccd6de;
  border-radius: 12px;
  padding-top: 100%;
  font-size: 24px;
  line-height: 32px;
  position: relative;
}

.gallery-quote {
  z-index: 0;
  opacity: .6;
  width: 88px;
  position: absolute;
  top: auto;
  bottom: 12px;
  left: auto;
  right: 12px;
}

.text-block {
  z-index: 1;
  position: relative;
}

.gallery-text {
  z-index: 1;
  padding: 16px;
  position: absolute;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: auto;
}

.gallery-content {
  grid-row-gap: 12px;
  cursor: pointer;
  flex-direction: column;
  transition: transform .3s ease-out;
  display: flex;
  position: relative;
}

.gallery-content:hover {
  transform: scale(1.01);
}

.play {
  background-color: rgba(204, 214, 222, .8);
  background-image: url('../images/play-b.svg');
  background-position: 0 0;
  background-size: cover;
  border-radius: 8px;
  width: 64px;
  height: 64px;
  margin-top: -84px;
  margin-left: 16px;
  position: absolute;
  top: 50%;
  bottom: auto;
  left: 0%;
  right: auto;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, .4);
}

.play-hover {
  opacity: 0;
  background-color: #122432;
  background-image: url('../images/play-lb.svg');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

.video-wrapper {
  width: 100%;
}

.video-element {
  border-radius: 12px;
  display: none;
  overflow: hidden;
}

.video-element.desktop {
  display: block;
}

.hero-top {
  grid-row-gap: 88px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 100%;
  padding-left: 10vw;
  padding-right: 10vw;
  display: flex;
}

.footer {
  grid-row-gap: 48px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 144px;
  padding-bottom: 104px;
  display: flex;
}

.button {
  color: #fff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0);
  background-image: url('../images/button-bg.jpg');
  background-position: 0 0;
  background-repeat: repeat-y;
  background-size: 200%;
  border-radius: 62px;
  padding: 24px 80px;
  font-size: 32px;
  line-height: 40px;
  transition: background-position .3s ease-in-out;
}

.button:hover {
  background-position: 100% 0;
}

.text-block-2 {
  color: var(--midnight-blue);
}

.image {
  width: 100%;
  max-width: 540px;
}

@media screen and (max-width: 991px) {
  h2, h3 {
    font-size: 28px;
  }

  .hero-section {
    grid-row-gap: 72px;
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .heading-2 {
    font-size: 28px;
  }

  .main-container {
    width: 768px;
  }

  .gallery-element {
    width: 33.33%;
  }

  .gallery-quote {
    width: 64px;
  }

  .gallery-text {
    padding: 12px;
    font-size: 19px;
    line-height: 26px;
  }

  .play {
    width: 56px;
    height: 56px;
    margin-top: -72px;
    margin-left: 12px;
  }

  .hero-top {
    grid-row-gap: 72px;
  }

  .heading-3 {
    font-size: 28px;
  }

  .footer {
    grid-row-gap: 32px;
    padding-top: 120px;
  }

  .button {
    padding: 18px 72px;
    font-size: 28px;
    line-height: 36px;
  }

  .image {
    max-width: 480px;
  }
}

@media screen and (max-width: 767px) {
  h2, h3 {
    font-size: 24px;
  }

  .hero-section {
    grid-row-gap: 64px;
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .heading-2 {
    font-size: 20px;
  }

  .main-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .gallery-container.mobh-rows-36 {
    grid-row-gap: 36px;
  }

  .gallery-element {
    width: 50%;
  }

  .gallery-text {
    font-size: 17px;
    line-height: 24px;
  }

  .play {
    margin-top: -104px;
    top: 50vw;
    left: 0%;
    right: auto;
  }

  .hero-top {
    grid-row-gap: 63px;
  }

  .heading-3 {
    font-size: 24px;
  }

  .footer {
    grid-row-gap: 28px;
    padding-top: 104px;
  }

  .button {
    padding-left: 64px;
    padding-right: 64px;
    font-size: 24px;
    line-height: 32px;
  }
}

@media screen and (max-width: 479px) {
  .hero-section {
    grid-row-gap: 48px;
    padding-top: 64px;
  }

  .heading-2 {
    font-size: 18px;
  }

  .main-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .gallery-container {
    grid-row-gap: 36px;
    margin-left: -16px;
    margin-right: -16px;
  }

  .gallery-element {
    padding-left: 8px;
    padding-right: 8px;
  }

  .gallery-bottom {
    padding-top: 0%;
  }

  .gallery-text {
    position: relative;
  }

  .play {
    width: 36px;
    height: 36px;
    margin-top: -64px;
    margin-bottom: 0;
    margin-left: 8px;
  }

  .video-element.desktop {
    display: none;
  }

  .video-element.mobile {
    display: block;
  }

  .hero-top {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .button {
    padding-left: 48px;
    padding-right: 48px;
  }
}


@font-face {
  font-family: 'Bodoni';
  src: url('../fonts/Bodoni-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}