.parallax {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  perspective: 1px;
  scroll-behavior: smooth;
  
}

.parallax-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.layer1 {
  transform: translateZ(0);
  
}

.layer2 {
  transform: translateZ(-0.5px);
}

.layer3 {
  transform: translateZ(-1px);
}
 
.parallax-layer.layer1 {
  width: 100%;
  height: fit-content;
  left: 50%;
  padding: 10px 0 0 15px;
  width: 90vw;
  margin-left: -46.5%;
}

.parallax-layer.layer2 {
  width: 100%;
  height: 200vh;
  margin-top: -70vh;
}

.parallax-layer.layer3 {
  width: 100%;
  height: 200vh;
  margin-top: -70vh;
}

.sphere{
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
}

.sphere.color1{
  background: radial-gradient(rgba(214, 255, 235, 1), rgba(0,0,0,0));
}
.sphere.color2{
  background: radial-gradient(rgba(165, 162, 205, 1), rgba(0,0,0,0));
}
.sphere.color3{
  background: radial-gradient(rgba(249, 237, 200, 1), rgba(0,0,0,0));
}
.sphere.color4{
  background: radial-gradient(rgba(175, 247, 236, 1), rgba(0,0,0,0));
}
.sphere.color5{
  background: radial-gradient(rgba(138, 196, 238, 1), rgba(0,0,0,0));
}
@media (max-width: 700px) {
  .parallax-layer.layer1  {
    width: 100%;
    height: fit-content;
    left: 50%;
    margin-left: -54%;
  }
  .sphere{
    display: none;
  }
}


@media (max-width: 1280px) {
  
}
