.container{
	width: 100%;
  height: 90vh;
  display:grid;
  grid-template-rows: 6% 1fr 1fr 1fr 1fr 1fr;
  flex-direction:column;
  
}

.boxn{
  display:flex;
	border: 1px solid;
  height: 98%;
  flex-direction: space-between;
	align-items:center;
}
.container:not(#nav){
  grid-gap: 7.5% 0%;
}
.container .boxn h4{
  margin-left: 30%;
  font-family: arial;
  font-weight: 100;
  font-size: 30px;
}
#nav{
  display:grid;
  justify-content: center;
  grid-template-columns:50px 50px 50px;
  height: 100%;
  width 100%;
  background: linear-gradient(90deg, #6789ab, #456789, #234567, #012345);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}






body {
  background: linear-gradient(90deg,  #012345, #234567, #456789, #6789ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  margin: 0px;
}

.box div{
  position:absolute;
  width:20px;
  height: 20px;
  background-color:transparent;
  border:3px solid #ffffff;
  border-radius: 3px;
}

.box div:nth-child(1){
  top: 12%;
  left: 78%;
  animation: animate 10s linear infinite;
}
.box div:nth-child(2){
  top: 15%;
  left: 2%;
  animation: animate 7s linear infinite;
}

.box div:nth-child(3){
  top: 85%;
  left: 7%;
  animation: animate 9s linear infinite;
}

.box div:nth-child(4){
  top: 49%;
  left: 1%;
  animation: animate 6.7s linear infinite;
}
.box div:nth-child(5){
  top: 20%;
  left: 15%;
  animation: animate 8s linear infinite;
}
.box div:nth-child(6){
  top: 80%;
  left: 80%;
  animation: animate 12s linear infinite;
}

.box div:nth-child(7){
  top: 62%;
  left: 79%;
  animation: animate 10.4s linear infinite;
}
.box div:nth-child(8){
  top: 75%;
  left: 18%;
  animation: animate 7.1s linear infinite;
}

.box div:nth-child(9){
  top: 60%;
  left: 5%;
  animation: animate 8.2s linear infinite;
}

.box div:nth-child(10){
  top: 40%;
  left: 18%;
  animation: animate 9.5s linear infinite;
}
.box div:nth-child(11){
  top: 40%;
  left: 85%;
  animation: animate 7.5s linear infinite;
}
.box div:nth-child(12){
  top: 70%;
  left: 90%;
  animation: animate 11s linear infinite;
}

.box div:nth-child(13){
  top: 90%;
  left: 77%;
  animation: animate 14s linear infinite;
}
.box div:nth-child(14){
  border-radius: 20px;
  top: 28%;
  left: 78%;
  animation: animate 10s linear infinite;
}
.box div:nth-child(15){
  border-radius: 20px;
  top: 50%;
  left: 60%;
  animation: animate 7s linear infinite;
}

.box div:nth-child(16){
  border-radius: 20px;
  top: 85%;
  left: 57%;
  animation: animate 9s linear infinite;
}

.box div:nth-child(17){
  border-radius: 20px;
  top: 49%;
  left: 49%;
  animation: animate 6.7s linear infinite;
}
.box div:nth-child(18){
  border-radius: 20px;
  top: 20%;
  left: 65%;
  animation: animate 8s linear infinite;
}
.box div:nth-child(19){
  border-radius: 20px;
  top: 80%;
  left: 40%;
  animation: animate 12s linear infinite;
}

.box div:nth-child(20){
  border-radius: 20px;
  top: 62%;
  left: 45%;
  animation: animate 10.4s linear infinite;
}
.box div:nth-child(21){
  border-radius: 20px;
  top: 15%;
  left: 38%;
  animation: animate 7.1s linear infinite;
}

.box div:nth-child(22){
  border-radius: 20px;
  top: 28%;
  left: 35%;
  animation: animate 8.2s linear infinite;
}

.box div:nth-child(23){
  border-radius: 20px;
  top: 40%;
  left: 18%;
  animation: animate 9.5s linear infinite;
}
.box div:nth-child(24){
  border-radius: 20px;
  top: 40%;
  left: 85%;
  animation: animate 7.5s linear infinite;
}
.box div:nth-child(25){
  border-radius: 20px;
  top: 70%;
  left: 90%;
  animation: animate 11s linear infinite;
}

.box div:nth-child(26){
  border-radius: 20px;
  top: 90%;
  left: 77%;
  animation: animate 14s linear infinite;
}



@keyframes animate{
  0%{
    transform: scale(0)  translateY(0) rotate(0);
    opacity: 1;
  }
  100%{
    transform: scale(1.3) translateY(-90px) rotate(360deg);
    opacity: 0;
  }
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
