@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@800&display=swap");

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Poppins", sans-serif;
}

.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #052d05;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader-wrapper.fadeOut {
  animation: fadeOut 0.5s ease-out forwards;
}

.loader {
  border: 16px solid #3eff03;
  border-radius: 50%;
  border-top: 16px solid #ffffff;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes fadeOut {
  to {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.content-wrapper {
  display: none;
}

#particles-js {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.background {
  position: relative;
  background-image: url("https://media.discordapp.net/attachments/1269073093310283959/1302022268326514759/background.png?ex=67269a3b&is=672548bb&hm=3811088c69785a582494267fd2caaae9f0575a824bdcdf3c1b32c01b66a51185&=&format=webp&quality=lossless&width=440&height=247");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0, 255, 55, 0.288), rgba(9, 255, 0, 0.308));
  pointer-events: none;
  z-index: 1;
}

.background > * {
  position: relative;
  z-index: 2;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

.logo {
  max-width: 250px;
  width: 100%;
  animation: scaleLogo 2s infinite;
  transition: transform 0.3s ease;
}

@keyframes scaleLogo {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.description {
  font-size: 27px;
  max-width: 100%;
  margin: 0px auto;
  color: white;
}

.description+.description {
  margin-top: -20px;
}

.description.second {
  margin-bottom: 30px;
}

.gradient {
  background: linear-gradient(90deg, #ff9100, #ffc851);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.button-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 2;
}

button {
  align-items: center;
  background-image: linear-gradient(144deg, #42ff31, #0bff03 50%, #35ff03c5);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(65, 252, 81, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  font-family: Phantomsans, sans-serif;
  font-size: 18px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.text {
  display: flex;
  align-items: center;
}

.icon {
  margin-right: 10px;
}

.bigger span {
  font-size: 22px;
  padding: 20px 28px;
}

button:active,
button:hover {
  outline: 0;
}

button span {
  background-color: rgb(10, 45, 5);
  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: 300ms;
}

button:hover span {
  background: none;
}

button:active {
  transform: scale(0.9);
}

@media (max-width: 768px) {
  #particles-js {
    visibility: hidden;
  }

  .logo {
    max-width: 200px;
  }

  .description {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .button-section {
    flex-direction: column;
  }
}
