body[data-mode="night"] {
  background: rgb(8, 25, 59);
  background: -moz-radial-gradient(
    circle,
    rgba(8, 25, 59, 1) 0%,
    rgba(12, 16, 33, 1) 100%
  );
  background: -webkit-radial-gradient(
    circle,
    rgba(8, 25, 59, 1) 0%,
    rgba(12, 16, 33, 1) 100%
  );
  background: radial-gradient(
    circle,
    rgba(8, 25, 59, 1) 0%,
    rgba(12, 16, 33, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#08193b",endColorstr="#0c1030",GradientType=1);
  transition: background-color 5s;
}

body[data-mode="day"] {
  background: rgb(205, 237, 246);
  background: -moz-linear-gradient(
    0deg,
    rgba(205, 237, 246, 1) 0%,
    rgba(36, 123, 160, 1) 100%
  );

  background: -webkit-linear-gradient(
    0deg,
    rgba(205, 237, 246, 1) 0%,
    rgba(36, 123, 160, 1) 100%
  );
  background: linear-gradient(
    0deg,
    rgba(205, 237, 246, 1) 0%,
    rgba(36, 123, 160, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#08193b",endColorstr="#0c1030",GradientType=1);
  font-family: "Moon Dance", cursive;
  transition: background-color 5s;
}

body[data-mode="day"] #sun {
  display: block;
  position: absolute;
  top: 25vh;
  left: 0;
  right: 0;
  width: 35vmin;
  height: 35vmin;
  margin-left: 25%;
  z-index: 0;
  color: #ccdbef;
  filter: drop-shadow(0 0 10vmin #fed766);
  background: radial-gradient(#fff0b3, #ffdf63);
  border-radius: 50%;
  box-shadow: 0px 0px 20px #ffdf63;
}

body[data-mode="night"] #sun {
  display: none;
}

body[data-mode="night"] #moon {
  display: block;
  position: absolute;
  top: 25vh;
  left: 0;
  right: 0;
  height: 35vmin;
  margin-left: 25%;
  z-index: 0;
  color: #ccdbef;
  filter: drop-shadow(0 0 10vmin #a1bbed);
}

body[data-mode="day"] #moon {
  display: none;
}

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

html,
body {
  width: 100vw;
  min-height: 100vh;
}

section {
  width: calc(100vh - 15vh);
}

body[data-mode="day"] #stars-container {
  display: none;
}

body[data-mode="night"] #stars-container {
  display: block;
  width: 100%;
  height: 100vh;
  position: absolute;
  z-index: -1;
}

body[data-mode="day"] .particle {
  display: none;
}

body[data-mode="night"] .particle {
  display: block;
  position: absolute;
  border-radius: 50%;
  background-color: white;
  animation-name: shine;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
  z-index: 1;
}

@keyframes shine {
  from {
    opacity: 0.3;
  }

  to {
    opacity: 1;
  }
}
