html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: black;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background-color: rgba(0, 0, 0, 0.25);
  color: white;
}

::-moz-selection {
  background-color: rgba(0, 0, 0, 0.25);
  color: white;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}

a :hover {
  z-index: 10000000;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* */

:root {
  --fireColor1: #2cffdc;
  --fireColor2: rgba(28, 70, 133, 0);
  --fireDuration: 1s;
  --blur: 0.4px;
  --fireSize: 14vw;
  --smogColor1: rgb(71, 74, 243);
  --smogColor2: rgba(69, 157, 230, 0);
  --smogDuration: 2s;
  --smogSize: 10vw;
  --ghostColor1: rgb(30, 86, 172);
  --ghostColor2: rgba(0, 44, 110, 0);
  --ghostSize: 12vw;
}

#scene {
  position: relative;
  /* margin-top: 10vh; */
  /* width:20%; */
  height:100%;
  /* top: 30%; */

  background: rgb(0, 0, 0);
}

#buttons {
  display: flex;
  /* position: relative; */
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

#fire-container,
#smog-container,
#ghost-container {
  filter: blur(var(--blur));
  -webkit-filter: blur(var(--blur));
  position: relative;
  width: 12vw;
  height: 35vw;
}

#fire-container .particle {
  animation: rise var(--fireDuration) ease-in infinite;
  background-image: radial-gradient(
    var(--fireColor1) 30%,
    var(--fireColor2) 70%
  );
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0;
  position: absolute;
  bottom: 0;
  width: var(--fireSize);
  height: var(--fireSize);
}
#smog-container:hover .particle {
  background-image: radial-gradient(
    var(--ghostColor1) 30%,
    var(--ghostColor2) 70%
  );
  filter: drop-shadow(16px 16px 20px blue)invert(75%);

}
#ghost-container .particle {
  animation: rise var(--fireDuration) ease-in infinite;
  background-image: radial-gradient(
    var(--ghostColor1) 30%,
    var(--ghostColor2) 70%
  );
  border-radius: 50%;

  mix-blend-mode: screen;
  opacity: 0;
  position: absolute;
  bottom: 0;
  width: var(--ghostSize);
  height: var(--ghostSize);
}

#fire-container:hover .particle {
  background-image: radial-gradient(
    var(--smogColor1) 30%,
    var(--smogColor2) 70%
  );
  filter: drop-shadow(16px 16px 20px red) invert(75%);
}

#smog-container .particle {
  animation: rise var(--smogDuration) ease-in infinite;
  background-image: radial-gradient(
    var(--smogColor1) 30%,
    var(--smogColor2) 70%
  );
  border-radius: 50%;
  
  mix-blend-mode: screen;
  opacity: 0;
  position: absolute;
  bottom: 0;
  width: var(--smogSize);
  height: var(--smogSize);
}

#ghost-container:hover .particle {
  background-image: radial-gradient(
    var(--fireColor1) 30%,
    var(--fireColor2) 70%
  );
  filter: hue-rotate(90deg) invert(75%);
}

.titles-menu {
  top: 1em;
  position: relative;
  justify-content: center;
  color: white;
}

#nah {
  flex-direction: column;
  position: relative;
  width: 350px;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  25% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-10em) scale(0);
  }
}

@keyframes fly-away {
  0% {
    opacity: 1;
    filter: blur(1px);
  }

  100% {
    transform: scale(0.3);
    opacity: 0;
    filter: blur(20px);
    border-radius: 50%;
  }
}

@media screen and (max-width: 600px) {
  #scene {
    width: 100%;
    height: 60%;
    top: 10%;
    position: relative;
    justify-content: center;
    align-items: center;
    background: rgb(0, 0, 0);
  }

  #buttons {
    display: flex;
    position: relative;
    justify-content: center;
    flex-direction: column;
  }

  
}

@media screen and (max-height: 600px) {
  #scene {
    width: 100%;
    height: 60%;
    top: -10%;
    position: relative;
    justify-content: center;
    align-items: center;
    background: rgb(0, 0, 0);
  }
}
