*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section{
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  background-color: #0c1b21;
  transition: visibility 10s;
}

  .loader-fadeout{
    visibility: hidden;
  }
  

.loader_container{
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  background-color: #0c1b21;
}

.loader_wrapper{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

 .header_loader{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  visibility: hidden;
  animation: bounce 3s linear infinite 3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: verdana;
  padding: 0 20px;
}

.header_loader h1{
  font-size: clamp(1.5rem, 5vw, 4rem);
  font-weight: 900;
  color: red;
}

.header_loader span{
  color:aqua;
  font-size: clamp(.9rem, 2.5vw, 2.2rem);
  text-align: center;
}



@keyframes  bounce {
  

   50%, 60%{
    visibility: visible;
  }
  
   
}

.loader{
 height:700px ; 
 width:700px ; 
 position: relative;
 filter: url(#dris);
 animation: goRound 20s linear infinite;
}

.loader span{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: block;
transform: rotate(calc(45deg * var(--i)));
}

.loader span::before{
content: "";
position: absolute;
top: 0;
left: calc(50% - 20px);
width: 70px;
height: 70px;
background: linear-gradient(45deg, lightblue, rgb(0, 183, 255));
border-radius: 50%;
box-shadow: 0 0 60px rgb(0, 110, 255);
}

.rotate{
animation: goRound 4s ease-in-out infinite;
animation-delay: calc(-0.2s * var(--j));
}

@keyframes goRound {
100.1%, 0%{
  transform: rotate(0deg);
}
100%{
  transform: rotate(360deg);
}
}

svg, svg text{
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
}



@media screen and (max-width:1020px){
.loader{
 height:500px ; 
 width:500px ; 
}

.loader span::before{
width: 40px;
height: 40px;
}
}

@media screen and (max-width:750px){
.loader{
 height:300px ; 
 width:300px ; 
}

.loader span::before{
width: 30px;
height: 30px;
}
}

