/* Animated Arrow CSS Start */
:root {
    --easing: cubic-bezier(.25, 1.7, .35, .8);
    --duration: 1.5s;
  }
  
  .arrow-icon {
    background-color: var(--background-color);
    height: 1em; /* Adjust the height */
    width: 1em; /* Adjust the width */
    display: block;
    margin: 1em auto;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
  }
  
  /* Change the color of the arrow on hover */
  .arrow-icon:hover .left-bar:after,
  .arrow-icon:hover .right-bar:after {
    background-color: #26ADE4; /* Change the arrow color on hover */
  }
  
  .left-bar,
  .right-bar {
    position: absolute;
    background-color: transparent;
    top: 0;
    width: 14px; /* Adjust the width */
    height: 4px; /* Adjust the height */
    display: block;
    border-radius: 2px;
  }
  
  .left-bar {
    left: 0;
    transform: rotate(35deg);
  }
  
  .left-bar:after,
  .right-bar:after {
    content: "";
    background-color: black;
    width: 14px; /* Adjust the width */
    height: 4px; /* Adjust the height */
    display: block;
    border-radius: 6px 10px 10px 6px;
    transition: all var(--duration) var(--easing);
    z-index: 2;
  }
  
  .right-bar {
    left: 9px; /* Adjust the position */
    transform: rotate(-35deg);
  }
  
  .open .left-bar:after {
    transform-origin: center center;
    transform: rotate(-70deg);
  }
  
  .open .right-bar:after {
    transform-origin: center center;
    transform: rotate(70deg);
  }
/* Animated Arrow CSS End */
  
/* Button CSS Start */
.button-57 {
    position: relative;
    overflow: hidden;
    border: 1px solid #18181a;
    color: #18181a;
    display: inline-block;
    font-size: 10px;
    line-height: 5px;
    padding: 7px 7px 7px;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button-57 span:first-child {
    position: relative;
    transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 10;
  }
  
  .button-57 span:last-child {
    color: white;
    display: block;
    position: absolute;
    bottom: 0;
    transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 100;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translateY(225%) translateX(-50%);
    height: 10px;
    font-size: 8px;
    line-height: 9px;
  }
  
  .button-57:after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 102%;
    height: 100%;
    background-color: black;
    transform-origin: bottom center;
    transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
    transform: skewY(9.3deg) scaleY(0);
    z-index: 50;
  }
  
  .button-57:hover:after {
    transform-origin: bottom center;
    transform: skewY(9.3deg) scaleY(2);
  }
  
  .button-57:hover span:last-child {
    transform: translateX(-50%) translateY(-100%);
    opacity: 1;
    transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
  }
/* Button CSS End */

/* Waves animation footer Start 
https://codepen.io/alvarotrigo/pen/GRxxWdQ
Fixed scaling that was set to pixel values
*/
.wave {
  position: absolute;
  top: -65px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("./gfx/wave.png");
  background-size: 200% 100px;
}
.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}
.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}
.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}
.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}
@keyframes animateWaves {
  0% {
    background-position-x: 200%;
  }
  100% {
    background-positon-x: 0%;
  }
}
@keyframes animate {
  0% {
    background-position-x: -200%;
  }
  100% {
    background-positon-x: 0%;
  }
}
/* End of wave FX  */

/* Tapered underline text FX  */
.tapered {
  background-image: linear-gradient(179deg,rgb(254, 97, 158) 0%, rgb(254, 97, 158) 50%,transparent 54%, transparent 100%);
}
/* End Tapered underline text FX  */


/* Modal window fullscreen */
#modal-window {
  /* content wrapper full window size */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* so we can click through it when transparent */
  pointer-events: none;
  /* transparent */
  opacity: 0;
  /* sexy fade */
  transition: opacity 500ms;
}

/* :target selects when href click is "#target-content" */
#modal-window:target {
  /* reenable clicking */
  pointer-events: all;
  /* show that ish */
  opacity: 1;
  z-index: 1000; /* Ensure the modal is above other content */
}

/* the white centered content */
#modal-window-content {
  position: absolute;
  display: block;
  padding: 50px;
  line-height: 1.8;
  width: 490px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 20px; /* Slightly smaller than 25px of parent */
 
  box-shadow: rgba(255, 255, 255, 0.4) 0px 4px 8px, 
            rgba(255, 255, 255, 0.3) 0px 14px 26px -6px, 
            rgba(255, 255, 255, 0.2) 0px -6px 0px inset;

  background: linear-gradient(145deg, rgb(240, 240, 240, 0.95), rgb(245, 235, 235, 0.95));
  color: #34495E;
  /* A opacity: 0.95; Set with background instead, to not affect child elements */
  backdrop-filter:  blur(15px) contrast(50%);
}

/* Animation triggered from js */
@keyframes revealModalAnim {
  from {
    transform: scaleX(0) translateX(-100%);
  }
  to {
    transform: scaleX(1) translateX(-50%) translateY(-50%);
  }
}
@keyframes hideAndReveallModalAnimRight{
  0% {
    transform: scaleX(1) translateX(-50%) translateY(-50%);
  }
  50% {
    transform: scaleX(0) translateX(-100%);
  }
  100% {
    transform: scaleX(1) translateX(-50%) translateY(-50%);
  }
}
@keyframes hideAndReveallModalAnimLeft{
  0% {
    transform: scaleX(1) translateX(-50%) translateY(-50%);
  }
  50% {
    transform: scaleX(0) translateX(-200%);
  }
  100% {
    transform: scaleX(1) translateX(-50%) translateY(-50%);
  }
}

#modal-window-content h2 {
  margin-top: 0;
  top: 15px;
}

#modal-window-content code {
  font-weight: bold;
}

#modal-window-content #panorama {
  padding: -50px;
  position: relative;
  left: -40px;
  top: -25px;
  opacity: 1;
}

#modal-window-content #panorama h2 {
  position: relative;
  margin-top: 15px;
  margin-left: 70px;
  text-align: center;
  margin-bottom: -25px;
/* 
  background: rgba(33, 33, 33, 0.9);
  border-radius: 5px;
   */

}
#modal-window-content canvas {
  padding: 1px;
  background-color: #18181a;
  border-radius: 5px; 
}


/* the giant invisible close area (making a new target "#") */
#modal-window a.close {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #34495E;
  opacity: 0.5;
  transition: opacity 200ms;
}

#modal-window a.close:hover {
  opacity: 0.4;
}

/* End model window */

/* Begin Glitch Text FX */
h1.glitch {
  color: white;
  font-family: sans-serif;
  font-weight: 800;
  position: relative;
  font-size: 100px;
  padding: 30px;
  
  background-color: black;
  color: white;
  padding: 0;
  margin: 0;
  display: inline;
}

h1.glitch::before,
h1.glitch::after {
  padding: 30px;
  color: white;
  content: "Glitch";
  position: absolute;
  width: 100%;
  height: 100%;
  background: black;
  overflow: hidden;
  top: 0;
}

h1.glitch::before {
  left: 3px;
  text-shadow: -2px 0 red;
  animation: glitch-animation-1 2s linear infinite reverse alternate;
}

h1.glitch::after {
  left: -3px;
  text-shadow: -2px 0 blue;
  animation: glitch-animation-2 2s linear infinite reverse alternate;
}

@keyframes glitch-animation-1 {
  0% {
    clip: rect(58px, 350px, 119px, 30px);
  }
  5% {
    clip: rect(11px, 350px, 95px, 30px);
  }
  10% {
    clip: rect(59px, 350px, 75px, 30px);
  }
  15% {
    clip: rect(77px, 350px, 9px, 30px);
  }
  20% {
    clip: rect(29px, 350px, 3px, 30px);
  }
  25% {
    clip: rect(27px, 350px, 25px, 30px);
  }
  30% {
    clip: rect(73px, 350px, 71px, 30px);
  }
  35% {
    clip: rect(74px, 350px, 75px, 30px);
  }
  40% {
    clip: rect(99px, 350px, 134px, 30px);
  }
  45% {
    clip: rect(10px, 350px, 51px, 30px);
  }
  50% {
    clip: rect(122px, 350px, 42px, 30px);
  }
  55% {
    clip: rect(37px, 350px, 119px, 30px);
  }
  60% {
    clip: rect(16px, 350px, 7px, 30px);
  }
  65% {
    clip: rect(90px, 350px, 128px, 30px);
  }
  70% {
    clip: rect(109px, 350px, 97px, 30px);
  }
  75% {
    clip: rect(18px, 350px, 36px, 30px);
  }
  80% {
    clip: rect(49px, 350px, 86px, 30px);
  }
  85% {
    clip: rect(32px, 350px, 47px, 30px);
  }
  90% {
    clip: rect(115px, 350px, 15px, 30px);
  }
  95% {
    clip: rect(84px, 350px, 19px, 30px);
  }
  100% {
    clip: rect(9px, 350px, 92px, 30px);
  }
}

@keyframes glitch-animation-2 {
  0% {
    clip: rect(90px, 350px, 75px, 30px);
  }
  5% {
    clip: rect(28px, 350px, 113px, 30px);
  }
  10% {
    clip: rect(26px, 350px, 36px, 30px);
  }
  15% {
    clip: rect(21px, 350px, 112px, 30px);
  }
  20% {
    clip: rect(71px, 350px, 125px, 30px);
  }
  25% {
    clip: rect(29px, 350px, 116px, 30px);
  }
  30% {
    clip: rect(37px, 350px, 58px, 30px);
  }
  35% {
    clip: rect(117px, 350px, 51px, 30px);
  }
  40% {
    clip: rect(117px, 350px, 72px, 30px);
  }
  45% {
    clip: rect(59px, 350px, 120px, 30px);
  }
  50% {
    clip: rect(38px, 350px, 114px, 30px);
  }
  55% {
    clip: rect(17px, 350px, 56px, 30px);
  }
  60% {
    clip: rect(44px, 350px, 29px, 30px);
  }
  65% {
    clip: rect(123px, 350px, 72px, 30px);
  }
  70% {
    clip: rect(19px, 350px, 43px, 30px);
  }
  75% {
    clip: rect(94px, 350px, 8px, 30px);
  }
  80% {
    clip: rect(18px, 350px, 76px, 30px);
  }
  85% {
    clip: rect(120px, 350px, 105px, 30px);
  }
  90% {
    clip: rect(59px, 350px, 109px, 30px);
  }
  95% {
    clip: rect(91px, 350px, 74px, 30px);
  }
  100% {
    clip: rect(96px, 350px, 105px, 30px);
  }
}


/* begin spinning loader */
.spinner {
  width: 2.2em;
  height: 2.2em;
  cursor: not-allowed;
  border-radius: 50%;
  border: 0.25em solid #fff;
  box-shadow: -10px -10px 10px #d1e751, 0px -10px 10px 0px #9c32e2, 10px -10px 10px #51e7b2, 10px 0 10px #ff0b0b, 10px 10px 10px 0px #6751e7, 0 10px 10px 0px #ff9500, -10px 10px 10px 0px #e75186;
  animation: rot55 1.3s linear infinite;
  background-color: white;
  margin: auto;
  margin-bottom: 25px;
}

@keyframes rot55 {
  to {
    transform: rotate(360deg);
  }
}
.spinner span {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(#d1e751, #51e7b2, #6751e7);
}
.spinner span:nth-child(1) {
  filter: blur(5px);
}

.spinner span:nth-child(2) {
  filter: blur(10px);
}

.spinner span:nth-child(3) {
  filter: blur(25px);
}

.spinner span:nth-child(4) {
  filter: blur(50px);
}
/* end spinning loader */

/* Begin button */
button {
  position: relative;
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid rgb(61, 106, 255);
  font-size: 11px;
  text-transform: uppercase;

  background: transparent;
  background: linear-gradient(90deg, #d1e751, #51e7b2, #6751e7, #e75186);
  background-size: 300%;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

button:hover {
  background: #6751e7;

  box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

button:hover::before {
  -webkit-animation: sh02 0.5s 0s linear;
  -moz-animation: sh02 0.5s 0s linear;
  animation: sh02 0.5s 0s linear;
}

button::before {
  content: '';
  display: block;
  width: 0px;
  height: 86%;
  position: absolute;
  top: 7%;
  left: 0%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 50px 30px #fff;
  -webkit-transform: skewX(-20deg);
  -moz-transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
  -o-transform: skewX(-20deg);
  transform: skewX(-20deg);
}

@keyframes sh02 {
  from {
    opacity: 0;
    left: 0%;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
    left: 100%;
  }
}

button:active {
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: box-shadow 0.2s ease-in;
  -moz-transition: box-shadow 0.2s ease-in;
  transition: box-shadow 0.2s ease-in;
}

/* End button */

 /* Simple vector shape used for content divider */ 

  .svgDivider2 {
    position: relative;
    width: 100%;
    height: 15px;
    margin-top: 0;
    z-index: 1;
  }
  
  .svgDivider2 svg {
    width: 100%;
    height: 16px;
    position: relative;
    transform: rotateY(180deg);
  }
  .svgDivider2.inside {
    margin-top: -25px;
    margin-left: -50px;
    width: 600px;
  }

  @media (min-width:2100px){
  .svgDivider{
  background-size: 100% calc(2vw + 15px);
  }
  }

  
/* Tooltip */
.tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #171616;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #171616;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

a:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
}

/* Arrows */
#navigationArrow button {
  background: transparent;
  border: 0;
  outline:0;
  padding: 0;
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
}
#navigationArrow button:focus,
#navigationArrow button:hover::before,
#navigationArrow button:hover {
  border: 0;
  box-shadow: none;
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
}

#navigationArrow  svg {
  padding: 5px;
}

#navigationArrow  .arrow {
  cursor: pointer;
  position: absolute;
  top: 100%;
  margin-top: -45px;
  margin-left: -35px;
  width: 70px;
  height: 90px;
}

#navigationArrow .left {
  left: 25px;
}

#navigationArrow .right {
  right: -93px;
}

#navigationArrow .left polyline {
  stroke-width: 7;
}
#navigationArrow .right polyline {
  stroke-width: 7;
}

#navigationArrow .left:hover polyline,
#navigationArrow .left:focus polyline {
  stroke-width: 15;
}

#navigationArrow .left:active polyline {
  stroke-width: 15;
  transition: all 100ms ease-in-out;
}

#navigationArrow .right:hover polyline,
#navigationArrow .right:focus polyline {
  stroke-width: 15;
}

#navigationArrow .right:active polyline {
  stroke-width: 15;
  transition: all 100ms ease-in-out;
}

#navigationArrow polyline {
  transition: all 250ms ease-in-out;
}

/* Text reveal animation */
@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes grow-left {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.reveal-1, .reveal-3 {
  opacity: 0;
  animation: fade-in-right ease 0.4s forwards;
}

.reveal-2 {
  transform: scaleX(0);
  transform-origin: left;
  animation: grow-left cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.5s forwards;
  animation-delay: 0.3s;
}

.reveal-3 {
  animation-delay: 0.6s;
}
/* End Text reveal animation */

/* Text bubble for quote */
.textbubble {
  position: relative;
  width: 96%;
  background: #f0f0f0;
  border-radius: 40px;
  padding: 12px;
  text-align: left;
  padding-left: 24px;
  opacity: 0.92;
  font-size: 14px;
  margin-top: 25px;

  /*  transform: rotate(5deg) skewX(0deg); */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.textbubble-bottom-right:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 24px solid #f0f0f0;
  border-right: 12px solid transparent;
  border-top: 12px solid #f0f0f0;
  border-bottom: 20px solid transparent;
  right: 60px;
  bottom: -14px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;

}
.textbubbleQuoteAuth {
  float: right;
  margin-right: 0px;
  margin-top: 12px;
  font-size: 14px;
}

.textbubbleArrow {
  float: right;
  margin-right: 12px;

  z-index: 5;
}

/* Construct 3D cube CSS */

/* Mailing List form */
#mailingList {
  margin-top: 50px;
  text-align: center;
  margin-left: -75/2px;
}

#mailingList p {
  margin: 0;
}

#mailingList input[type="text"],
#mailingList button {
  display: inline-block;
  vertical-align: middle;
}


/* Form - Text Input Field */
  #mailingList input[type="text"] {
    font-family: inherit;
    width: calc(100% - 200px); /* Adjust width to accommodate the button */
    border: 0;
    border-bottom: 2px solid #9b9b9b; /* Gray border */
    outline: 0;
    font-size: 1.3rem;
    padding: 7px 0;
    background: transparent;
    transition: border-color 0.2s;

    /* Placeholder styles */
    &::placeholder {
      color: transparent;
    }

    /* Placeholder shown styles */
    &:placeholder-shown ~ .form__label {
      top: -20px;
      font-size: 1rem;
      color: #11998e; /* Primary color */
      font-weight: 700;
    }
  }

#mailingList input[type="text"]:focus {
  border-bottom: 3px solid rgb(61, 106, 255); /* Border color on focus */
  padding-bottom: 6px;
  font-weight: 700;
  box-shadow: 0 0 5px rgba(61, 106, 255, 0.5); /* Box shadow on focus */
}

/* Label styles */
#mailingList .form__label {
  position: relative;
  top: 10px; /* Adjust to align with input */
  float: left;
  left: 75px;
  font-size: 1rem;
  color: #9b9b9b; /* Gray color */
  transition: 0.2s;
  display: block;
}

#mailingList input[type="text"]:focus ~ .form__label {
  top: -20px;
  font-size: 1rem;
  color: #11998e; /* Primary color */
  font-weight: 700;
}
 /* For displaying server feedback error codes */
#mailFormFeedback {
  text-align: center;

}
#mailFormContainer {
  margin-top: calc(1*var(--gridSpace));
  z-index: 2;
}

/* Starfield CSS from https://codepen.io/keithclark/ */
/* Todo: Add paralax scroll effect with varying degree to the layers */
#starfieldCSSContainer, .starfieldCSS {
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  height: calc(1 * var(--backgroundHeight));
}
.starfieldCSS {
  background-image: 
    radial-gradient(1px 1px at 20px 30px, #f2e9a8, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 70px, #d6eaff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 50px 160px, #f2e9a8, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 90px 40px, #d6eaff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 130px 80px, #f2e9a8, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 160px 120px, #d6eaff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 400px 400px;
  animation: zoom 5s infinite;
  opacity: 0;

}

.starfieldCSS:nth-child(1) {
  background-position: 50% 50%;
  animation-delay: 0s;
}
.starfieldCSS:nth-child(2) {
  background-position: 20% 60%;
  animation-delay: 1s;
}
.starfieldCSS:nth-child(3) {
  background-position: -20% -30%;
  animation-delay: 2s;
}
.starfieldCSS:nth-child(4) {
  background-position: 40% -80%;
  animation-delay: 3s;
}
.starfieldCSS:nth-child(5) {
  background-position: -20% 30%;
  animation-delay: 4s;
}

@keyframes zoom {
  0% {
    opacity: 0;
    transform: scale(0.5);
    animation-timing-function: ease-in;
  } 
  85% {
    opacity: 1;
    transform: scale(2.8);
    animation-timing-function: linear;
  }
  100% {
    opacity: 0;
    transform: scale(3.5);
  }
}
 /* End of Starfield */

/* Video placeholder */

.content .video, video {
  transition: box-shadow 0.1s ease;
  overflow: hidden;
  background: url(https://keithclark.co.uk/img/3d-css-fps.jpg) 50% 50% / cover;
  position: relative;
  width:100%;
  height: auto;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 9px;
  filter: grayscale(80%);
  transition: filter 0.3s ease;
}
.content .video:hover, video:hover {
  filter: grayscale(0%);
  box-shadow: rgba(255, 255, 255, 0.5) 0px 6px 12px, 
              rgba(255, 255, 255, 0.4) 0px 20px 32px -8px, 
              rgba(255, 255, 255, 0.3) 0px -8px 0px inset;
}

.content .video::before, video::before {
  content: '';
  position: absolute;
  top:0;
  left:0;
  bottom: 0;
  right:0;
  background-image: linear-gradient(
    rgba(0,0,0,.5) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,.7) 3px
  );
  background-size: 100% 4px;
  animation: .43s interference infinite ease-in-out alternate;  
    transform-origin:0 0%;
}


@keyframes interference {
  to {
    transform-origin:0 100%;
    transform: scale(1.15)
  }
}

video {
  width: calc(100% + 50px); 
  margin-left: -25px;
  height: auto;
  padding-top: 0;
  filter: grayscale(0%);
  background:#000000;
}

/* Remove effect when playing */
video.playing {
  filter: grayscale(0%);
}
video.playing:hover {
  filter: grayscale(0%);
}

.videoThumbnail1:hover {
  
}

/* Animated bird */
/* https://codepen.io/matchboxhero/details/RLebOY */
.bird {
  /*background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/174479/bird-cells-new.svg);*/
  background: url("./gfx/bird-cells-new.svg");
  background-size: auto 100%;
  width: 88px;
  height: 125px;

  will-change: background-position;
  animation-name: fly-cycle;
  animation-timing-function: steps(10);
  animation-iteration-count: infinite;
}

.bird--one {
  animation-duration: 1s;
  animation-delay: -0.5s;   
}

.bird--two {
  animation-duration: 0.9s;
  animation-delay: -0.75s;
}

.bird--three {
  animation-duration: 1.25s;
  animation-delay: -0.25s;
}

.bird--four {
  animation-duration: 1.1s;
  animation-delay: -0.5s;
}

.bird-container {
  position: absolute;
  top: 25%;
  left: -100px;
  width: 88px; /* Match the width of the bird */
  height: 125px; /* Match the height of the bird */
  will-change: transform;
}

.bird-container--one {
  animation: fly-right-one 15s linear infinite;
}

.bird-container--two {
  animation: fly-right-one 16s linear infinite;
  animation-delay: 1s;
}

.bird-container--three {
  animation: fly-right-one 14.6s linear infinite;
  animation-delay: 9.5s;
}

.bird-container--four {
  animation: fly-right-one 16s linear infinite;
  animation-delay: 10.25s;
}

@keyframes fly-cycle {
  100% {
    background-position: -880px 0; /* 10 frames at 88px each */
  }
}

@keyframes fly-right-one {
  0% {
    transform: scale(0.3) translateX(-10vw);
  }
  10% {
    transform: translateY(2vh) translateX(10vw) scale(0.4);
  }
  20% {
    transform: translateY(0vh) translateX(30vw) scale(0.5);
  }
  30% {
    transform: translateY(4vh) translateX(50vw) scale(0.6);
  }
  40% {
    transform: translateY(2vh) translateX(70vw) scale(0.6);
  }
  50% {
    transform: translateY(0vh) translateX(90vw) scale(0.6);
  }
  60% {
    transform: translateY(0vh) translateX(110vw) scale(0.6);
  }
  100% {
    transform: translateY(0vh) translateX(110vw) scale(0.6);
  }
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./type/Montserrat-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url('./type/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
}
body {
  font-family: 'Montserrat', sans-serif;
  /*
  font-style: italic;
  */
}