
body {
  background: radial-gradient(#000000, #333333);
  /* background: url(imgs/several_circles_marks.jpg); */
  background-size: 100%;
  margin: 0;
}



main section {
  position: relative;
  width: 100vw;
  height: 100vh;
  /* border: 2px solid red; */
}

main section.solar_system-2 {
  top: -100vh;
  /* border: 2px solid blue; */
}



.sun {
  width: 360px;
  aspect-ratio: 1;
  background: rgba(17, 23, 57, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 5px 10px white, 0 0 20px 20px beige;
  position: absolute;
  top: calc(50% - 265px);
  left: calc(50% - 240px);
}
.sun-2 {
  width: 150px;
  aspect-ratio: 1;
  background: rgba(127, 118, 138, 0.8);
  border-radius: 50%;
  position: absolute;
  top: calc(50% + 115px);
  left: calc(50% + 198px);
}


/* color-mix(in srgb, #E91E63 50%, #03A9F4 50%) = color(srgb 0.462745 0.390196 0.672549) */





[class^='planet'] {
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  /* animation: orbit var(--t, 40s) linear infinite; */
  --x: calc(var(--t) * 10);
  animation: orbit var(--x, 20s) linear infinite;
}

[class^='planet']:before {
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  position: absolute;
  /* mix-blend-mode: difference; */
  /* mix-blend-mode: multiply; */
  /* mix-blend-mode: hue; */
  /* mix-blend-mode: color; */
  /* mix-blend-mode: luminosity; */
  /* mix-blend-mode: overlay; */
  /* mix-blend-mode: exclusion; */
  /* mix-blend-mode: hard-light; */
}







/* solar system 1 */

.planet-01 {
  --t: 6315.79ms;
  width: 500px;
  margin-top: -343px;
  margin-left: -356px;
}
.planet-01:before {
  width: 32px;
  background: rgba(170, 147, 65, 0.8);
}



.planet-02 {
  --t: 5315ms;
  width: 500px;
  margin-top: -275px;
  margin-left: -350px;
}
.planet-02:before {
  width: 67px;
  background: rgba(162, 87, 87, 0.8);
}



.planet-03 {
  --t: 4315ms;
  width: 500px;
  margin-top: -197px;
  margin-left: -230px;
  transform: rotate(45deg);
}
.planet-03:before {
  width: 90px;
  background: rgba(135, 99, 126, 0.8);
  box-shadow: 0 0 5px 5px rgba(155, 210, 255), 
              0 0 40px rgba(155, 210, 255);
  z-index: -1;
}





.planet-04 {
  --t: 6315ms;
  width: 500px;
  margin-top: -295px;
  margin-left: -288px;
  transform: rotate(90deg);
}
.planet-04:before {
  width: 57px;
  background: rgba(182, 153, 77, 0.8);
}




.planet-05 {
  --t: 5315ms;
  width: 570px;
  margin-top: -305px;
  margin-left: -242px;
  transform: rotate(90deg);
}
.planet-05:before {
  width: 25px;
  background: rgba(121, 20, 18, 0.8);
}






.planet-06 {
  --t: 8315ms;
  width: 570px;
  margin-top: -238px;
  margin-left: -290px;
  transform: rotate(90deg);
}
.planet-06:before {
  width: 30px;
  background: rgba(186, 101, 10, 0.8);
  box-shadow: 0 0 1px 2px rgba(247, 255, 155, 0.8);
}





.planet-07 {
  --t: 4315ms;
  width: 570px;
  margin-top: -215px;
  margin-left: -330px;
  transform: rotate(90deg);
}
.planet-07:before {
  width: 135px;
  background: rgba(24, 48, 43, 0.8);
  z-index: -1;
}
.planet-07:after {
  position: absolute;
  content: "";
  aspect-ratio: 1;
  border-radius: 50%;
  left: 62px;
  top: 68px;
  width: 27px;
  margin-left: -13.5px;
  margin-top: -13.5px;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 15px rgba(44, 141, 252, 0.8);
  --t: 4000ms;
  animation: orbit var(--t, 20s) linear infinite;
  transform-origin: 10px 40px;
}





.planet-09 {
  --t: 3315ms;
  width: 570px;
  margin-top: -214px;
  margin-left: -250px;
  transform: rotate(-45deg);
}
.planet-09:before {
  width: 90px;
  background: rgba(118, 106, 127, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 0, 0),
              0 0 0 5px rgba(87, 151, 255, 0.75);
  z-index: -1;
}
.planet-09:after {
  --t: 3000ms;
  position: absolute;
  content: "";
  aspect-ratio: 1;
  border-radius: 50%;
  left: 51px;
  top: 23px;
  width: 30px;
  background: rgba(0, 0, 0, 0.8);
  animation: orbit var(--t, 20s) linear infinite;
  transform-origin: -10px 30px;
}




.planet-11 {
  --t: 5315ms;
  width: 500px;
  margin-top: -389px;
  margin-left: -241px;
  transform: rotate(-90deg);
}
.planet-11:before {
  width: 62px;
  background: rgba(142, 103, 25, 0.8);
}




.planet-12 {
  --t: 5000ms;
  width: 450px;
  margin-top: -452px;
  margin-left: -233px;
  transform: rotate(-90deg);
}
.planet-12:before {
  width: 12px;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0 3px rgba(222, 162, 42, 0.8);
}




.planet-13 {
  --t: 3000ms;
  width: 450px;
  margin-top: -430px;
  margin-left: -259px;
  transform: rotate(250deg);
}
.planet-13:before {
  width: 12px;
  background: rgba(149, 87, 79, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.8);
}




.planet-14 {
  --t: 3000ms;
  width: 450px;
  margin-top: -434px;
  margin-left: -229px;
  transform: rotate(250deg);
}
.planet-14:before {
  width: 12px;
  background: rgba(132, 93, 116, 0.8);
}




.planet-15 {
  --t: 6000ms;
  width: 450px;
  margin-top: -393px;
  margin-left: -291px;
  transform: rotate(225deg);
}
.planet-15:before {
  width: 80px;
  background: rgba(91, 82, 103, 0.8);
}
.planet-15:after {
  width: 10px;
  background: rgba(0, 0, 0, 0.8);
  --t: 4000ms;
  position: absolute;
  content: "";
  aspect-ratio: 1;
  border-radius: 50%;
  left: 18px;
  top: -8px;
  animation: orbit var(--t, 20s) linear infinite;
  transform-origin: 0px 50px;
  z-index: 9;
}





.planet-16 {
  --t: 4000ms;
  width: 450px;
  margin-top: -553px;
  margin-left: -253px;
  transform: rotate(225deg);
}
.planet-16:before {
  width: 33px;
  background: rgba(20, 27, 61, 0.8);
}






.planet-17 {
  --t: 5000ms;
  width: 450px;
  margin-top: -90px;
  margin-left: -9px;
}
.planet-17:before {
  width: 70px;
  background: rgba(90, 118, 92, 0.8);
}





.planet-18 {
  --t: 6000ms;
  width: 450px;
  margin-top: -370px;
  margin-left: -334px;
  transform: rotate(180deg);
}
.planet-18:before {
  width: 120px;
  background: rgba(130, 88, 15, 0.8);
}





.planet-19 {
  --t: 4000ms;
  width: 450px;
  margin-top: -393px;
  margin-left: -413px;
  transform: rotate(180deg);
}
.planet-19:before {
  width: 75px;
  background: rgba(107, 86, 29, 0.8);
}





.planet-20 {
  --t: 4000ms;
  width: 450px;
  margin-top: -379px;
  margin-left: -330px;
  transform: rotate(180deg);
}
.planet-20:before {
  width: 48px;
  background: rgba(160, 57, 58, 0.8);
}
.planet-20::after {
  width: 12px;
  background: rgba(0, 0, 0, 0.8);
  --t: 4500ms;
  position: absolute;
  content: "";
  aspect-ratio: 1;
  border-radius: 50%;
  left: 36px;
  top: 4px;
  animation: orbit var(--t, 20s) linear infinite;
  transform-origin: 10px 30px;
  z-index: 9;
}




.planet-21 {
  --t: 7000ms;
  width: 450px;
  margin-top: -281px;
  margin-left: -343px;
  transform: rotate(180deg);
}
.planet-21:before {
  width: 100px;
  background: rgba(42, 77, 113, 0.8);
}







.planet-25 {
  --t: 6500ms;
  width: 400px;
  margin-top: -250px;
  margin-left: -205px;
  transform: rotate(-90deg);
}
.planet-25:before {
  width: 65px;
  background: rgba(110, 51, 24, 0.8);
}





.planet-26 {
  --t: 3700ms;
  width: 450px;
  margin-top: -255px;
  margin-left: -222px;
  transform: rotate(-90deg);
}
.planet-26:before {
  width: 65px;
  background: rgba(88, 49, 24, 0.8);
}




.planet-27 {
  --t: 5000ms;
  width: 450px;
  margin-top: -256px;
  margin-left: -254px;
  transform: rotate(-90deg);
}
.planet-27:before {
  width: 65px;
  background: rgba(124, 26, 23, 0.8);
}





.planet-28 {
  --t: 5700ms;
  width: 450px;
  margin-top: -265px;
  margin-left: -285px;
  transform: rotate(-90deg);
}
.planet-28:before {
  width: 65px;
  background: rgba(185, 158, 45, 0.8);
}





.planet-29 {
  --t: 6700ms;
  width: 550px;
  margin-top: -287px;
  margin-left: -312px;
  transform: rotate(-90deg);
}
.planet-29:before {
  width: 23px;
  background: rgba(161, 88, 95, 0.8);
}






.planet-30 {
  --t: 4500ms;
  width: 600px;
  margin-top: -289px;
  margin-left: -281px;
  transform: rotate(-90deg);
}
.planet-30:before {
  width: 45px;
  background: rgba(27, 62, 106, 0.8);
}






.planet-31 {
  --t: 7000ms;
  width: 600px;
  margin-top: -275px;
  margin-left: -320px;
  transform: rotate(-90deg);
}
.planet-31:before {
  width: 15px;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 2px 2px rgba(253, 242, 166, 0.8);
}






.planet-32 {
  --t: 2500ms;
  width: 450px;
  margin-top: -280px;
  margin-left: -227px;
  transform: rotate(225deg);
}
.planet-32:before {
  width: 35px;
  background: rgba(165, 106, 17, 0.8);
}





.planet-43 {
  --t: 3500ms;
  width: 700px;
  margin-top: -253px;
  margin-left: -230px;
}
.planet-43:before {
  width: 255px;
  background: rgba(0, 0, 0, 0.8);
}

















/* solar system 2 */



.planet-23 {
  --t: 4400ms;
  width: 300px;
  margin-top: 4px;
  margin-left: 40px;
  transform: rotate(90deg);
}
.planet-23:before {
  width: 25px;
  background: rgba(16, 26, 68, 0.8);
  box-shadow: 0 0 5px 3px rgba(117, 207, 255, 0.8);
}




.planet-33 {
  --t: 6000ms;
  width: 300px;
  margin-top: 130px;
  margin-left: 162px;
}
.planet-33:before {
  width: 47px;
  background: rgba(114, 88, 58, 0.8);
}





.planet-34 {
  --t: 5500ms;
  width: 300px;
  margin-top: 148px;
  margin-left: 214px;
}
.planet-34:before {
  width: 38px;
  background: rgba(92, 128, 158, 0.8);
  box-shadow: 0 0 5px 7px rgba(255, 234, 117, 0.8);
}




.planet-35 {
  --t: 7500ms;
  width: 200px;
  margin-top: 153px;
  margin-left: 180px;
  transform: rotate(45deg);
}
.planet-35:before {
  width: 17px;
  background: rgba(122, 14, 14, 0.8);
}
.planet-35:after {
  width: 12px;
  background: rgba(0, 0, 0, 0.8);
  --t: 4500ms;
  position: absolute;
  content: "";
  aspect-ratio: 1;
  border-radius: 50%;
  left: 16px;
  top: -8px;
  animation: orbit var(--t, 20s) linear infinite;
  transform-origin: 0px 20px;
  z-index: 9;
}





.planet-37 {
  --t: 3800ms;
  width: 200px;
  margin-top: 87px;
  margin-left: 130px;
  transform: rotate(135deg);
}
.planet-37:before {
  width: 21px;
  background: rgba(116, 92, 29, 0.8);
}





.planet-38 {
  --t: 5800ms;
  width: 200px;
  margin-top: 58px;
  margin-left: 147px;
  transform: rotate(225deg);
}
.planet-38:before {
  width: 21px;
  background: rgba(162, 132, 16, 0.8);
}






.planet-39 {
  --t: 3900ms;
  width: 200px;
  margin-top: 113px;
  margin-left: 127px;
  transform: rotate(225deg);
}
.planet-39:before {
  width: 30px;
  background: rgba(107, 22, 21, 0.8);
}





.planet-40 {
  --t: 3900ms;
  width: 300px;
  margin-top: 18px;
  margin-left: 168px;
  transform: rotate(225deg);
}
.planet-40:before {
  width: 25px;
  background: rgba(22, 48, 73, 0.8);
}










@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}




/* no animations */
/* [class^='planet'],
[class^='planet']:before,
[class^='planet']:after {
  animation: none !important;
} */





/* Turn cross-document view-transitions on */
/* Note that this at-rule is all that is needed to create the default cross-fade animation  */
@view-transition {
  navigation: auto;
}

/* Customize the default animation behavior */
::view-transition-group(root) {
  animation-duration: 0.5s;
}

/* Create a custom animation */
@keyframes move-out {
  from {
      transform: translateY(0%);
  }
  to {
      transform: translateY(-100%);
  }
}

@keyframes move-in {
  from {
      transform: translateY(100%);
  }
  to {
      transform: translateY(0%);
  }
}

/* Apply the custom animation to the old and new page states */
::view-transition-old(root) {
    animation: 0.4s ease-in both move-out;
}

::view-transition-new(root) {
    animation: 0.4s ease-in both move-in;
}