
@font-face {
    font-family: 'National Trust';
    src: url('fonts/NationalTrustTT-Bold.woff2') format('woff2'),
        url('fonts/NationalTrustTT-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'National Trust';
    src: url('fonts/NationalTrustTT-Regular.woff2') format('woff2'),
        url('fonts/NationalTrustTT-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.nt-font {
  font-family: 'National Trust';
}

.splash-1-text .header {
  font-size: 38px;
  font-weight: bold;
}

.binocular-shape {
  mask: url(BinocularMask.svg) no-repeat, linear-gradient(#000000eb 0 0);
  mask-composite: exclude;
  mask-size: 800px;
  mask-size: 95%;
  mask-position: center;
}

#video1 {
  object-fit: contain;
  height: calc(100vh - 200px);
  height: 110vh;
  width: 100%;
  object-position: center;
  vertical-align: top;
  background: #ffd100;
  width: calc(100% + 6px);
  margin-left: -3px;
  object-position: bottom;
}

#video2 {
  object-fit: contain;
  height: calc(100vh - 200px);
  height: 110vh;
  width: 100%;
  object-position: center;
  vertical-align: top;
  background: #ffd100;
  width: calc(100% + 6px);
  margin-left: -3px;
  object-position: bottom;
}

#video3 {
  object-fit: contain;
  height: calc(100vh - 200px);
  height: 110vh;
  width: 100%;
  object-position: center;
  vertical-align: top;
  background: #ffd100;
  width: calc(100% + 6px);
  margin-left: -3px;
  object-position: bottom;
}

.game-complete-message br {
  display: none;
}

.video-container,
.video-container-square {
  position: relative;
}

.video-container:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: 
        linear-gradient(to bottom, #ffd100 0%, transparent 15%),
        linear-gradient(to right, #ffd100 0%, transparent 10%),
        linear-gradient(to left, #ffd100 0%, transparent 10%);
}

.video-container-square:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: 
        linear-gradient(to bottom, #ffd100 0%, transparent 15%),
        linear-gradient(to top, #ffd100 0%, transparent 15%),
        linear-gradient(to right, #ffd100 0%, transparent 10%),
        linear-gradient(to left, #ffd100 0%, transparent 10%);
}

.moss-loader {
  animation: spin-moss 1.5s linear infinite;
  transform-origin: center;
}

@keyframes spin-moss {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (min-width:1025px) and (max-width:1200px) {

  .splash-1-text .header {
    font-size: 28px;
  }

  .splash-1-text > div {
    font-size:22px !important;
  }

  .splash-2-title > div {
    font-size:40px !important;
  }

  .splash-2-text > div {
    font-size:22px !important;
  }

  .game-complete-message {

  }

  .video-container:after {
      background: 
        linear-gradient(to bottom, #ffd100 0%, transparent 15%),
        linear-gradient(to right, #ffd100 0%, transparent 10%),
        linear-gradient(to left, #ffd100 0%, transparent 10%);
  }

}

@media (min-width:768px) and (max-width:1024px) {

  .splash-1-text .header {
      font-size: 28px;
  }

  .splash-1-text > div {
    font-size: 22px !important;
  }

  .congratulations > div {
    font-size: 38px !important;
  }

  .level-complete-message > div {
    font-size: 38px !important;
  }

  .game-complete-message > div {
    font-size: 36px !important;
  }

  .game-complete-message br {
    display: block;
  }

  #video1 {
    width: auto;
  }

  #video2 {
    width: auto;
  }

  #video3 {
    width: auto;
  }

  .video-container:after {
    background: 
        linear-gradient(to bottom, #ffd100 0%, transparent 15%),
        linear-gradient(to right, #ffd100 0%, transparent 10%),
        linear-gradient(to left, #ffd100 0%, transparent 10%);
  }

}

@media (max-width: 767px) {

  .temp-help > div {
    font-size: 20px !important;
  }

  .congratulations > div {
    font-size: 23px !important;
  }

  .splash-1-text .header {
      font-size: 22px;
  }

  .splash-1-text > div {
    font-size: 18px !important;
  }

  .start-game-button > div {
    font-size: 24px !important;
  }

  .splash-2-title > div {
    font-size:30px !important;
    text-align: center !important;
  }

  .splash-2-text > div {
    font-size:15px !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }

  .hop-to-it-button > div {
    font-size: 24px !important;
  }

  .how-to-play-text > div {
    font-size: 15px !important;
  }

  .how-to-play-text > div img {
    width: 22px;
  }

  .are-you-sure > div {
    font-size: 40px !important;
  }

  .level-intro-text > div {
    font-size: 70px !important;
  }

  .powered-by > div {
    font-size: 9px !important;
  }

  .level-complete-message > div {
    font-size: 34px !important;
  }

  .game-complete-message > div {
    font-size: 24px !important;
  }

  .game-complete-message br {
    display: block;
  }

  .species-name > div {
    font-size: 32px !important;
  }

  #video1 {
    height: calc(100vh - 200px);
    width: auto;
  }

  #video2 {
    height: calc(100vh - 200px);
    width: auto;
  }

  #video3 {
    height: calc(100vh - 200px);
    width: auto;
  }

  .video-container:after {
    background: 
        linear-gradient(to bottom, #ffd100 0%, transparent 15%),
        linear-gradient(to right, #ffd100 0%, transparent 10%),
        linear-gradient(to left, #ffd100 0%, transparent 10%);
  }

}
