:root {
  font-family: lato, Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #000000;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

#root {
  z-index: 3;
}

#loader-container {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(
    circle at center,
    rgba(200, 200, 2000, 1) -250%,
    rgba(0, 0, 0, 1) 100%
  );
}

#loader {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
}

#text {
  position: absolute;
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  transform-origin: center;
  animation: rotateText 10s linear infinite;
}

#logo {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background-image: url(./me.jpeg);
  background-repeat: no-repeat;
  background-position: -171px -152px;
  filter: brightness(1.15) contrast(1.15);
}

#text p {
  margin: 0;
}

#text span {
  position: absolute;
  left: 50%;
  font-size: 1.2em;
  transform-origin: 0 150px;
}

.disappear {
  animation: disappear 1s ease-in-out forwards;
}

div#background {
  height: 100vh !important;
  width: 100vw !important;
  position: fixed;
  top: 0;
  left: 0;
}

div#background canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
}

@keyframes rotateText {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes disappear {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(2);
  }
}
