
/*banner styling*/
.banner {
  background: linear-gradient(336deg,rgba(14, 50, 64, 1) 0%, rgba(51, 97, 123, 1) 13%, rgba(153, 130, 47, 1) 57%, rgba(55, 89, 110, 1) 85%);
  
  margin: 2em;
  height: 10em;
  margin-bottom: 1em;
  overflow: hidden;
  position: relative;
  border-radius: 1em;
  z-index: 5;
}

.banner h2 {
  color: var(--sliderlist-hover);
  animation: fadein-out 15s;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  
}
@keyframes fadein-out {
  0% {opacity:0;
    font-size: 8px;
  }
  50%{ opacity: .5;
  color: red;}
  100% {opacity: 1;
  }
}

@keyframes animate {
  from {
    transform: scale(0) translateY(0) rotate(0);
    opacity: 1;
  }

  to {
    transform: scale(1.3) translateY(-90px) rotate(360deg);
    opacity: 0;
  }
}

.box,
.circle,
.banner {
  position: relative;
}

.box div {
  position: absolute;
  width: 3em;
  height: 3em;
  background-color: transparent;
  border: .3em solid var(--primary-border);
}

.circle div {
  position: absolute;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  background-color: transparent;
  border: .3em solid var(--primary-border);
}

/* banner animation styling*/
.circle div:nth-child(1) {
  bottom: 12%;
  left: 42%;
  animation: animate 10s linear infinite;
}

.circle div:nth-child(2) {
  top: 12%;
  left: 72%;
  animation: animate 7s linear infinite;
}

.circle div:nth-child(3) {
  top: 100%;
  left: 100%;
  animation: animate 5s linear infinite;
}

.circle div:nth-child(4) {
  top: 52%;
  left: 62%;
  animation: animate 8s linear infinite;
}

.circle div:nth-child(5) {
  top: 17%;
  left: 6%;
  animation: animate 9s linear infinite;
}

.circle div:nth-child(6) {
  top: 20%;
  left: 60%;
  animation: animate 10s linear infinite;
}

.circle div:nth-child(7) {
  top: 67%;
  left: 10%;
  animation: animate 15s linear infinite;
}

.circle div:nth-child(8) {
  top: 70%;
  left: 20%;
  animation: animate 7s linear infinite;
}

.circle div:nth-child(9) {
  top: 32%;
  left: 22%;
  animation: animate 10s linear infinite;
}

.circle div:nth-child(10) {
  top: 70%;
  left: 90%;
  animation: animate 10s linear infinite;
}

.box div:nth-child(1) {
  top: 12%;
  left: 42%;
  animation: animate 10s linear infinite;
}

.box div:nth-child(2) {
  top: 12%;
  left: 72%;
  animation: animate 7s linear infinite;
}

.box div:nth-child(3) {
  top: 100%;
  left: 100%;
  animation: animate 5s linear infinite;
}

.box div:nth-child(4) {
  top: 52%;
  left: 62%;
  animation: animate 8s linear infinite;
}

.box div:nth-child(5) {
  top: 17%;
  left: 6%;
  animation: animate 9s linear infinite;
}

.box div:nth-child(6) {
  top: 20%;
  left: 60%;
  animation: animate 10s linear infinite;
}

.box div:nth-child(7) {
  top: 67%;
  left: 10%;
  animation: animate 15s linear infinite;
}

.box div:nth-child(8) {
  top: 70%;
  left: 20%;
  animation: animate 7s linear infinite;
}

.box div:nth-child(9) {
  top: 32%;
  left: 22%;
  animation: animate 10s linear infinite;
}

.box div:nth-child(10) {
  top: 70%;
  left: 90%;
  animation: animate 10s linear infinite;
}