@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --firstColour: #ff4800;
  --secondColour: #d00000;
  --thirdColour: #dc2f02;
  --forthColour: #e85d04;
  --fifthColour: #faa307;
  --endColour: #ffb600;

  --igniteAlpha: 50px;
}

* {
  padding: 0;
  margin: 0;
  font-family: 'Roboto';
}

.space {
  height: 1000vh;
  /* background: #222; */
  z-index: -200;
}

.stick-container {
  display: flex;
  justify-content: flex-end;
}

.match-stick {
  position: fixed;
  /* transform: translateY(1vh); */

}

.stick-pic {
  width: 300px;
}

.box {
  position: fixed;
  width: 100vw;
  z-index: -100;
}

.box img {
  position: absolute;
  width: 400px;
  right: 200px;
  top: 50vh;
  opacity: 0.8;
}


/* burning */
.container {
  display: none;
  position: fixed;
  /* display: flex; */
  justify-content: center;
  /* align-items: center; */
  width: 95vw;
  height: 100vh;
}

.m-container {
  position: fixed;
  /* top: 60vh;
  right: 300px; */
}

body {
  display: flex;
  flex-direction: column;
}

.blank-screen {
  height: 100%;
  width: 100%;
  background: transparent;
  opacity: 0.4;
  position: fixed;
  z-index: 1000;
  /* opacity: 0.9; */
}


#match-stick {
  position: fixed;
  width: 300px;

  /* padding: 20px; */
  /* top: 130px; */
  /* top: 210px; */
}

.match-stick img {
  /* display: none; */
  filter: brightness(0.9);
}

.pm-container {
  padding-top: 100px;
  position: absolute;
}

.pm {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* background: #eee; */
}

#particle {
  position: fixed;
  height: 100px;
  width: 100px;
  /* background: var(--firstColour); */
  opacity: 0.4;
  border-radius: 50%;
  transform: translateY(-140px);

  /* top: 200px; */
}

.overlay {
  position: absolute;
  width: 400px;
  height: 400px;
  /* opacity: 0.5; */
  top: -180px;
  left: -180px;
  background-image: radial-gradient(circle,
      rgba(0, 0, 0, 0.4) 10px,
      rgba(0, 0, 0, 0.95) 200px);
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) inset, 0px 0px 100px 200vw rgba(0, 0, 0, 0.95);
  z-index: 0;
}


/* Content */
.content-container {
  position: fixed;
  max-width: 1600px;
  /* align-self: center; */
  right: 40vw;
  padding: 50px 50px;
}

.info h1 {
  font-family: 'Press Start 2P';
  font-size: 3rem;
  padding-bottom: 50px;
}

.info p {
  font-size: 1.2rem;
}


/* Media query */
@media (max-width: 1640px) {
  .info p {
    font-size: 1rem;
  }
}


/* Transition */
.dark-bg {
  /* display: none; */
  position: fixed;
  width: 100%;
  height: 100%;
  /* opacity: 0.5; */
  top: -20px;
  left: -30px;
  background-image: radial-gradient(circle,
      rgba(0, 0, 0, 0.0) 0px,
      rgba(0, 0, 0, 0.95) 0px);
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) inset, 0px 0px 00px 150vw rgba(0, 0, 0, 0.95);
  z-index: -102;
}

.too-slow {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: -70px;
  opacity: 0;
  color: white;
}

/* Too slow fade-out */
.too-slow.fade {
  opacity: 1;
  animation: tooSlowFade 2.5s ease forwards;
}

@keyframes tooSlowFade {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Animation */

#particle {
  animation: burnAnim 2.5s ease-in infinite;
}

@keyframes burnAnim {
  0% {
    z-index: 1;
  }

  50% {
    z-index: 50;
  }

  100% {
    background: var(--endColour);
    width: 2px;
    height: 2px;
    z-index: 100;
    transform: translateY(-350px);
  }
}