@import url("./navbar.css");
@import url("./header.css");
@import url("./services.css");
@import url("./browser.css");
@import url("./about-us.css");

@import url("./var/fonts.css");
@import url("./var/colors.css");

:root {
  --background-stars: url("/public/img/stars.png");
  --background-lights: url("/public/img/lights.png");
}

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

button {
  border: 0;
  background: none;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

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

li {
  list-style: none;
}

.landing {
  background-image: var(--background-stars);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -5;
  background-color: rgb(var(--color-background-dark));
  overflow-x: hidden;
}
.landing__light-effect {
  background-image: var(--background-lights);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: -5;
  top: -60%;
  right: -25%;
  opacity: 0.6;
  overflow: hidden;
}

.landing__mask {
  width: 100%;
  height: 100vh;
  mask-image: radial-gradient(
    ellipse at center,
    black 10%,
    rgba(0, 0, 0, 0.01) 70%
  );
  position: absolute;
  filter: blur(45px);
  transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  overflow: hidden;
}

.landing__gradient {
  border-radius: 100%;
  transform: translate(-50%, -50%);

  position: absolute;
  will-change: transform, opacity;
  overflow: hidden;
}

.landing__gradient-1 {
  height: 800px;
  width: 800px;

  top: 40%;
  left: 30%;

  background-image: radial-gradient(
    circle at 30% 70%,
    rgba(255, 209, 24, 0.842) 5%,
    rgba(0, 199, 189, 0.6) 40%
  );
  background-size: cover;

  animation: gradient-flow 25s infinite linear;
}

.landing__gradient-2 {
  height: 1100px;
  width: 1100px;

  top: 20%;
  left: 25%;

  background-image: radial-gradient(
    circle at 45% 40%,
    rgba(11, 8, 182, 0.65) 5%,
    rgba(0, 123, 255, 0.2) 60%
  );
  background-size: cover;

  animation: gradient-flow 30s infinite linear;
}

.landing__gradient-3 {
  height: 800px;
  width: 800px;

  top: 30%;
  left: 30%;

  rotate: 45deg;

  background-image: radial-gradient(
    circle at 55% 35%,
    rgba(202, 53, 98, 0.9) 15%,
    rgba(62, 59, 226, 0.555) 40%
  );
  background-size: cover;

  animation: gradient-flow 20s infinite linear;
}

@keyframes gradient-flow {
  0%,
  100% {
    background-position: 30% 40%;
    opacity: 0.8;
    transform: rotate(0deg) scale(1);
  }
  25% {
    background-position: 35% 45%;
    opacity: 0.9;
    transform: rotate(100deg) scale(1.1);
  }
  50% {
    background-position: 40% 50%;
    opacity: 0.7;
    transform: rotate(180deg) scale(1);
  }
  75% {
    background-position: 35% 45%;
    opacity: 0.85;
    transform: rotate(250deg) scale(0.9);
  }
}

.landing__jump-to-top {
  display: none;
}

@media (max-width: 900px) {
  .landing__light-effect {
    top: -20%;
    right: 0;
    opacity: 0.1;
  }

  .landing__gradient-1 {
    height: 400px;
    width: 400px;

    top: 50%;
    left: -15%;
  }

  .landing__gradient-2 {
    height: 500px;
    width: 500px;

    top: 35%;
    left: -15%;
  }

  .landing__gradient-3 {
    height: 900px;
    width: 900px;

    top: 45%;
    left: -15%;
  }

  .landing__mask {
    mask-image: linear-gradient(to bottom, black 40%, rgba(0, 0, 0, 0.01) 100%);
  }
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}
