 
  @font-face {
    font-family: "MixStitch";
    src:
      local("MixStitch"),
      url("assets/MixStitch.ttf") format("truetype");
  }
  @font-face {
    font-family: "Stutter";
    src:
      local("Stutter"),
      url("assets/stutter/PiS_stutter.otf") format("opentype");
  }

  body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-content: center;
    grid-auto-flow: column;
    gap: 30px;
    background: url('assets/felt-texture1.webp');
    background-color: black !important;
    /* background-repeat: repeat; */
    /* background-size: auto 100%; */
    cursor:url('assets/CURSOR.png'), auto !important;
    font-size: 3rem;
    /* background-color: #1e3c72; */
  }

  h1, h2, h3, h4, h5 {
    display: block;
  }

  h1 {
    font-size: 5rem;
    line-height: 5rem;
    color: rgb(107, 70, 149);
  }

  p {
    font-size: 1.7rem;
    line-height: 1.7rem;
    letter-spacing: 0.3rem;
    color: #fa1f08;
    display: block;
  }

  .felt p, .felt h1 {
    font-family: MixStitch;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  }

  /* @keyframes scaleUpAnimation {
    from { 
        transform: scale(1);
    }
    to   { 
        transform: scale(2);
    }
  } */

  /* #scene-container {
    background-image: url('assets/screen-background.webp');
    min-width: 100vw;
    min-height: 100vh;
    background-size: cover;
    transition: all 1s ease-in;
    pointer-events: all;
    &.hide-overlay {
      opacity: 0;
      pointer-events: none;
    }
  } */

  .scene {
    width: 100vh;
    max-width: 100vw;
    min-height: 100vh;
    /* border: 1px solid #CCC; */
    /* margin: 80px; */
    /* perspective: 200vh; */
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease-out;
    opacity: 1;

    /* &.shiny-mode {
      width: 100vw;
      transition: all 1s ease-in;  
    } */
  }

  .chr-wrapper video {
    max-width: 100%;
    transition: all 0.4s ease-out;
    transform: scale(1.5);
    height: auto;
    /* background: rgba(212,35,87,0.5); */
  }



  .chr-wrapper video.scaleup {
    /* transform: scale(1.5); */
  }

  .chr-wrapper {
    position: relative;
  }

  .chr-wrapper .chr-btn {
    /* background-color: rgba(0,0,0,0.8); */
    position: absolute;
    width: 50%;
    height: 50%;
    left: 25%;
    top: 25%;
    display: block;
    z-index: 1;
  }

  .chr-wrapper .chr-title-wrapper {
    position: absolute;
    top: 0;
  }

  .chr-wrapper #chr1-title {
    transform: translateY(-100%);
  }
  
  .chr-wrapper #chr2-title {
    transform: translateY(-120%);
  }

  .chr-wrapper #chr3-title {
    transform: translateY(-150%);
  }

  .chr-wrapper .chr-title-wrapper img {
    transition: all 0.4s ease-out;
    transform: scale(0);
  }

  .chr-wrapper .chr-title-wrapper img.zoomup {
    transform: scale(1);
  }

  @media (max-width: 999px) {
    #scene-container.overlay::after {
      display: none;
    }
  }

  /* @media (max-width: 575.98px) { */
  @media (max-width: 767.98px) {
    #scene-container {
      max-height: 80vh;/*100vh;*/
      height: 80vh;/*100vh;*/
      position: fixed; 
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
    }
    .scene {
      height: 80vh;/*100vh;*/
      min-height: 80vh;
    }
    .chr-wrapper {
      /* height: 33.3vh; */
      height: 33%;
      position: relative;
    }
    .chr-wrapper video.chr-anim {
      height: 100%;
    }

    .chr-wrapper .chr-title-wrapper {
      top: auto;
      bottom: 0;
    }

    .chr-wrapper #chr1-title {
      transform: translateY(30%);
    }
    
    .chr-wrapper #chr2-title {
      transform: translateY(0%);
    }
  
    .chr-wrapper #chr3-title {
      transform: translateY(10%);
    }
    .chr-wrapper .chr-title-wrapper img.zoomup {
      transform: scale(0.5);
    }
  }

  mux-player {
    display: block;
    width: 50%;
    height: auto;
    margin: auto;
  }

  .button-container {
    line-height: initial;
    display: block;
  }

  button {

    margin: 10px !important;
    /* width: 100px;
    height: 50px; */
    padding: 30px 40px;
    color: white;
    /* font-family: PWDottedFont; */
    font-size: 1rem;
    font-weight: 700;
    /* box-shadow: -0.1em 0.1em .4em black; */
    border-radius:5px;
    position: relative;
    background-color: rgb(121, 121, 121);
    border: 0;
    transition: scale 0.5s;



    &:hover {
        transform: scale(0.9);
    }

  }

  .felt button {
    background-image: url('assets/felt-texture1.webp'); 
    background-blend-mode: multiply;
    -moz-box-shadow: 5px -5px 15px 1px rgba(0,0,0,0.5);
    -webkit-box-shadow: 5px -5px 15px 1px rgba(0,0,0,0.5);
    box-shadow: 5px -5px 15px 1px rgba(0,0,0,0.5);
    font-family: PWDottedFont;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    /* cursor:url('assets/cursor.webp'), auto !important; */

    &::before {
      content: "";
      position: absolute;
      top: 7px;
      bottom: 7px;
      left: 7px;
      right: 7px;
      border: 1px dashed #8d8585;
      border-radius:2px;
      box-sizing:border-box;
    }
  }

  .top-btn {
    background-color: hsla(180, 100%, 50%, 0.5);
  }

  .close-btn {
    background-color: hsla( 60, 100%, 50%, 0.5);
  }

  .bottom-btn {
    background-color: hsla(240, 100%, 50%, 0.5);
  }

  .right-btn {
    background-color: hsla(0, 100%, 48%, 0.857);
  }

  .intro-btn {
    background-color: hsla(116, 100%, 88%, 0.857);
  }


  /* SHOP PAGE STYLING */

  #shop-content {
    background-color: hsla( 60, 100%, 50%, 1);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background-image: url('assets/ShopScreengrab.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
  }

  #shop-content .menu-btn {
    width: 12.5vw;
    margin-left: 0.5vw;
  }

  #shop-overlay {
    background-color: hsla( 60, 100%, 50%, 1);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    transition: opacity 1s ease-in;
    transition: translate none;
    pointer-events: all;



  }

  #shop-overlay.hide-overlay {
    opacity: 0;
    pointer-events: none;
  }


  /* #shop-overlay .spinner-container {
    display: inline-block;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  } */

  #header {
    position: absolute;
    z-index: 2;
    display: block;
    padding: 5px;
    width: calc(100vw - 40px);
    margin: 20px;
    /* background: black; */



    border: 8px solid transparent;
    border-image: url('assets/stitchborder.webp') 10 repeat ;
    border-image-outset: 0;


  }

  #header.d-none {
    display: none !important;
  }
  
  #header:before {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-left: 8px solid transparent;
    border-image-slice: 10;
    border-image-outset: 2;
    border-image-source: url('assets/stitchbordervertical.webp');
    border-image-repeat: repeat;
  }

  #header:after {
    content: '';
    width: 7px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border-right: 8px solid transparent;
    border-image-slice: 10;
    border-image-outset: 2;
    border-image-source: url('assets/stitchbordervertical.webp');
    border-image-repeat: repeat;
  }

  #header #logo img {
    width: 200px;
    margin: 10px;
  }

  #header.overlay {
    border: none;
  }

  #header.overlay::before {
    border: none;
  }

  #header.overlay::after {
    border: none;
  }

  #header.overlay #logo {
    opacity: 0;
  }

  #header.overlay #burger-menu {
    position: fixed;
    right: 30px;
    top: 30px;
  }

  

  #burger-menu {
    /* cursor: pointer; */
    /* cursor: url('assets/hand-cursor.png'), auto; */
    cursor:url('assets/CURSOR.png'), auto !important;
    height: 37px;
    width: 37px;
    margin: 10px;
    position: relative;
    /* position: absolute;
    right: 0; */
    overflow: visible;
    /* THE LINES */
  }

  #burger-menu span {
    /* background: #08cf75; */
    display: block;
    height: 5px;
    opacity: 1;
    position: absolute;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
  }

  #burger-menu span:before {
    /* background: #08cf75; */
    display: block;
    height: 5px;
    opacity: 1;
    position: absolute;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
  }

  #burger-menu span:after {
    /* background: #08cf75; */
    display: block;
    height: 5px;
    opacity: 1;
    position: absolute;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
  }

  #burger-menu span:before,
  #burger-menu span:after {
    content: '';
  }

  /* TOP */
  #burger-menu span:before {
    left: 0px;
    top: -15px;
    width: 37px;
    background-color: #387f1b;
  }

  /* MIDDLE */
  #burger-menu span {
    right: 0px;
    top: 23px;
    width: 37px;
    background-color: #fa1f08;
  }

  /* BOTTOM */
  #burger-menu span:after {
    left: 0px;
    top: 15px;
    width: 37px;
    background-color: #ffb201;
  }

  /* ROTATION ON CLICK */
  /* TOP */
  #burger-menu.closed span:before {
    top: 0px;
    transform: rotate(90deg);
    width: 37px;
    background-color: #fd6603;
  }

  /* MIDDLE */
  #burger-menu.closed span {
    transform: rotate(-45deg);
    top: 23px;
    width: 37px;
    background-color: #0268be;
  }

  /* BOTTOM */
  #burger-menu.closed span:after {
    top: 0px;
    left: 0;
    transform: rotate(90deg);
    opacity: 0;
    width: 0;
  }

  
  #scene-container {
    background-image: url('assets/screen-background.webp');
    background-size: cover;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
    position: fixed;
    top: 0;
    height: 0;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    padding-top: 120px;
    transition: all 0.3s ease-in-out;
    cursor:url('assets/CURSOR.png'), auto !important;

  
    ul {
      padding: 0;
    }
  
    li {
      list-style: none;
    }
  
    a {
      color: #fff;
      display: block;
      font-size: 32px;
      margin-bottom: 30px;
      text-decoration: none;
    }
  }

  #scene-container.overlay {
    visibility: visible;
    opacity: 1;
    padding-top: 0px;
    /* background: rgba(0, 0, 0, 0.5); */

  }

  #scene-container.overlay::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url('assets/screen-foreground.webp');
    background-size: 100% 100%;
    pointer-events: none;
  }

  #page-title {
      text-align: center;
  }

  #page-title img {
    max-width: 90%;
    transform: scale(0.8);
  }