.container{
	width: 100%;
  height: 90vh;
  display:grid;
  grid-template-rows: 6% 153px 256px 256px 256px 252px;
  flex-direction:column;
  justify-items:center;
}
#box1{
  width: 300px;
  grid-template-columns: 1fr 0.8fr;
  border-radius:20px;
  
}
.boxn{
  display:grid;
	border: 1px solid;
  width: 80%;
  height: 98%;
  grid-template-rows: 30px 123px;
  grid-template-columns: 1fr 1fr;
}
a{
  color: black;
  text-decoration: none;
}
#box1 .image{
  border-radius:20px;
  margin-right:auto;
}
.image{
  grid-row-start:1;
  grid-row-end:3;
}
.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:95px 50px 200px;
  width: 100%;
  background: linear-gradient(90deg,  #345678, #672345, #345612, #012345);
  background-size: 400% 400%;
  animation: gradient 45s ease infinite;
}
p{
  font-weight:900;
}
h2{
  font-weight:900;
}

body {
  background: linear-gradient(90deg,  #012345, #345612, #672345, #345678);
  background-size: 400% 400%;
  animation: gradient 45s ease infinite;
  margin:0px;
}

.box div{
  position:absolute;
  z-index: -1;
  width:20px;
  height: 20px;
  background-color:transparent;
  border:3px solid #ffffff;
  border-radius: 3px;
  color:#ffffff;
  font-size: 9px;
  display:grid;
  align-content:center;
  justify-content:center;
}

.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;
}

::-webkit-scrollbar {
  width: 5px;
  height:5px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 100px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(0deg,  #345678, #672345, #345612, #012345);
  background-size: 400% 400%;
  animation: gradient 5s ease infinite;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(0deg,  #345678, #672345, #345612, #012345);
  background-size: 400% 400%;
  animation: gradient 5s ease 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%;
    }
}