html,
body {
  background-color: #000;
}

body {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  color: #fff;
}

/* DOTS LOADER */

.dot1 {
  display: inline-block;
  animation: bounce 1s linear infinite;
}
.dot2 {
  display: inline-block;
  animation: bounce 1s linear 0.33s infinite;
}
.dot3 {
  display: inline-block;
  animation: bounce 1s linear 0.66s infinite;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(-3px);
  }
  25% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* MAIN LOADER */

#loader {
  margin-top: 64px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  /* border-top: 10px solid rgb(31, 113, 79);
  border-right: 10px solid rgb(169, 17, 17);
  border-bottom: 10px solid rgb(83, 49, 156);
  border-left: 10px solid rgb(197, 194, 6); */
  box-sizing: content-box;
  position: relative;
  animation: spin 2s linear infinite;
}

.green,
.red,
.purple,
.yellow {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.green {
  background-color: rgb(31, 113, 79);
  position: absolute;
  top: -15px;
  left: 40px;
}

.red {
  background-color: rgb(169, 17, 17);
  position: absolute;
  top: 40px;
  right: -15px;
}

.purple {
  background-color: rgb(83, 49, 156);
  position: absolute;
  bottom: -15px;
  left: 40px;
}

.yellow {
  background-color: rgb(197, 194, 6);
  position: absolute;
  top: 40px;
  left: -15px;
}

.white {
  background-color: #c0c0c0;
  color: #000;
  font-size: 40px;
  font-weight: bold;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  box-shadow: inset 0px 0px 110px -70px black;
  border: 4px solid white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45px, -45px);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
