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

.container {
  width: 100%;
  height: 100vh;
  background: linear-gradient(30deg, powderblue, lightblue, white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .loader {
  position: relative;
  width: 180px;
  aspect-ratio: 1 / 1;
}

.loader span:nth-child(1) {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  bottom: 10px;
  background: rgba(233, 30, 99, 0.05);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.loader span:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  z-index: 1;
  /* background: #ff0; */
  overflow: hidden;
  animation: rotateCircle 1s linear infinite;
}

@keyframes rotateCircle {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader span:nth-child(2)::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: #ff6198;
}

.loader span:nth-child(1)::before {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -20%;
  width: 140%;
  height: 40px;
  background: radial-gradient(rgba(0, 0, 0, 0.1), transparent, transparent);
}

h1 {
  position: absolute;
  top: 140px;
  color: white;
  font-family: cursive;
  text-align: center;
  color: gray;
  width: 100%;
}
